[openssh-commits] [openssh] 01/01: Configure flags for haiku from haikuports.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Nov 1 15:07:09 AEDT 2019


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit bb4f003ed8c5f61ec74a66bcedc8ab19bf5b35c4
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Nov 1 15:06:16 2019 +1100

    Configure flags for haiku from haikuports.
    
    Should build with the default flags with ./configure
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8f007e63..8489384f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -697,8 +697,10 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
 	;;
 *-*-haiku*)
 	LIBS="$LIBS -lbsd "
+	CFLAGS="$CFLAGS -D_BSD_SOURCE"
 	AC_CHECK_LIB([network], [socket])
 	AC_DEFINE([HAVE_U_INT64_T])
+	AC_DEFINE([DISABLE_UTMPX], [1], [no utmpx])
 	MANTYPE=man
 	;;
 *-*-hpux*)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list