diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-04 22:05:00 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-04 22:05:00 +0000 |
commit | 53d4e464026d47e82a58aab9b922fdc92a91a7f3 (patch) | |
tree | 9f0dd801954e7534cf00945b363550701879b842 /Configure | |
parent | d0456cad3918fc93900d9454be6ff427d745b536 (diff) | |
download | perl-53d4e464026d47e82a58aab9b922fdc92a91a7f3.tar.gz |
Configure tweak from Peter Prymmer
p4raw-id: //depot/perl@4644
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |