diff options
author | Stef Walter <stef@memberwebs.com> | 2008-06-11 21:48:27 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-06-11 21:48:27 +0000 |
commit | 0cb3f6098d959479a96c26a92d91becc2110b30d (patch) | |
tree | 22f1447d6c7ad77d802c476297cf9547f822f81a /configure.in | |
parent | 67d7a6cc4d3234ac93e521632701e8d42513e042 (diff) |
Support getting groups from the server and limiting access based on LDAP groups. See #112
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 24 |
1 files changed, 12 insertions, 12 deletions
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 |