]> andersk Git - openssh.git/commitdiff
- (djm) Added --with-cflags, --with-ldflags and --with-libs options to
authordjm <djm>
Sun, 4 Jun 2000 23:37:43 +0000 (23:37 +0000)
committerdjm <djm>
Sun, 4 Jun 2000 23:37:43 +0000 (23:37 +0000)
   configure.

ChangeLog
configure.in

index 225201544d6e97f6bbdb2c27e1e38bbf26037bef..b404849ca1d34743b8930169696877dc5f89d6b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20000606
+ - (djm) Added --with-cflags, --with-ldflags and --with-libs options to 
+   configure.
+
 20000604
  - Configure tweaking for new login code on Irix 5.3
  - (andre) login code changes based on djm feedback
index 8056ada053b414d748b6805dd312a93dc83812f0..c242246d3f104fe1e963caaf9ceb35767c6d8cb2 100644 (file)
@@ -120,6 +120,33 @@ case "$host" in
        ;;
 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.
 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")
This page took 0.054194 seconds and 5 git commands to generate.