X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=configure.in;h=76aec9d3ac1f47de9497d033d3cc11445c7a0ab5;hb=26f6997a399d4e68ea4a9cea87c8c277fb06b709;hp=3a111a2d6061e476e587f49af3621c7b186800c0;hpb=33ba39ee5fcff8327cb2a14b8826eb22a40c3be2;p=gedcom-parse.git diff --git a/configure.in b/configure.in index 3a111a2..76aec9d 100644 --- a/configure.in +++ b/configure.in @@ -1,19 +1,28 @@ # Process this file with autoconf to produce a configure script. # $Id$ # $Name$ -AC_INIT(standalone.c) +AC_INIT(gedcom/interface.c) dnl ============================================================= dnl Global variables NAME=gedcom-parse -VERSION=0.13 -LIBVERSION=0:3 -SHELL=/bin/sh AC_SUBST(NAME) + +VERSION=0.17 +VERSION_MAJOR=`echo $VERSION | sed 's/\..*$//'` +changequote(<<,>>) +VERSION_MINOR=`echo $VERSION | sed 's/^[^\.]*\.//'` +changequote([,]) +AC_SUBST(VERSION_MAJOR) +AC_SUBST(VERSION_MINOR) AC_SUBST(VERSION) -AC_SUBST(SHELL) + +LIBVERSION=0:7 AC_SUBST(LIBVERSION) +SHELL=/bin/sh +AC_SUBST(SHELL) + dnl ============================================================= AM_INIT_AUTOMAKE(${NAME},${VERSION}) AM_CONFIG_HEADER(config.h) @@ -29,16 +38,31 @@ 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 + utf8/Makefile t/Makefile + t/src/Makefile + t/input/Makefile + data/Makefile + data/new.ged doc/Makefile doc/images/Makefile include/Makefile + include/gedcom.h intl/Makefile po/Makefile.in)