From: Jakub Narebski Date: Tue, 08 Aug 2006 16:36:21 GMT Subject: [PATCH 2/4] autoconf: Error out on --without-shell and --without-perl Message-ID: <200608081836.21614.jnareb@gmail.com> In-Reply-To: <200608081834.09271.jnareb@gmail.com> Error out on --without-shell/--with-shell=no and --without-perl/--with-perl=no instead of just warning and continuing. Signed-off-by: Jakub Narebski --- It's a matter of taste (and not doing unexpected) configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index e2da891..c2ddd9b 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,7 @@ # Used by GIT_ARG_SET_PATH(PROGRAM) AC_DEFUN([GIT_CONF_APPEND_PATH], [PROGRAM=m4_toupper($1); \ if test "$withval" = "no"; then \ - AC_MSG_WARN([You cannot use git without $1]); \ + AC_MSG_ERROR([You cannot use git without $1]); \ else \ if test "$withval" = "yes"; then \ AC_MSG_WARN([You should provide path for --with-$1=PATH]); \ -- 1.4.1.1