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

📄 configure

📁 Apache V2.0.15 Alpha For Linuxhttpd-2_0_15-alpha.tar.Z
💻
📖 第 1 页 / 共 5 页
字号:
            ac_var="ac_cv_file_$ac_item"            ;;        func )   ac_var="ac_cv_func_$ac_item"   ;;        define ) ac_var="ac_cv_define_$ac_item" ;;        custom ) ac_var="$ac_item" ;;    esac    eval "ac_val=\$$ac_var"    if test ".$ac_val" != .yes; then        ac_rc=no        break    fidoneif test ".$ac_rc" = .yes; then    :    ac_decision='MM_VMPS_BEOS'ac_decision_msg='BeOS B_PAGE_SIZE'ac_decision_MM_VMPS_BEOS=yesac_decision_MM_VMPS_BEOS_msg='BeOS B_PAGE_SIZE'else    :    fi if test ".$ac_decision" = .; then    echo "$0:Error: decision on $ac_decision_item failed" 1>&2    exit 1else    if test ".$ac_decision_msg" = .; then        ac_decision_msg="$ac_decision"    fi    echo "$ac_t""decision on $ac_decision_item... $ac_decision_msg" 1>&6ficat >> confdefs.h <<EOF#define $ac_decision 1EOFecho "$ac_t""" 1>&6echo "$ac_t""${T_MD}Shared Memory Implementation:${T_ME}" 1>&6for ac_hdr in sys/mman.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1822: 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 1827 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1832: \"$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  echo $ac_n "checking for MAP_ANON in sys/mman.h""... $ac_c" 1>&6echo "configure:1859: checking for MAP_ANON in sys/mman.h" >&5if eval "test \"`echo '$''{'ac_cv_define_MAP_ANON'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1864 "configure"#include "confdefs.h"#include <sys/mman.h>#ifdef MAP_ANONYES_IS_DEFINED#endif    EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "YES_IS_DEFINED" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_define_MAP_ANON=yeselse  rm -rf conftest*  ac_cv_define_MAP_ANON=nofirm -f conftest*  fiecho "$ac_t""$ac_cv_define_MAP_ANON" 1>&6  if test "$ac_cv_define_MAP_ANON" = "yes" ; then    cat >> confdefs.h <<\EOF#define HAVE_MAP_ANON 1EOF  fifor ac_func in mmap munmap shm_open shm_unlinkdoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1897: 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 1902 "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:1925: \"$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>&6fidoneac_safe=`echo "/dev/zero" | sed 'y%./+-%__p_%'`echo $ac_n "checking for /dev/zero""... $ac_c" 1>&6echo "configure:1952: checking for /dev/zero" >&5if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    if test -r /dev/zero; then    eval "ac_cv_file_$ac_safe=yes"  else    eval "ac_cv_file_$ac_safe=no"  fifiif eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6fifor ac_hdr in sys/ipc.h sys/shm.h sys/file.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1976: 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 1981 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1986: \"$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>&6fidonefor ac_func in shmget shmat shmdt shmctldoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2015: 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 2020 "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:2043: \"$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>&6fidonefor ac_hdr in kernel/OS.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:2071: 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 2076 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2081: \"$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>&6fidonefor ac_func in create_areadoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2110: 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 2115 "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:2138: \"$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>&6fidoneac_decision_item='shared memory allocation method'ac_decision_msg='FAILED'ac_decision=''ac_rc=yesfor ac_spec in header:sys/mman.h func:mmap func:munmap; do    ac_type=`echo "$ac_spec" | sed -e 's/:.*$//'`    ac_item=`echo "$ac_spec" | sed -e 's/^.*://'`    case $ac_type in        header )            ac_item=`echo "$ac_item" | sed 'y%./+-%__p_%'`            ac_var="ac_cv_header_$ac_item"            ;;        file )            ac_item=`echo "$ac_item" | sed 'y%./+-%__p_%'`            ac_var="ac_cv_file_$ac_item"            ;;        func )   ac_var="ac_cv_func_$ac_item"   ;;        define ) ac_var="ac_cv_define_$ac_item" ;;        custom ) ac_var="$ac_item" ;;    esac    eval "ac_val=\$$ac_var"    if test ".$ac_val" != .yes; then        ac_rc=no        break    fidoneif test ".$ac_rc" = .yes; then    :    ac_decision='MM_SHMT_MMFILE'ac_decision_msg='Classical mmap() on temporary file'ac_decision_MM_SHMT_MMFILE=yesac_decision_MM_SHMT_MMFILE_msg='Classical mmap() on temporary file'else    :    fiac_rc=yesfor ac_spec in header:sys/mman.h func:mmap func:munmap func:shm_open func:shm_unlink; do    ac_type=`echo "$ac_spec" | sed -e 's/:.*$//'`    ac_item=`echo "$ac_spec" | sed -e 's/^.*://'`    case $ac_type in        header )            ac_item=`echo "$ac_item" | sed 'y%./+-%__p_%'`            ac_var="ac_cv_header_$ac_item"            ;;        file )            ac_item=`echo "$ac_item" | sed 'y%./+-%__p_%'`            ac_var="ac_cv_file_$ac_item"            ;;        func )   ac_var="ac_cv_func_$ac_item"   

⌨️ 快捷键说明

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