File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ AS_IF([test "x${APR}" != "x" -a -x "${APR}"],
4949 AC_SUBST ( APR_LDFLAGS ) ] ,
5050 [ AC_MSG_FAILURE ( [ "apr-1-config not found. Use --with-apr"] ) ] )
5151
52+ PKG_CHECK_MODULES([ OPENSSL] , [ openssl] )
53+ AC_SUBST ( [ OPENSSL_CFLAGS] )
54+ AC_SUBST ( [ OPENSSL_LIBS] )
55+
5256AC_CHECK_HEADERS ( [ gssapi/gssapi.h] ,,[ AC_MSG_ERROR ( [ Could not find GSSAPI headers] ) ] )
5357AC_PATH_PROG ( KRB5_CONFIG , krb5-config , failed )
5458if test x$KRB5_CONFIG = xfailed; then
@@ -65,8 +69,8 @@ AC_CHECK_FUNCS(gss_store_cred_into)
6569AC_SUBST ( [ GSSAPI_CFLAGS] )
6670AC_SUBST ( [ GSSAPI_LIBS] )
6771
68- CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} -I`${APXS} -q INCLUDEDIR` -I`${APR} --includes`"
69- LIBS="`${APR} --link-libtool --libs` ${GSSAPI_LIBS}"
72+ CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` -I`${APR} --includes`"
73+ LIBS="`${APR} --link-libtool --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS} "
7074
7175AC_CONFIG_FILES ( [ Makefile src/Makefile] )
7276
You can’t perform that action at this time.
0 commit comments