diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-08-08 18:36:21 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-08 13:32:34 -0700 |
commit | b52b1d433b47888d79a73a514aa3430257cba863 (patch) | |
tree | 5c70ca013cf68975a2a5ca7e50a4cb2de23999fe /configure.ac | |
parent | 3900145ed72bf1dfd656af6a5b31034e818b425f (diff) | |
download | git-b52b1d433b47888d79a73a514aa3430257cba863.tar.gz |
autoconf: Error out on --without-shell and --without-perl
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e2da89114e..c2ddd9b6e8 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,7 @@ AC_DEFUN([GIT_ARG_SET_PATH], 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]); \ |