From: Todd C. Miller Date: Tue, 21 Nov 1995 23:00:41 +0000 (+0000) Subject: added csops paths for skey X-Git-Tag: SUDO_1_4_0~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fda1d8ac4738ec83f13354cf87567936a2c77dd;p=sudo added csops paths for skey --- diff --git a/configure.in b/configure.in index 5654f3c58..c4958578b 100644 --- a/configure.in +++ b/configure.in @@ -80,6 +80,7 @@ echo 'Configuring for use with DCE') dnl --with-csops AC_ARG_WITH(csops, [ --with-csops add CSOps standard options], OPTIONS="${OPTIONS} -DUSE_INSULTS -DCLASSIC_INSULTS -DCSOPS_INSULTS -DENV_EDITOR" sbindir='$(exec_prefix)/sbin' +CSOPS=1 echo 'CSOps--adding options: USE_INSULTS CLASSIC_INSULTS CSOPS_INSULTS ENV_EDITOR') dnl @@ -436,6 +437,9 @@ if test -n "$SKEY" ; then if test -f /usr/local/include/skey.h -a -f /usr/local/lib/libskey.a; then CPPFLAGS="${CPPFLAGS} -I/usr/local/include" LDFLAGS="${LDFLAGS} -L/usr/local/lib" + elif test -n "$CSOPS" -a -f /tools/cs/skey/include/skey.h -a -f /tools/cs/skey/lib/libskey.a; then + CPPFLAGS="${CPPFLAGS} -I/tools/cs/skey/include" + LDFLAGS="${LDFLAGS} -L/tools/cs/skey/lib" else echo 'Can't find libskey.a and skey.h, you'll have to edit the Makefile' fi