summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-03-03 22:30:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-03-03 22:30:40 +0000
commitc4747d3eff5431f830d3c7a121001f0c204c2625 (patch)
tree52727a3af0c28b195929cc81713b4f8bcf1b821d /config_h.SH
parent20783b42583aed99671102191cb36b712a43cbc7 (diff)
downloadperl-c4747d3eff5431f830d3c7a121001f0c204c2625.tar.gz
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
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH21
1 files changed, 10 insertions, 11 deletions
diff --git a/config_h.SH b/config_h.SH
index 0547b0c39f..7429fe0cc3 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -1070,7 +1070,7 @@ sed <<!GROK!THIS! >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 <<!GROK!THIS! >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 <<!GROK!THIS! >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: