summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-09-11 10:46:00 +0200
committerWerner Koch <wk@gnupg.org>2024-09-11 14:30:40 +0200
commit2125f228d36c0882a87bce433a18253154653d50 (patch)
treeca2105d3c6577234f47f452409cf790dca2ba8de /common
parentbuild: Also cleanup generated html file in a make distcheck (diff)
downloadgnupg2-2125f228d36c0882a87bce433a18253154653d50.tar.xz
gnupg2-2125f228d36c0882a87bce433a18253154653d50.zip
build: Remove configure option --enable-gpg-is-gpg2
* configure.ac (--enable-gpg-is-gpg2): Remove option. (USE_GPG2_HACK): Remove var. * common/homedir.c (gnupg_module_name): Remove code for gpg2 installation option. * g10/keygen.c (generate_keypair): Ditto. * g10/Makefile.am (noinst_PROGRAMS): Ditto. * doc/gpg.texi: Ditto. * doc/gpgv.texi: Ditto. -- This option and all its build stuff does not make anymore sense. gpg1 is way too old for anyone to use on a regualar base along with a standard gpg. It is better to rename that single gpg (1.4) binary to gpg1 and adjust any scripts.
Diffstat (limited to 'common')
-rw-r--r--common/homedir.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/common/homedir.c b/common/homedir.c
index 392910867..a73182e30 100644
--- a/common/homedir.c
+++ b/common/homedir.c
@@ -1864,20 +1864,10 @@ gnupg_module_name (int which)
X(bindir, "sm", "gpgsm");
case GNUPG_MODULE_NAME_GPG:
-#if USE_GPG2_HACK
- if (! gnupg_build_directory)
- X(bindir, "g10", GPG_NAME "2");
- else
-#endif
- X(bindir, "g10", GPG_NAME);
+ X(bindir, "g10", GPG_NAME);
case GNUPG_MODULE_NAME_GPGV:
-#if USE_GPG2_HACK
- if (! gnupg_build_directory)
- X(bindir, "g10", GPG_NAME "v2");
- else
-#endif
- X(bindir, "g10", GPG_NAME "v");
+ X(bindir, "g10", GPG_NAME "v");
case GNUPG_MODULE_NAME_CONNECT_AGENT:
X(bindir, "tools", "gpg-connect-agent");