Automated update

This commit is contained in:
leaf%mozilla.org 2001-10-01 14:58:28 +00:00
parent 93e0fc7d13
commit 4a119bdd25

143
configure vendored
View File

@ -94,8 +94,6 @@ ac_help="$ac_help
--disable-mailnews Disable building of mail & news components"
ac_help="$ac_help
--disable-ender-lite Disable new lightweight text control frames"
ac_help="$ac_help
--enable-trace-malloc Enable malloc tracing"
ac_help="$ac_help
--enable-reflow-perf Enable reflow performance tracing"
ac_help="$ac_help
@ -131,6 +129,8 @@ ac_help="$ac_help
--enable-strip-libs Enable stripping of .so and .a libs "
ac_help="$ac_help
--enable-elf-dynstr-gc Enable elf dynstr garbage collector (opt builds only)"
ac_help="$ac_help
--enable-trace-malloc Enable malloc tracing"
ac_help="$ac_help
--with-default-mozilla-five-home
Set the default value for MOZILLA_FIVE_HOME"
@ -10598,27 +10598,6 @@ EOF
fi
NS_TRACE_MALLOC=
# Check whether --enable-trace-malloc or --disable-trace-malloc was given.
if test "${enable_trace_malloc+set}" = set; then
enableval="$enable_trace_malloc"
if test "$enableval" = "yes"; then
NS_TRACE_MALLOC=1
elif test "$enableval" = "no"; then
:
else
{ echo "configure: error: Option, trace-malloc, does not take an argument ($enableval)." 1>&2; exit 1; }
fi
fi
if test "$NS_TRACE_MALLOC"; then
cat >> confdefs.h <<\EOF
#define NS_TRACE_MALLOC 1
EOF
fi
MOZ_REFLOW_PERF=
# Check whether --enable-reflow-perf or --disable-reflow-perf was given.
if test "${enable_reflow_perf+set}" = set; then
@ -10990,6 +10969,29 @@ fi
NS_TRACE_MALLOC=
# Check whether --enable-trace-malloc or --disable-trace-malloc was given.
if test "${enable_trace_malloc+set}" = set; then
enableval="$enable_trace_malloc"
if test "$enableval" = "yes"; then
NS_TRACE_MALLOC=1
elif test "$enableval" = "no"; then
:
else
{ echo "configure: error: Option, trace-malloc, does not take an argument ($enableval)." 1>&2; exit 1; }
fi
fi
if test "$NS_TRACE_MALLOC"; then
# Please, Mr. Linker Man, don't take away our symbol names
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS=
USE_ELF_DYNSTR_GC=
cat >> confdefs.h <<\EOF
#define NS_TRACE_MALLOC 1
EOF
fi
# Check whether --with-default-mozilla-five-home or --without-default-mozilla-five-home was given.
if test "${with_default_mozilla_five_home+set}" = set; then
@ -11205,12 +11207,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
_SAVE_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic"
echo $ac_n "checking whether C++ compiler has -pedantic long long bug""... $ac_c" 1>&6
echo "configure:11209: checking whether C++ compiler has -pedantic long long bug" >&5
echo "configure:11211: checking whether C++ compiler has -pedantic long long bug" >&5
if test "$cross_compiling" = yes; then
result="maybe"
else
cat > conftest.$ac_ext <<EOF
#line 11214 "configure"
#line 11216 "configure"
#include "confdefs.h"
#ifdef __cplusplus
extern "C" void exit(int);
@ -11219,7 +11221,7 @@ extern "C" void exit(int);
if (sizeof(long long) != 8) { return 1; }
return 0; }
EOF
if { (eval echo configure:11223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:11225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
result="no"
else
@ -11267,12 +11269,12 @@ _SAVE_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
echo $ac_n "checking for correct overload resolution with const and templates""... $ac_c" 1>&6
echo "configure:11271: checking for correct overload resolution with const and templates" >&5
echo "configure:11273: checking for correct overload resolution with const and templates" >&5
if eval "test \"`echo '$''{'ac_nscap_nonconst_opeq_bug'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11276 "configure"
#line 11278 "configure"
#include "confdefs.h"
template <class T>
@ -11302,7 +11304,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:11306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_nscap_nonconst_opeq_bug="no"
else
@ -11348,16 +11350,16 @@ if test "$_IGNORE_LONG_LONG_WARNINGS"; then
_SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS ${_COMPILER_PREFIX}-Wno-long-long"
echo $ac_n "checking whether compiler supports -Wno-long-long""... $ac_c" 1>&6
echo "configure:11352: checking whether compiler supports -Wno-long-long" >&5
echo "configure:11354: checking whether compiler supports -Wno-long-long" >&5
cat > conftest.$ac_ext <<EOF
#line 11354 "configure"
#line 11356 "configure"
#include "confdefs.h"
int main() {
return(0);
; return 0; }
EOF
if { (eval echo configure:11361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-long-long"
@ -11597,7 +11599,7 @@ fi
echo $ac_n "checking webshell leaks option""... $ac_c" 1>&6
echo "configure:11601: checking webshell leaks option" >&5
echo "configure:11603: checking webshell leaks option" >&5
# Check whether --enable-detect-webshell-leaks or --disable-detect-webshell-leaks was given.
if test "${enable_detect_webshell_leaks+set}" = set; then
enableval="$enable_detect_webshell_leaks"
@ -11671,7 +11673,7 @@ if test "${enable_efence+set}" = set; then
enableval="$enable_efence"
if test "$enableval" = "yes"; then
echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
echo "configure:11675: checking for malloc in -lefence" >&5
echo "configure:11677: checking for malloc in -lefence" >&5
ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -11679,7 +11681,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lefence $LIBS"
cat > conftest.$ac_ext <<EOF
#line 11683 "configure"
#line 11685 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -11690,7 +11692,7 @@ int main() {
malloc()
; return 0; }
EOF
if { (eval echo configure:11694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -11726,7 +11728,7 @@ fi
echo $ac_n "checking for cplus_demangle in -liberty""... $ac_c" 1>&6
echo "configure:11730: checking for cplus_demangle in -liberty" >&5
echo "configure:11732: checking for cplus_demangle in -liberty" >&5
ac_lib_var=`echo iberty'_'cplus_demangle | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -11734,7 +11736,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-liberty "-liberty" $LIBS"
cat > conftest.$ac_ext <<EOF
#line 11738 "configure"
#line 11740 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -11745,7 +11747,7 @@ int main() {
cplus_demangle()
; return 0; }
EOF
if { (eval echo configure:11749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -11954,14 +11956,14 @@ if test "$TX_EXE"; then
EOF
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:11958: checking whether byte ordering is bigendian" >&5
echo "configure:11960: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 11965 "configure"
#line 11967 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -11972,11 +11974,11 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:11976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 11980 "configure"
#line 11982 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -11987,7 +11989,7 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:11991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
@ -12007,7 +12009,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 12011 "configure"
#line 12013 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
@ -12020,7 +12022,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if { (eval echo configure:12024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:12026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_bigendian=no
else
@ -12179,7 +12181,7 @@ case "$target" in
# Extract the first word of "makeC++SharedLib_r", so it can be a program name with args.
set dummy makeC++SharedLib_r; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:12183: checking for $ac_word" >&5
echo "configure:12185: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_AIX_SHLIB_BIN'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -12334,6 +12336,7 @@ esac
# Check whether --with-jpeg or --without-jpeg was given.
@ -12354,7 +12357,7 @@ if test "$JPEG_DIR" = no; then
SYSTEM_JPEG=
else
echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
echo "configure:12358: checking for jpeg_destroy_compress in -ljpeg" >&5
echo "configure:12361: checking for jpeg_destroy_compress in -ljpeg" >&5
ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -12362,7 +12365,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $JPEG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 12366 "configure"
#line 12369 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -12373,7 +12376,7 @@ int main() {
jpeg_destroy_compress()
; return 0; }
EOF
if { (eval echo configure:12377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:12380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -12402,7 +12405,7 @@ if test "$SYSTEM_JPEG" = 1; then
SYSTEM_JPEG=
else
cat > conftest.$ac_ext <<EOF
#line 12406 "configure"
#line 12409 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -12416,7 +12419,7 @@ else
}
EOF
if { (eval echo configure:12420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:12423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
SYSTEM_JPEG=1
else
@ -12456,16 +12459,16 @@ if test "$ZLIB_DIR" = no; then
SYSTEM_ZLIB=
else
echo $ac_n "checking "for zlib.h"""... $ac_c" 1>&6
echo "configure:12460: checking "for zlib.h"" >&5
echo "configure:12463: checking "for zlib.h"" >&5
cat > conftest.$ac_ext <<EOF
#line 12462 "configure"
#line 12465 "configure"
#include "confdefs.h"
#include "zlib.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:12469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:12472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
result="yes" SYSTEM_ZLIB=1
else
@ -12479,7 +12482,7 @@ rm -f conftest*
fi
if test "$SYSTEM_ZLIB" = 1; then
echo $ac_n "checking for gzread in -lz""... $ac_c" 1>&6
echo "configure:12483: checking for gzread in -lz" >&5
echo "configure:12486: checking for gzread in -lz" >&5
ac_lib_var=`echo z'_'gzread | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -12487,7 +12490,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $ZLIB_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 12491 "configure"
#line 12494 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -12498,7 +12501,7 @@ int main() {
gzread()
; return 0; }
EOF
if { (eval echo configure:12502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:12505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -12548,7 +12551,7 @@ if test "$PNG_DIR" = no; then
SYSTEM_PNG=
else
echo $ac_n "checking for png_get_valid in -lpng""... $ac_c" 1>&6
echo "configure:12552: checking for png_get_valid in -lpng" >&5
echo "configure:12555: checking for png_get_valid in -lpng" >&5
ac_lib_var=`echo png'_'png_get_valid | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -12556,7 +12559,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $PNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 12560 "configure"
#line 12563 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -12567,7 +12570,7 @@ int main() {
png_get_valid()
; return 0; }
EOF
if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -12595,7 +12598,7 @@ if test "$SYSTEM_PNG" = 1; then
SYSTEM_PNG=
else
cat > conftest.$ac_ext <<EOF
#line 12599 "configure"
#line 12602 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -12609,7 +12612,7 @@ else
}
EOF
if { (eval echo configure:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:12616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
SYSTEM_PNG=1
else
@ -12652,7 +12655,7 @@ if test "$MNG_DIR" = no; then
SYSTEM_MNG=
else
echo $ac_n "checking for mng_initialize in -lmng""... $ac_c" 1>&6
echo "configure:12656: checking for mng_initialize in -lmng" >&5
echo "configure:12659: checking for mng_initialize in -lmng" >&5
ac_lib_var=`echo mng'_'mng_initialize | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -12660,7 +12663,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lmng $MNG_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 12664 "configure"
#line 12667 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -12671,7 +12674,7 @@ int main() {
mng_initialize()
; return 0; }
EOF
if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:12678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -12699,7 +12702,7 @@ if test "$SYSTEM_MNG" = 1; then
SYSTEM_MNG=
else
cat > conftest.$ac_ext <<EOF
#line 12703 "configure"
#line 12706 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
@ -12713,7 +12716,7 @@ else
}
EOF
if { (eval echo configure:12717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:12720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
SYSTEM_MNG=1
else
@ -13244,9 +13247,8 @@ s%@HAVE_64BIT_OS@%$HAVE_64BIT_OS%g
s%@LIBOBJS@%$LIBOBJS%g
s%@MOZ_MAIL_NEWS@%$MOZ_MAIL_NEWS%g
s%@MOZ_ENDER_LITE@%$MOZ_ENDER_LITE%g
s%@NS_TRACE_MALLOC@%$NS_TRACE_MALLOC%g
s%@MOZ_REFLOW_PERF@%$MOZ_REFLOW_PERF%g
s%@USE_ELF_DYNSTR_GC@%$USE_ELF_DYNSTR_GC%g
s%@NS_TRACE_MALLOC@%$NS_TRACE_MALLOC%g
s%@MOZ_AUTO_DEPS@%$MOZ_AUTO_DEPS%g
s%@COMPILER_DEPEND@%$COMPILER_DEPEND%g
s%@MDDEPDIR@%$MDDEPDIR%g
@ -13321,6 +13323,7 @@ s%@SUNCTL@%$SUNCTL%g
s%@ACCESSIBILITY@%$ACCESSIBILITY%g
s%@MOZ_USER_DIR@%$MOZ_USER_DIR%g
s%@BUILD_IDLC@%$BUILD_IDLC%g
s%@USE_ELF_DYNSTR_GC@%$USE_ELF_DYNSTR_GC%g
s%@MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS@%$MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS%g
s%@MOZ_COMPONENT_NSPR_LIBS@%$MOZ_COMPONENT_NSPR_LIBS%g
s%@MOZ_COMPONENT_XPCOM_LIBS@%$MOZ_COMPONENT_XPCOM_LIBS%g