]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use discovered gssapi include path when linking
authorMark Andrews <marka@isc.org>
Fri, 4 Apr 2014 04:07:44 +0000 (15:07 +1100)
committerMark Andrews <marka@isc.org>
Fri, 4 Apr 2014 04:07:44 +0000 (15:07 +1100)
configure
configure.in

index 4d8f625f2c0cbcc510bc786ca37df988b5f836b7..7546b407d8cea747c40b3603a178d57328e40d9d 100755 (executable)
--- a/configure
+++ b/configure
@@ -13855,8 +13855,6 @@ done
                    as_fn_error $? "krb5.h not found" "$LINENO" 5
                fi
 
-               CPPFLAGS="$saved_cppflags"
-
                #
                # XXXDCL This probably doesn't work right on all systems.
                # It will need to be worked on as problems become evident.
@@ -13933,6 +13931,8 @@ $as_echo "no" >&6; } ;;
                    esac
                done
 
+               CPPFLAGS="$saved_cppflags"
+
                case $gssapi_linked in
                no) as_fn_error $? "could not determine proper GSSAPI linkage" "$LINENO" 5 ;;
                esac
index f634c1af616cf7df0e56b6bd8823adcd02e07510..1c8b18822dd7c0c213c7e8b0f163beadf0f2265e 100644 (file)
@@ -782,8 +782,6 @@ case "$use_gssapi" in
                    AC_MSG_ERROR([krb5.h not found])
                fi
 
-               CPPFLAGS="$saved_cppflags"
-
                #
                # XXXDCL This probably doesn't work right on all systems.
                # It will need to be worked on as problems become evident.
@@ -841,6 +839,8 @@ $krb5_hack
                    esac
                done
 
+               CPPFLAGS="$saved_cppflags"
+
                case $gssapi_linked in
                no) AC_MSG_ERROR(could not determine proper GSSAPI linkage) ;;
                esac