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

Diff of /anubis/configure.ac

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

revision 1.19 by gray, Mon Jun 30 17:57:55 2003 UTC revision 1.20 by gray, Tue Jul 1 15:20:41 2003 UTC
# Line 110  case "${withval}" in Line 110  case "${withval}" in
110    *)   AC_MSG_ERROR(bad value ${withval} for --without-guile) ;;    *)   AC_MSG_ERROR(bad value ${withval} for --without-guile) ;;
111  esac],[useguile=yes])  esac],[useguile=yes])
112    
113    AC_SUBST(M4_DEFS)
114    
115  AC_SUBST(GUILE_INCLUDES)  AC_SUBST(GUILE_INCLUDES)
116  AC_SUBST(GUILE_LIBS)  AC_SUBST(GUILE_LIBS)
117  AC_SUBST(GUILE_BINDIR)  AC_SUBST(GUILE_BINDIR)
# Line 122  if test x"$useguile" = x"yes"; then Line 124  if test x"$useguile" = x"yes"; then
124      GUILE_LIBS=`guile-config link`      GUILE_LIBS=`guile-config link`
125      GUILE_BINDIR=`guile-config info bindir`      GUILE_BINDIR=`guile-config info bindir`
126      GUILE_SCRIPTS='$(GUILE_SCM)'      GUILE_SCRIPTS='$(GUILE_SCM)'
127        M4_DEFS="$M4_DEFS -DWITH_GUILE"
128      case "$GUILE_VERSION" in      case "$GUILE_VERSION" in
129      16|17) GUILE_SNARF_VERSION="1.6";;      16|17) GUILE_SNARF_VERSION="1.6";;
130      *) GUILE_SNARF_VERSION="1.6";;      *) GUILE_SNARF_VERSION="1.6";;
# Line 137  AC_SUBST(ANUBIS_GPGFILES) Line 140  AC_SUBST(ANUBIS_GPGFILES)
140  AC_ARG_WITH(gpgme,  AC_ARG_WITH(gpgme,
141          AC_HELP_STRING([--without-gpgme],          AC_HELP_STRING([--without-gpgme],
142          [without GnuPG (GPGME library) support]),          [without GnuPG (GPGME library) support]),
143          [with_gpgme=no],          [with_gpgme=${withval}],
144          [with_gpgme=yes])          [with_gpgme=yes])
145  if test "$with_gpgme" = "no"; then  if test "$with_gpgme" = "no"; then
146   AC_DEFINE(NOGPG, 1, [Define to 1 if NOGPG is requested.])   AC_DEFINE(NOGPG, 1, [Define to 1 if NOGPG is requested.])
# Line 168  else Line 171  else
171   fi   fi
172   ANUBIS_GPGFILES='$(GPGFILES)'   ANUBIS_GPGFILES='$(GPGFILES)'
173   AC_LIBOBJ(gpg)   AC_LIBOBJ(gpg)
174     M4_DEFS="$M4_DEFS -DWITH_GPG"
175  fi  fi
176    
177  dnl Use option --without-gnutls to NOT compile GnuTLS library support.  dnl Use option --without-gnutls to NOT compile GnuTLS library support.
# Line 210  if test "$with_openssl" = "yes"; then Line 214  if test "$with_openssl" = "yes"; then
214    else    else
215     AC_CHECK_HEADERS(openssl/ssl.h)     AC_CHECK_HEADERS(openssl/ssl.h)
216    fi    fi
217      M4_DEFS="$M4_DEFS -DWITH_SSL"
218    AC_LIBOBJ(ssl)    AC_LIBOBJ(ssl)
219    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.])
220    AC_MSG_RESULT([Enabling OpenSSL support...])    AC_MSG_RESULT([Enabling OpenSSL support...])
# Line 218  fi Line 223  fi
223    
224  if test $with_gnutls = yes; then  if test $with_gnutls = yes; then
225    AC_CHECK_HEADERS(gnutls/gnutls.h)    AC_CHECK_HEADERS(gnutls/gnutls.h)
226    AM_PATH_LIBGNUTLS("0.9.6",    if test $ac_cv_header_gnutls_gnutls_h != no; then
227                      [AC_LIBOBJ(tls)      AM_PATH_LIBGNUTLS("0.9.6",
228                      AC_DEFINE(USE_GNUTLS, 1, [Define to 1 if USE_GNUTLS is requested.])],                        [M4_DEFS="$M4_DEFS -DWITH_SSL"
229                      [AC_MSG_RESULT([Disabling GnuTLS support...])])                        AC_LIBOBJ(tls)
230                          AC_DEFINE(USE_GNUTLS, 1,
231                                    [Define to 1 if USE_GNUTLS is requested.])],
232                                    [AC_MSG_RESULT([Disabling GnuTLS support...])])
233      fi
234  fi  fi
235    
236  dnl Use option --with-pcre to compile PCRE library support.  dnl Use option --with-pcre to compile PCRE library support.
237  AC_ARG_WITH(pcre,  AC_ARG_WITH(pcre,
238          AC_HELP_STRING([--with-pcre],          AC_HELP_STRING([--with-pcre],
239          [with PCRE library support]),          [with PCRE library support]),
240          [with_pcre=yes],          [with_pcre=${withval}],
241          [with_pcre=no])          [with_pcre=no])
242  if test "$with_pcre" = "yes"; then  if test "$with_pcre" = "yes"; then
243   AC_CHECK_LIB(pcre, main)   AC_CHECK_LIB(pcre, main)
# Line 240  dnl Use option --with-pam to compile PAM Line 249  dnl Use option --with-pam to compile PAM
249  AC_ARG_WITH(pam,  AC_ARG_WITH(pam,
250          AC_HELP_STRING([--with-pam],          AC_HELP_STRING([--with-pam],
251          [with Pluggable Authentication Modules support]),          [with Pluggable Authentication Modules support]),
252          [with_pam=yes],          [with_pam=${withval}],
253          [with_pam=no])          [with_pam=no])
254  if test "$with_pam" = "yes"; then  if test "$with_pam" = "yes"; then
255   AC_CHECK_LIB(pam, main,, with_pam=no)   AC_CHECK_LIB(pam, main,, with_pam=no)
# Line 253  dnl Use option --with-tcp-wrappers to co Line 262  dnl Use option --with-tcp-wrappers to co
262  AC_ARG_WITH(tcp-wrappers,  AC_ARG_WITH(tcp-wrappers,
263          AC_HELP_STRING([--with-tcp-wrappers],          AC_HELP_STRING([--with-tcp-wrappers],
264          [with libwrap (TCP wrappers) support]),          [with libwrap (TCP wrappers) support]),
265          [with_tcp_wrappers=yes],          [with_tcp_wrappers=${withval}],
266          [with_tcp_wrappers=no])          [with_tcp_wrappers=no])
267  if test "$with_tcp_wrappers" = "yes"; then  if test "$with_tcp_wrappers" = "yes"; then
268   AC_CHECK_LIB(wrap, main)   AC_CHECK_LIB(wrap, main)

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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