⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 tcl是工具命令语言
💻
📖 第 1 页 / 共 5 页
字号:
echo "$ac_t""$ac_cv_c_bigendian" 1>&6if test $ac_cv_c_bigendian = yes; then  cat >> confdefs.h <<\EOF#define WORDS_BIGENDIAN 1EOFfi#--------------------------------------------------------------------#	Supply substitutes for missing POSIX library procedures, or#	set flags so Tcl uses alternate procedures.#--------------------------------------------------------------------# Check if Posix compliant getcwd exists, if not we'll use getwd.for ac_func in getcwddoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1772: 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 1777 "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:1800: \"$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>&6cat >> confdefs.h <<\EOF#define USEGETWD 1EOFfidone# Nb: if getcwd uses popen and pwd(1) (like SunOS 4) we should really# define USEGETWD even if the posix getcwd exists. Add a test ?for ac_func in opendir strstrdoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1834: 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 1839 "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:1862: \"$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>&6LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"fidonefor ac_func in strtol strtoll strtoull tmpnam waitpiddoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1892: 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 1897 "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:1920: \"$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>&6LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"fidoneecho $ac_n "checking for strerror""... $ac_c" 1>&6echo "configure:1947: checking for strerror" >&5if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1952 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char strerror(); 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 strerror();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_strerror) || defined (__stub___strerror)choke me#elsestrerror();#endif; return 0; }EOFif { (eval echo configure:1975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_strerror=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_strerror=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'strerror`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6cat >> confdefs.h <<\EOF#define NO_STRERROR 1EOFfiecho $ac_n "checking for getwd""... $ac_c" 1>&6echo "configure:1999: checking for getwd" >&5if eval "test \"`echo '$''{'ac_cv_func_getwd'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2004 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char getwd(); 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 getwd();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_getwd) || defined (__stub___getwd)choke me#elsegetwd();#endif; return 0; }EOFif { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_getwd=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_getwd=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'getwd`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6cat >> confdefs.h <<\EOF#define NO_GETWD 1EOFfiecho $ac_n "checking for wait3""... $ac_c" 1>&6echo "configure:2051: checking for wait3" >&5if eval "test \"`echo '$''{'ac_cv_func_wait3'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2056 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char wait3(); 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 wait3();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_wait3) || defined (__stub___wait3)choke me#elsewait3();#endif; return 0; }EOFif { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_wait3=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_wait3=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'wait3`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6cat >> confdefs.h <<\EOF#define NO_WAIT3 1EOFfiecho $ac_n "checking for uname""... $ac_c" 1>&6echo "configure:2103: 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 2108 "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:2131: \"$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  :else  echo "$ac_t""no" 1>&6cat >> confdefs.h <<\EOF#define NO_UNAME 1EOFfiecho $ac_n "checking for realpath""... $ac_c" 1>&6echo "configure:2155: checking for realpath" >&5if eval "test \"`echo '$''{'ac_cv_func_realpath'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2160 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char realpath(); 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 realpath();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_realpath) || defined (__stub___realpath)choke me#elserealpath();#endif; return 0; }EOFif { (eval echo configure:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_realpath=yes"else

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -