1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT(src/treefuncs.h)
4 AM_CONFIG_HEADER(config.h)
5 AM_INIT_AUTOMAKE(gob2,2.0.15)
11 dnl An utter hack to allow embedding of gob inside other packages.
12 dnl if a file is found in the parent directory named NOINST_GOB, then
13 dnl gob is not installed
16 AM_CONDITIONAL(NOINSTGOB, test -f ../NOINST_GOB)
18 dnl Is there a way to test NOINSTGOB here ?
19 if test -f ../NOINST_GOB ; then
20 AC_MSG_RESULT([*** NOT Going to install GOB ***])
21 SUBDIRS="src examples"
25 SUBDIRS="src examples doc"
33 dnl Checks for programs.
41 AC_PATH_PROG(RM, rm, /bin/rm)
42 AC_PATH_PROG(MV, mv, /bin/mv)
43 AC_PATH_PROG(TAR, tar, /bin/tar)
44 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
47 dnl We don't check popt since we're not using it at the moment, but
48 dnl We just might use it later
49 dnl AC_CHECK_LIB(popt,poptGetContext, [POPT_LIB="-lpopt"],
50 dnl AC_MSG_ERROR(Popt library not found, find it on ftp://ftp.redhat.com/pub/redhat/code/))
51 dnl AC_SUBST(POPT_LIB)