X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=configure.in;h=9312b32b1ea94dd8d109e0afeb05fe6dec4c9c0d;hb=7372fd1bb10934271adbb12fe27f45df8ea225d2;hp=d566173445593ff3f0299c6d610b9c9aa3d78576;hpb=15b7fc321087729ec9665b654f308a17b45dea8e;p=gedcom-parse.git diff --git a/configure.in b/configure.in index d566173..9312b32 100644 --- a/configure.in +++ b/configure.in @@ -1,21 +1,32 @@ # 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.10 -LIBVERSION=0:1 -SHELL=/bin/sh AC_SUBST(NAME) + +VERSION=0.16 +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:6 AC_SUBST(LIBVERSION) +SHELL=/bin/sh +AC_SUBST(SHELL) + dnl ============================================================= AM_INIT_AUTOMAKE(${NAME},${VERSION}) +AM_CONFIG_HEADER(config.h) +ALL_LINGUAS="nl" AC_PROG_CC AM_PROG_LIBTOOL @@ -27,11 +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 - include/Makefile) + doc/images/Makefile + include/Makefile + include/gedcom.h + intl/Makefile + po/Makefile.in)