📄 configure
字号:
IFS="$ac_save_ifs"fifiDLLTOOL="$ac_cv_prog_DLLTOOL"if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6else echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_prog_DLLTOOL"; thenif test -n "$ac_tool_prefix"; then # Extract the first word of "dlltool", so it can be a program name with args.set dummy dlltool; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1380: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="dlltool" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="dlltool"fifiDLLTOOL="$ac_cv_prog_DLLTOOL"if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6else echo "$ac_t""no" 1>&6fielse DLLTOOL="dlltool"fifi# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.set dummy ${ac_tool_prefix}windres; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1415: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$WINDRES"; then ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ac_tool_prefix}windres" break fi done IFS="$ac_save_ifs"fifiWINDRES="$ac_cv_prog_WINDRES"if test -n "$WINDRES"; then echo "$ac_t""$WINDRES" 1>&6else echo "$ac_t""no" 1>&6fiif test -z "$ac_cv_prog_WINDRES"; thenif test -n "$ac_tool_prefix"; then # Extract the first word of "windres", so it can be a program name with args.set dummy windres; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1447: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$WINDRES"; then ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="windres" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_WINDRES" && ac_cv_prog_WINDRES="windres"fifiWINDRES="$ac_cv_prog_WINDRES"if test -n "$WINDRES"; then echo "$ac_t""$WINDRES" 1>&6else echo "$ac_t""no" 1>&6fielse WINDRES="windres"fifiecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1481: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. CPP="${CC-cc} -E" # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF#line 1496 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then :else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF#line 1513 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then :else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext <<EOF#line 1530 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then :else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest* ac_cv_prog_CPP="$CPP"fi CPP="$ac_cv_prog_CPP"else ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works# for constant arguments. Useless!echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6echo "configure:1563: checking for working alloca.h" >&5if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1568 "configure"#include "confdefs.h"#include <alloca.h>int main() {char *p = alloca(2 * sizeof(int));; return 0; }EOFif { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_alloca_h=nofirm -f conftest*fiecho "$ac_t""$ac_cv_header_alloca_h" 1>&6if test $ac_cv_header_alloca_h = yes; then cat >> confdefs.h <<\EOF#define HAVE_ALLOCA_H 1EOFfiecho $ac_n "checking for alloca""... $ac_c" 1>&6echo "configure:1596: checking for alloca" >&5if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1601 "configure"#include "confdefs.h"#ifdef __GNUC__# define alloca __builtin_alloca#else# ifdef _MSC_VER# include <malloc.h># define alloca _alloca# else# if HAVE_ALLOCA_H# include <alloca.h># else# ifdef _AIX #pragma alloca# else# ifndef alloca /* predefined by HP cc +Olibcalls */char *alloca ();# endif# endif# endif# endif#endifint main() {char *p = (char *) alloca(1);; return 0; }EOFif { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_func_alloca_works=nofirm -f conftest*fiecho "$ac_t""$ac_cv_func_alloca_works" 1>&6if test $ac_cv_func_alloca_works = yes; then cat >> confdefs.h <<\EOF#define HAVE_ALLOCA 1EOFfiif test $ac_cv_func_alloca_works = no; then # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.${ac_objext} cat >> confdefs.h <<\EOF#define C_ALLOCA 1EOFecho $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6echo "configure:1661: checking whether alloca needs Cray hooks" >&5if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1666 "configure"#include "confdefs.h"#if defined(CRAY) && ! defined(CRAY2)webecray#elsewenotbecray#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "webecray" >/dev/null 2>&1; then rm -rf conftest* ac_cv_os_cray=yeselse rm -rf conftest* ac_cv_os_cray=nofirm -f conftest*fiecho "$ac_t""$ac_cv_os_cray" 1>&6if test $ac_cv_os_cray = yes; thenfor ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1691: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1696 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. *//* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func();int main() {/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#else$ac_func();#endif; return 0; }EOFif { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<EOF#define CRAY_STACKSEG_END $ac_funcEOF breakelse echo "$ac_t""no" 1>&6fidonefiecho $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6echo "configure:1746: checking stack direction for C alloca" >&5if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0else cat > conftest.$ac_ext <<EOF#line 1754 "configure"#include "confdefs.h"find_stack_direction (){ static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1;}main (){ exit (find_stack_direction() < 0);}EOFif { (eval echo configure:1773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_c_stack_direction=1else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_c_stack_direction=-1firm -fr conftest*fifiecho "$ac_t""$ac_cv_c_stack_direction" 1>&6cat >> confdefs.h <<EOF#define STACK_DIRECTION $ac_cv_c_stack_directionEOFfiecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6echo "configure:1795: checking whether ${MAKE-make} sets \${MAKE}" >&5set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftestmake <<\EOFall: @echo 'ac_maketemp="${MAKE}"'EOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftestmake 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 conftestmakefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$ac_t""yes" 1>&6 SET_MAKE=else echo "$ac_t""no" 1>&6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -