📄 configure
字号:
firm -f conftest*fiecho "$ac_t""$ac_cv_c_const" 1>&6if test $ac_cv_c_const = no; then cat >> confdefs.h <<\EOF#define const EOFfiecho $ac_n "checking for inline""... $ac_c" 1>&6echo "configure:1827: checking for inline" >&5if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_cv_c_inline=nofor ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <<EOF#line 1834 "configure"#include "confdefs.h"int main() {} $ac_kw foo() {; return 0; }EOFif { (eval echo configure:1841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; breakelse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5firm -f conftest*donefiecho "$ac_t""$ac_cv_c_inline" 1>&6case "$ac_cv_c_inline" in inline | yes) ;; no) cat >> confdefs.h <<\EOF#define inline EOF ;; *) cat >> confdefs.h <<EOF#define inline $ac_cv_c_inlineEOF ;;esacecho $ac_n "checking for off_t""... $ac_c" 1>&6echo "configure:1867: checking for off_t" >&5if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1872 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_off_t=yeselse rm -rf conftest* ac_cv_type_off_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_off_t" 1>&6if test $ac_cv_type_off_t = no; then cat >> confdefs.h <<\EOF#define off_t longEOFfiecho $ac_n "checking for size_t""... $ac_c" 1>&6echo "configure:1900: checking for size_t" >&5if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1905 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yeselse rm -rf conftest* ac_cv_type_size_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_size_t" 1>&6if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF#define size_t unsignedEOFfi# 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:1935: 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 1940 "configure"#include "confdefs.h"#include <alloca.h>int main() {char *p = alloca(2 * sizeof(int));; return 0; }EOFif { (eval echo configure:1947: \"$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:1968: 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 1973 "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:2001: \"$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:2033: 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 2038 "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:2063: 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 2068 "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:2091: \"$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:2118: 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 2126 "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:2145: \"$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_directionEOFfifor ac_hdr in unistd.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:2170: checking for $ac_hdr" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2175 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2180: \"$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 rm -rf conftest* eval "ac_cv_header_$ac_safe=yes"else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else echo "$ac_t""no" 1>&6fidonefor ac_func in getpagesizedoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2209: 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 2214 "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:2237: \"$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 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <<EOF#define $ac_tr_func 1EOF else echo "$ac_t""no" 1>&6fidoneecho $ac_n "checking for working mmap""... $ac_c" 1>&6echo "configure:2262: checking for working mmap" >&5if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -