diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index ef98d82..4c1809f 100644 --- a/configure.ac +++ b/configure.ac @@ -6,10 +6,11 @@ AM_INIT_AUTOMAKE(gupnp-vala, 0.7.0) AM_MAINTAINER_MODE AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_MACRO_DIR([m4]) -AC_PATH_PROG(VALAC, valac, no) -if test "x$VALAC" = "xno"; then - AC_MSG_ERROR([Cannot find the "valac" compiler in your PATH]) +AM_PROG_VALAC([$VALA_REQUIRED]) +if test "x$VALAC" = "x"; then + AC_MSG_ERROR([Cannot find the "valac" compiler in your PATH]) fi AC_PATH_PROG(VAPIGEN, vapigen, no) |