📄 configure
字号:
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}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"}# 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.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 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_TRUEPACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"# tooldir='$(exec_prefix)/'$target_alias# Temporary work-around until building in source tree is supportedtooldir='$(PROJECT_ROOT)'project_includedir='$(tooldir)'/includeproject_libdir='$(tooldir)/lib$(MULTISUBDIR)'project_bindir='$(tooldir)/bin'rtems_bspdir='$(prefix)/${RTEMS_BSP}'rtems_makedir='$(prefix)/make' ac_config_commands="$ac_config_commands bsp-tools"RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS generic"case $RTEMS_CPU ina29k ) if test -d ${srcdir}/a29k ; thensubdirs="$subdirs a29k" fi;;arm ) if test -d ${srcdir}/arm ; thensubdirs="$subdirs arm" fi;;c4x ) if test -d ${srcdir}/c4x ; thensubdirs="$subdirs c4x" fi;;h8300 ) if test -d ${srcdir}/h8300 ; thensubdirs="$subdirs h8300" fi;;hppa1.1 ) if test -d ${srcdir}/hppa1.1 ; thensubdirs="$subdirs hppa1.1" fi;;i386 ) if test -d ${srcdir}/i386 ; thensubdirs="$subdirs i386" fi;;i960 ) if test -d ${srcdir}/i960 ; thensubdirs="$subdirs i960" fi;;m68k ) if test -d ${srcdir}/m68k ; thensubdirs="$subdirs m68k" fi;;mips ) if test -d ${srcdir}/mips ; thensubdirs="$subdirs mips" fi;;mips64orion ) if test -d ${srcdir}/mips64orion ; thensubdirs="$subdirs mips64orion" fi;;no_cpu ) if test -d ${srcdir}/no_cpu ; thensubdirs="$subdirs no_cpu" fi;;or32 ) if test -d ${srcdir}/or32 ; thensubdirs="$subdirs or32" fi;;powerpc ) if test -d ${srcdir}/powerpc ; thensubdirs="$subdirs powerpc" fi;;sh ) if test -d ${srcdir}/sh ; thensubdirs="$subdirs sh" fi;;sparc ) if test -d ${srcdir}/sparc ; thensubdirs="$subdirs sparc" fi;;unix ) if test -d ${srcdir}/unix ; thensubdirs="$subdirs unix" fi;;*) { { echo "$as_me:$LINENO: error: Invalid RTEMS_CPU <${RTEMS_CPU}>" >&5echo "$as_me: error: Invalid RTEMS_CPU <${RTEMS_CPU}>" >&2;} { (exit 1); exit 1; }; }esac# Explicitly list all Makefiles here ac_config_files="$ac_config_files Makefile"cat >confcache <<\_ACEOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs, see configure's option --config-cache.# It is not useful on other systems. If it contains results you don't# want to keep, you may remove or edit it.## config.status only pays attention to the cache file if you give it# the --recheck option to rerun configure.## `ac_cv_env_foo' variables (set or unset) will be overridden when# loading this file, other *unset* `ac_cv_foo' will be assigned the# following values._ACEOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.{ (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac;} | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcacheif diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fifirm -f confcachetest "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# VPATH may cause trouble with some makes, so we remove $(srcdir),# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and# trailing colons and then remove the whole line if VPATH becomes empty# (actually we leave an empty line to preserve line numbers).if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{s/:*\$(srcdir):*/:/;s/:*\${srcdir}:*/:/;s/:*@srcdir@:*/:/;s/^\([^=]*=[ ]*\):*/\1/;s/:*$//;s/^[^=]*=[ ]*$//;}'fi# Transform confdefs.h into DEFS.# Protect against shell expansion while executing Makefile rules.# Protect against Makefile macro expansion.## If the first sed substitution is executed (which looks for macros that# take arguments), then we branch to the quote section. Otherwise,# look for a macro that doesn't take arguments.cat >confdef2opt.sed <<\_ACEOFt clear: clears,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,gt quotes,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,gt quoted: quotes,[ `~#$^&*(){}\\|;'"<>?],\\&,gs,\[,\\&,gs,\],\\&,gs,\$,$$,gp_ACEOF# We use echo to avoid assuming a particular line-breaking character.# The extra dot is to prevent the shell from consuming trailing# line-breaks from the sub-command output. A line-break within# single-quotes doesn't work because, if this script is created in a# platform that uses two characters for line-breaks (e.g., DOS), tr# would break.ac_LF_and_DOT=`echo; echo .`DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`rm -f confdef2opt.sedac_libobjs=ac_ltlibobjs=for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'doneLIBOBJS=$ac_libobjsLTLIBOBJS=$ac_ltlibobjsif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.Usually this means
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -