]> andersk Git - openssh.git/blobdiff - configure.in
- Added autoconf option to enable Kerberos 4 support (untested)
[openssh.git] / configure.in
index 05a354d1ab6b50ebca729972a868305c1cce1173..0b54fd58a560dd89f123157d05a5eabd6979ac60 100644 (file)
@@ -166,4 +166,41 @@ AC_TRY_LINK([],
        ]
 )
 
+dnl Check whether user wants Kerberos support
+AC_ARG_WITH(kerberos4,
+       [  --with-kerberos4        Enable Kerberos 4 support],
+       [
+               AC_DEFINE(KRB4)
+               LIBS="$LIBS -lkrb"
+               CFLAGS="$CFLAGS -I/usr/include/kerberosIV"
+       ]
+)
+
+dnl Check whether user wants AFS support
+AC_ARG_WITH(kerberos4,
+       [  --with-afs              Enable AFS support],
+       [
+               AC_DEFINE(AFS)
+               LIBS="$LIBS -lkafs"
+       ]
+)
+
+dnl Check whether user wants S/Key support
+AC_ARG_WITH(skey,
+       [  --with-skey             Enable S/Key support],
+       [
+               AC_DEFINE(SKEY)
+               LIBS="$LIBS -lskey"
+       ]
+)
+
+dnl Check whether user wants TCP wrappers support
+AC_ARG_WITH(skey,
+       [  --with-tcp-wrappers     Enable tcpwrappers support],
+       [
+               AC_DEFINE(LIBWRAP)
+               LIBS="$LIBS -lwrap"
+       ]
+)
+
 AC_OUTPUT(Makefile)
This page took 0.032879 seconds and 4 git commands to generate.