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

Diff of /anubis/configure.ac

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

revision 1.13 by gray, Thu Mar 6 18:30:19 2003 UTC revision 1.14 by polak, Thu May 8 21:13:41 2003 UTC
# Line 180  AC_ARG_WITH(openssl, Line 180  AC_ARG_WITH(openssl,
180          [with_openssl=no])          [with_openssl=no])
181    
182  if test "$with_openssl" = "yes"; then  if test "$with_openssl" = "yes"; then
183    with_gnutls = no   with_gnutls=no
184  fi  fi
185    
186  if test "$with_openssl" = "yes"; then  if test "$with_openssl" = "yes"; then
# Line 211  if test "$with_openssl" = "yes"; then Line 211  if test "$with_openssl" = "yes"; then
211   fi   fi
212  fi  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)
217   fi  fi
218   if test "$with_gnutls" = "yes"; then  if test "$with_gnutls" = "yes"; then
219    findgnutlsdir() { :   findgnutlsdir() { :
220     if test -f "$1/include/gnutls/gnutls.h"; then    if test -f "$1/include/gnutls/gnutls.h"; then
221      gnutlsdir=1     gnutlsdir=1
222      INCLUDES="$INCLUDES -I$1/include"     INCLUDES="$INCLUDES -I$1/include"
223      AC_MSG_CHECKING(for $1/include/gnutls/gnutls.h)     AC_MSG_CHECKING(for $1/include/gnutls/gnutls.h)
224      AC_MSG_RESULT([yes])     AC_MSG_RESULT([yes])
225      return 0     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  
    AC_CHECK_HEADERS(gnutls/gnutls.h)  
226    fi    fi
227    AC_LIBOBJ(tls)    return 1
228    AC_DEFINE(USE_GNUTLS, 1, [Define to 1 if USE_GNUTLS is requested.])   }
229     for maindir in /usr/pkg /opt /sw; do
230      findgnutlsdir $maindir && break 2
231     done
232     if test $gnutlsdir; then
233      AC_DEFINE(HAVE_GNUTLS_GNUTLS_H, 1, [Define to 1 if HAVE_GNUTLS_GNUTLS_H is requested.])
234   else   else
235    AC_MSG_RESULT([Disabling GnuTLS support...])    AC_CHECK_HEADERS(gnutls/gnutls.h)
236   fi   fi
237     AC_LIBOBJ(tls)
238     AC_DEFINE(USE_GNUTLS, 1, [Define to 1 if USE_GNUTLS is requested.])
239    else
240     AC_MSG_RESULT([Disabling GnuTLS support...])
241    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 296  fi Line 296  fi
296  AC_CONFIG_FILES([Makefile  AC_CONFIG_FILES([Makefile
297   build/Makefile   build/Makefile
298   build/guile-1.6/Makefile   build/guile-1.6/Makefile
299   m4/Makefile   contrib/Makefile
  intl/Makefile  
  po/Makefile.in  
300   doc/Makefile   doc/Makefile
  src/Makefile  
  scripts/Makefile  
301   examples/Makefile   examples/Makefile
  guile/Makefile  
302   examples/pam/Makefile   examples/pam/Makefile
303     guile/Makefile
304     intl/Makefile
305     m4/Makefile
306     po/Makefile.in
307     scripts/Makefile
308     src/Makefile
309   testsuite/Makefile   testsuite/Makefile
310   testsuite/data/Makefile   testsuite/data/Makefile
311   testsuite/etc/Makefile   testsuite/etc/Makefile
  contrib/Makefile  
312   ])   ])
313  AC_OUTPUT  AC_OUTPUT
314    

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

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