📄 configure
字号:
builtin and then its argument prototype would still apply. */char connect();int main() {connect(); return 0; }EOFif { (eval echo configure:1398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 result=yeselse echo "$ac_t""no" 1>&6result=nofi if test "$result" = "yes"; then LIBS="$LIBS -lsocket" fifiecho $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6echo "configure:1425: checking for crypt in -lcrypt" >&5ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-lcrypt $LIBS"cat > conftest.$ac_ext <<EOF#line 1433 "configure"#include "confdefs.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 crypt();int main() {crypt(); return 0; }EOFif { (eval echo configure:1444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 result=yeselse echo "$ac_t""no" 1>&6result=nofiif test "$result" = "yes"; then LIBS="$LIBS -lcrypt"fiecho $ac_n "checking whether to enable xferlog""... $ac_c" 1>&6echo "configure:1473: checking whether to enable xferlog" >&5# Check whether --enable-xferlog or --disable-xferlog was given.if test "${enable_xferlog+set}" = set; then enableval="$enable_xferlog" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_XFERLOG 1EOFfiecho "$ac_t""$enableval" 1>&6echo $ac_n "checking whether to enable ascii""... $ac_c" 1>&6echo "configure:1496: checking whether to enable ascii" >&5# Check whether --enable-ascii or --disable-ascii was given.if test "${enable_ascii+set}" = set; then enableval="$enable_ascii" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_ASCII 1EOFfiecho "$ac_t""$enableval" 1>&6echo $ac_n "checking whether to enable fullscreen""... $ac_c" 1>&6echo "configure:1519: checking whether to enable fullscreen" >&5# Check whether --enable-fullscreen or --disable-fullscreen was given.if test "${enable_fullscreen+set}" = set; then enableval="$enable_fullscreen" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_FULLSCREEN 1EOFfiecho "$ac_t""$enableval" 1>&6if test "$enableval" = "no"; then echo $ac_n "checking whether to enable fork""... $ac_c" 1>&6echo "configure:1544: checking whether to enable fork" >&5# Check whether --enable-fork or --disable-fork was given.if test "${enable_fork+set}" = set; then enableval="$enable_fork" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_FORK 1EOFfiecho "$ac_t""$enableval" 1>&6fiecho $ac_n "checking whether to enable upload""... $ac_c" 1>&6echo "configure:1569: checking whether to enable upload" >&5# Check whether --enable-upload or --disable-upload was given.if test "${enable_upload+set}" = set; then enableval="$enable_upload" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_UPLOAD 1EOFfiecho "$ac_t""$enableval" 1>&6echo $ac_n "checking whether to enable stat""... $ac_c" 1>&6echo "configure:1592: checking whether to enable stat" >&5# Check whether --enable-stat or --disable-stat was given.if test "${enable_stat+set}" = set; then enableval="$enable_stat" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_STAT 1EOFfiecho "$ac_t""$enableval" 1>&6echo $ac_n "checking whether to enable dcache""... $ac_c" 1>&6echo "configure:1615: checking whether to enable dcache" >&5# Check whether --enable-dcache or --disable-dcache was given.if test "${enable_dcache+set}" = set; then enableval="$enable_dcache" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_DCACHE 1EOFfiecho "$ac_t""$enableval" 1>&6echo $ac_n "checking whether to enable message""... $ac_c" 1>&6echo "configure:1638: checking whether to enable message" >&5# Check whether --enable-message or --disable-message was given.if test "${enable_message+set}" = set; then enableval="$enable_message" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_MESSAGE 1EOFfiecho "$ac_t""$enableval" 1>&6echo $ac_n "checking whether to enable shadow""... $ac_c" 1>&6echo "configure:1662: checking whether to enable shadow" >&5# Check whether --enable-shadow or --disable-shadow was given.if test "${enable_shadow+set}" = set; then enableval="$enable_shadow" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_SHADOW 1EOFfiecho "$ac_t""$enableval" 1>&6nonroot_support=yesif test "$enableval" = "yes"; then for ac_hdr in shadow.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1691: 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 1696 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1701: \"$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>&6fidone nonroot_support=noelse echofiif test "$nonroot_support" = "yes"; then echo $ac_n "checking whether to enable nonroot""... $ac_c" 1>&6echo "configure:1735: checking whether to enable nonroot" >&5# Check whether --enable-nonroot or --disable-nonroot was given.if test "${enable_nonroot+set}" = set; then enableval="$enable_nonroot" result=yeselse result=nofiif test "$result" = "no"; then enableval=nofiif test "$enableval" = "yes"; then cat >> confdefs.h <<\EOF#define WANT_NONROOT 1EOFfiecho "$ac_t""$enableval" 1>&6else enableval=nofiif test "$enableval" = "yes"; then echo "configure: warning: " 1>&2 echo "configure: warning: Please read the README.nonroot file before using --enable-nonroot" 1>&2 echo "configure: warning: " 1>&2else echo $ac_n "checking how to get effective uid""... $ac_c" 1>&6echo "configure:1767: checking how to get effective uid" >&5 if test -n "$EUID"; then B_UID=$EUID echo "$ac_t""\$EUID ($EUID)" 1>&6 elif test -n "$euid"; then B_UID=$euid echo "$ac_t""\$euid ($euid)" 1>&6 elif test -n "$UID"; then B_UID=$UID echo "$ac_t""\$UID ($UID)" 1>&6 elif test -n "$uid"; then B_UID=$uid echo "$ac_t""\$uid ($uid)" 1>&6 elif test "`whoami 2>/dev/null`" = "root"; then B_UID=0 echo "$ac_t""whoami (root)" 1>&6 else # assume we're not root B_UID=1 echo "$ac_t""not found" 1>&6 fi if test "$B_UID" -ne 0; then echo "configure: warning: " 1>&2 echo "configure: warning: You do not seem to have root privilegies. If you" 1>&2 echo "configure: warning: want to run BetaFTPD without being root, please" 1>&2 echo "configure: warning: consider giving the --enable-nonroot flag to" 1>&2 echo "configure: warning: configure, and read the README.nonroot file." 1>&2 echo "configure: warning: " 1>&2 fifiecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6echo "configure:1800: checking for ANSI C header files" >&5if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1805 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1813: \"$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* ac_cv_header_stdc=yeselse echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_stdc=nofirm -f conftest*if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1830 "configure"#include "confdefs.h"#include <string.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then :else rm -rf conftest* ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1848 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -