X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/8cb6370effd9f2dacc6dc9b662a43ea19ee637ac..714b58ab4606ed4d40cec3702cb378938f8c883f:/configure.in diff --git a/configure.in b/configure.in index 325f17a..91e1277 100644 --- a/configure.in +++ b/configure.in @@ -1,19 +1,24 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.2) -AC_INIT(src/tree.h) +AC_INIT(src/treefuncs.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(gob,0.90.3) +AM_INIT_AUTOMAKE(gob,1.0.7) +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 if test -f ../NOINST_GOB ; then DOINSTGOB= NOINSTGOB=gob AC_MSG_RESULT([*** NOT Going to install GOB ***]) - SUBDIRS="src" + SUBDIRS="src examples" AC_SUBST(SUBDIRS) else DOINSTGOB=gob NOINSTGOB= - SUBDIRS="src doc" + SUBDIRS="src examples doc" AC_SUBST(SUBDIRS) fi AC_SUBST(DOINSTGOB) @@ -50,4 +55,5 @@ gob.spec Makefile src/Makefile doc/Makefile +examples/Makefile doc/gob.1])