Removed set -x
[yaz-moved-to-github.git] / configure.ac
index d7e23f1..521d05f 100644 (file)
@@ -1,7 +1,7 @@
 dnl This file is part of the YAZ toolkit.
 dnl Copyright (C) 1995-2008 Index Data
 AC_PREREQ([2.60])
-AC_INIT([yaz],[3.0.38],[yaz-help@indexdata.dk])
+AC_INIT([yaz],[3.0.41],[yaz-help@indexdata.dk])
 AC_CONFIG_SRCDIR([configure.ac])
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE([1.9])
@@ -396,7 +396,7 @@ WIN_FILEVERSION=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { m = $4; pri
 AC_SUBST([WIN_FILEVERSION])
 YAZ_VERSION_HEX=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { printf("%x", ($1 * 256 + $2) * 256 + $3);}'`
 AC_SUBST([YAZ_VERSION_HEX])
-if test ${srcdir}/.git; then
+if test -d ${srcdir}/.git; then
     VERSION_SHA1=`git show --pretty=format:%H|head -1`
 else
     VERSION_SHA1=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'`