brane 00/11/28 14:43:01
Modified: . hints.m4
Log:
HP-UX needs _XOPEN_SOURCE_EXTENDED to find hl_error in <netdb.h>.
Revision Changes Path
1.25 +3 -3 apr/hints.m4
Index: hints.m4
===================================================================
RCS file: /home/cvs/apr/hints.m4,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- hints.m4 2000/11/28 21:31:52 1.24
+++ hints.m4 2000/11/28 22:43:00 1.25
@@ -82,11 +82,11 @@
APR_SETIFNULL(CFLAGS, [-DHIUX])
;;
*-hp-hpux11.*)
- APR_SETIFNULL(CFLAGS, [-DHPUX11])
+ APR_SETIFNULL(CFLAGS, [-DHPUX11 -D_XOPEN_SOURCE_EXTENDED])
APR_SETIFNULL(LIBS, [-lm -lpthread])
;;
*-hp-hpux10.*)
- APR_SETIFNULL(CFLAGS, [-DHPUX10])
+ APR_SETIFNULL(CFLAGS, [-DHPUX10 -D_XOPEN_SOURCE_EXTENDED])
case $host in
*-hp-hpux10.01)
dnl # We know this is a problem in 10.01.
@@ -96,7 +96,7 @@
esac
;;
*-hp-hpux*)
- APR_SETIFNULL(CFLAGS, [-DHPUX])
+ APR_SETIFNULL(CFLAGS, [-DHPUX -D_XOPEN_SOURCE_EXTENDED])
APR_SETIFNULL(LIBS, [-lm])
;;
*-linux-*)