Revision ea3582a6 tools/mergedirs

View differences:

tools/mergedirs
20 20

  
21 21
echo "Merging system-dependent modules ($@)"
22 22
MODULES=`for a in $@ ; do
23
		cat sysdep/autoconf.h $SRCDIR/$a/Modules |
24
		$cpp -U unix - |
23
		cat sysdep/config.h $SRCDIR/$a/Modules |
24
		$cpp -U unix -D MACROS_ONLY - |
25 25
		sed "/^[ ]*\$/d;/^#/d;s@\\(.*\\)@\\1 $a/\\1@"
26 26
		done |
27 27
	sort +0 -1 -u |

Also available in: Unified diff