Very ugly fix to configure to make it actually find a

correctly installed slapi-plugin.h file
This commit is contained in:
Simo Sorce 2008-06-16 13:51:29 -04:00
parent d2bd1b29a0
commit 798d345e13

View File

@ -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])