AC_PREREQ([2.69])
-AC_INIT([XZ Utils], m4_esyscmd([/bin/sh build-aux/version.sh]),
+AC_INIT([XZ Utils], m4_esyscmd([tr -d '\r\n' < build-aux/version.txt]),
[xz@tukaani.org], [xz], [https://tukaani.org/xz/])
AC_CONFIG_SRCDIR([src/liblzma/common/common.h])
AC_CONFIG_AUX_DIR([build-aux])
fi
# Get the package version so that it can be included in the generated docs.
-PACKAGE_VERSION=`cd .. && sh build-aux/version.sh` || exit 1
+PACKAGE_VERSION=`cat ../build-aux/version.txt` || exit 1
# If no arguments are specified, default to generating liblzma API header
# documentation only.
fi
fi
-PACKAGE_VERSION=`cd .. && sh build-aux/version.sh` || exit 1
+PACKAGE_VERSION=`cat ../build-aux/version.txt` || exit 1
# Put the author info from the .po files into the header comment of
# the generated man pages.
| grep -Fve "$(sed '/[{}:*]/d;/^$/d;s/^ //' liblzma_generic.map)")
# Check that there are no old alpha or beta versions listed.
-VER=$(cd ../.. && sh build-aux/version.sh)
+VER=$(cat ../../build-aux/version.txt)
NAMES=
case $VER in
*alpha | *beta)
done
if [ -x "$SEVENZ" ]; then
- VER=$(sh build-aux/version.sh)
+ VER=$(cat build-aux/version.txt)
cd pkg
"$SEVENZ" a -tzip ../xz-$VER-windows.zip *
"$SEVENZ" a ../xz-$VER-windows.7z *