[libsoup/wip/tpopela/negotiate: 44/64] Define the HAVE_GSSAPI in the pkgconfig file
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/tpopela/negotiate: 44/64] Define the HAVE_GSSAPI in the pkgconfig file
- Date: Tue, 16 Feb 2016 12:15:45 +0000 (UTC)
commit 1f2f6d1147e5acb65eb6300d037b486a3cb4eb06
Author: Tomas Popela <tpopela redhat com>
Date: Wed Jan 20 15:36:45 2016 +0100
Define the HAVE_GSSAPI in the pkgconfig file
Signed-off-by: Tomas Popela <tpopela redhat com>
configure.ac | 5 +++++
libsoup-2.4.pc.in | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5702cfc..65d1ccc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -321,6 +321,8 @@ AC_DEFINE_UNQUOTED(NTLM_AUTH, "$ntlm_auth", [Samba's 'winbind' daemon helper 'nt
AX_CODE_COVERAGE
+have_gssapi=""
+
dnl **********************
dnl *** GSSAPI support ***
dnl **********************
@@ -332,6 +334,7 @@ if test "x$KRB5_CONFIG" != "xnone"; then
AC_SUBST(KRB5_LIBS)
if test "$KRB5_CONFIG" != none; then
AC_DEFINE(HAVE_GSSAPI, 1, [Whether or not gssapi libs are available])
+ have_gssapi="1"
fi
fi
@@ -391,6 +394,8 @@ dnl *************************
dnl *** Output Everything ***
dnl *************************
+AC_SUBST(have_gssapi)
+
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
libsoup-2.4.pc
diff --git a/libsoup-2.4.pc.in b/libsoup-2.4.pc.in
index 1394939..5f62233 100644
--- a/libsoup-2.4.pc.in
+++ b/libsoup-2.4.pc.in
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires: glib-2.0 gobject-2.0 gio-2.0
Requires.private: libxml-2.0
Libs: -L${libdir} -lsoup-2.4
-Cflags: -I${includedir}/libsoup-2.4
+Cflags: -I${includedir}/libsoup-2.4 -DHAVE_GSSAPI= have_gssapi@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]