mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- (djm) Replace use of '-o' and '-a' logical operators in configure tests
with '||' and '&&'. As suggested by Jim Knoble <jmknoble@pint-stowp.cx> to fix SCO Unixware problem reported by Gary E. Miller <gem@rellim.com>
This commit is contained in:
parent
98cabe0546
commit
edb82929fa
@ -1,3 +1,8 @@
|
|||||||
|
20000620
|
||||||
|
- (djm) Replace use of '-o' and '-a' logical operators in configure tests
|
||||||
|
with '||' and '&&'. As suggested by Jim Knoble <jmknoble@pint-stowp.cx>
|
||||||
|
to fix SCO Unixware problem reported by Gary E. Miller <gem@rellim.com>
|
||||||
|
|
||||||
20000618
|
20000618
|
||||||
- (djm) Add summary of configure options to end of ./configure run
|
- (djm) Add summary of configure options to end of ./configure run
|
||||||
- (djm) Not all systems define RUSAGE_SELF & RUSAGE_CHILDREN. Report from
|
- (djm) Not all systems define RUSAGE_SELF & RUSAGE_CHILDREN. Report from
|
||||||
|
16
configure.in
16
configure.in
@ -31,7 +31,7 @@ case "$host" in
|
|||||||
AFS_LIBS="-lld"
|
AFS_LIBS="-lld"
|
||||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
if test "$LD" != "gcc" -a -z "$blibpath"; then
|
if (test "$LD" != "gcc" && test -z "$blibpath"); then
|
||||||
blibpath="/usr/lib:/lib:/usr/local/lib"
|
blibpath="/usr/lib:/lib:/usr/local/lib"
|
||||||
fi
|
fi
|
||||||
AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)])
|
AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)])
|
||||||
@ -230,7 +230,7 @@ AC_ARG_WITH(pam,
|
|||||||
fi
|
fi
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
if test -z "$no_pam" -a "x$ac_cv_header_security_pam_appl_h" = "xyes" ; then
|
if (test -z "$no_pam" && test "x$ac_cv_header_security_pam_appl_h" = "xyes") ; then
|
||||||
AC_CHECK_LIB(dl, dlopen, , )
|
AC_CHECK_LIB(dl, dlopen, , )
|
||||||
LIBS="$LIBS -lpam"
|
LIBS="$LIBS -lpam"
|
||||||
|
|
||||||
@ -321,7 +321,7 @@ int main(void)
|
|||||||
ac_cv_openssldir=$ssldir
|
ac_cv_openssldir=$ssldir
|
||||||
])
|
])
|
||||||
|
|
||||||
if test ! -z "$ac_cv_openssldir" -a ! "x$ac_cv_openssldir" = "x(system)" ; then
|
if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ; then
|
||||||
AC_DEFINE(HAVE_OPENSSL)
|
AC_DEFINE(HAVE_OPENSSL)
|
||||||
dnl Need to recover ssldir - test above runs in subshell
|
dnl Need to recover ssldir - test above runs in subshell
|
||||||
ssldir=$ac_cv_openssldir
|
ssldir=$ac_cv_openssldir
|
||||||
@ -421,8 +421,8 @@ if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if test -z "$have_u_intxx_t" -o -z "$have_intxx_t" -a \
|
if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
|
||||||
"x$ac_cv_header_sys_bitypes_h" = "xyes"
|
test "x$ac_cv_header_sys_bitypes_h" = "xyes")
|
||||||
then
|
then
|
||||||
AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
|
AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
|
||||||
AC_TRY_COMPILE(
|
AC_TRY_COMPILE(
|
||||||
@ -679,7 +679,7 @@ AC_ARG_WITH(xauth,
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
AC_PATH_PROG(xauth_path, xauth)
|
AC_PATH_PROG(xauth_path, xauth)
|
||||||
if test ! -z "$xauth_path" -a -x "/usr/openwin/bin/xauth" ; then
|
if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then
|
||||||
xauth_path="/usr/openwin/bin/xauth"
|
xauth_path="/usr/openwin/bin/xauth"
|
||||||
fi
|
fi
|
||||||
]
|
]
|
||||||
@ -750,7 +750,7 @@ AC_ARG_WITH(egd-pool,
|
|||||||
# detect pathnames for entropy gathering commands, if we need them
|
# detect pathnames for entropy gathering commands, if we need them
|
||||||
INSTALL_SSH_PRNG_CMDS=""
|
INSTALL_SSH_PRNG_CMDS=""
|
||||||
rm -f prng_commands
|
rm -f prng_commands
|
||||||
if test -z "$RANDOM_POOL" -a -z "$EGD_SOCKET" ; then
|
if (test -z "$RANDOM_POOL" && test -z "$EGD_SOCKET") ; then
|
||||||
# Use these commands to collect entropy
|
# Use these commands to collect entropy
|
||||||
OSSH_PATH_ENTROPY_PROG(PROG_LS, ls)
|
OSSH_PATH_ENTROPY_PROG(PROG_LS, ls)
|
||||||
OSSH_PATH_ENTROPY_PROG(PROG_NETSTAT, netstat)
|
OSSH_PATH_ENTROPY_PROG(PROG_NETSTAT, netstat)
|
||||||
@ -1077,7 +1077,7 @@ AC_TRY_COMPILE([
|
|||||||
if test -z "$conf_lastlog_location"; then
|
if test -z "$conf_lastlog_location"; then
|
||||||
if test x"$system_lastlog_path" = x"no" ; then
|
if test x"$system_lastlog_path" = x"no" ; then
|
||||||
for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
|
for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
|
||||||
if test -d "$f" -o -f "$f" ; then
|
if (test -d "$f" || test -f "$f") ; then
|
||||||
conf_lastlog_location=$f
|
conf_lastlog_location=$f
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user