X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=configure.ac;h=de8d159b8df989e9605fc1b71cc4602ef7246fb3;hp=1087137956e301deca872db6f2f6c3c3a787e641;hb=176adcd5ec7f2340fb6f0f625a727498db9c04c4;hpb=8bfdf45d149101c4c3088c061094b5867e160822 diff --git a/configure.ac b/configure.ac index 1087137..de8d159 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,13 @@ dnl This file is part of the YAZ toolkit. -dnl Copyright (C) 1995-2010 Index Data +dnl Copyright (C) 1995-2013 Index Data AC_PREREQ([2.60]) -AC_INIT([yaz],[4.1.2],[yaz-help@indexdata.dk]) +AC_INIT([yaz], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[yaz-help@indexdata.dk]) AC_CONFIG_HEADERS(include/config.h) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_AUX_DIR([config]) -AM_INIT_AUTOMAKE([1.9]) +AM_INIT_AUTOMAKE([subdir-objects]) dnl AC_SUBST([READLINE_LIBS]) AC_SUBST([YAZ_CONF_CFLAGS]) @@ -404,7 +406,7 @@ client/Makefile ztest/Makefile zoom/Makefile doc/Makefile -doc/local.ent +doc/local0.ent doc/common/Makefile doc/common/print.dsl etc/Makefile @@ -415,6 +417,8 @@ win/version.nsi include/yaz/yaz-version.h ],[ sed s%echo_source=yes%echo_source=no%g < yaz-config > util/yaz-config && chmod +x yaz-config util/yaz-config + diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \ + || cp doc/local0.ent doc/local.ent ] )