mirror of git://anongit.mindrot.org/openssh.git
- (djm) Added --with-cflags, --with-ldflags and --with-libs options to
configure.
This commit is contained in:
parent
61e67250dc
commit
e37bfc19f7
|
@ -1,3 +1,7 @@
|
||||||
|
20000606
|
||||||
|
- (djm) Added --with-cflags, --with-ldflags and --with-libs options to
|
||||||
|
configure.
|
||||||
|
|
||||||
20000604
|
20000604
|
||||||
- Configure tweaking for new login code on Irix 5.3
|
- Configure tweaking for new login code on Irix 5.3
|
||||||
- (andre) login code changes based on djm feedback
|
- (andre) login code changes based on djm feedback
|
||||||
|
|
27
configure.in
27
configure.in
|
@ -120,6 +120,33 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Allow user to specify flags
|
||||||
|
AC_ARG_WITH(cflags,
|
||||||
|
[ --with-cflags Specify additional flags to pass to compiler],
|
||||||
|
[
|
||||||
|
if test "x$withval" != "xno" ; then
|
||||||
|
CFLAGS="$CFLAGS $withval"
|
||||||
|
fi
|
||||||
|
]
|
||||||
|
)
|
||||||
|
AC_ARG_WITH(ldflags,
|
||||||
|
[ --with-ldlags Specify additional flags to pass to linker],
|
||||||
|
[
|
||||||
|
if test "x$withval" != "xno" ; then
|
||||||
|
LDFLAGS="$LDFLAGS $withval"
|
||||||
|
fi
|
||||||
|
]
|
||||||
|
)
|
||||||
|
AC_ARG_WITH(libs,
|
||||||
|
[ --with-libs Specify additional libraries to link with],
|
||||||
|
[
|
||||||
|
if test "x$withval" != "xno" ; then
|
||||||
|
LIBS="$LIBS $withval"
|
||||||
|
fi
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
# Checks for libraries.
|
# Checks for libraries.
|
||||||
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
|
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
|
||||||
AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
|
AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
|
||||||
|
|
Loading…
Reference in New Issue