1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Let bootstrap/autoreconf work without GPGME installed

* configure.ac: Check for existance of AM_PATH_GPGME
This commit is contained in:
Tim Rühsen 2015-08-14 10:17:52 +02:00
parent 075d755696
commit 84c405e690

View File

@ -490,17 +490,22 @@ AS_IF([test x"$with_metalink" != xno], [
], [
with_metalink=no
])
])
dnl
dnl Check for GPGME
dnl
AM_PATH_GPGME([], [
LIBS="$GPGME_LIBS $LIBS"
CFLAGS="$GPGME_CFLAGS $CFLAGS"
AC_DEFINE([HAVE_GPGME], [1], [Define if GPGME is available.])
have_gpg=yes
], [have_gpg=no])
have_gpg=no
AS_IF([test x"$with_metalink" = xyes], [
dnl
dnl Check for GPGME
dnl
m4_ifdef([AM_PATH_GPGME], [
AM_PATH_GPGME([], [
LIBS="$GPGME_LIBS $LIBS"
CFLAGS="$GPGME_CFLAGS $CFLAGS"
AC_DEFINE([HAVE_GPGME], [1], [Define if GPGME is available.])
have_gpg=yes
])
])
])
])
dnl **********************************************************************
dnl Checks for IPv6