📄 configure
字号:
rm -f conftest CONFTESTfifiecho "$ac_t""$cf_cv_mixedcase" 1>&6test "$cf_cv_mixedcase" = yes && cat >> confdefs.h <<\EOF#define MIXEDCASE_FILENAMES 1EOF# Extract the first word of "ctags", so it can be a program name with args.set dummy ctags; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1410: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_MAKE_LOWER_TAGS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$MAKE_LOWER_TAGS"; then ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # 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_MAKE_LOWER_TAGS="yes" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"fifiMAKE_LOWER_TAGS="$ac_cv_prog_MAKE_LOWER_TAGS"if test -n "$MAKE_LOWER_TAGS"; then echo "$ac_t""$MAKE_LOWER_TAGS" 1>&6else echo "$ac_t""no" 1>&6fiif test "$cf_cv_mixedcase" = yes ; then # Extract the first word of "etags", so it can be a program name with args.set dummy etags; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1442: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_MAKE_UPPER_TAGS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$MAKE_UPPER_TAGS"; then ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # 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_MAKE_UPPER_TAGS="yes" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"fifiMAKE_UPPER_TAGS="$ac_cv_prog_MAKE_UPPER_TAGS"if test -n "$MAKE_UPPER_TAGS"; then echo "$ac_t""$MAKE_UPPER_TAGS" 1>&6else echo "$ac_t""no" 1>&6fielse MAKE_UPPER_TAGS=nofiif test "$MAKE_UPPER_TAGS" = yes ; then MAKE_UPPER_TAGS=else MAKE_UPPER_TAGS="#"fiif test "$MAKE_LOWER_TAGS" = yes ; then MAKE_LOWER_TAGS=else MAKE_LOWER_TAGS="#"fiecho $ac_n "checking if you want to see long compiling messages""... $ac_c" 1>&6echo "configure:1489: checking if you want to see long compiling messages" >&5# Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then enableval="$enable_echo" test "$enableval" != no && enableval=yes if test "$enableval" != "yes" ; then ECHO_LT='--silent' ECHO_LD='@echo linking $@;' RULE_CC=' @echo compiling $<' SHOW_CC=' @echo compiling $@' ECHO_CC='@' else ECHO_LT='' ECHO_LD='' RULE_CC='# compiling' SHOW_CC='# compiling' ECHO_CC='' fielse enableval=yes ECHO_LT='' ECHO_LD='' RULE_CC='# compiling' SHOW_CC='# compiling' ECHO_CC='' fiecho "$ac_t""$enableval" 1>&6if test -f $srcdir/config.guess ; then # 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:1540: 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>&6 system_name="$host_os"else system_name="`(uname -s -r) 2>/dev/null`" if test -z "$system_name" ; then system_name="`(hostname) 2>/dev/null`" fifitest -n "$system_name" && cat >> confdefs.h <<EOF#define SYSTEM_NAME "$system_name"EOFif eval "test \"`echo '$''{'cf_cv_system_name'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cf_cv_system_name="$system_name"fitest -z "$system_name" && system_name="$cf_cv_system_name"test -n "$cf_cv_system_name" && echo "$ac_t""Configuring for $cf_cv_system_name" 1>&6if test ".$system_name" != ".$cf_cv_system_name" ; then echo "$ac_t""Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" 1>&6 { echo "configure: error: "Please remove config.cache and try again."" 1>&2; exit 1; }fiecho $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:1587: checking for Cygwin environment" >&5if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1592 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_cygwin=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_cygwin" 1>&6CYGWIN=test "$ac_cv_cygwin" = yes && CYGWIN=yesecho $ac_n "checking for mingw32 environment""... $ac_c" 1>&6echo "configure:1620: checking for mingw32 environment" >&5if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1625 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_mingw32=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_mingw32=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_mingw32" 1>&6MINGW32=test "$ac_cv_mingw32" = yes && MINGW32=yescase $cf_cv_system_name inos2*) # We make sure -Zexe is not used -- it would interfere with @PROG_EXT@ CFLAGS="$CFLAGS -Zmt" CPPFLAGS="$CPPFLAGS -D__ST_MT_ERRNO__" CXXFLAGS="$CXXFLAGS -Zmt" LDFLAGS=`echo "$LDFLAGS -Zmt -Zcrtdll" | sed -e "s%-Zexe%%g"` ;;esacecho $ac_n "checking for executable suffix""... $ac_c" 1>&6echo "configure:1663: checking for executable suffix" >&5if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$CYGWIN" = yes || test "$MINGW32" = yes; then ac_cv_exeext=.exeelse rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= if { (eval echo configure:1673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in *.c | *.o | *.obj) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done else { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } fi rm -f conftest* test x"${ac_cv_exeext}" = x && ac_cv_exeext=nofifiEXEEXT=""test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}echo "$ac_t""${ac_cv_exeext}" 1>&6ac_exeext=$EXEEXTecho $ac_n "checking for object suffix""... $ac_c" 1>&6echo "configure:1694: checking for object suffix" >&5if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else rm -f conftest*echo 'int i = 1;' > conftest.$ac_extif { (eval echo configure:1700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; esac doneelse { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }firm -f conftest*fiecho "$ac_t""$ac_cv_objext" 1>&6OBJEXT=$ac_cv_objextac_objext=$ac_cv_objextPROG_EXT="$EXEEXT"test -n "$PROG_EXT" && cat >> confdefs.h <<EOF#define PROG_EXT "$PROG_EXT"EOF case $cf_cv_system_name in OS/2*) LIB_PREFIX='' ;; os2*) LIB_PREFIX='' ;; *) LIB_PREFIX='lib' ;; esac case $host_os in #(vihpux*) #(vi CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE" ;;linux*) #(vi echo $ac_n "checking if we must define _GNU_SOURCE""... $ac_c" 1>&6echo "configure:1742: checking if we must define _GNU_SOURCE" >&5if eval "test \"`echo '$''{'cf_cv_gnu_source'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1748 "configure"#include "confdefs.h"#include <sys/types.h>int main() {#ifndef _XOPEN_SOURCEmake an error#endif; return 0; }EOFif { (eval echo configure:1758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_gnu_source=noelse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* cf_save="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" cat > conftest.$ac_ext <<EOF#line 1768 "configure"#include "confdefs.h"#include <sys/types.h>int main() {#ifdef _XOPEN_SOURCEmake an error#endif; return 0; }EOFif { (eval echo configure:1778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_gnu_source=noelse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* cf_cv_gnu_source=yesfirm -f conftest* CPPFLAGS="$cf_save" firm -f conftest*fiecho "$ac_t""$cf_cv_gnu_source" 1>&6test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" ;;osf[45]*) #(vi CPPFLAGS="$CPPFLAGS -D_OSF_SOURCE" ;;*) ;;esacGCC_VERSION=noneif test "$GCC" = yes ; then echo $ac_n "checking version of $CC""... $ac_c" 1>&6echo "configure:1812: checking version of $CC" >&5 GCC_VERSION="`${CC} --version|sed -e '2,$d' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" test -z "$GCC_VERSION" && GCC_VERSION=unknown echo "$ac_t""$GCC_VERSION" 1>&6fi# Check whether --with-warnings or --without-warnings was given.if test "${with_warnings+set}" = set; then withval="$with_warnings" if test "$GCC" = yesthencat > conftest.i <<EOF#ifndef GCC_PRINTF#define GCC_PRINTF 0#endif#ifndef GCC_SCANF#define GCC_SCANF 0#endif#ifndef GCC_NORETURN#define GCC_NORETURN /* nothing */#endif#ifndef GCC_UNUSED#define GCC_UNUSED /* nothing */#endifEOFif test "$GCC" = yesthen echo "checking for $CC __attribute__ directives" 1>&6echo "configure:1843: checking for $CC __attribute__ directives" >&5cat > conftest.$ac_ext <<EOF#line 1845 "configure"#include "confdefs.h"#include "conftest.h"#include "conftest.i"#if GCC_PRINTF#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))#else#define GCC_PRINTFLIKE(fmt,var) /*nothing*/#endif#if GCC_SCANF#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))#else#define GCC_SCANFLIKE(fmt,var) /*nothing*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -