📄 configure
字号:
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$LD"; then ac_cv_prog_LD="$LD" # 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_LD="ld" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="echo Unable to find ld"fifiLD="$ac_cv_prog_LD"if test -n "$LD"; then echo "$ac_t""$LD" 1>&6else echo "$ac_t""no" 1>&6fielse LD="echo Unable to find ld"fifi# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6echo "configure:935: checking for a BSD compatible install" >&5if test -z "$INSTALL"; thenif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS"fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fifiecho "$ac_t""$INSTALL" 1>&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'for ac_prog in tardo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:992: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$TAR"; then ac_cv_prog_TAR="$TAR" # 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_TAR="$ac_prog" break fi done IFS="$ac_save_ifs"fifiTAR="$ac_cv_prog_TAR"if test -n "$TAR"; then echo "$ac_t""$TAR" 1>&6else echo "$ac_t""no" 1>&6fitest -n "$TAR" && breakdonetest -n "$TAR" || TAR="echo Unable to find tar"for ac_prog in mountdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1027: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_MOUNT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$MOUNT"; then ac_cv_prog_MOUNT="$MOUNT" # 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_MOUNT="$ac_prog" break fi done IFS="$ac_save_ifs"fifiMOUNT="$ac_cv_prog_MOUNT"if test -n "$MOUNT"; then echo "$ac_t""$MOUNT" 1>&6else echo "$ac_t""no" 1>&6fitest -n "$MOUNT" && breakdonetest -n "$MOUNT" || MOUNT="echo Unable to find mount"for ac_prog in umountdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1062: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_UMOUNT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$UMOUNT"; then ac_cv_prog_UMOUNT="$UMOUNT" # 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_UMOUNT="$ac_prog" break fi done IFS="$ac_save_ifs"fifiUMOUNT="$ac_cv_prog_UMOUNT"if test -n "$UMOUNT"; then echo "$ac_t""$UMOUNT" 1>&6else echo "$ac_t""no" 1>&6fitest -n "$UMOUNT" && breakdonetest -n "$UMOUNT" || UMOUNT="echo Unable to find umount"for ac_prog in etagsdo# Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1097: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_ETAGS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$ETAGS"; then ac_cv_prog_ETAGS="$ETAGS" # 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_ETAGS="$ac_prog" break fi done IFS="$ac_save_ifs"fifiETAGS="$ac_cv_prog_ETAGS"if test -n "$ETAGS"; then echo "$ac_t""$ETAGS" 1>&6else echo "$ac_t""no" 1>&6fitest -n "$ETAGS" && breakdonetest -n "$ETAGS" || ETAGS="echo Unable to find etags"# Extract the first word of "insmod", so it can be a program name with args.set dummy insmod; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1130: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_INSMOD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else case "$INSMOD" in /*) ac_cv_path_INSMOD="$INSMOD" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_INSMOD="$INSMOD" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH:/sbin" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_INSMOD="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_INSMOD" && ac_cv_path_INSMOD="echo Unable to find insmod" ;;esacfiINSMOD="$ac_cv_path_INSMOD"if test -n "$INSMOD"; then echo "$ac_t""$INSMOD" 1>&6else echo "$ac_t""no" 1>&6fi# Extract the first word of "rmmod", so it can be a program name with args.set dummy rmmod; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1166: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_RMMOD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else case "$RMMOD" in /*) ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH:/sbin" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_RMMOD="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_RMMOD" && ac_cv_path_RMMOD="echo Unable to find rmmod" ;;esacfiRMMOD="$ac_cv_path_RMMOD"if test -n "$RMMOD"; then echo "$ac_t""$RMMOD" 1>&6else echo "$ac_t""no" 1>&6fi# Extract the first word of "depmod", so it can be a program name with args.set dummy depmod; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1202: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_DEPMOD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else case "$DEPMOD" in /*) ac_cv_path_DEPMOD="$DEPMOD" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_DEPMOD="$DEPMOD" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH:/sbin" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_DEPMOD="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_DEPMOD" && ac_cv_path_DEPMOD="echo Unable to find depmod" ;;esacfiDEPMOD="$ac_cv_path_DEPMOD"if test -n "$DEPMOD"; then echo "$ac_t""$DEPMOD" 1>&6else echo "$ac_t""no" 1>&6fiecho $ac_n "checking for vprintf""... $ac_c" 1>&6echo "configure:1238: checking for vprintf" >&5if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1243 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char vprintf(); 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 vprintf();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_vprintf) || defined (__stub___vprintf)choke me#elsevprintf();#endif; return 0; }EOFif { (eval echo configure:1266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_vprintf=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_VPRINTF 1EOFelse echo "$ac_t""no" 1>&6fiif test "$ac_cv_func_vprintf" != yes; thenecho $ac_n "checking for _doprnt""... $ac_c" 1>&6echo "configure:1290: checking for _doprnt" >&5if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1295 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt(); 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 _doprnt();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__doprnt) || defined (__stub____doprnt)choke me#else_doprnt();#endif; return 0; }EOFif { (eval echo configure:1318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func__doprnt=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func__doprnt=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_DOPRNT 1EOFelse
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -