From d88434f16eb204c888723c755f9ade555fc3feb2 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Wed, 7 Dec 2011 20:31:18 +0000 Subject: Abort ./configure if we can't find Perl. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index cd851d9..d88c826 100644 --- a/configure.ac +++ b/configure.ac @@ -9,12 +9,12 @@ AC_CONFIG_AUX_DIR([automake]) AM_INIT_AUTOMAKE([-Wall -Werror -Wno-override dist-bzip2]) AC_PROG_INSTALL -dnl Check for perl on our system -dnl call to AC_SUBST(PERL) is implicit +dnl Check for perl on our system. +dnl Call to AC_SUBST(PERL) is implicit AC_PATH_PROGS([PERL], [perl] [perl5], [false]) if test "x$PERL" = xfalse then - AC_MSG_WARN([WARNING: Perl not found; you must edit line 1 of 'stow']) + AC_MSG_ERROR([Perl not found; check your \$PATH.]) fi AC_ARG_WITH( -- cgit v1.2.1