configure: fix gcrypt test
commitf94ac7241f33b6896a8e12ae4e3e43d9fd7fb6cc
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 6 Aug 2016 08:06:23 +0000 (6 11:06 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 6 Aug 2016 08:06:23 +0000 (6 11:06 +0300)
treee4b813c1d0adb1bafad472b7e2938ae5b99bc387
parent9852be81e82fddb46aab8141366d914f619d223c
configure: fix gcrypt test

 * Mark GCRYPT_CFLAGS and GCRYPT_LIBS as precious.
 * Actually use GCRYPT_CFLAGS during compilation test.
 * Use newer AC_COMPILE_IFELSE.
 * Use caching.
 * Provide sane default for GCRYPT_LIBS.
 * Do not invoke broken NIH libgcrypt-config script.
configure.ac