[configure.ac] Bug 770. Fix --without-rpath.
This commit is contained in:
parent
3db2e4daf7
commit
88368a3034
|
@ -1,3 +1,6 @@
|
||||||
|
20031208
|
||||||
|
- (tim) [configure.ac] Bug 770. Fix --without-rpath.
|
||||||
|
|
||||||
20031123
|
20031123
|
||||||
- (djm) [canohost.c] Move IPv4inV6 mapped address normalisation to its own
|
- (djm) [canohost.c] Move IPv4inV6 mapped address normalisation to its own
|
||||||
function and call it unconditionally
|
function and call it unconditionally
|
||||||
|
@ -1532,4 +1535,4 @@
|
||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3130 2003/11/24 02:33:34 djm Exp $
|
$Id: ChangeLog,v 1.3131 2003/12/08 20:35:59 tim Exp $
|
||||||
|
|
32
configure.ac
32
configure.ac
|
@ -1,4 +1,4 @@
|
||||||
# $Id: configure.ac,v 1.175 2003/11/22 03:25:16 dtucker Exp $
|
# $Id: configure.ac,v 1.176 2003/12/08 20:35:59 tim Exp $
|
||||||
|
|
||||||
AC_INIT
|
AC_INIT
|
||||||
AC_CONFIG_SRCDIR([ssh.c])
|
AC_CONFIG_SRCDIR([ssh.c])
|
||||||
|
@ -52,6 +52,18 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
|
||||||
CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized"
|
CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_ARG_WITH(rpath,
|
||||||
|
[ --without-rpath Disable auto-added -R linker paths],
|
||||||
|
[
|
||||||
|
if test "x$withval" = "xno" ; then
|
||||||
|
need_dash_r=""
|
||||||
|
fi
|
||||||
|
if test "x$withval" = "xyes" ; then
|
||||||
|
need_dash_r=1
|
||||||
|
fi
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
# Check for some target-specific stuff
|
# Check for some target-specific stuff
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-aix*)
|
*-*-aix*)
|
||||||
|
@ -228,7 +240,9 @@ mips-sony-bsd|mips-sony-newsos4)
|
||||||
;;
|
;;
|
||||||
*-*-netbsd*)
|
*-*-netbsd*)
|
||||||
check_for_libcrypt_before=1
|
check_for_libcrypt_before=1
|
||||||
|
if test "x$withval" != "xno" ; then
|
||||||
need_dash_r=1
|
need_dash_r=1
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*-*-freebsd*)
|
*-*-freebsd*)
|
||||||
check_for_libcrypt_later=1
|
check_for_libcrypt_later=1
|
||||||
|
@ -252,8 +266,12 @@ mips-sony-bsd|mips-sony-newsos4)
|
||||||
;;
|
;;
|
||||||
*-*-solaris*)
|
*-*-solaris*)
|
||||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||||
|
if test "x$withval" = "xno" ; then
|
||||||
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
|
else
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
|
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
|
||||||
need_dash_r=1
|
need_dash_r=1
|
||||||
|
fi
|
||||||
AC_DEFINE(PAM_SUN_CODEBASE)
|
AC_DEFINE(PAM_SUN_CODEBASE)
|
||||||
AC_DEFINE(LOGIN_NEEDS_UTMPX)
|
AC_DEFINE(LOGIN_NEEDS_UTMPX)
|
||||||
AC_DEFINE(LOGIN_NEEDS_TERM)
|
AC_DEFINE(LOGIN_NEEDS_TERM)
|
||||||
|
@ -537,18 +555,6 @@ AC_CHECK_FUNC(getspnam, ,
|
||||||
AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen"))
|
AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen"))
|
||||||
AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
|
AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
|
||||||
|
|
||||||
AC_ARG_WITH(rpath,
|
|
||||||
[ --without-rpath Disable auto-added -R linker paths],
|
|
||||||
[
|
|
||||||
if test "x$withval" = "xno" ; then
|
|
||||||
need_dash_r=""
|
|
||||||
fi
|
|
||||||
if test "x$withval" = "xyes" ; then
|
|
||||||
need_dash_r=1
|
|
||||||
fi
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
dnl zlib is required
|
dnl zlib is required
|
||||||
AC_ARG_WITH(zlib,
|
AC_ARG_WITH(zlib,
|
||||||
[ --with-zlib=PATH Use zlib in PATH],
|
[ --with-zlib=PATH Use zlib in PATH],
|
||||||
|
|
Loading…
Reference in New Issue