build: More accurate dependency to -lgpg-error.
* configure.ac (LIBGCRYPT_CONFIG_LIBS): Remove DL_LIBS. * src/libgcrypt.c.in: Distinguish static link use case. * tests/Makefile.am: Fix use of -lgpg-error.
(cherry picked from commit 9b8ac13761f0407bd701e43b0a65fbada204958f)
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>