diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2007-10-23 04:54:51 -0400 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-23 13:30:37 +0000 |
commit | 463bdbaf2367b6452a2bbeef256dff834d61429e (patch) | |
tree | 2866d5b7f76102c99d9e91afbaa7a29951c32595 /cflags.SH | |
parent | adeb94125ab7de8d20c129a905a5159972ad9fd1 (diff) | |
download | perl-463bdbaf2367b6452a2bbeef256dff834d61429e.tar.gz |
Re: [perl #46725] v5.10.0 util.c and pp_sys.c fail to compile under Mac OS X
Message-ID: <Pine.LNX.4.64.0710230817250.18303@fractal.phys.lafayette.edu>
Date: Tue, 23 Oct 2007 08:54:51 -0400 (EDT)
p4raw-id: //depot/perl@32181
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -66,31 +66,31 @@ cat >_cflags.c <<__EOT__ #ifdef I_UNISTD #include <unistd.h> #endif -#ifdef I_SYSTYPES +#ifdef I_SYS_TYPES #include <sys/types.h> #endif -#ifdef I_SYSPARAM +#ifdef I_SYS_PARAM #include <sys/param.h> #endif -#ifdef I_SYSRESOURCE +#ifdef I_SYS_RESOURCE #include <sys/resource.h> #endif -#ifdef I_SYSSELECT +#ifdef I_SYS_SELECT #include <sys/select.h> #endif #if defined(HAS_SOCKET) && !defined(VMS) && !defined(WIN32) /* See perl.h. */ #include <sys/socket.h> #endif -#ifdef I_SYSSTAT +#ifdef I_SYS_STAT #include <sys/stat.h> #endif -#ifdef I_SYSTIME +#ifdef I_SYS_TIME #include <sys/time.h> #endif -#ifdef I_SYSTIMES +#ifdef I_SYS_TIMES #include <sys/times.h> #endif -#ifdef I_SYSWAIT +#ifdef I_SYS_WAIT #include <sys/wait.h> #endif /* The gcc -ansi can cause a lot of noise in Solaris because of: @@ -139,7 +139,7 @@ Intel*) ;; # # Is that you, Intel C++? case " $ccflags " in *" $opt "*) ;; # Skip if already there. *) rm -f _cflags$_exe - case "`$cc $cflags $warn $opt _cflags.c -o _cflags$_exe 2>&1`" in + case "`$cc $cflags $warn $stdflags $opt _cflags.c -o _cflags$_exe 2>&1`" in *"unrecognized"*) ;; *"implicit declaration"*) ;; # Was something useful hidden? *"Invalid"*) ;; |