]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (dtucker) [configure.ac] Bug #1741: Add section for Haiku, patch originally
authorDarren Tucker <dtucker@zip.com.au>
Thu, 25 Mar 2010 23:27:33 +0000 (10:27 +1100)
committerDarren Tucker <dtucker@zip.com.au>
Thu, 25 Mar 2010 23:27:33 +0000 (10:27 +1100)
   by Ingo Weinhold via Scott McCreary, ok djm@

ChangeLog
configure.ac

index 88d4b2c1e009fb297f5f3f15ee2f6489ec1bbf6e..30a7ce26920257f6f336ea97ba5f7aaadb62424b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 20100326
  - (djm) [openbsd-compat/bsd-arc4random.c] Fix preprocessor detection
    for arc4random_buf() and arc4random_uniform(); from Josh Gilkerson
+ - (dtucker) [configure.ac] Bug #1741: Add section for Haiku, patch originally
+   by Ingo Weinhold via Scott McCreary, ok djm@
 
 20100324
  - (dtucker) [contrib/cygwin/ssh-host-config] Mount the Windows directory
index 331fb4572464b57343ec78fc1ab5de9630c5f37b..7580ff5917909ec4e8d9b88001cac263a12bcbeb 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.445 2010/03/09 09:42:31 dtucker Exp $
+# $Id: configure.ac,v 1.446 2010/03/25 23:27:33 dtucker Exp $
 #
 # Copyright (c) 1999-2004 Damien Miller
 #
@@ -15,7 +15,7 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
-AC_REVISION($Revision: 1.445 $)
+AC_REVISION($Revision: 1.446 $)
 AC_CONFIG_SRCDIR([ssh.c])
 
 AC_CONFIG_HEADER(config.h)
@@ -488,6 +488,12 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
 *-*-dragonfly*)
        SSHDLIBS="$SSHDLIBS -lcrypt"
        ;;
+*-*-haiku*) 
+    LIBS="$LIBS -lbsd "
+    AC_CHECK_LIB(network, socket)
+    AC_DEFINE(HAVE_U_INT64_T)
+    MANTYPE=man 
+    ;; 
 *-*-hpux*)
        # first we define all of the options common to all HP-UX releases
        CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"