- (dtucker) [configure.ac] Bug #588, #615: Move other libgen tests to after

the dirname test, to allow a broken dirname to be detected correctly.
   Based partially on patch supplied by alex.kiernan at thus.net.  ok djm@
This commit is contained in:
Darren Tucker 2003-09-11 14:42:55 +10:00
parent 9a959ea1b5
commit c82afd5c88
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
20030911
- (dtucker) [configure.ac] Bug #588, #615: Move other libgen tests to after
the dirname test, to allow a broken dirname to be detected correctly.
Based partially on patch supplied by alex.kiernan at thus.net. ok djm@
20030910
- (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine.
Patch from wendyp at cray.com.
@ -1059,4 +1064,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2978 2003/09/10 10:17:40 dtucker Exp $
$Id: ChangeLog,v 1.2979 2003/09/11 04:42:55 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.149 2003/09/10 05:22:45 dtucker Exp $
# $Id: configure.ac,v 1.150 2003/09/11 04:42:56 dtucker Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@ -442,7 +442,7 @@ int main(){exit(0);}
# Checks for header files.
AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \
getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \
getopt.h glob.h ia.h lastlog.h limits.h login.h \
login_cap.h maillock.h netdb.h netgroup.h \
netinet/in_systm.h paths.h pty.h readpassphrase.h \
rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
@ -463,9 +463,6 @@ if test "x$with_tcp_wrappers" != "xno" ; then
fi
fi
AC_CHECK_FUNC(getspnam, ,
AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen"))
AC_ARG_WITH(rpath,
[ --without-rpath Disable auto-added -R linker paths],
[
@ -676,7 +673,6 @@ AC_CHECK_FUNCS(\
)
AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
dnl Make sure prototypes are defined for these before using them.
AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)])
@ -726,6 +722,10 @@ int main(int argc, char **argv) {
])
])
AC_CHECK_FUNC(getspnam, ,
AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen"))
AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
dnl Checks for time functions
AC_CHECK_FUNCS(gettimeofday time)
dnl Checks for utmp functions