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,1.99.1)
8 dnl An utter hack to allow embedding of gob inside other packages.
9 dnl if a file is found in the parent directory named NOINST_GOB, then
10 dnl gob is not installed
12 if test -f ../NOINST_GOB ; then
15 AC_MSG_RESULT([*** NOT Going to install GOB ***])
16 SUBDIRS="src examples"
21 SUBDIRS="src examples doc"
27 dnl Checks for programs.
34 AC_PATH_PROG(RM, rm, /bin/rm)
35 AC_PATH_PROG(MV, mv, /bin/mv)
36 AC_PATH_PROG(TAR, tar, /bin/tar)
37 AM_PATH_GLIB_2_0(1.3.3,,,)
38 dnl We don't check popt since we're not using it at the moment, but
39 dnl We just might use it later
40 dnl AC_CHECK_LIB(popt,poptGetContext, [POPT_LIB="-lpopt"],
41 dnl AC_MSG_ERROR(Popt library not found, find it on ftp://ftp.redhat.com/pub/redhat/code/))
42 dnl AC_SUBST(POPT_LIB)