[gegl-gtk] Escape $(datadir) in VAPIDIR and GIRDIR



commit 94d2d73a956b62d7beb7ff08a8fc80e0cfe098b9
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Tue Feb 4 01:14:47 2014 -0800

    Escape $(datadir) in VAPIDIR and GIRDIR
    
    Otherwise it will be evaluated to an empty string in configure. I am
    not sure that we should actually be setting these values, but it does
    allow gegl-gtk to find a prefixed gegl install automatically.

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 753e7eb..b03ed22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -254,7 +254,7 @@ fi
 AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$enable_introspection" = "xyes")
 
 if test "x$GIRDIR" = "x"; then
-  GIRDIR=$(datadir)/vala/vapi
+  GIRDIR="\$(datadir)/gir-1.0"
 fi
 AC_SUBST([GIRDIR])
 
@@ -280,7 +280,7 @@ have_vala=$have_vapigen
 AM_CONDITIONAL(HAVE_VALA, test "$have_vala" = "yes")
 
 if test "x$VAPIDIR" = "x"; then
-  VAPIDIR=$(datadir)/vala/vapi
+  VAPIDIR="\$(datadir)/vala/vapi"
 fi
 AC_SUBST([VAPIDIR])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]