configure.ac: fail if version script returns empty string
This commit is contained in:
parent
0d71223a1d
commit
3da66364de
@ -9,6 +9,11 @@ AC_INIT([Tinyproxy], [tinyproxy_version],
|
|||||||
[https://tinyproxy.github.io/],
|
[https://tinyproxy.github.io/],
|
||||||
[tinyproxy])
|
[tinyproxy])
|
||||||
|
|
||||||
|
tpv=tinyproxy_version
|
||||||
|
if test "x$tpv" = "x" ; then
|
||||||
|
AC_MSG_ERROR([got empty result from version script!])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_TARGET
|
||||||
AM_INIT_AUTOMAKE([dist-bzip2 dist-xz])
|
AM_INIT_AUTOMAKE([dist-bzip2 dist-xz])
|
||||||
AC_CONFIG_HEADERS(config.h)
|
AC_CONFIG_HEADERS(config.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user