summaryrefslogtreecommitdiff
path: root/tools/mergedirs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mergedirs')
-rwxr-xr-xtools/mergedirs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mergedirs b/tools/mergedirs
index 4196831b..e50d02ba 100755
--- a/tools/mergedirs
+++ b/tools/mergedirs
@@ -20,8 +20,8 @@ shift
echo "Merging system-dependent modules ($@)"
MODULES=`for a in $@ ; do
- cat sysdep/autoconf.h $SRCDIR/$a/Modules |
- $cpp -U unix - |
+ cat sysdep/config.h $SRCDIR/$a/Modules |
+ $cpp -U unix -D MACROS_ONLY - |
sed "/^[ ]*\$/d;/^#/d;s@\\(.*\\)@\\1 $a/\\1@"
done |
sort +0 -1 -u |