]> git.draconx.ca Git - gob-dx.git/blobdiff - configure.in
Release 0.90.3
[gob-dx.git] / configure.in
index 1dc72a0567622e089684883e22462364b557e2ba..325f17ac1cdf7bfceab0ea162db49a7e0aa9e2fa 100644 (file)
@@ -2,7 +2,22 @@ dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.2)
 AC_INIT(src/tree.h)
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(gob,0.90.2)
+AM_INIT_AUTOMAKE(gob,0.90.3)
+
+if test -f ../NOINST_GOB ; then
+  DOINSTGOB=
+  NOINSTGOB=gob
+  AC_MSG_RESULT([*** NOT Going to install GOB ***])
+  SUBDIRS="src"
+  AC_SUBST(SUBDIRS)
+else
+  DOINSTGOB=gob
+  NOINSTGOB=
+  SUBDIRS="src doc"
+  AC_SUBST(SUBDIRS)
+fi
+AC_SUBST(DOINSTGOB)
+AC_SUBST(NOINSTGOB)
 
 dnl Checks for programs.
 AC_PROG_CC
@@ -15,12 +30,14 @@ AC_PATH_PROG(RM, rm, /bin/rm)
 AC_PATH_PROG(MV, mv, /bin/mv)
 AC_PATH_PROG(TAR, tar, /bin/tar)
 AM_PATH_GLIB(1.2.0,,,)
-AC_CHECK_LIB(popt,poptGetContext, [POPT_LIB="-lpopt"],
-            AC_MSG_ERROR(Popt library not found))
-AC_SUBST(POPT_LIB)
+dnl We don't check popt since we're not using it at the moment, but
+dnl We just might use it later
+dnl AC_CHECK_LIB(popt,poptGetContext, [POPT_LIB="-lpopt"],
+dnl         AC_MSG_ERROR(Popt library not found, find it on ftp://ftp.redhat.com/pub/redhat/code/))
+dnl AC_SUBST(POPT_LIB)
 
 
-#AM_PROG_LIBTOOL
+dnl AM_PROG_LIBTOOL
 
 AM_MAINTAINER_MODE