[Planner Dev] Other patch for the libgda change



Hi guys!

You will also need this patch to the main configure.in in order the
configure scripts looks forward and configure libgda.

Cheers

-- Alvaro
Index: configure.in
===================================================================
RCS file: /cvs/gnome/planner/configure.in,v
retrieving revision 1.14
diff -u -r1.14 configure.in
--- configure.in	14 Jan 2004 20:56:43 -0000	1.14
+++ configure.in	15 Jan 2004 00:02:24 -0000
@@ -15,7 +15,7 @@
 
 PLANNER_COMPILE_WARNINGS
 
-AC_PROG_INTLTOOL([0.29])
+AC_PROG_INTLTOOL([0.28])
 
 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
 if test x$PKG_CONFIG = xno ; then
@@ -148,6 +148,24 @@
 AC_SUBST(PG_CFLAGS)
 dnl -----------------------------------------------------------
 
+dnl  -----------
+dnl | GDA check |----------------------------------------------
+dnl  -----------
+AC_ARG_ENABLE(gda, [  --enable-gda       enable GDA plugin [default=yes]], enable_gda="$enableval", enable_gda=yes)
+                                                                                                   
+use_gda=no
+                                                                                                   
+if test x$enable_gda = xyes ; then
+    GDA_LIBS=`$PKG_CONFIG --libs libgda`
+    GDA_CFLAGS=`$PKG_CONFIG --cflags libgda`
+    use_gda=yes
+fi
+AM_CONDITIONAL(HAVE_GDA, test x$use_gda != xno)
+AC_SUBST(GDA_LIBS)
+AC_SUBST(GDA_CFLAGS)
+dnl -----------------------------------------------------------
+
+
 
 dnl ================================
 dnl | HTML output file-module      |---------------------------
@@ -295,6 +313,7 @@
 #echo "Python bindings   : $have_python"
 echo "Dotnet bindings   : $have_dotnet"
 echo "PostgreSQL support: $use_postgres"
+echo "GDA support       : $use_gda"
 echo "Time table view   : $enable_timetable"
 echo
 

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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