Newer gpg-error.m4 only uses gpg-error-config when gpgrt-config is not available.
Now, we can consider deprecation of gpg-error-config, to show preference to gpgrt-config.
diff --git a/src/Makefile.am b/src/Makefile.am index 33ba517..6448236 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -86,7 +86,8 @@ lock_obj_pub = \ lib_LTLIBRARIES = libgpg-error.la nodist_include_HEADERS = gpg-error.h gpgrt.h -bin_SCRIPTS = gpgrt-config gpg-error-config +bin_SCRIPTS = gpgrt-config +noinst_SCRIPT = gpg-error-config m4datadir = $(datadir)/aclocal m4data_DATA = gpg-error.m4 gpgrt.m4
Distributions still can install it (by their own make rule), because gpg-error-config will be kept distributed and built well.