summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-09-06 20:32:52 +0100
committerrofl0r <rofl0r@users.noreply.github.com>2020-09-06 20:32:52 +0100
commit3da66364dee0ae22abea20350af047cd95eb9f05 (patch)
treec607764de20199de17c4b987f05fdf7806d2dc8e /configure.ac
parent0d71223a1dce3745da443cc6239e27f07fe07113 (diff)
configure.ac: fail if version script returns empty string
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 782ee06..7de6087 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)