diff options
author | test-tools <test-tools@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2006-11-08 11:23:42 +0000 |
---|---|---|
committer | test-tools <test-tools@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2006-11-08 11:23:42 +0000 |
commit | 829ce2346919c5a1756fc87f3fd05cbb0c70e1f8 (patch) | |
tree | 7017d4b91faccd13b5773c0eed57ae53d8cf659e /heliodor | |
parent | d8d54f2a4200d81b1e7d41438b83147312e5368b (diff) | |
download | marex-dev-829ce2346919c5a1756fc87f3fd05cbb0c70e1f8.tar.gz marex-dev-829ce2346919c5a1756fc87f3fd05cbb0c70e1f8.tar.bz2 |
Fixes pkg-config not found problems, makes it possible to --prefix=/opt/beryl
Closes #762
git-svn-id: file:///beryl/trunk@1090 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'heliodor')
-rw-r--r-- | heliodor/configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/heliodor/configure.ac b/heliodor/configure.ac index dbcdc1c..e7e3192 100644 --- a/heliodor/configure.ac +++ b/heliodor/configure.ac @@ -22,6 +22,18 @@ HELIODOR_REQUIRES=" xrender >= 0.8.4 \ gconf-2.0 \ pangocairo \ libmetacity-private >= 2.15.21" + +dnl ============================================================ +dnl Check for the pkg-config path. +if test x"$PKG_CONFIG_PATH" = x; then + PKG_CONFIG_PATH=${prefix}/lib/pkgconfig + else + PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${PKG_CONFIG_PATH} +fi +export PKG_CONFIG_PATH +AC_SUBST(PKG_CONFIG_PATH) +AC_MSG_NOTICE([Using PKG_CONFIG_PATH=$PKG_CONFIG_PATH]) + PKG_CHECK_MODULES(HELIODOR, $HELIODOR_REQUIRES) AC_SUBST(HELIODOR_REQUIRES) CFLAGS="$CFLAGS $HELIODOR_CFLAGS" |