diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 0c43efcb8..be500da20 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1085,7 +1085,7 @@ AC_ARG_WITH(afs, | |||
1085 | 1085 | ||
1086 | if test "x$withval" != "xyes" ; then | 1086 | if test "x$withval" != "xyes" ; then |
1087 | CFLAGS="$CFLAGS -I${withval}/include" | 1087 | CFLAGS="$CFLAGS -I${withval}/include" |
1088 | LFLAGS="$LFLAGS -L${withval}/lib" | 1088 | LDFLAGS="$LDFLAGS -L${withval}/lib" |
1089 | fi | 1089 | fi |
1090 | 1090 | ||
1091 | if test -z "$KRB4" ; then | 1091 | if test -z "$KRB4" ; then |
@@ -1106,12 +1106,24 @@ LIBS="$LIBS $KLIBS" | |||
1106 | # Check whether user wants S/Key support | 1106 | # Check whether user wants S/Key support |
1107 | SKEY_MSG="no" | 1107 | SKEY_MSG="no" |
1108 | AC_ARG_WITH(skey, | 1108 | AC_ARG_WITH(skey, |
1109 | [ --with-skey Enable S/Key support], | 1109 | [ --with-skey=PATH Enable S/Key support], |
1110 | [ | 1110 | [ |
1111 | if test "x$withval" != "xno" ; then | 1111 | if test "x$withval" != "xno" ; then |
1112 | |||
1113 | if test "x$withval" != "xyes" ; then | ||
1114 | CFLAGS="$CFLAGS -I${withval}/include" | ||
1115 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
1116 | fi | ||
1117 | |||
1112 | AC_DEFINE(SKEY) | 1118 | AC_DEFINE(SKEY) |
1113 | LIBS="$LIBS -lskey" | 1119 | LIBS="$LIBS -lskey" |
1114 | SKEY_MSG="yes" | 1120 | SKEY_MSG="yes" |
1121 | |||
1122 | AC_CHECK_FUNC(skey_keyinfo, | ||
1123 | [], | ||
1124 | [ | ||
1125 | AC_MSG_ERROR([** Incomplete or missing s/key libraries.]) | ||
1126 | ]) | ||
1115 | fi | 1127 | fi |
1116 | ] | 1128 | ] |
1117 | ) | 1129 | ) |