diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-11-01 15:06:16 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-11-01 15:06:16 +1100 |
commit | bb4f003ed8c5f61ec74a66bcedc8ab19bf5b35c4 (patch) | |
tree | d842db9b43573f9096e497b380f00a392bd60cee /configure.ac | |
parent | 4332b4fe49360679647a8705bc08f4e81323f6b4 (diff) |
Configure flags for haiku from haikuports.
Should build with the default flags with ./configure
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8f007e635..8489384fb 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -697,8 +697,10 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
697 | ;; | 697 | ;; |
698 | *-*-haiku*) | 698 | *-*-haiku*) |
699 | LIBS="$LIBS -lbsd " | 699 | LIBS="$LIBS -lbsd " |
700 | CFLAGS="$CFLAGS -D_BSD_SOURCE" | ||
700 | AC_CHECK_LIB([network], [socket]) | 701 | AC_CHECK_LIB([network], [socket]) |
701 | AC_DEFINE([HAVE_U_INT64_T]) | 702 | AC_DEFINE([HAVE_U_INT64_T]) |
703 | AC_DEFINE([DISABLE_UTMPX], [1], [no utmpx]) | ||
702 | MANTYPE=man | 704 | MANTYPE=man |
703 | ;; | 705 | ;; |
704 | *-*-hpux*) | 706 | *-*-hpux*) |