build: Prefer gpgrt-config when available.
* src/gpgme.m4: Overriding the decision by --with-gpgme-prefix, use gpgrt-config gpgme when gpgrt-config is available. -- This may offer better migration. GnuPG-bug-id: 5034 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
1c9694f8d5
commit
9f55dceca0
@ -9,7 +9,7 @@
|
|||||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
#
|
#
|
||||||
# Last-changed: 2020-11-20
|
# Last-changed: 2022-11-02
|
||||||
|
|
||||||
|
|
||||||
AC_DEFUN([_AM_PATH_GPGME_CONFIG],
|
AC_DEFUN([_AM_PATH_GPGME_CONFIG],
|
||||||
@ -37,7 +37,7 @@ AC_DEFUN([_AM_PATH_GPGME_CONFIG],
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
use_gpgrt_config=""
|
use_gpgrt_config=""
|
||||||
if test x"${GPGME_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
|
if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then
|
||||||
if $GPGRT_CONFIG gpgme --exists; then
|
if $GPGRT_CONFIG gpgme --exists; then
|
||||||
GPGME_CONFIG="$GPGRT_CONFIG gpgme"
|
GPGME_CONFIG="$GPGRT_CONFIG gpgme"
|
||||||
AC_MSG_NOTICE([Use gpgrt-config as gpgme-config])
|
AC_MSG_NOTICE([Use gpgrt-config as gpgme-config])
|
||||||
|
Loading…
Reference in New Issue
Block a user