From: Jarkko Hietaniemi Date: Wed, 3 Mar 1999 22:30:40 +0000 (+0000) Subject: Configure regen to X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c4747d3eff5431f830d3c7a121001f0c204c2625;p=p5sagit%2Fp5-mst-13.2.git Configure regen to (1) match maint-5.005 patches #3056 and #3057 (2) better version of PHOSTNAME of #3050 (3) the crosscompile/multiarch config_h.SH trouble solved for now p4raw-id: //depot/cfgperl@3058 --- diff --git a/Configure b/Configure index e229ecc..861a036 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 Tue Mar 2 10:22:15 EET 1999 [metaconfig 3.0 PL70] +# Generated on Thu Mar 4 00:05:11 EET 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <&4 $cat >try.c <<'EOCP' @@ -11959,12 +11970,16 @@ $eunicefix Cppsym ./Cppsym -l $al | $sort | $grep -v '^$' >Cppsym.true : now check the C compiler for additional symbols +postprocess_cc_v='' +case "$osname" in +aix) postprocess_cc_v="|$tr , ' '" ;; +esac $cat >ccsym <tmp.c <&1\` +for i in \`$cc -v -c tmp.c 2>&1 $postprocess_cc_v\` do case "\$i" in -D*) echo "\$i" | $sed 's/^-D//';; @@ -11973,6 +11988,7 @@ do done $rm -f try.c EOS +unset postprocess_cc_v chmod +x ccsym $eunicefix ccsym ./ccsym > ccsym1.raw @@ -12980,6 +12996,7 @@ i_netdb='$i_netdb' i_neterrno='$i_neterrno' i_niin='$i_niin' i_poll='$i_poll' +i_pthread='$i_pthread' i_pwd='$i_pwd' i_rpcsvcdbm='$i_rpcsvcdbm' i_sfio='$i_sfio' diff --git a/config_h.SH b/config_h.SH index 0547b0c..7429fe0 100644 --- a/config_h.SH +++ b/config_h.SH @@ -1070,7 +1070,7 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * double. Usual values are 2, 4 and 8. The default is eight, * for safety. */ -#if defined(CROSSCOMPILE) || defined(MULTIARCH) || defined(NeXT) || defined(__NeXT__) +#if defined(CROSSCOMPILE) || defined(MULTIARCH) # define MEM_ALIGNBYTES 8 #else #define MEM_ALIGNBYTES $alignbytes @@ -1092,7 +1092,7 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * so the default case (for NeXT) is big endian to catch them. * This might matter for NeXT 3.0. */ -#if defined(CROSSCOMPILE) || defined(MULTIARCH) || defined(NeXT) || defined(__NeXT__) +#if defined(CROSSCOMPILE) || defined(MULTIARCH) # ifdef __LITTLE_ENDIAN__ # if LONGSIZE == 4 # define BYTEORDER 0x1234 @@ -1581,18 +1581,17 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * and PHOSTNAME. */ /* PHOSTNAME: - * This symbol, if defined, indicates that the C program may use the - * contents of PHOSTNAME as a command to feed to the popen() routine - * to derive the host name. See also HAS_GETHOSTNAME and HAS_UNAME. - * Note that the command uses a fully qualified path, so that it is safe - * even if used by a process with super-user privileges. + * This symbol, if defined, indicates the command to feed to the + * popen() routine to derive the host name. See also HAS_GETHOSTNAME + * and HAS_UNAME. Note that the command uses a fully qualified path, + * so that it is safe even if used by a process with super-user + * privileges. */ #$d_gethname HAS_GETHOSTNAME /**/ #$d_uname HAS_UNAME /**/ -#$d_phostname PHOSTNAME -#ifdef $d_phostname -#undef $d_phostname -#$d_phostname PHOSTNAME "$aphostname" /* How to get the host name */ +#$d_phostname HAS_PHOSTNAME +#ifdef HAS_PHOSTNAME +#define PHOSTNAME "$aphostname" /* How to get the host name */ #endif /* HAS_GETNETBYADDR: