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}"],
49
49
AC_SUBST ( APR_LDFLAGS ) ] ,
50
50
[ AC_MSG_FAILURE ( [ "apr-1-config not found. Use --with-apr"] ) ] )
51
51
52
+ PKG_CHECK_MODULES([ OPENSSL] , [ openssl] )
53
+ AC_SUBST ( [ OPENSSL_CFLAGS] )
54
+ AC_SUBST ( [ OPENSSL_LIBS] )
55
+
52
56
AC_CHECK_HEADERS ( [ gssapi/gssapi.h] ,,[ AC_MSG_ERROR ( [ Could not find GSSAPI headers] ) ] )
53
57
AC_PATH_PROG ( KRB5_CONFIG , krb5-config , failed )
54
58
if test x$KRB5_CONFIG = xfailed; then
@@ -65,8 +69,8 @@ AC_CHECK_FUNCS(gss_store_cred_into)
65
69
AC_SUBST ( [ GSSAPI_CFLAGS] )
66
70
AC_SUBST ( [ GSSAPI_LIBS] )
67
71
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} "
70
74
71
75
AC_CONFIG_FILES ( [ Makefile src/Makefile] )
72
76
You can’t perform that action at this time.
0 commit comments