📄 configure
字号:
echo 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; }; }fi{ echo "$as_me:$LINENO: result: yes" >&5echo "${ECHO_T}yes" >&6; }test "$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 -f conftest.sed# expand $ac_aux_dir to an absolute patham_aux_dir=`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= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}fi{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bindo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done donedoneIFS=$as_save_IFSfi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fifi{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5echo "${ECHO_T}$MKDIR_P" >&6; }mkdir_p="$MKDIR_P"case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;esacfor 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=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 fidonedoneIFS=$as_save_IFSfifiAWK=$ac_cv_prog_AWKif test -n "$AWK"; then { echo "$as_me:$LINENO: result: $AWK" >&5echo "${ECHO_T}$AWK" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi test -n "$AWK" && breakdone{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.make <<\_ACEOFSHELL = /bin/shall: @echo '@@@%%%=$(MAKE)=@@@%%%'_ACEOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;;esacrm -f conftest.makefiif eval test \$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}"firm -rf .tst 2>/dev/nullmkdir .tst 2>/dev/nullif test -d .tst; then am__leading_dot=.else am__leading_dot=_firmdir .tst 2>/dev/nullif test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if 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; }; } fifi# test whether we have cygpathif test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fifi# Define the identity of the package. PACKAGE='clicky' VERSION='0.1'cat >>confdefs.h <<_ACEOF#define PACKAGE "$PACKAGE"_ACEOFcat >>confdefs.h <<_ACEOF#define VERSION "$VERSION"_ACEOF# Some tools Automake needs.ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}# Installed binaries are usually stripped using `strip' when the user# run `make install-strip'. However `strip' might not be the right# tool to use in cross-compilation environments, therefore Automake# will honor the `STRIP' environment variable to overrule this program.if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.set dummy ${ac_tool_prefix}strip; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedoneIFS=$as_save_IFSfifiSTRIP=$ac_cv_prog_STRIPif test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5echo "${ECHO_T}$STRIP" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fifiif test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args.set dummy strip; ac_word=$2{ echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fidonedoneIFS=$as_save_IFSfifiac_ct_STRIP=$ac_cv_prog_ac_ct_STRIPif test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5echo "${ECHO_T}$ac_ct_STRIP" >&6; }else { echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6; }fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned inyes:){ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet. If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&5echo "$as_me: WARNING: In the future, Autoconf will not detect cross-toolswhose name does not start with the host triplet. If you think thisconfiguration is useful to you, please write to autoconf@gnu.org." >&2;}ac_tool_warned=yes ;;esac STRIP=$ac_ct_STRIP fielse STRIP="$ac_cv_prog_STRIP"fifiINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"# We need awk for the "check" target. The system "awk" is bad on# some platforms.# Always define AMTAR for backward compatibility.AMTAR=${AMTAR-"${am_missing_run}tar"}am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'ac_config_headers="$ac_config_headers config.h"{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } # Check whether --enable-maintainer-mode was given.if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enablevalelse USE_MAINTAINER_MODE=nofi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#'else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE=fi MAINT=$MAINTAINER_MODE_TRUEDEPDIR="${am__leading_dot}deps"ac_config_commands="$ac_config_commands depfiles"am_make=${MAKE-make}cat > confinc << 'END'am__doit: @echo done.PHONY: am__doitEND# If we don't find an include directive, just comment out the code.{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }am__include="#"am__quote=_am_result=none# First try GNU make style include.echo "include confinc" > confmf# We grep out `Entering directory' and `Leaving directory'# messages which can occur if `w' ends up in MAKEFLAGS.# In particular we don't look at `^make:' because GNU make might# be invoked under some other name (usually "gmake"), in which# case it prints its new name instead of `make'.if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNUfi# Now try BSD make style include.if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fifi{ echo "$as_me:$LINENO: result: $_am_result" >&5echo "${ECHO_T}$_am_result" >&6; }rm -f confinc confmf# Check whether --enable-dependency-tracking was given.if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking;fiif test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\'fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#'else AMDEP_TRUE='#' AMDEP_FALSE=fiac_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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -