From ceb2e8f983abe052c728db796758049219eae866 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Thu, 17 May 2001 06:40:47 +0000 Subject: [PATCH] Replace / with _ in OS_TARGET. Thanks to lidl@pix.net for the patch. Bug #81204 r=cls --- configure.in | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index f06290e4f5e..a8c8f5ef74a 100644 --- a/configure.in +++ b/configure.in @@ -378,8 +378,7 @@ AC_PATH_PROG(AUTOCONF, autoconf, :) AC_PATH_PROG(UNZIP, unzip, :) AC_PATH_PROGS(ZIP, zip) if test -z "$ZIP" || test "$ZIP" = ":"; then - AC_MSG_WARN([zip not found in \$PATH. Disabling jar packaging]) - MOZ_DISABLE_JAR_PACKAGING=1 + AC_MSG_ERROR([zip not found in \$PATH .]) fi AC_PATH_PROG(SYSTEM_MAKEDEPEND, makedepend) AC_PATH_PROG(XARGS, xargs) @@ -3506,8 +3505,16 @@ if test "$MOZ_CHROME_FILE_FORMAT" != "jar" && AC_MSG_ERROR([--enable-chrome-format must be set to either jar, flat or both]) fi +dnl ======================================================== +dnl Dependency options dnl ======================================================== +AUTO_DEPENDENCIES=1 +MOZ_ARG_DISABLE_BOOL(auto-deps, +[ --disable-auto-deps Do not automatically generate build dependencies], + AUTO_DEPENDENCIES=) + +if test "$AUTO_DEPENDENCIES"; then _cpp_md_flag= MOZ_ARG_DISABLE_BOOL(md, [ --disable-md Do not use compiler-based dependencies ], @@ -3521,10 +3528,17 @@ if test "$_cpp_md_flag"; then COMPILER_DEPEND=1 _DEPEND_CFLAGS='$(filter-out %/.pp,-Wp,-MD,$(MDDEPDIR)/$(*F).pp)' fi +fi + MDDEPDIR='.deps' +AC_SUBST(AUTO_DEPENDENCIES) AC_SUBST(COMPILER_DEPEND) AC_SUBST(MDDEPDIR) +dnl ======================================================== +dnl Compiler options +dnl ======================================================== + MOZ_ARG_DISABLE_BOOL(pedantic, [ --disable-pedantic Issue all warnings demanded by strict ANSI C ], _PEDANTIC= )