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:
parent
075d755696
commit
84c405e690
17
configure.ac
17
configure.ac
@ -490,17 +490,22 @@ AS_IF([test x"$with_metalink" != xno], [
|
||||
], [
|
||||
with_metalink=no
|
||||
])
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl Check for GPGME
|
||||
dnl
|
||||
AM_PATH_GPGME([], [
|
||||
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
|
||||
], [have_gpg=no])
|
||||
])
|
||||
])
|
||||
])
|
||||
])
|
||||
|
||||
dnl **********************************************************************
|
||||
dnl Checks for IPv6
|
||||
|
Loading…
Reference in New Issue
Block a user