?? configure
字號:
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);exit (0); }EOFif { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen :else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=nofirm -fr conftest*fififiecho "$ac_t""$ac_cv_header_stdc" 1>&6if test $ac_cv_header_stdc = yes; then cat >> confdefs.h <<\EOF#define STDC_HEADERS 1EOFfiecho $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6echo "configure:1335: checking whether struct tm is in sys/time.h or time.h" >&5if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1340 "configure"#include "confdefs.h"#include <sys/types.h>#include <time.h>int main() {struct tm *tp; tp->tm_sec;; return 0; }EOFif { (eval echo configure:1348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.helse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_struct_tm=sys/time.hfirm -f conftest*fiecho "$ac_t""$ac_cv_struct_tm" 1>&6if test $ac_cv_struct_tm = sys/time.h; then cat >> confdefs.h <<\EOF#define TM_IN_SYS_TIME 1EOFfifor ac_hdr in fcntl.h unistd.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1372: 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 1377 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1382: \"$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>&6fidoneecho $ac_n "checking for off_t""... $ac_c" 1>&6echo "configure:1410: 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 1415 "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 whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6echo "configure:1443: checking whether struct tm is in sys/time.h or time.h" >&5if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1448 "configure"#include "confdefs.h"#include <sys/types.h>#include <time.h>int main() {struct tm *tp; tp->tm_sec;; return 0; }EOFif { (eval echo configure:1456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.helse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_struct_tm=sys/time.hfirm -f conftest*fiecho "$ac_t""$ac_cv_struct_tm" 1>&6if test $ac_cv_struct_tm = sys/time.h; then cat >> confdefs.h <<\EOF#define TM_IN_SYS_TIME 1EOFfiecho $ac_n "checking for deflate""... $ac_c" 1>&6echo "configure:1478: checking for deflate" >&5if eval "test \"`echo '$''{'ac_cv_func_deflate'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1483 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char deflate(); 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 deflate();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_deflate) || defined (__stub___deflate)choke me#elsedeflate();#endif; return 0; }EOFif { (eval echo configure:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_deflate=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_deflate=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'deflate`\" = yes"; then echo "$ac_t""yes" 1>&6 :else echo "$ac_t""no" 1>&6exitfiecho $ac_n "checking for crc32""... $ac_c" 1>&6echo "configure:1527: checking for crc32" >&5if eval "test \"`echo '$''{'ac_cv_func_crc32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1532 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char crc32(); 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 crc32();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_crc32) || defined (__stub___crc32)choke me#elsecrc32();#endif; return 0; }EOFif { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_crc32=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_crc32=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'crc32`\" = yes"; then echo "$ac_t""yes" 1>&6 :else echo "$ac_t""no" 1>&6exitfiecho $ac_n "checking for deflateInit2_""... $ac_c" 1>&6echo "configure:1576: checking for deflateInit2_" >&5if eval "test \"`echo '$''{'ac_cv_func_deflateInit2_'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1581 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char deflateInit2_(); 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 deflateInit2_();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_deflateInit2_) || defined (__stub___deflateInit2_)choke me#elsedeflateInit2_();#endif; return 0; }EOFif { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_deflateInit2_=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_deflateInit2_=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'deflateInit2_`\" = yes"; then echo "$ac_t""yes" 1>&6 :else echo "$ac_t""no" 1>&6exitfiecho $ac_n "checking for deflateReset""... $ac_c" 1>&6echo "configure:1625: checking for deflateReset" >&5if eval "test \"`echo '$''{'ac_cv_func_deflateReset'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1630 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char deflateReset(); 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 deflateReset();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_deflateReset) || defined (__stub___deflateReset)choke me#elsedeflateReset();#endif; return 0; }EOFif { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_deflateReset=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_deflateReset=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'deflateReset`\" = yes"; then echo "$ac_t""yes" 1>&6 :else echo "$ac_t""no" 1>&6exitfiecho $ac_n "checking for deflateEnd""... $ac_c" 1>&6echo "configure:1674: checking for deflateEnd" >&5if eval "test \"`echo '$''{'ac_cv_func_deflateEnd'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1679 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char deflateEnd(); 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 deflateEnd();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_deflateEnd) || defined (__stub___deflateEnd)choke me#elsedeflateEnd();#endif; return 0; }EOFif { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_deflateEnd=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_deflateEnd=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'deflateEnd`\" = yes"; then echo "$ac_t""yes" 1>&6 :else echo "$ac_t""no" 1>&6exitfiecho $ac_n "checking size of char""... $ac_c" 1>&6echo "configure:1724: checking size of char" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }else cat > conftest.$ac_ext <<EOF#line 1732 "configure"#include "confdefs.h"#include <stdio.h>main(){ FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(char)); exit(0);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -