mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
patch to configure.ac to build openssh -5.2p1 on Haiku, based on Ingo's patch for 5.0p1
This commit is contained in:
35
net-misc/openssh/openssh-5.2p1-haiku.diff
Normal file
35
net-misc/openssh/openssh-5.2p1-haiku.diff
Normal file
@@ -0,0 +1,35 @@
|
||||
diff -urN openssh-5.2p1/configure.ac openssh-5.2p1-haiku/configure.ac
|
||||
--- openssh-5.2p1/configure.ac 2009-05-19 03:58:15.000000000 +0000
|
||||
+++ openssh-5.2p1-haiku/configure.ac 2009-05-19 05:02:04.000000000 +0000
|
||||
@@ -484,6 +484,11 @@
|
||||
*-*-dragonfly*)
|
||||
SSHDLIBS="$SSHDLIBS -lcrypt"
|
||||
;;
|
||||
+*-*-haiku*)
|
||||
+ LIBS="$LIBS -lbsd "
|
||||
+ AC_CHECK_LIB(network, socket)
|
||||
+ 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"
|
||||
@@ -2611,6 +2616,19 @@
|
||||
)
|
||||
fi
|
||||
|
||||
+if test -z "$have_u_int64_t" ; then
|
||||
+ AC_MSG_CHECKING([for u_int64_t type in posix/stdint.h])
|
||||
+ AC_TRY_COMPILE(
|
||||
+ [ #include <posix/stdint.h> ],
|
||||
+ [ u_int64_t a; a = 1],
|
||||
+ [
|
||||
+ AC_DEFINE(HAVE_U_INT64_T)
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ ],
|
||||
+ [ AC_MSG_RESULT(no) ]
|
||||
+ )
|
||||
+fi
|
||||
+
|
||||
if test -z "$have_u_intxx_t" ; then
|
||||
AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [
|
||||
AC_TRY_COMPILE(
|
||||
Reference in New Issue
Block a user