📄 configure
字号:
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6# Just in casesleep 1echo timestamp > conftest.file# Do `set' in a subshell so we don't clobber the current shell's# arguments. Must try -L first in case configure is actually a# symlink; some systems play weird games with the mod time of symlinks# (eg FreeBSD returns the mod time of the symlink's containing# directory).if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a brokenalias in your environment" >&5echo "$as_me: error: ls -t appears to fail. Make sure there is not a brokenalias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file )then # Ok. :else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!Check your system clock" >&5echo "$as_me: error: newly created file is older than distributed files!Check your system clock" >&2;} { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name"# Use a double $ so make ignores it.test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name"# Double any \ or $. echo might interpret backslashes.# By default was `s,x,x', remove it if useless.cat <<\_ACEOF >conftest.seds/[\\$]/&&/g;s/;s,x,x,$//_ACEOFprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`rm conftest.sed# expand $ac_aux_dir to an absolute patham_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"# Use eval to expand $SHELLif eval "$MISSING --run true"; then am_missing_run="$MISSING --run "else am_missing_run= am_backtick='`' { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}fifor ac_prog in gawk mawk nawk awkdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiAWK=$ac_cv_prog_AWKif test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5echo "${ECHO_T}$AWK" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$AWK" && breakdoneecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.make <<\_ACEOFall: @echo 'ac_maketemp="${MAKE}"'_ACEOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yeselse eval ac_cv_prog_make_${ac_make}_set=nofirm -f conftest.makefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6 SET_MAKE=else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}"fi# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking"fi;if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\'fiif test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#'else AMDEP_TRUE='#' AMDEP_FALSE=firm -f .deps 2>/dev/nullmkdir .deps 2>/dev/nullif test -d .deps; then DEPDIR=.depselse # MS-DOS does not allow filenames that begin with a dot. DEPDIR=_depsfirmdir .deps 2>/dev/null# test to see if srcdir already configuredif test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; }fi# Define the identity of the package.PACKAGE=webdictVERSION=0.2.0cat >>confdefs.h <<_ACEOF#define PACKAGE "$PACKAGE"_ACEOFcat >>confdefs.h <<_ACEOF#define VERSION "$VERSION"_ACEOF# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow# the ones we care about.# Autoconf 2.50 always computes EXEEXT. However we need to be# compatible with 2.13, for now. So we always define EXEEXT, but we# don't compute it.# Similar for OBJEXT -- only we only use OBJEXT if the user actually# requests that it be used. This is a bit dumb.: ${OBJEXT=o}# Some tools Automake needs.ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}AMTAR=${AMTAR-"${am_missing_run}tar"}install_sh=${install_sh-"$am_aux_dir/install-sh"}INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"# We need awk for the "check" target. The system "awk" is bad on# some platforms.# Check whether --with-gsoap2 or --without-gsoap2 was given.if test "${with_gsoap2+set}" = set; then withval="$with_gsoap2" GSOAP2_PATH="${withval}"else GSOAP2_PATH="/usr/local/gsoap2"fi;ac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuif test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.set dummy ${ac_tool_prefix}cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fifiif test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_prog_rejected=no
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -