]> granicus.if.org Git - sudo/commitdiff
added --with-getpass
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 26 Jun 1994 20:35:48 +0000 (20:35 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 26 Jun 1994 20:35:48 +0000 (20:35 +0000)
configure.in

index 0bf8c5d176f1eb9073882f8926dd9442dc22f302..1cec28c08c5f5cc30bc0aa351858e1b050e2936c 100644 (file)
@@ -15,8 +15,15 @@ OPTIONS=""
 AC_SUBST(OPTIONS)dnl
 LIBOBJS=""
 AC_SUBST(LIBOBJS)dnl
+TGETPASS="tgetpass.o"
+AC_SUBST(TGETPASS)dnl
 dnl
-dnl Options for --with
+dnl Options for --with(out)
+dnl
+dnl --with-getpass
+AC_WITH(getpass, AC_DEFINE(USE_GETPASS)
+echo 'Using system getpass'
+TGETPASS="")
 dnl
 dnl --with-C2
 AC_WITH(C2, AC_DEFINE(HAVE_C2_SECURITY)
@@ -26,9 +33,6 @@ dnl --with-csops
 AC_WITH(csops, OPTIONS="${OPTIONS} -DUSE_INSULTS -DENV_EDITOR -DSHORT_MESSAGE"
 echo 'CSOps--adding options: USE_INSULTS ENV_EDITOR SHORT_MESSAGE')
 dnl
-dnl --with-tgetpass
-AC_WITH(tgetpass, LIBOBJS="$LIBOBJS strdup.o", AC_DEFINE(USE_GETPASS))
-dnl
 dnl C compiler checks
 dnl
 AC_PROG_CC