diff options
author | Adam Spiers <stow@adamspiers.org> | 2011-12-07 20:31:18 +0000 |
---|---|---|
committer | Adam Spiers <stow@adamspiers.org> | 2011-12-07 20:31:18 +0000 |
commit | d88434f16eb204c888723c755f9ade555fc3feb2 (patch) | |
tree | 908c5cdc04c285d62573f1a214244738a23ea535 | |
parent | e7e0646db0869a8c4e45586c3f1904248a369c14 (diff) | |
download | stow-d88434f16eb204c888723c755f9ade555fc3feb2.tar.gz |
Abort ./configure if we can't find Perl.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ News file for Stow. * Changes in version 2.1.2 +** ./configure now aborts if Perl isn't found. ** Ensured the ChangeLog is up-to-date when making a new distribution. Thanks to Stefano Lattarini for this suggestion. * Changes in version 2.1.1 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( |