112 |
AC_SUBST(GUILE_LIBS) |
AC_SUBST(GUILE_LIBS) |
113 |
AC_SUBST(GUILE_BINDIR) |
AC_SUBST(GUILE_BINDIR) |
114 |
AC_SUBST(GUILE_SNARF_VERSION) |
AC_SUBST(GUILE_SNARF_VERSION) |
115 |
|
AC_SUBST(GUILE_SCRIPTS) |
116 |
if test x"$useguile" = x"yes"; then |
if test x"$useguile" = x"yes"; then |
117 |
MU_CHECK_GUILE(,[ |
MU_CHECK_GUILE(,[ |
118 |
AC_DEFINE(WITH_GUILE,1,[Enable Guile support]) |
AC_DEFINE(WITH_GUILE,1,[Enable Guile support]) |
119 |
GUILE_INCLUDES=`guile-config compile` |
GUILE_INCLUDES=`guile-config compile` |
120 |
GUILE_LIBS=`guile-config link` |
GUILE_LIBS=`guile-config link` |
121 |
GUILE_BINDIR=`guile-config info bindir` |
GUILE_BINDIR=`guile-config info bindir` |
122 |
|
GUILE_SCRIPTS='$(GUILE_SCM)' |
123 |
case "$GUILE_VERSION" in |
case "$GUILE_VERSION" in |
124 |
16|17) GUILE_SNARF_VERSION="1.6";; |
16|17) GUILE_SNARF_VERSION="1.6";; |
125 |
*) GUILE_SNARF_VERSION="1.6";; |
*) GUILE_SNARF_VERSION="1.6";; |
170 |
dnl Use option --without-gnutls to NOT compile GnuTLS library support. |
dnl Use option --without-gnutls to NOT compile GnuTLS library support. |
171 |
AC_ARG_WITH(gnutls, |
AC_ARG_WITH(gnutls, |
172 |
[ --without-gnutls without GnuTLS library support], |
[ --without-gnutls without GnuTLS library support], |
173 |
[with_gnutls=no], |
[with_gnutls=${withval}], |
174 |
[with_gnutls=yes]) |
[with_gnutls=yes]) |
175 |
|
|
176 |
dnl Use option --with-openssl to compile OpenSSL support. |
dnl Use option --with-openssl to compile OpenSSL support. |
177 |
AC_ARG_WITH(openssl, |
AC_ARG_WITH(openssl, |
178 |
[ --with-openssl with OpenSSL library support (disable GnuTLS)], |
[ --with-openssl with OpenSSL library support (disable GnuTLS)], |
179 |
[with_openssl=yes |
[with_openssl=${withval}], |
|
with_gnutls=no], |
|
180 |
[with_openssl=no]) |
[with_openssl=no]) |
181 |
|
|
182 |
if test "$with_openssl" = "yes" && (test "$with_gnutls" = "no"); then |
if test "$with_openssl" = "yes"; then |
183 |
|
with_gnutls = no |
184 |
|
fi |
185 |
|
|
186 |
|
if test "$with_openssl" = "yes"; then |
187 |
AC_CHECK_LIB(crypto, main,, with_openssl=no) |
AC_CHECK_LIB(crypto, main,, with_openssl=no) |
188 |
AC_CHECK_LIB(ssl, main,, with_openssl=no) |
AC_CHECK_LIB(ssl, main,, with_openssl=no) |
189 |
if test "$with_openssl" = "yes"; then |
if test "$with_openssl" = "yes"; then |
209 |
AC_DEFINE(USE_OPENSSL, 1, [Define to 1 if USE_OPENSSL is requested.]) |
AC_DEFINE(USE_OPENSSL, 1, [Define to 1 if USE_OPENSSL is requested.]) |
210 |
AC_MSG_RESULT([Enabling OpenSSL support...]) |
AC_MSG_RESULT([Enabling OpenSSL support...]) |
211 |
fi |
fi |
212 |
else |
fi |
213 |
|
|
214 |
if test "$with_gnutls" = "yes"; then |
if test "$with_gnutls" = "yes"; then |
215 |
AC_CHECK_LIB(gcrypt, main,, with_gnutls=no) |
AC_CHECK_LIB(gcrypt, main,, with_gnutls=no) |
216 |
AC_CHECK_LIB(gnutls, main,, with_gnutls=no) |
AC_CHECK_LIB(gnutls, main,, with_gnutls=no) |
239 |
else |
else |
240 |
AC_MSG_RESULT([Disabling GnuTLS support...]) |
AC_MSG_RESULT([Disabling GnuTLS support...]) |
241 |
fi |
fi |
|
fi |
|
242 |
|
|
243 |
dnl Use option --with-pcre to compile PCRE library support. |
dnl Use option --with-pcre to compile PCRE library support. |
244 |
AC_ARG_WITH(pcre, |
AC_ARG_WITH(pcre, |
303 |
src/Makefile |
src/Makefile |
304 |
scripts/Makefile |
scripts/Makefile |
305 |
examples/Makefile |
examples/Makefile |
306 |
|
guile/Makefile |
307 |
examples/pam/Makefile |
examples/pam/Makefile |
308 |
testsuite/Makefile |
testsuite/Makefile |
309 |
testsuite/data/Makefile |
testsuite/data/Makefile |