diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-06 20:32:52 +0100 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-06 20:32:52 +0100 |
commit | 3da66364dee0ae22abea20350af047cd95eb9f05 (patch) | |
tree | c607764de20199de17c4b987f05fdf7806d2dc8e | |
parent | 0d71223a1dce3745da443cc6239e27f07fe07113 (diff) |
configure.ac: fail if version script returns empty string
-rw-r--r-- | configure.ac | 5 |
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) |