X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=configure.in;h=a1157fe99db12fc67496ea203221c6e46beeaaab;hb=38a93aa4ec4d643e63d797e1bdbf639b1082a4cd;hp=ab1676a6b3b99aaac3f69a0ac01abfa61fa8d0e6;hpb=a6afb3fda3925fdb51538adffe44608ff9cf1d63;p=gedcom-parse.git diff --git a/configure.in b/configure.in index ab1676a..a1157fe 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.enc) dnl ============================================================= dnl Global variables NAME=gedcom-parse -VERSION=0.12 -LIBVERSION=0:2 -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,15 +38,27 @@ 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 doc/Makefile + doc/images/Makefile include/Makefile + include/gedcom.h intl/Makefile po/Makefile.in)