dnl very simple configure for auth_mailman dnl Process this file with autoconf to produce a configure script. AC_INIT(mod_auth_mailman.c) dnl Checks for programs. AC_PROG_CC dnl Checks for libraries. dnl Checks for header files. dnl Checks for typedefs, structures, and compiler characteristics. AC_DEFUN([APACHE_DIR],[ AC_ARG_WITH(apache, [ --with-apache[=DIR] Apache server directory ],, [with_apache="no"]) AC_MSG_CHECKING(for Apache directiry) if test "$with_apache" = "no"; then with_apache=/usr/local/apache2 fi if test -r $with_apache/bin/apxs; then apache_dir=$with_apache AC_MSG_RESULT(APACHE found!) else AC_MSG_ERROR( $with_apache/bin/apxs not found) fi ]) APACHE_DIR AC_SUBST(apache_dir) AC_OUTPUT(Makefile)