From: Todd C. Miller Date: Fri, 24 Jun 1994 23:45:39 +0000 (+0000) Subject: fixed a test X-Git-Tag: SUDO_1_3_1~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56bcd39a291f570443b5a230e72be9e4bfa98dd9;p=sudo fixed a test aded --with-C2 and --with-tgetpass --- diff --git a/configure.in b/configure.in index 098de8232..0bf8c5d17 100644 --- a/configure.in +++ b/configure.in @@ -16,11 +16,19 @@ AC_SUBST(OPTIONS)dnl LIBOBJS="" AC_SUBST(LIBOBJS)dnl dnl -dnl did they say --with-csops? +dnl Options for --with dnl +dnl --with-C2 +AC_WITH(C2, AC_DEFINE(HAVE_C2_SECURITY) +echo 'Configuring for C2 security') +dnl +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 @@ -118,7 +126,7 @@ dnl Header file checks dnl AC_STDC_HEADERS AC_HAVE_HEADERS(string.h strings.h unistd.h malloc.h paths.h) -if [ "$OS" != "ultrix" ]; then +if test "$OS" != "ultrix" ; then AC_HAVE_HEADERS(termio.h termios.h) fi dnl