diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-03-27 11:32:45 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@ozlabs.org> | 2018-05-18 15:26:03 +1000 |
commit | 69b54118da404ef3719ca46ad839a52f805f8160 (patch) | |
tree | a2ba17355b0cf1a9b11805b9b61a6c0e62b2a75c /configure.ac | |
parent | d4ddacf32977a516f8c636f451ad5df2a27acef9 (diff) | |
download | pdbg-69b54118da404ef3719ca46ad839a52f805f8160.tar.gz pdbg-69b54118da404ef3719ca46ad839a52f805f8160.zip |
configure: Add configure test for m4 command
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b73bf27..740d926 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,13 @@ AM_SILENT_RULES([yes]) AC_PROG_CC AC_PROG_LIBTOOL + +AC_PATH_PROG([M4], [m4]) +if test x"$ac_cv_path_M4" = "x" ; then + AC_MSG_ERROR([Command 'm4' not found.]) +fi +AC_SUBST([M4]) + AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile]) |