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

Diff of /anubis/configure.ac

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

revision 1.18 by gray, Thu Jun 19 16:47:06 2003 UTC revision 1.19 by gray, Mon Jun 30 17:57:55 2003 UTC
# Line 216  if test "$with_openssl" = "yes"; then Line 216  if test "$with_openssl" = "yes"; then
216   fi   fi
217  fi  fi
218    
219  if test "$with_gnutls" = "yes"; then  if test $with_gnutls = yes; then
  AC_CHECK_LIB(gcrypt, main,, with_gnutls=no)  
  AC_CHECK_LIB(gnutls, main,, with_gnutls=no)  
 fi  
 if test "$with_gnutls" = "yes"; then  
  findgnutlsdir() { :  
   if test -f "$1/include/gnutls/gnutls.h"; then  
    gnutlsdir=1  
    INCLUDES="$INCLUDES -I$1/include"  
    AC_MSG_CHECKING(for $1/include/gnutls/gnutls.h)  
    AC_MSG_RESULT([yes])  
    return 0  
   fi  
   return 1  
  }  
  for maindir in /usr/pkg /opt /sw; do  
   findgnutlsdir $maindir && break 2  
  done  
  if test $gnutlsdir; then  
   AC_DEFINE(HAVE_GNUTLS_GNUTLS_H, 1, [Define to 1 if HAVE_GNUTLS_GNUTLS_H is requested.])  
  else  
220    AC_CHECK_HEADERS(gnutls/gnutls.h)    AC_CHECK_HEADERS(gnutls/gnutls.h)
221   fi    AM_PATH_LIBGNUTLS("0.9.6",
222   AC_LIBOBJ(tls)                      [AC_LIBOBJ(tls)
223   AC_DEFINE(USE_GNUTLS, 1, [Define to 1 if USE_GNUTLS is requested.])                      AC_DEFINE(USE_GNUTLS, 1, [Define to 1 if USE_GNUTLS is requested.])],
224  else                      [AC_MSG_RESULT([Disabling GnuTLS support...])])
  AC_MSG_RESULT([Disabling GnuTLS support...])  
225  fi  fi
226    
227  dnl Use option --with-pcre to compile PCRE library support.  dnl Use option --with-pcre to compile PCRE library support.

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

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