]> git.draconx.ca Git - gob-dx.git/blobdiff - configure.in
Release 2.0.13
[gob-dx.git] / configure.in
index 684759227b31aef7ac69802b3f13ee8086952a83..c551624d8bdeb58b78cd7bd7c416339be1675fb8 100644 (file)
@@ -2,29 +2,32 @@ dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.2)
 AC_INIT(src/treefuncs.h)
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(gob2,2.0.0)
+AM_INIT_AUTOMAKE(gob2,2.0.13)
 AM_MAINTAINER_MODE
 
-GLIB_REQUIRED=1.3.12
+GLIB_REQUIRED=2.0.0
 
 dnl
 dnl  An utter hack to allow embedding of gob inside other packages.
 dnl  if a file is found in the parent directory named NOINST_GOB, then
 dnl  gob is not installed
 dnl
+
+AM_CONDITIONAL(NOINSTGOB, test -f ../NOINST_GOB)
+
+dnl Is there a way to test NOINSTGOB here ?
 if test -f ../NOINST_GOB ; then
-  DOINSTGOB=
-  NOINSTGOB=gob2
   AC_MSG_RESULT([*** NOT Going to install GOB ***])
   SUBDIRS="src examples"
-  AC_SUBST(SUBDIRS)
+  INSTGOB=""
+  NOINSTGOB="gob2"
 else
-  DOINSTGOB=gob2
-  NOINSTGOB=
   SUBDIRS="src examples doc"
-  AC_SUBST(SUBDIRS)
+  INSTGOB="gob2"
+  NOINSTGOB=""
 fi
-AC_SUBST(DOINSTGOB)
+AC_SUBST(SUBDIRS)
+AC_SUBST(INSTGOB)
 AC_SUBST(NOINSTGOB)
 
 dnl Checks for programs.