]> granicus.if.org Git - sudo/commitdiff
added csops paths for skey
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 21 Nov 1995 23:00:41 +0000 (23:00 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 21 Nov 1995 23:00:41 +0000 (23:00 +0000)
configure.in

index 5654f3c5800021033b021ffae5822aa9bd8e6558..c4958578b984533e43a59146c4f44cae4468b883 100644 (file)
@@ -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