From 0cb3f6098d959479a96c26a92d91becc2110b30d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Jun 2008 21:48:27 +0000 Subject: Support getting groups from the server and limiting access based on LDAP groups. See #112 --- configure.in | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 36ffd9e..d57045e 100644 --- a/configure.in +++ b/configure.in @@ -51,17 +51,6 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET -# Debug mode -AC_ARG_ENABLE(debug, - AC_HELP_STRING([--enable-debug], - [Compile binaries in debug mode])) - -if test "$enable_debug" = "yes"; then - CFLAGS="$CFLAGS -g -O0" - AC_DEFINE_UNQUOTED(_DEBUG, 1, [In debug mode]) - echo "enabling debug compile mode" -fi - # Check for the various options AC_ARG_WITH(ldap, [ --with-ldap with LDAP support]) AC_ARG_WITH(pgsql, [ --with-pgsql with Postgres support]) @@ -130,7 +119,7 @@ if test -n "$with_pgsql"; then AC_CHECK_LIB([pq], [PQexec], , [ echo "ERROR: Postgres libpq library required."; exit 1] ) - AC_CHECK_HEADERS(libpq-fe.h) + AC_CHECK_HEADERS(libpq-fe.h, postgresql/libpq-fe.h) AC_DEFINE_UNQUOTED(WITH_PGSQL, 1, [With PGSQL Support] ) fi @@ -206,6 +195,17 @@ AC_SUBST(APACHECTL) AC_DEFINE_UNQUOTED(CONF_PREFIX, "`eval echo ${sysconfdir}`", [Installation Prefix] ) +# Debug mode +AC_ARG_ENABLE(debug, + AC_HELP_STRING([--enable-debug], + [Compile binaries in debug mode])) + +if test "$enable_debug" = "yes"; then + CFLAGS="$CFLAGS -g -O0 -Wall -Werror" + AC_DEFINE_UNQUOTED(_DEBUG, 1, [In debug mode]) + echo "enabling debug compile mode" +fi + AC_CONFIG_FILES([Makefile daemon/Makefile doc/Makefile -- cgit v1.2.3