[libgda/LIBGDA_5.0] Vala bindings now are installed into $(datadir)/vala/vapi. Fix bug 667907.



commit 91304792a24f8c40cc848b223d883b946fb8658f
Author: Daniel Espinosa <despinosa src gnome org>
Date:   Mon Jan 23 17:51:26 2012 -0600

    Vala bindings now are installed into $(datadir)/vala/vapi. Fix bug 667907.

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0e5f906..b34f375 100644
--- a/configure.ac
+++ b/configure.ac
@@ -495,7 +495,8 @@ then
         then
             AC_MSG_ERROR([Vala found but vapigen not found])
         fi
-        VAPIDIR=`pkg-config $VALA_MODULES --variable=vapidir`
+        VAPIDATADIR=`pkg-config $VALA_MODULES --variable=datadir`
+        VAPIDIR="$VAPIDATADIR/vala/vapi"
         AC_SUBST(VAPIGEN)
         AC_SUBST(VAPIDIR)
     fi



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