diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1999-06-28 08:36:38 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-04 21:34:47 +0000 |
commit | b0ca42139c4342976311d6fdf20047dfeb44a8cb (patch) | |
tree | 435c49ba7db224a762588aa0f221f37fa7040fc1 | |
parent | 2a680da6beb63f7dc6442e9c4beb1cf75b8ae796 (diff) | |
download | perl-b0ca42139c4342976311d6fdf20047dfeb44a8cb.tar.gz |
Do not throw away gccvers compilation errors.
To: Ron Seguin <rseguin@on.bell.ca>
Cc: Perl Porters <perl5-porters@perl.org>
Subject: [PATCH] Re: [ID 19990625.011] WHOA There
Message-Id: <Pine.GSU.4.05.9906281230100.6265-100000@newton.phys>
p4raw-id: //depot/cfgperl@3574
-rwxr-xr-x | Configure | 4 | ||||
-rw-r--r-- | config_h.SH | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sun May 30 15:51:19 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Mon Jul 5 00:31:28 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <<EOF @@ -3625,7 +3625,7 @@ int main() { exit(0); } EOM -if $cc -o gccvers gccvers.c >/dev/null 2>&1; then +if $cc -o gccvers gccvers.c; then gccversion=`./gccvers` case "$gccversion" in '') echo "You are not using GNU cc." ;; diff --git a/config_h.SH b/config_h.SH index 1a7c363ff2..44d4379851 100644 --- a/config_h.SH +++ b/config_h.SH @@ -595,7 +595,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- /* HAS_SHMAT_PROTOTYPE: * This symbol, if defined, indicates that the sys/shm.h includes * a prototype for shmat(). Otherwise, it is up to the program to - * guess one. Shmat_t shmat (int, Shmat_t, int) is a good guess, + * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, * but not always right so it should be emitted by the program only * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. */ @@ -2191,7 +2191,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * This symbol, if defined, indicates that the system provides * a prototype for the telldir() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern long telldir (DIR*); + * extern long telldir _((DIR*)); */ #$d_telldirproto HAS_TELLDIR_PROTO /**/ @@ -2536,7 +2536,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * This symbol, if defined, indicates that the system provides * a prototype for the drand48() function. Otherwise, it is up * to the program to supply one. A good guess is - * extern double drand48 (void); + * extern double drand48 _((void)); */ #$d_drand48proto HAS_DRAND48_PROTO /**/ |