From: Simo Sorce Date: Tue, 14 Oct 2014 13:17:46 +0000 (-0400) Subject: Fix build on some platforms by adding extra flags X-Git-Tag: v1.0.4~2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=commitdiff_plain;h=c82c78a7a70147bf103d408b3e97ce2ec77882ed Fix build on some platforms by adding extra flags For some reason all the necessary CFALGS are not returned by simply querying the CFLAGS from apxs. We also need to query EXTRA_CPPFLAGS apparently. --- diff --git a/configure.ac b/configure.ac index f8ac579..9e2dd60 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,7 @@ AC_CHECK_FUNCS(gss_store_cred_into) AC_SUBST([GSSAPI_CFLAGS]) AC_SUBST([GSSAPI_LIBS]) -MAG_CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` `${APR} --includes`" +MAG_CFLAGS="`${APXS} -q CFLAGS` `${APXS} -q EXTRA_CPPFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` `${APR} --includes`" MAG_LIBS="`${APR} --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}" LIBTOOL="`${APXS} -q LIBTOOL`" MAG_LIBDIR="`${APXS} -q libexecdir`"