From 4fb7dc7d27d1f8d119e6f67f04999384a2f7c2f9 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 2 Aug 2006 03:04:42 +0300 Subject: [PATCH] g++ heavy shoveling Message-ID: <44CFC1EA.2050702@iki.fi> p4raw-id: //depot/perl@28651 --- Configure | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Configure b/Configure index 7f3c637..c462113 100755 --- a/Configure +++ b/Configure @@ -26,7 +26,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Tue Aug 1 10:44:27 CEST 2006 [metaconfig 3.0 PL70] +# Generated on Wed Aug 2 13:20:07 CEST 2006 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <= 2 && __GLIBC_MINOR__ >= 1 +# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 && !defined(__cplusplus) # include printf("%s\n", gnu_get_libc_version()); # else @@ -7590,6 +7590,10 @@ set dlopen d_dlopen eval $inlibc runnm="$xxx_runnm" +: see if this is a unistd.h system +set unistd.h i_unistd +eval $inhdr + : determine which dynamic loading, if any, to compile in echo " " dldir="ext/DynaLoader" @@ -7693,6 +7697,10 @@ EOM #ifdef I_STDLIB #include #endif +#$i_unistd I_UNISTD +#ifdef I_UNISTD +#include +#endif int main() { char b[4]; int i = open("a.out",O_RDONLY); @@ -10102,10 +10110,6 @@ eval $inlibc set bcopy d_bcopy eval $inlibc -: see if this is a unistd.h system -set unistd.h i_unistd -eval $inhdr - : see if getpgrp exists set getpgrp d_getpgrp eval $inlibc @@ -10351,6 +10355,7 @@ va_dcl p = va_arg(ap, char *); #endif va_end(ap); + return 0; } EOP $cat > varargs <