configure.ac: fail if version script returns empty string

This commit is contained in:
rofl0r committed 2020-09-06 20:32:52 +01:00
1 parent 0d71223a1d
commit 3da66364de
1 file changed
+5
+5
View File
@@ -9,6 +9,11 @@ AC_INIT([Tinyproxy], [tinyproxy_version],
[https://tinyproxy.github.io/],
[tinyproxy])
tpv=tinyproxy_version
if test "x$tpv" = "x" ; then
AC_MSG_ERROR([got empty result from version script!])
fi
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([dist-bzip2 dist-xz])
AC_CONFIG_HEADERS(config.h)