📄 configure
字号:
# test to see if srcdir already configuredif test "`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# 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=xgrafix VERSION=2.xcat >>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-"$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=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if 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 $as_executable_p "$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 fidonedonefifiSTRIP=$ac_cv_prog_STRIPif test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5echo "${ECHO_T}$STRIP" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif 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=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if 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 $as_executable_p "$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 fidonedone test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"fifiac_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" >&6else echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fi STRIP=$ac_ct_STRIPelse STRIP="$ac_cv_prog_STRIP"fifiINSTALL_STRIP_PROGRAM="\${SHELL} \$(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"abs_top_builddir=`pwd`abs_top_srcdir=`dirname $0`cd $abs_top_srcdirabs_top_srcdir=`pwd`XGRAFIX_TOP_SRCDIR=$abs_top_srcdircd $abs_top_builddir# try to turn off auto-invocation of autotools in the top-level Makefileecho "$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 or --disable-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" >&6if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#'else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE=fi MAINT=$MAINTAINER_MODE_TRUE# Default prefix# See whether we have automakeamver=`automake --version 2>/dev/null`if test $? != 0; then echo automake not present in your path. echo Modifications to Makefile.am\'s will not propagate.else AUTOMAKE=$abs_top_srcdir/config/automake.shfi# For backward compatibilityEXEEXT=""# Make sure we can run config.sub.$ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; }echo "$as_me:$LINENO: checking build system type" >&5echo $ECHO_N "checking build system type... $ECHO_C" >&6if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_build_alias=$build_aliastest -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess`test -z "$ac_cv_build_alias" && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; }ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_build" >&5echo "${ECHO_T}$ac_cv_build" >&6build=$ac_cv_buildbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$as_me:$LINENO: checking host system type" >&5echo $ECHO_N "checking host system type... $ECHO_C" >&6if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_host_alias=$host_aliastest -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_aliasac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; }fiecho "$as_me:$LINENO: result: $ac_cv_host" >&5echo "${ECHO_T}$ac_cv_host" >&6host=$ac_cv_hosthost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`hosttype=$hostcat >>confdefs.h <<_ACEOF#define HOSTTYPE "$host"_ACEOF# If the user specifies nothing, then we default to g++/gcc, allowing the# user's path to determine which version.CXX=g++CC=gcc# Allow user to override choice of compiler# Check whether --with-CXX or --without-CXX was given.if test "${with_CXX+set}" = set; then withval="$with_CXX" CXX="$withval"else CXX=$CXXfi;echo Using C++ compiler $CXXexport CXX# Check whether --with-CC or --without-CC was given.if test "${with_CC+set}" = set; then withval="$with_CC" CC="$withval"else CC=$CCfi;echo Using C compiler $CCexport CCDEPDIR="${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" >&6am__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 fifiecho "$as_me:$LINENO: result: $_am_result" >&5echo "${ECHO_T}$_am_result" >&6rm -f confinc confmf# 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=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_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"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -