summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac20
2 files changed, 22 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 55bdc849a..4195407e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@
13 Reported by Doug Manton <dmanton@emea.att.com> 13 Reported by Doug Manton <dmanton@emea.att.com>
14 - (djm) Bug #222: Fix tests for getaddrinfo on OSF/1. Spotted by 14 - (djm) Bug #222: Fix tests for getaddrinfo on OSF/1. Spotted by
15 Robert Urban <urban@spielwiese.de> 15 Robert Urban <urban@spielwiese.de>
16 - (djm) Bug #206 - blibpath isn't always needed for AIX ld, avoid
17 sizeof(long long int) == 4 breakage. Patch from Matthew Clarke
18 <Matthew_Clarke@mindlink.bc.ca>
16 - (djm) Make privsep work with PAM (still experimental) 19 - (djm) Make privsep work with PAM (still experimental)
17 - (djm) OpenBSD CVS Sync 20 - (djm) OpenBSD CVS Sync
18 - deraadt@cvs.openbsd.org 2002/04/20 09:02:03 21 - deraadt@cvs.openbsd.org 2002/04/20 09:02:03
@@ -485,4 +488,4 @@
485 - (stevesk) entropy.c: typo in debug message 488 - (stevesk) entropy.c: typo in debug message
486 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 489 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
487 490
488$Id: ChangeLog,v 1.2076 2002/04/23 13:09:19 djm Exp $ 491$Id: ChangeLog,v 1.2077 2002/04/23 13:22:25 djm Exp $
diff --git a/configure.ac b/configure.ac
index f4ec16a00..6bf5581f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.50 2002/04/23 13:09:19 djm Exp $ 1# $Id: configure.ac,v 1.51 2002/04/23 13:22:25 djm Exp $
2 2
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -57,7 +57,18 @@ case "$host" in
57 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 57 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
58 LDFLAGS="$LDFLAGS -L/usr/local/lib" 58 LDFLAGS="$LDFLAGS -L/usr/local/lib"
59 if (test "$LD" != "gcc" && test -z "$blibpath"); then 59 if (test "$LD" != "gcc" && test -z "$blibpath"); then
60 blibpath="/usr/lib:/lib:/usr/local/lib" 60 AC_MSG_CHECKING([if linkage editor ($LD) accepts -blibpath])
61 saved_LDFLAGS="$LDFLAGS"
62 LDFLAGS="$LDFLAGS -blibpath:/usr/lib:/lib:/usr/local/lib"
63 AC_TRY_LINK([],
64 [],
65 [
66 AC_MSG_RESULT(yes)
67 blibpath="/usr/lib:/lib:/usr/local/lib"
68 ],
69 [ AC_MSG_RESULT(no) ]
70 )
71 LDFLAGS="$saved_LDFLAGS"
61 fi 72 fi
62 AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)]) 73 AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)])
63 AC_DEFINE(BROKEN_GETADDRINFO) 74 AC_DEFINE(BROKEN_GETADDRINFO)
@@ -1071,6 +1082,11 @@ AC_CHECK_SIZEOF(int, 4)
1071AC_CHECK_SIZEOF(long int, 4) 1082AC_CHECK_SIZEOF(long int, 4)
1072AC_CHECK_SIZEOF(long long int, 8) 1083AC_CHECK_SIZEOF(long long int, 8)
1073 1084
1085# Sanity check long long for some platforms (AIX)
1086if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
1087 ac_cv_sizeof_long_long_int=0
1088fi
1089
1074# More checks for data types 1090# More checks for data types
1075AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [ 1091AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
1076 AC_TRY_COMPILE( 1092 AC_TRY_COMPILE(