X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=configure.in;h=e1f5f734ba17e55bb02977911bc5e304ec2c2547;hb=aa8e5450d4e93e743e848a0ac045e04c94474347;hp=8d51ecb65a5a621034315036b1468b6ab4534318;hpb=247bacef60eb7c868b1c46fe32f47c9dacf87f23;p=gedcom-parse.git diff --git a/configure.in b/configure.in index 8d51ecb..e1f5f73 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.11 -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) @@ -34,9 +43,13 @@ AM_GNU_GETTEXT AC_OUTPUT(Makefile gedcom/Makefile + gedcom/calendar/Makefile ansel/Makefile t/Makefile + t/input/Makefile doc/Makefile + doc/images/Makefile include/Makefile + include/gedcom.h intl/Makefile po/Makefile.in)