From 798d345e13ec7a40adb7832eea675ed213f5c1e8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 16 Jun 2008 13:51:29 -0400 Subject: [PATCH] Very ugly fix to configure to make it actually find a correctly installed slapi-plugin.h file --- ipa-server/configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipa-server/configure.ac b/ipa-server/configure.ac index 03a86d19f..341c07094 100644 --- a/ipa-server/configure.ac +++ b/ipa-server/configure.ac @@ -22,7 +22,11 @@ dnl --------------------------------------------------------------------------- dnl - Check for DS slapi plugin dnl --------------------------------------------------------------------------- +# Need to hack CPPFLAGS to be able to correctly detetct slapi-plugin.h +SAVE_CPPFLAGS=$CPPFLAGS +CPPFLAGS=-"I/usr/include/nspr4" AC_CHECK_HEADER(dirsrv/slapi-plugin.h) +CPPFLAGS=$SAVE_CPPFLAGS if test "x$ac_cv_header_dirsrv_slapi_plugin_h" = "xno" ; then AC_MSG_ERROR([Required DS slapi plugin header not available])