Add include file sys/cdefs.h for __BEGIN_DECLS
[gedcom-parse.git] / configure.in
index e1f5f734ba17e55bb02977911bc5e304ec2c2547..a1157fe99db12fc67496ea203221c6e46beeaaab 100644 (file)
@@ -8,7 +8,7 @@ dnl Global variables
 NAME=gedcom-parse
 AC_SUBST(NAME)
 
-VERSION=0.16
+VERSION=0.17
 VERSION_MAJOR=`echo $VERSION | sed 's/\..*$//'`
 changequote(<<,>>)
 VERSION_MINOR=`echo $VERSION | sed 's/^[^\.]*\.//'`
@@ -17,7 +17,7 @@ AC_SUBST(VERSION_MAJOR)
 AC_SUBST(VERSION_MINOR)
 AC_SUBST(VERSION)
 
-LIBVERSION=0:6
+LIBVERSION=0:7
 AC_SUBST(LIBVERSION)
 
 SHELL=/bin/sh
@@ -38,12 +38,21 @@ if test "$YACC" = "bison -y"; then
 else
   AC_MSG_ERROR([Sorry, bison is needed])
 fi
+
 AM_WITH_DMALLOC
+
+dnl == Make statically linked test program for dmalloc tests
+if test "$with_dmalloc" = "yes"; then
+  EXTRA_PROGS=gomtest_static
+fi
+AC_SUBST(EXTRA_PROGS)
+
 AM_GNU_GETTEXT
 
 AC_OUTPUT(Makefile
          gedcom/Makefile
          gedcom/calendar/Makefile
+         gom/Makefile
          ansel/Makefile
          t/Makefile
          t/input/Makefile