Merge pull request #1328 from clementhk/wbclient_debian
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 23 Oct 2015 18:31:07 +0000 (14:31 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 23 Oct 2015 18:33:26 +0000 (14:33 -0400)
add debian libwbclient-dev path

src/modules/rlm_mschap/configure
src/modules/rlm_mschap/configure.ac

index 5bd039c..9621843 100755 (executable)
@@ -3047,7 +3047,7 @@ $as_echo "#define HAVE_MEMBERSHIP_H 1" >>confdefs.h
         mod_ldflags="-framework DirectoryService"
     fi
 
-    smart_try_dir="$winbind_include_dir"
+    smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
 
 
 ac_safe=`echo "wbclient.h" | sed 'y%./+-%__pm%'`
index 41b5a56..929adb1 100644 (file)
@@ -72,7 +72,7 @@ if test x$with_[]modname != xno; then
         mod_ldflags="-framework DirectoryService"
     fi
 
-    smart_try_dir="$winbind_include_dir"
+    smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
     FR_SMART_CHECK_INCLUDE(wbclient.h, [#include <stdint.h>
                                        #include <stdbool.h>])
     if test "x$ac_cv_header_wbclient_h" != "xyes"; then