📄 configure
字号:
else exec 6>&1fiexec 5>./config.logecho "\This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake." 1>&5# Strip out --no-create and --no-recursion so they do not pile up.# Also quote any args containing shell metacharacters.ac_configure_args=for ac_argdo case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_arg" ;; esacdone# NLS nuisances.# Only set these to C if already set. These must not be set unconditionally# because not all systems understand e.g. LANG=C (notably SCO).# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!# Non-C LC_CTYPE values break the ctype check.if test "${LANG+set}" = set; then LANG=C; export LANG; fiif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fiif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fiif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.h# A filename unique to this package, relative to the directory that# configure is in, which we can look for to find out if srcdir is correct.ac_unique_file=config/libc_r.h# Find the source files, if location was not specified.if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fielse ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } else { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } fifisrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fififor ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then echo "loading site script $ac_site_file" . "$ac_site_file" fidoneif test -r "$cache_file"; then echo "loading cache $cache_file" . $cache_fileelse echo "creating cache $cache_file" > $cache_filefiac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossac_exeext=ac_objext=oif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c='' ac_t=' ' else ac_n=-n ac_c= ac_t= fielse ac_n= ac_c='\c' ac_t=fiac_aux_dir=for ac_dir in ${srcdir}/build/autoconf $srcdir/${srcdir}/build/autoconf; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break fidoneif test -z "$ac_aux_dir"; then { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/build/autoconf $srcdir/${srcdir}/build/autoconf" 1>&2; exit 1; }fiac_config_guess=$ac_aux_dir/config.guessac_config_sub=$ac_aux_dir/config.subac_configure=$ac_aux_dir/configure # This should be Cygnus configure.# Do some error checking and defaulting for the host and target type.# The inputs are:# configure --host=HOST --target=TARGET --build=BUILD NONOPT## The rules are:# 1. You are not allowed to specify --host, --target, and nonopt at the# same time.# 2. Host defaults to nonopt.# 3. If nonopt is not specified, then host defaults to the current host,# as determined by config.guess.# 4. Target and build default to nonopt.# 5. If nonopt is not specified, then target and build default to host.# The aliases save the names the user supplied, while $host etc.# will get canonicalized.case $host---$target---$nonopt inNONE---*---* | *---NONE---* | *---*---NONE) ;;*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;esac# Make sure we can run config.sub.if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }fiecho $ac_n "checking host system type""... $ac_c" 1>&6echo "configure:618: checking host system type" >&5host_alias=$hostcase "$host_alias" inNONE) case $nonopt in NONE) if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } fi ;; *) host_alias=$nonopt ;; esac ;;esachost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$host" 1>&6echo $ac_n "checking target system type""... $ac_c" 1>&6echo "configure:639: checking target system type" >&5target_alias=$targetcase "$target_alias" inNONE) case $nonopt in NONE) target_alias=$host_alias ;; *) target_alias=$nonopt ;; esac ;;esactarget=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$target" 1>&6echo $ac_n "checking build system type""... $ac_c" 1>&6echo "configure:657: checking build system type" >&5build_alias=$buildcase "$build_alias" inNONE) case $nonopt in NONE) build_alias=$host_alias ;; *) build_alias=$nonopt ;; esac ;;esacbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$ac_t""$build" 1>&6test "$host_alias" != "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}-MOD_MAJOR_VERSION=4MOD_MINOR_VERSION=2MOD_REVISION_VERSION=0NSPR_MODNAME=nspr20_HAVE_PTHREADS=USE_PTHREADS=USE_USER_PTHREADS=USE_NSPR_THREADS=USE_N32=USE_64=USE_CPLUS=USE_IPV6=USE_MDUPDATE=_OPTIMIZE_FLAGS=-O_DEBUG_FLAGS=-gMOZ_DEBUG=1MOZ_OPTIMIZE=OBJDIR=.OBJDIR_NAME=.OBJDIR_SUFFIX=OBJNSINSTALL='$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall'NOSUCHFILE=/no-such-fileLIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)'LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)'CYGWIN_WRAPPER=RESOLVE_LINK_SYMBOLS=CFLAGS="${CFLAGS=}"CXXFLAGS="${CXXFLAGS=}"LDFLAGS="${LDFLAGS=}"HOST_CFLAGS="${HOST_CFLAGS=}"HOST_LDFLAGS="${HOST_LDFLAGS=}"case "$target" in*-cygwin*|*-mingw*) # Check to see if we are really running in a msvc environemnt _WIN32_MSVC= for ac_prog in cldo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:723: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="$ac_prog" break fi done IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then echo "$ac_t""$CC" 1>&6else echo "$ac_t""no" 1>&6fitest -n "$CC" && breakdone if test "$CC" = "cl"; then echo 'main() { return 0; }' > dummy.c ${CC} -o dummy dummy.c >/dev/null 2>&1 if test $? = 0; then _WIN32_MSVC=1 CXX=$CC else echo "configure: warning: $(CC) test failed. Using normal feature tests" 1>&2 fi rm -f dummy dummy.o dummy.obj dummy.exe dummy.c fi ;;*-msvc*) _WIN32_MSVC=1 ;;*-mksnt*) _WIN32_MSVC=1 ;;esacif test -n "$_WIN32_MSVC"; then SKIP_PATH_CHECKS=1 SKIP_COMPILER_CHECKS=1 SKIP_LIBRARY_CHECKS=1fidist_prefix='${MOD_DEPTH}/dist'dist_bindir='${dist_prefix}/bin'dist_includedir='${dist_prefix}/include/nspr'dist_libdir='${dist_prefix}/lib'if test "${includedir}" = '${prefix}/include'; then includedir='${prefix}/include/nspr'fi# Check whether --with-dist-prefix or --without-dist-prefix was given.if test "${with_dist_prefix+set}" = set; then withval="$with_dist_prefix" dist_prefix=$withvalfi# Check whether --with-dist-bindir or --without-dist-bindir was given.if test "${with_dist_bindir+set}" = set; then withval="$with_dist_bindir" dist_bindir=$withvalfi# Check whether --with-dist-includedir or --without-dist-includedir was given.if test "${with_dist_includedir+set}" = set; then withval="$with_dist_includedir" dist_includedir=$withvalfi# Check whether --with-dist-libdir or --without-dist-libdir was given.if test "${with_dist_libdir+set}" = set; then withval="$with_dist_libdir" dist_libdir=$withvalfi# Check whether --with-mozilla or --without-mozilla was given.if test "${with_mozilla+set}" = set; then withval="$with_mozilla" if test "$withval" = "yes"; then cat >> confdefs.h <<\EOF#define MOZILLA_CLIENT 1EOF MOZILLA_CLIENT=1 else MOZILLA_CLIENT= fielse if test -n "$MOZILLA_CLIENT"; then cat >> confdefs.h <<\EOF#define MOZILLA_CLIENT 1EOF fifi# Check whether --enable-optimize or --disable-optimize was given.if test "${enable_optimize+set}" = set; then enableval="$enable_optimize" if test "$enableval" != "no"; then MOZ_OPTIMIZE=1 if test -n "$enableval" && test "$enableval" != "yes"; then _OPTIMIZE_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'` _SAVE_OPTIMIZE_FLAGS=$_OPTIMIZE_FLAGS fi fi fi# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then enableval="$enable_debug" if test "$enableval" = "no"; then MOZ_DEBUG= fifi# Check whether --enable-win32-target or --disable-win32-target was given.if test "${enable_win32_target+set}" = set; then enableval="$enable_win32_target" OS_TARGET=`echo $enableval | tr a-z A-Z`else OS_TARGET=fi# Check whether --enable-debug-rtl or --disable-debug-rtl was given.if test "${enable_debug_rtl+set}" = set; then enableval="$enable_debug_rtl" if test "$enableval" = "yes"; then USE_DEBUG_RTL=1 fi fi# Check whether --enable-n32 or --disable-n32 was given.if test "${enable_n32+set}" = set; then enableval="$enable_n32" if test "$enableval" = "yes"; then USE_N32=1 else if test "$enableval" = "no"; then USE_N32= fi fi fi# Check whether --enable-64bit or --disable-64bit was given.if test "${enable_64bit+set}" = set; then enableval="$enable_64bit" if test "$enableval" = "yes"; then USE_64=1 fi fi# Check whether --enable-mdupdate or --disable-mdupdate was given.if test "${enable_mdupdate+set}" = set; then enableval="$enable_mdupdate" if test "$enableval" = "yes"; then USE_MDUPDATE=1 fi ficase "$target" in
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -