X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=cf64d05c8ad214a06814a1d46233a438d8d4e2ff;hb=82d0b6ce2accdbe9987d0b8b4e6e818514455e22;hp=26a0edd0c8b20d44782716d39ea26578db7583fd;hpb=c3690905ad1433956660f0734dae05d800f86eee;p=yazpp-moved-to-github.git diff --git a/configure.ac b/configure.ac index 26a0edd..cf64d05 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,10 @@ -dnl YAZ++ Toolkit Index Data 1998-2010 -dnl See the file LICENSE for details. +dnl This file is part of yazpp +dnl Copyright (C) Index Data AC_PREREQ(2.60) -AC_INIT([yazpp],[1.2.3],[adam@indexdata.dk]) +AC_INIT([yazpp], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[adam@indexdata.dk]) +AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_SRCDIR(configure.ac) AC_CONFIG_AUX_DIR([config]) AM_INIT_AUTOMAKE([1.9]) @@ -12,7 +15,7 @@ AC_PROG_CXX AC_HEADER_STDC AM_PROG_LIBTOOL -YAZ_INIT([threads],[4.0.8]) +YAZ_INIT([threads],[4.2.8]) if test -z "$YAZLIB"; then AC_MSG_ERROR([YAZ development libraries missing]) fi @@ -32,10 +35,15 @@ AC_OUTPUT([ yazpp-config zoom/Makefile doc/Makefile - doc/local.ent + doc/local0.ent doc/common/Makefile doc/common/print.dsl -],[sed s%echo_source=yes%echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config]) +],[ + sed s%echo_source=yes%echo_source=no%g < yazpp-config >src/yazpp-config && chmod +x yazpp-config src/yazpp-config + diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \ + || cp doc/local0.ent doc/local.ent + ] +) echo \