📄 configure
字号:
# This file is generated from configure.in by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux.# The Linux kernel headers can be found in# /lib/modules/$(uname -r)/build/include# Check whether this directory is available.if test -z "$sysheaders" && test "x$cross_compiling" = xno && test -d /lib/modules/`uname -r`/build/include; then sysheaders="/lib/modules/`uname -r`/build/include" ccheaders=`$CC -print-file-name=include` SYSINCLUDES="-I $sysheaders"fi# Don't bother trying to generate any glue code to be compatible with the# existing system library, because we are the only system library.inhibit_glue=yesif test -n "$sysheaders"; then OLD_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $SYSINCLUDES"fi{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else # Extract the first word of "grep ggrep" to use in msg outputif test -z "$GREP"; thenset dummy grep ggrep; ac_prog_name=$2if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_path_GREP_found=false# Loop through the user's path and test for each of PROGNAME-LISTas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bindo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREPcase `"$ac_path_GREP" --version 2>&1` in*GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;*) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;;esac $ac_path_GREP_found && break 3 donedonedoneIFS=$as_save_IFSfiGREP="$ac_cv_path_GREP"if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; }fielse ac_cv_path_GREP=$GREPfifi{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5echo "${ECHO_T}$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP"{ echo "$as_me:$LINENO: checking for egrep" >&5echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else # Extract the first word of "egrep" to use in msg outputif test -z "$EGREP"; thenset dummy egrep; ac_prog_name=$2if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_path_EGREP_found=false# Loop through the user's path and test for each of PROGNAME-LISTas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bindo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREPcase `"$ac_path_EGREP" --version 2>&1` in*GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;*) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;;esac $ac_path_EGREP_found && break 3 donedonedoneIFS=$as_save_IFSfiEGREP="$ac_cv_path_EGREP"if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; }fielse ac_cv_path_EGREP=$EGREPfi fifi{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP"{ echo "$as_me:$LINENO: checking installed Linux kernel header files" >&5echo $ECHO_N "checking installed Linux kernel header files... $ECHO_C" >&6; }if test "${libc_cv_linux2010+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF/* confdefs.h. */_ACEOFcat confdefs.h >>conftest.$ac_extcat >>conftest.$ac_ext <<_ACEOF/* end confdefs.h. */#include <linux/version.h>#if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < (2 *65536+ 0 *256+ 10) /* 2.0.10 */eat flaming death#endif_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "eat flaming death" >/dev/null 2>&1; then libc_cv_linux2010='TOO OLD!'else libc_cv_linux2010='2.0.10 or later'firm -f conftest*fi{ echo "$as_me:$LINENO: result: $libc_cv_linux2010" >&5echo "${ECHO_T}$libc_cv_linux2010" >&6; }if test "$libc_cv_linux2010" != '2.0.10 or later'; then { { echo "$as_me:$LINENO: error: GNU libc requires kernel header files fromLinux 2.0.10 or later to be installed before configuring.The kernel header files are found usually in /usr/include/asm and/usr/include/linux; make sure these directories use files fromLinux 2.0.10 or later. This check uses <linux/version.h>, somake sure that file was built correctly when installing the kernel headerfiles. To use kernel headers not from /usr/include/linux, use theconfigure option --with-headers." >&5echo "$as_me: error: GNU libc requires kernel header files fromLinux 2.0.10 or later to be installed before configuring.The kernel header files are found usually in /usr/include/asm and/usr/include/linux; make sure these directories use files fromLinux 2.0.10 or later. This check uses <linux/version.h>, somake sure that file was built correctly when installing the kernel headerfiles. To use kernel headers not from /usr/include/linux, use theconfigure option --with-headers." >&2;} { (exit 1); exit 1; }; }fi# If the user gave a minimal version number test whether the available# kernel headers are young enough. Additionally we have minimal# kernel versions for some architectures. If a previous configure fragment# set arch_minimum_kernel already, let that override our defaults here.# Note that we presume such a fragment has set libc_cv_gcc_unwind_find_fde# if appropriate too.test -n "$arch_minimum_kernel" ||case "$machine" in alpha*) arch_minimum_kernel=2.1.100 libc_cv_gcc_unwind_find_fde=yes ;; arm*) arch_minimum_kernel=2.0.10 libc_cv_gcc_unwind_find_fde=yes ;; i386*) libc_cv_gcc_unwind_find_fde=yes arch_minimum_kernel=2.0.10 ;; ia64*) arch_minimum_kernel=2.4.0 ;; hppa*) libc_cv_gcc_unwind_find_fde=yes
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -