Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2017-04-19 01:51:10 -0400
committerMike Gerwitz <mtg@gnu.org>2017-04-19 01:57:29 -0400
commit5a18560d7c0fc47486309a29a474c816359deac6 (patch)
tree657cdf3a83995eee3785280af66433b55fc715bb
parente87d2ff210b91b40ff9c53a04bf677e59818321b (diff)
downloadshspec-5a18560d7c0fc47486309a29a474c816359deac6.tar.gz
shspec-5a18560d7c0fc47486309a29a474c816359deac6.tar.bz2
shspec-5a18560d7c0fc47486309a29a474c816359deac6.zip
configure.ac: fail if missing xxd
* configure.ac (XXD): Add variable.
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 087dd8a..b0ae51e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,9 @@ AC_INIT([shspec], [0.0.1-dev], [mikegerwitz@gnu.org])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign])
+AC_CHECK_PROGS(XXD, [xxd])
+test "$XXD" || AC_MSG_ERROR([missing xxd])
+
# generate files from their *.in counterparts
AC_CONFIG_FILES([Makefile])
AC_OUTPUT