summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-13 20:09:22 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-13 20:09:22 +0000
commitc04fee9ea3bf70058197f3e7aacaec08b2104e96 (patch)
tree06bd1ee6a354d15d881baf60797dd551cbbb0080 /Configure
parent18a11e1977df30ff9330af971960d2eb9643c5c3 (diff)
downloadperl-c04fee9ea3bf70058197f3e7aacaec08b2104e96.tar.gz
Integrate:
[ 18954] Another finding by IRIX cc: non-void function sv_cat_decode() should return a value. [ 18955] File::Temp tests were failing in Cygwin if $ENV{TMPDIR} was unset (the tests attempted to create files at the /) [ 18956] File::Spec: Do not fall back to '', use curdir instead. Note: Mac used to use cwd(), now curdir, slight change (relative vs. absolute). [ 18957] VOS nit from Paul Green. [ 18958] Trims slashes from the argument to rmdir(), likewise to what happens with rmdir(). Factorize the code in a local macro, TRIMSLASHES. [ 18959] Some more stdlib.h inclusions and change the gccversion test to use return (could have used that for all, sigh). p4raw-link: @18959 on //depot/perl: 073b6de5ebd9c2bf9cbf67cdf30d2de79cdd279f p4raw-link: @18958 on //depot/perl: 0c54f65beca99cd47fc978febc1180b492e468de p4raw-link: @18957 on //depot/perl: e083ff9b723e313d0590a2ca034af1c1abdaed9e p4raw-link: @18956 on //depot/perl: 9ceb3593f68e23c6c86d61aa1d0832d35925849a p4raw-link: @18955 on //depot/perl: f534ab209a30d0742128f9b80e76ccadd18af778 p4raw-link: @18954 on //depot/perl: a73e8557ffb104ab62198e9838714843724d84e5 p4raw-id: //depot/maint-5.8/perl@18961 p4raw-integrated: from //depot/perl@18953 'copy in' lib/File/Spec/Cygwin.pm (@15685..) vos/configure_full_perl.sh (@16419..) lib/File/Spec/VMS.pm (@17913..) lib/File/Spec/Mac.pm lib/File/Spec/OS2.pm lib/File/Spec/Win32.pm (@18465..) pp_sys.c (@18801..) Configure (@18944..) lib/File/Spec/Unix.pm (@18951..) 'merge in' sv.c (@18912..)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure12
1 files changed, 8 insertions, 4 deletions
diff --git a/Configure b/Configure
index a921d3a534..15170543bb 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Wed Mar 12 09:04:02 EET 2003 [metaconfig 3.0 PL70]
+# Generated on Thu Mar 13 12:23:47 EET 2003 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -3846,7 +3846,7 @@ int main() {
printf("%s\n", "1");
#endif
#endif
- (void)exit(0);
+ return(0);
}
EOM
if $cc -o try $ccflags $ldflags try.c; then
@@ -9069,7 +9069,7 @@ EOCP
#include <stdio.h>
int main() {
printf("%d\n", (int)sizeof($fpostype));
- exit(0);
+ return(0);
}
EOCP
set try
@@ -15552,10 +15552,14 @@ echo " "
: see if we have sigaction
if set sigaction val -f d_sigaction; eval $csym; $val; then
echo 'sigaction() found.' >&4
- $cat > try.c <<'EOP'
+ $cat > try.c <<EOP
#include <stdio.h>
#include <sys/types.h>
#include <signal.h>
+#$i_stdlib I_STDLIB
+#ifdef I_STDLIB
+#include <stdlib.h>
+#endif
int main()
{
struct sigaction act, oact;