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.8)
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
15 if test -f ../NOINST_GOB ; then
18 AC_MSG_RESULT([*** NOT Going to install GOB ***])
19 SUBDIRS="src examples"
24 SUBDIRS="src examples doc"
30 dnl Checks for programs.
38 AC_PATH_PROG(RM, rm, /bin/rm)
39 AC_PATH_PROG(MV, mv, /bin/mv)
40 AC_PATH_PROG(TAR, tar, /bin/tar)
41 PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
44 dnl We don't check popt since we're not using it at the moment, but
45 dnl We just might use it later
46 dnl AC_CHECK_LIB(popt,poptGetContext, [POPT_LIB="-lpopt"],
47 dnl AC_MSG_ERROR(Popt library not found, find it on ftp://ftp.redhat.com/pub/redhat/code/))
48 dnl AC_SUBST(POPT_LIB)