From 7423df6aa8598ba968b70551f64031139c42413e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 3 Mar 2001 21:01:36 +0000 Subject: [PATCH] HPUX 10.20 needs -D_XOPEN_SOURCE_EXTENDED git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1321 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.in b/configure.in index da94926d..5569bf77 100644 --- a/configure.in +++ b/configure.in @@ -195,6 +195,15 @@ if test "x$ac_cv_prog_gcc" = "xyes"; then CFLAGS="$CFLAGS -Wall" fi +dnl * OS specific options +case "$host_os" in + hpux*) + CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED" + ;; + *) + ;; +esac + dnl * socklen_t - AC_CHECK_TYPE() would be _really_ useful if it only would dnl * accept header files where to find the typedef.. AC_MSG_CHECKING([for socklen_t])