From: Scott Cantor Date: Thu, 15 Nov 2007 21:54:50 +0000 (+0000) Subject: Get NSAPI header to compile during test. X-Git-Tag: 2.0-beta2~27 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=a1472e10a7a05610517d43e58c8b3251695a4d6e;p=shibboleth%2Fcpp-sp.git Get NSAPI header to compile during test. --- diff --git a/configure.ac b/configure.ac index 87d8a06..2930c9f 100644 --- a/configure.ac +++ b/configure.ac @@ -346,14 +346,14 @@ if test "$WANT_NSAPI" != "no"; then if test -d $WANT_NSAPI/include ; then NSAPI_INCLUDE=$WANT_NSAPI/include AC_MSG_RESULT(Netscape-Enterprise 3.x style) - AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) + AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h],,[#define XP_UNIX]) NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE" fi if test -d $WANT_NSAPI/plugins/include ; then test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE" NSAPI_INCLUDE="$WANT_NSAPI/plugins/include" AC_MSG_RESULT(iPlanet 4.x / SunONE 6.x style) - AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h]) + AC_CHECK_HEADERS([$NSAPI_INCLUDE/nsapi.h],,[#define XP_UNIX]) NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE" fi if test "$NSAPI_INCLUDE" = ""; then