--- aria2-0.11.1+1/configure.ac.orig 2007-07-26 11:49:26.000000000 -0700 +++ aria2-0.11.1+1/configure.ac 2007-07-26 11:52:37.000000000 -0700 @@ -46,19 +46,29 @@ fi fi -if test "x$with_gnutls" = "xyes"; then - AM_PATH_LIBGNUTLS([1.2.9], [have_libgnutls=yes]) - if test "x$have_libgnutls" = "xyes"; then - AC_DEFINE([HAVE_LIBGNUTLS], [1], [Define to 1 if you have libgnutls.]) - fi -fi - -if test "x$have_libgnutls" = "xyes"; then - AM_PATH_LIBGCRYPT([1.2.2], [have_libgcrypt=yes]) - if test "x$have_libgcrypt" = "xyes"; then - AC_DEFINE([HAVE_LIBGCRYPT], [1], [Define to 1 if you have libgcrypt.]) - fi -fi +#!if test "x$with_gnutls" = "xyes"; then +#! AM_PATH_LIBGNUTLS([1.2.9], [have_libgnutls=yes]) +#! if test "x$have_libgnutls" = "xyes"; then +#! AC_DEFINE([HAVE_LIBGNUTLS], [1], [Define to 1 if you have libgnutls.]) +#! fi +#!fi + +#!if test "x$have_libgnutls" = "xyes"; then +#! AM_PATH_LIBGCRYPT([1.2.2], [have_libgcrypt=yes]) +#! if test "x$have_libgcrypt" = "xyes"; then +#! AC_DEFINE([HAVE_LIBGCRYPT], [1], [Define to 1 if you have libgcrypt.]) +#! fi +#!fi + +LIBGNUTLS_CFLAGS= +LIBGCRYPT_CFLAGS= +LIBGNUTLS_LIBS= +LIBGCRYPT_LIBS= + +AC_SUBST(LIBGNUTLS_CFLAGS) +AC_SUBST(LIBGCRYPT_CFLAGS) +AC_SUBST(LIBGNUTLS_LIBS) +AC_SUBST(LIBGCRYPT_LIBS) if test "x$with_openssl" = "xyes" && test "x$have_libgnutls" != "xyes"; then AM_PATH_OPENSSL