summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-13 12:09:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-13 12:09:16 +0000
commit1ca1924a800ba4da382e6a6897a54bcf98ba4f27 (patch)
tree78bb7954e45c8a77699562e9e0d03987a0723755 /Configure
parent67bae6b3e8e1df02645d11c92059a906299c8c04 (diff)
downloadperl-1ca1924a800ba4da382e6a6897a54bcf98ba4f27.tar.gz
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..)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 2 insertions, 2 deletions
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 <stdio.h>" > 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;