Replace / with _ in OS_TARGET.

Thanks to lidl@pix.net for the patch.
Bug #81204 r=cls
This commit is contained in:
cls%seawood.org 2001-05-17 06:40:47 +00:00
Родитель fe748ef683
Коммит ceb2e8f983
1 изменённых файлов: 16 добавлений и 2 удалений

Просмотреть файл

@ -378,8 +378,7 @@ AC_PATH_PROG(AUTOCONF, autoconf, :)
AC_PATH_PROG(UNZIP, unzip, :) AC_PATH_PROG(UNZIP, unzip, :)
AC_PATH_PROGS(ZIP, zip) AC_PATH_PROGS(ZIP, zip)
if test -z "$ZIP" || test "$ZIP" = ":"; then if test -z "$ZIP" || test "$ZIP" = ":"; then
AC_MSG_WARN([zip not found in \$PATH. Disabling jar packaging]) AC_MSG_ERROR([zip not found in \$PATH .])
MOZ_DISABLE_JAR_PACKAGING=1
fi fi
AC_PATH_PROG(SYSTEM_MAKEDEPEND, makedepend) AC_PATH_PROG(SYSTEM_MAKEDEPEND, makedepend)
AC_PATH_PROG(XARGS, xargs) 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]) AC_MSG_ERROR([--enable-chrome-format must be set to either jar, flat or both])
fi fi
dnl ========================================================
dnl Dependency options
dnl ======================================================== 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= _cpp_md_flag=
MOZ_ARG_DISABLE_BOOL(md, MOZ_ARG_DISABLE_BOOL(md,
[ --disable-md Do not use compiler-based dependencies ], [ --disable-md Do not use compiler-based dependencies ],
@ -3521,10 +3528,17 @@ if test "$_cpp_md_flag"; then
COMPILER_DEPEND=1 COMPILER_DEPEND=1
_DEPEND_CFLAGS='$(filter-out %/.pp,-Wp,-MD,$(MDDEPDIR)/$(*F).pp)' _DEPEND_CFLAGS='$(filter-out %/.pp,-Wp,-MD,$(MDDEPDIR)/$(*F).pp)'
fi fi
fi
MDDEPDIR='.deps' MDDEPDIR='.deps'
AC_SUBST(AUTO_DEPENDENCIES)
AC_SUBST(COMPILER_DEPEND) AC_SUBST(COMPILER_DEPEND)
AC_SUBST(MDDEPDIR) AC_SUBST(MDDEPDIR)
dnl ========================================================
dnl Compiler options
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(pedantic, MOZ_ARG_DISABLE_BOOL(pedantic,
[ --disable-pedantic Issue all warnings demanded by strict ANSI C ], [ --disable-pedantic Issue all warnings demanded by strict ANSI C ],
_PEDANTIC= ) _PEDANTIC= )