]> granicus.if.org Git - sudo/commitdiff
BROKEN_GETPASS is now an OPTION
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 12 Mar 1994 22:41:53 +0000 (22:41 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 12 Mar 1994 22:41:53 +0000 (22:41 +0000)
configure.in

index a1180e9cffc420afcb862a8e8286cdd9547e0142..cfa6a2447a8e85864da40b2e3863706e27a38886 100644 (file)
@@ -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