;;
esac])
+AC_ARG_WITH(authenticate, [ --with-authenticate enable AIX general authentication support],
+[case $with_authenticate in
+ yes) AC_DEFINE(HAVE_AUTHENTICATE)
+ echo 'Configuring for use with AIX general authentication'
+ ;;
+ no) ;;
+ *) echo "Ignoring unknown argument to --with-authenticate: $with_authenticate"
+ ;;
+esac])
+
AC_ARG_WITH(DCE, [ --with-DCE enable DCE support],
[case $with_DCE in
yes) AC_DEFINE(HAVE_DCE)
dnl
if test "$with_DCE" = "yes" -o "$ac_cv_prog_YACC" = "bison -y"; then
AC_FUNC_ALLOCA
+ if test -n "$ALLOCA"; then
+ LIBOBJS="$LIBOBJS $ALLOCA"
+ fi
fi
dnl
dnl library checks
CPPFLAGS="${CPPFLAGS} -I/usr/ace"
fi
+dnl
+dnl extra 'authenticate' lib (AIX only?)
+dnl
+if test "$with_authenticate" = "yes"; then
+ SUDO_LIBS="${SUDO_LIBS} -ls"
+fi
+
dnl
dnl Check for log file and timestamp locations
dnl