diff options
author | James Booth <boothj5@gmail.com> | 2015-06-22 20:35:46 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-22 20:35:46 +0100 |
commit | 24ebb51254034feb1a157f9aeef86007b0083181 (patch) | |
tree | 7906d94d6709ad69fa28d35891db928d49c8b2a6 | |
parent | f81873824bb45158c8046dd6cefc1e8348c029cf (diff) | |
download | profani-tty-24ebb51254034feb1a157f9aeef86007b0083181.tar.gz |
Use AM_CPPFLAGS for gpgme-config --cflags
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b8d1f866..e945155a 100644 --- a/configure.ac +++ b/configure.ac @@ -196,7 +196,7 @@ if test "x$enable_pgp" != xno; then AC_PATH_PROG([GPGME_CONFIG], [gpgme-config], ["failed"]) AS_IF([test "x$GPGME_CONFIG" = xfailed], [LIBS="-lgpgme $LIBS"], - [LIBS="`$GPGME_CONFIG --libs` $LIBS" CFLAGS="`$GPGME_CONFIG --cflags` $CFLAGS"])], + [LIBS="`$GPGME_CONFIG --libs` $LIBS" AM_CPPFLAGS="`$GPGME_CONFIG --cflags` $AM_CPPFLAGS"])], [AS_IF([test "x$enable_pgp" = xyes], [AC_MSG_ERROR([libgpgme is required for pgp support])], [AC_MSG_NOTICE([libgpgme not found, pgp support not enabled])])]) |