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
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"
])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"
fi
])dnl
dnl
-SUDO_IRIX(AC_DEFINE(BROKEN_GETPASS))
+SUDO_IRIX(OPTIONS="${OPTIONS} -DBROKEN_GETPASS")
dnl
SUDO_LINUX([STATIC_FLAGS="-static"])
dnl