From: Todd C. Miller Date: Sat, 12 Mar 1994 22:41:53 +0000 (+0000) Subject: BROKEN_GETPASS is now an OPTION X-Git-Tag: SUDO_1_3_1~276 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4c691030badb6283c6dc1211e8033332b690e48;p=sudo BROKEN_GETPASS is now an OPTION --- diff --git a/configure.in b/configure.in index a1180e9cf..cfa6a2447 100644 --- a/configure.in +++ b/configure.in @@ -16,7 +16,7 @@ AC_SUBST(OPTIONS)dnl dnl dnl did they say --with-csops? dnl -AC_WITH(csops, OPTIONS="$OPTIONS -DUSE_INSULTS -DENV_EDITOR -DSHORT_MESSAGE" +AC_WITH(csops, OPTIONS="${OPTIONS} -DUSE_INSULTS -DENV_EDITOR -DSHORT_MESSAGE" echo 'CSOps--adding options: USE_INSULTS ENV_EDITOR SHORT_MESSAGE') dnl dnl C compiler checks @@ -27,7 +27,8 @@ dnl dnl what architecture are we on? dnl AC_HEADER_CHECK(elf.h, AC_DEFINE(SVR4) [SVR4="1"]) -SUDO_AIX(AC_DEFINE(BROKEN_GETPASS) [if test -n "$GCC"; then +SUDO_AIX(OPTIONS="${OPTIONS} -DBROKEN_GETPASS" +[if test -n "$GCC"; then STATIC_FLAGS="-static" else STATIC_FLAGS="-bnoso -bI:/lib/syscalls.exp" @@ -53,7 +54,8 @@ fi ])dnl fi dnl -SUDO_HPUX(AC_DEFINE(BROKEN_GETPASS) [if test -n "$GCC"; then +SUDO_HPUX(OPTIONS="${OPTIONS} -DBROKEN_GETPASS" +[if test -n "$GCC"; then STATIC_FLAGS="-static" else STATIC_FLAGS="-Wl,-a,archive" @@ -67,7 +69,7 @@ STATIC_FLAGS="-non_shared" fi ])dnl dnl -SUDO_IRIX(AC_DEFINE(BROKEN_GETPASS)) +SUDO_IRIX(OPTIONS="${OPTIONS} -DBROKEN_GETPASS") dnl SUDO_LINUX([STATIC_FLAGS="-static"]) dnl