summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-03 21:01:36 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-03 21:01:36 +0000
commit7423df6aa8598ba968b70551f64031139c42413e (patch)
treee5376613bf3963b3631e53a1c61aa73581dee9ff /configure.in
parent1b8705bd44d05c7b6a08d70a54941e78fbabd58a (diff)
downloadirssi-7423df6aa8598ba968b70551f64031139c42413e.zip
HPUX 10.20 needs -D_XOPEN_SOURCE_EXTENDED
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1321 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
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])