dnl This file is part of the YAZ toolkit.
-dnl Copyright (C) 1995-2011 Index Data
+dnl Copyright (C) 1995-2013 Index Data
AC_PREREQ([2.60])
-AC_INIT([yaz],[4.2.20],[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
dnl
AC_SUBST([READLINE_LIBS])
AC_SUBST([YAZ_CONF_CFLAGS])
ztest/Makefile
zoom/Makefile
doc/Makefile
-doc/local.ent
+doc/local0.ent
doc/common/Makefile
doc/common/print.dsl
etc/Makefile
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
]
)