diff options
author | Simo Sorce <ssorce@redhat.com> | 2008-06-16 13:51:29 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2008-06-16 13:52:26 -0400 |
commit | 798d345e13ec7a40adb7832eea675ed213f5c1e8 (patch) | |
tree | 0ff2fc3ea2fc6618f9ee3041ea5c4cc53d872ecc /ipa-server/configure.ac | |
parent | d2bd1b29a00db8d8943eee9327e7ca1cb50cbb1c (diff) | |
download | freeipa-798d345e13ec7a40adb7832eea675ed213f5c1e8.tar.gz freeipa-798d345e13ec7a40adb7832eea675ed213f5c1e8.tar.xz freeipa-798d345e13ec7a40adb7832eea675ed213f5c1e8.zip |
Very ugly fix to configure to make it actually find a
correctly installed slapi-plugin.h file
Diffstat (limited to 'ipa-server/configure.ac')
-rw-r--r-- | ipa-server/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipa-server/configure.ac b/ipa-server/configure.ac index 03a86d19..341c0709 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]) |