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>
Jakub Narebski committed
Aug 8, 2006 at 18:36 UTC
b52b1d433b47888d79a73a514aa3430257cba863
1 file changed
+1
-1
configure.ac
+1
-1
@@ -37,7 +37,7 @@ AC_DEFUN([GIT_ARG_SET_PATH],
37
AC_DEFUN([GIT_CONF_APPEND_PATH],
38
[PROGRAM=m4_toupper($1); \
39
if test "$withval" = "no"; then \
40
- AC_MSG_WARN([You cannot use git without $1]); \
40
+ AC_MSG_ERROR([You cannot use git without $1]); \
41
else \
42
if test "$withval" = "yes"; then \
43
AC_MSG_WARN([You should provide path for --with-$1=PATH]); \