Initial VMS patches
[p5sagit/p5-mst-13.2.git] / config_h.SH
index 1a01c9f..865d43e 100644 (file)
@@ -261,7 +261,10 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  */
 #$d_gethname HAS_GETHOSTNAME   /**/
 #$d_uname HAS_UNAME            /**/
+#$d_phostname HAS_PHOSTNAME
+#ifdef PHOSTNAME
 #$d_phostname PHOSTNAME "$aphostname"  /* How to get the host name */
+#endif
 
 /* HAS_GETLOGIN:
  *     This symbol, if defined, indicates that the getlogin routine is
@@ -2399,7 +2402,10 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  *     If defined, possible values are PTHREAD_CREATE_UNDETACHED
  *     and __UNDETACHED.
  */
+#$d_pthread_create_joinable HAS_PTHREAD_CREATE_JOINABLE
+#ifdef HAS_PTHREAD_CREATE_JOINABLE
 #$d_pthread_create_joinable PTHREAD_CREATE_JOINABLE $pthread_create_joinable /**/
+#endif
 
 /* HAS_PTHREAD_YIELD:
  *     This symbol, if defined, indicates that the pthread_yield