summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-04 22:05:00 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-04 22:05:00 +0000
commit53d4e464026d47e82a58aab9b922fdc92a91a7f3 (patch)
tree9f0dd801954e7534cf00945b363550701879b842 /Configure
parentd0456cad3918fc93900d9454be6ff427d745b536 (diff)
downloadperl-53d4e464026d47e82a58aab9b922fdc92a91a7f3.tar.gz
Configure tweak from Peter Prymmer
p4raw-id: //depot/perl@4644
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/Configure b/Configure
index b448793952..2f74812723 100755
--- a/Configure
+++ b/Configure
@@ -12856,10 +12856,17 @@ esac
: Remove SIGSTKSIZE used by Linux.
: Remove SIGSTKSZ used by Posix.
: Remove SIGTYP void lines used by OS2.
-xxx=`echo '#include <signal.h>' |
+if [ "X$fieldn" = X ]; then
+ xxx=`echo '#include <signal.h>' |
+ $cppstdin $cppminus $cppflags 2>/dev/null |
+ $grep '^[ ]*#.*include' |
+ $sed 's!"!!g' | $sort | $uniq`
+else
+ xxx=`echo '#include <signal.h>' |
$cppstdin $cppminus $cppflags 2>/dev/null |
$grep '^[ ]*#.*include' |
$awk "{print \\$$fieldn}" | $sed 's!"!!g' | $sort | $uniq`
+fi
: Check this list of files to be sure we have parsed the cpp output ok.
: This will also avoid potentially non-existent files, such
: as ../foo/bar.h