mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Use AM_CPPFLAGS for gpgme-config --cflags
This commit is contained in:
parent
f81873824b
commit
24ebb51254
@ -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])])])
|
||||
|
Loading…
Reference in New Issue
Block a user