📄 configure
字号:
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>&6fidoneif test $termcap -eq 0 ; then echo $ac_n "checking for setupterm""... $ac_c" 1>&6echo "configure:1781: checking for setupterm" >&5if eval "test \"`echo '$''{'ac_cv_func_setupterm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1786 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char setupterm(); 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 setupterm();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_setupterm) || defined (__stub___setupterm)choke me#elsesetupterm();#endif; return 0; }EOFif { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_setupterm=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_setupterm=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'setupterm`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_TERMINFO 1EOFelse echo "$ac_t""no" 1>&6fifiecho $ac_n "checking for uname""... $ac_c" 1>&6echo "configure:1833: checking for uname" >&5if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1838 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char uname(); 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 uname();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_uname) || defined (__stub___uname)choke me#elseuname();#endif; return 0; }EOFif { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_uname=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_uname=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'uname`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_UNAME 1EOFelse echo "$ac_t""no" 1>&6fiecho $ac_n "checking for setenv""... $ac_c" 1>&6echo "configure:1884: checking for setenv" >&5if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1889 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char setenv(); 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 setenv();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_setenv) || defined (__stub___setenv)choke me#elsesetenv();#endif; return 0; }EOFif { (eval echo configure:1912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_setenv=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_setenv=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'setenv`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_SETENV 1EOFelse echo "$ac_t""no" 1>&6fiecho $ac_n "checking for unsetenv""... $ac_c" 1>&6echo "configure:1935: checking for unsetenv" >&5if eval "test \"`echo '$''{'ac_cv_func_unsetenv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1940 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char unsetenv(); 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 unsetenv();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_unsetenv) || defined (__stub___unsetenv)choke me#elseunsetenv();#endif; return 0; }EOFif { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_unsetenv=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_unsetenv=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'unsetenv`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_UNSETENV 1EOFelse echo "$ac_t""no" 1>&6fiecho $ac_n "checking for killpg""... $ac_c" 1>&6echo "configure:1986: checking for killpg" >&5if eval "test \"`echo '$''{'ac_cv_func_killpg'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1991 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char killpg(); 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 killpg();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_killpg) || defined (__stub___killpg)choke me#elsekillpg();#endif; return 0; }EOFif { (eval echo configure:2014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_killpg=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_killpg=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'killpg`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_KILLPG 1EOFelse echo "$ac_t""no" 1>&6fiecho $ac_n "checking for gettimeofday""... $ac_c" 1>&6echo "configure:2037: checking for gettimeofday" >&5if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2042 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char gettimeofday(); 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 gettimeofday();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_gettimeofday) || defined (__stub___gettimeofday)choke me#elsegettimeofday();#endif; return 0; }EOFif { (eval echo configure:2065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gettimeofday=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_gettimeofday=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_GETTIMEOFDAY 1EOFelse echo "$ac_t""no" 1>&6fiecho $ac_n "checking for getpass""... $ac_c" 1>&6echo "configure:2088: checking for getpass" >&5if eval "test \"`echo '$''{'ac_cv_func_getpass'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2093 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char getpass(); 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 getpass();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_getpass) || defined (__stub___getpass)choke me#elsegetpass();#endif; return 0; }EOFif { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getpass=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getpass=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'getpass`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_GETPASS 1EOFelse echo "$ac_t""no" 1>&6fiecho $ac_n "checking for strtoul""... $ac_c" 1>&6echo "configure:2139: checking for strtoul" >&5if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2144 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char strtoul(); 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 strtoul();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_strtoul) || defined (__stub___strtoul)choke me#elsestrtoul();#endif; return 0; }EOFif { (eval echo configure:2167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_strtoul=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strtoul=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'strtoul`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_STRTOUL 1EOFelse echo "$ac_t""no" 1>&6fiecho $ac_n "checking for vsnprintf""... $ac_c" 1>&6echo "configure:2190: checking for vsnprintf" >&5if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2195 "configure"#include "confdefs.h"/* System header to define
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -