From 1ca1924a800ba4da382e6a6897a54bcf98ba4f27 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Fri, 13 Jun 2003 12:09:16 +0000 Subject: Integrate: [ 19760] Even more tweakage on symbol scanning from Alan Burlison. p4raw-link: @19760 on //depot/perl: 88cf0b85d17739fdbeaecfb7daffd6e2e8cf92a9 p4raw-id: //depot/maint-5.8/perl@19762 p4raw-integrated: from //depot/perl@19759 'merge in' Configure (@19742..) --- Configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Configure') diff --git a/Configure b/Configure index b767f5abd2..f2693e6532 100755 --- a/Configure +++ b/Configure @@ -7373,14 +7373,14 @@ yes) if $contains $tlook $tf >/dev/null 2>&1; then tval=true; elif $test "$mistrustnm" = compile -o "$mistrustnm" = run; then - echo "int main() { extern void *$1$tdc; return(&$1$tc ? 0 : 1); }" > try.c; + echo "int main() { extern void *$1$tdc; if (&$1$tc) return(0); else return(1); }" > try.c; $cc -o try $optimize $ccflags $ldflags try.c >/dev/null 2>&1 $libs && tval=true; $test "$mistrustnm" = run -a -x try && { $run ./try >/dev/null 2>&1 || tval=false; }; $rm -f try try.c core; fi; else echo "#include " > try.c; - echo "int main() { extern void *$1$tdc; return(&$1$tc ? 0 : 1); }" > try.c; + echo "int main() { extern void *$1$tdc; if(&$1$tc) return(0); else return(1); }" > try.c; $cc -o try $optimize $ccflags $ldflags try.c $libs >/dev/null 2>&1 && tval=true; $rm -f try try.c; fi; -- cgit v1.2.1