/[anubis]/anubis/configure.ac
ViewVC logotype

Diff of /anubis/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by polak, Fri Feb 28 20:38:19 2003 UTC revision 1.13 by gray, Thu Mar 6 18:30:19 2003 UTC
# Line 112  AC_SUBST(GUILE_INCLUDES) Line 112  AC_SUBST(GUILE_INCLUDES)
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";;
# Line 169  fi Line 170  fi
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
# Line 205  if test "$with_openssl" = "yes" && (test Line 209  if test "$with_openssl" = "yes" && (test
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)
# Line 234  else Line 239  else
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,
# Line 299  AC_CONFIG_FILES([Makefile Line 303  AC_CONFIG_FILES([Makefile
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

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26