]> andersk Git - gssapi-openssh.git/commitdiff
o Add static option to configure script.
authorcphillip <cphillip>
Fri, 3 May 2002 15:56:33 +0000 (15:56 +0000)
committercphillip <cphillip>
Fri, 3 May 2002 15:56:33 +0000 (15:56 +0000)
openssh/configure.ac

index fd837536243a4abd84ce5509e4b53276dd069e79..a85c3b80a03e8787b611ca0e5aaebb2026991441 100644 (file)
@@ -2177,6 +2177,21 @@ AC_ARG_ENABLE(suid-ssh,
 )
 AC_SUBST(SSHMODE)
 
+AC_MSG_CHECKING(whether to build only static binaries)
+AC_ARG_ENABLE(static-only,
+[  --enable-static-only    Build only static binaries
+  --disable-static-only   Build shared binaries where supported (default)],
+[ case "$enableval" in
+  yes)
+       AC_MSG_RESULT(yes)
+       CFLAGS="$CFLAGS -static"
+       LDFLAGS="$LDFLAGS -static"
+       ;;
+  *)   AC_MSG_RESULT(no)
+       ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
 
 # Where to place sshd.pid
 piddir=/var/run
This page took 0.065756 seconds and 5 git commands to generate.