File tree 2 files changed +23
-5
lines changed
2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,15 @@ AC_CHECK_FUNCS(gss_store_cred_into)
69
69
AC_SUBST ( [ GSSAPI_CFLAGS] )
70
70
AC_SUBST ( [ GSSAPI_LIBS] )
71
71
72
- CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` -I`${APR} --includes`"
73
- LIBS="`${APR} --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}"
72
+ MAG_CFLAGS="`${APXS} -q CFLAGS` `${APR} --cflags` ${GSSAPI_CFLAGS} ${OPENSSL_CFLAGS} -I`${APXS} -q INCLUDEDIR` `${APR} --includes`"
73
+ MAG_LIBS="`${APR} --libs` ${GSSAPI_LIBS} ${OPENSSL_LIBS}"
74
+ LIBTOOL="`${APXS} -q LIBTOOL`"
75
+ MAG_LIBDIR="`${APXS} -q libexecdir`"
76
+
77
+ AC_SUBST ( [ MAG_CFLAGS] )
78
+ AC_SUBST ( [ MAG_LIBS] )
79
+ AC_SUBST ( [ LIBTOOL] )
80
+ AC_SUBST ( [ MAG_LIBDIR] )
74
81
75
82
AC_CONFIG_FILES ( [ Makefile src/Makefile] )
76
83
Original file line number Diff line number Diff line change 1
- EXTRA_DIST = mod_auth_gssapi.c sessions.c crypto.c mod_auth_gssapi.h sessions.h crypto.h
1
+ magdir = $(MAG_LIBDIR )
2
+ mag_LTLIBRARIES = \
3
+ mod_auth_gssapi.la
2
4
3
- all-local :
4
- @APXS@ -c ${LIBS} mod_auth_gssapi.c sessions.c crypto.c
5
+ dist_noinst_HEADERS = \
6
+ mod_auth_gssapi.h crypto.h sessions.h
7
+
8
+ mod_auth_gssapi_la_SOURCES = \
9
+ mod_auth_gssapi.c crypto.c sessions.c
10
+ mod_auth_gssapi_la_CFLAGS = \
11
+ $(MAG_CFLAGS )
12
+ mod_auth_gssapi_la_LDFLAGS = \
13
+ $(MAG_LIBS ) \
14
+ -avoid-version \
15
+ -module
5
16
6
17
install-exec-local :
7
18
if test ! -d ${APXS_LIBEXECDIR} ; then mkdir -p ${APXS_LIBEXECDIR} ; fi
You can’t perform that action at this time.
0 commit comments