[gegl-gtk] Build: Set plugindir manually if not found in gegl.pc file
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl-gtk] Build: Set plugindir manually if not found in gegl.pc file
- Date: Thu, 21 Jul 2011 15:33:45 +0000 (UTC)
commit 1ab6ae4d1835fd87a610fb07fa11e43f8c69f645
Author: Jon Nordby <jononor gmail com>
Date: Thu Jul 21 17:26:05 2011 +0200
Build: Set plugindir manually if not found in gegl.pc file
This makes gegl-gtk work with gegl stable.
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 09c33e6..71bd27b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,8 +108,8 @@ AC_SUBST(PACKAGE_NAME)
GEGL_PLUGINS_DIR=`pkg-config gegl --variable=pluginsdir`
if test -z $GEGL_PLUGINS_DIR; then
- AC_MSG_ERROR(
- [no pluginsdir set in GEGL pkg-config file])
+ GEGL_PREFIX=`pkg-config gegl --variable=prefix`
+ GEGL_PLUGINS_DIR=$GEGL_PREFIX/lib/gegl-0.1
fi
AC_SUBST(GEGL_PLUGINS_DIR)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]