From 6e2c63951469dff55d6e6236f61bed7c44413459 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 2 Dec 2010 16:49:42 -0600 Subject: Linking to the install directory of libappindicator for the header files --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 85e0f66..f7506d1 100644 --- a/configure.ac +++ b/configure.ac @@ -46,11 +46,16 @@ AC_SUBST(INDICATOR_LIBS) LIBAPPINDICATOR_REQUIRED_VERSION=0.2.9 -PKG_CHECK_MODULES(TEST, libappindicator >= $LIBAPPINDICATOR_REQUIRED_VERSION) +PKG_CHECK_MODULES(TEST, appindicator-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION) AC_SUBST(TEST_CFLAGS) AC_SUBST(TEST_LIBS) +APP_INDICATOR_INCLUDE_BASE=`$PKG_CONFIG --variable=includedir appindicator-0.1` +APP_INDICATOR_INCLUDE="$APP_INDICATOR_INCLUDE_BASE/libappindicator-0.1/" + +AC_SUBST(APP_INDICATOR_INCLUDE) + ########################### # Check to see if we're local ########################### -- cgit v1.2.3