1From f0e764826e3a85488047f7f4e94ebf91460d2c12 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 16 Jun 2017 20:10:49 -0700
4Subject: [PATCH] rlm_mschap: Use includedir instead of hardcoding /usr/include
5
6OE QA flags it correctly as a voilation of cross compilation
7namespace
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/modules/rlm_mschap/configure.ac | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/modules/rlm_mschap/configure.ac b/src/modules/rlm_mschap/configure.ac
17index 953336f475..77a18af55d 100644
18--- a/src/modules/rlm_mschap/configure.ac
19+++ b/src/modules/rlm_mschap/configure.ac
20@@ -77,7 +77,7 @@ else
21         FR_MODULE_FEATURE([opendirectory], [without opendirectory support])
22 fi
23
24-smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
25+smart_try_dir="$winbind_include_dir =/usr/include/samba-4.0"
26 FR_SMART_CHECK_INCLUDE(wbclient.h, [#include <stdint.h>
27 				#include <stdbool.h>])
28 if test "x$ac_cv_header_wbclient_h" != "xyes"; then
29