From 66e8bcdcca8971b5c43c31755d56d7f675d8b5ff Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 16 Jun 2017 20:10:49 -0700
Subject: [PATCH] rlm_mschap: Use includedir instead of hardcoding /usr/include

OE QA flags it correctly as a voilation of cross compilation
namespace

Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/modules/rlm_mschap/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: freeradius-server-3.0.14/src/modules/rlm_mschap/configure.ac
===================================================================
--- freeradius-server-3.0.14.orig/src/modules/rlm_mschap/configure.ac
+++ freeradius-server-3.0.14/src/modules/rlm_mschap/configure.ac
@@ -72,7 +72,7 @@ if test x$with_[]modname != xno; then
         mod_ldflags="-framework DirectoryService"
     fi
 
-    smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
+    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
