Added authoritative support.
[mod_auth_kerb.git] / configure
index 26bfb6e..5320388 100755 (executable)
--- a/configure
+++ b/configure
@@ -594,8 +594,8 @@ if test "${with_krb5+set}" = set; then
   withval="$with_krb5"
   
        if test -d $withval ; then
-               CFLAGS="$CFLAGS -I$withval/include"
-               CPPFLAGS="$CPPFLAGS -I$withval/include"
+               CFLAGS="$CFLAGS -I$withval/include -I$withval/include/kerberosIV"
+               CPPFLAGS="$CPPFLAGS -I$withval/include -I$withval/include/kerberosIV"
                LDFLAGS="$LDFLAGS -L$withval/lib"
 
                case "$host" in
@@ -616,8 +616,8 @@ if test "${with_krb5_include+set}" = set; then
   withval="$with_krb5_include"
   
        if test -d $withval ; then
-               CFLAGS="$CFLAGS -I$withval"
-               CPPFLAGS="$CPPFLAGS -I$withval"
+               CFLAGS="$CFLAGS -I$withval -I$withval/include/kerberosIV"
+               CPPFLAGS="$CPPFLAGS -I$withval -I$withval/include/kerberosIV"
        else
                { echo "configure: error: Specified Kerberos 5 directory doesn't exist." 1>&2; exit 1; }
        fi
@@ -1442,12 +1442,18 @@ GENSOURCES=""
 case $ac_api in
        'apache1')
                GENHEADERS="$GENHEADERS apache1/api_inc.h"
+               GENHEADERS="$GENHEADERS apache1/auth_config.h"
                GENSOURCES="$GENSOURCES apache1/auth_user.c"
+               GENSOURCES="$GENSOURCES apache1/auth_cmds.c"
+               GENSOURCES="$GENSOURCES apache1/dir_config.c"
                GENSOURCES="$GENSOURCES apache1/module.c"
                ;;
        'apache2')
                GENHEADERS="$GENHEADERS apache2/api_inc.h"
+               GENHEADERS="$GENHEADERS apache2/auth_config.h"
                GENSOURCES="$GENSOURCES apache2/auth_user.c"
+               GENSOURCES="$GENSOURCES apache2/auth_cmds.c"
+               GENSOURCES="$GENSOURCES apache2/dir_config.c"
                GENSOURCES="$GENSOURCES apache2/hooks.c"
                GENSOURCES="$GENSOURCES apache2/module.c"
                ;;