summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2011-08-26 12:14:53 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2011-08-26 12:14:53 +0200
commit9945eb561de0af3e6788a8728081199cb024cb83 (patch)
treed971c94d5d97e544943d2893bc93c763a7c61668
parent006d9e7b346a08e62e2509cdb66170bdce822553 (diff)
downloadperl-9945eb561de0af3e6788a8728081199cb024cb83.tar.gz
Revert "Fix Configure's csym test for gcc's link time optimisation"
There are too many related problems arising from this change This reverts commit e820c6d6a6d0a8828aa68a6895696b659c471f2f.
-rwxr-xr-xConfigure16
1 files changed, 8 insertions, 8 deletions
diff --git a/Configure b/Configure
index d4c95a7005..74450a95e6 100755
--- a/Configure
+++ b/Configure
@@ -28,7 +28,7 @@
# See Porting/pumpkin.pod for more information on metaconfig.
#
-# Generated on Mon Aug 22 15:14:53 CEST 2011 [metaconfig 3.5 PL0]
+# Generated on Sun Jul 31 12:11:29 CEST 2011 [metaconfig 3.5 PL0]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -1310,9 +1310,6 @@ fi
groupstype=''
i_whoami=''
-: Trailing extension. Override this in a hint file, if needed.
-: Extra object files, if any, needed on this platform.
-archobjs=''
archname=''
: Possible local include directories to search.
: Set locincpth to "" in a hint file to defeat local include searches.
@@ -1326,6 +1323,11 @@ inclwanted=''
EBUGGING=''
DEBUGGING=''
+: set usethreads on the Configure command line to enable threads.
+usereentrant='undef'
+: Trailing extension. Override this in a hint file, if needed.
+: Extra object files, if any, needed on this platform.
+archobjs=''
libnames=''
: change the next line if compiling for Xenix/286 on Xenix/386
xlibpth='/usr/lib/386 /lib/386'
@@ -1349,8 +1351,6 @@ plibpth=''
libswanted=''
: some systems want to use only the non-versioned libso:s
ignore_versioned_solibs=''
-: set usethreads on the Configure command line to enable threads.
-usereentrant='undef'
: full support for void wanted by default
defvoidused=15
@@ -7774,13 +7774,13 @@ yes)
if $contains $tlook $tf >/dev/null 2>&1; then
tval=true;
elif $test "$mistrustnm" = compile -o "$mistrustnm" = run; then
- echo "volatile int dummy = 0; $extern_C void *$1$tdc; void *(*(p()))$tdc { return dummy + &$1; } int main() { if(p()) return(0); else return(1); }"> try.c;
+ echo "$extern_C void *$1$tdc; void *(*(p()))$tdc { return &$1; } int main() { if(p()) 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$_exe >/dev/null 2>&1 || tval=false; };
$rm_try;
fi;
else
- echo "volatile int dummy = 0; $extern_C void *$1$tdc; void *(*(p()))$tdc { return dummy + &$1; } int main() { if(p()) return(0); else return(1); }"> try.c;
+ echo "$extern_C void *$1$tdc; void *(*(p()))$tdc { return &$1; } int main() { if(p()) return(0); else return(1); }"> try.c;
$cc -o try $optimize $ccflags $ldflags try.c $libs >/dev/null 2>&1 && tval=true;
$rm_try;
fi;