View | Details | Raw Unified | Return to bug 206
Collapse All | Expand All

(-)openssh.orig/configure.ac (-1 / +20 lines)
Lines 57-63 Link Here
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)
Lines 1068-1073 Link Here
1068
AC_CHECK_SIZEOF(long int, 4)
1079
AC_CHECK_SIZEOF(long int, 4)
1069
AC_CHECK_SIZEOF(long long int, 8)
1080
AC_CHECK_SIZEOF(long long int, 8)
1070
1081
1082
# IBM XL C 1.2.1.16 (AIX 3.2.5):
1083
# "long long int" gives a warning about duplicate "long", and is treated
1084
# as "long int"; following is a kludge to ignore any "long long int" that
1085
# is 4 bytes long, and not attempt to build sftp-server.
1086
if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
1087
	ac_cv_sizeof_long_long_int=0
1088
fi
1089
1071
# More checks for data types
1090
# More checks for data types
1072
AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
1091
AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
1073
	AC_TRY_COMPILE(
1092
	AC_TRY_COMPILE(

Return to bug 206