buildsys: cleanup gpgme compile time check
commitcb5b66367ddf4af05953a9486bddaaf105fb4f38
authorDave Reisner <dreisner@archlinux.org>
Sat, 31 Mar 2012 03:08:31 +0000 (30 23:08 -0400)
committerDave Reisner <dreisner@archlinux.org>
Mon, 9 Apr 2012 02:28:41 +0000 (8 22:28 -0400)
treece786ce2390ec37634bb946c4d99c25c46e8be37
parentb2226ed11bca158ab32199b5899802a78a42f5aa
buildsys: cleanup gpgme compile time check

- handle gpgme libs and cflags separately rather than appending to
  CFLAGS and LDFLAGS
- be consistent in AC_LINK_IFELSE check for gpgme 1.3.0 (though this is
  irrelephant since we don't actually run)
- be consistent with usage of "have" and "with" variables (this
  actually ends up reducing SLOC)
- when voluntary detection fails, unset GPGME_CFLAGS and GPGME_LIBS
- when requested support fails the version check, complain about the min
  version.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
configure.ac
lib/libalpm/Makefile.am