📄 configure
字号:
# Define the identity of the package.PACKAGE=lidsVERSION=1.1.1r2-2.4.18cat >>confdefs.h <<EOF#define PACKAGE "$PACKAGE"EOFcat >>confdefs.h <<EOF#define VERSION "$VERSION"EOF# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow# the ones we care about.# Autoconf 2.50 always computes EXEEXT. However we need to be# compatible with 2.13, for now. So we always define EXEEXT, but we# don't compute it.# Similar for OBJEXT -- only we only use OBJEXT if the user actually# requests that it be used. This is a bit dumb.: ${OBJEXT=o}# Some tools Automake needs.ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}AMTAR=${AMTAR-"${am_missing_run}tar"}install_sh=${install_sh-"$am_aux_dir/install-sh"}INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"# We need awk for the "check" target. The system "awk" is bad on# some platforms.KERNEL_VERSION=2.4.18LIDS_VERSION=1.1.1r2PATCH_FILE=lids-$VERSION.patch ac_config_headers="$ac_config_headers config.h"cat >>confdefs.h <<EOF#define KERNEL_VERSION "$KERNEL_VERSION"EOFsbindir=/sbin# Check whether --enable-view or --disable-view was given.if test "${enable_view+set}" = set; then enableval="$enable_view" if test $enableval = no; then cat >>confdefs.h <<\EOF#define NOVIEW 1EOF fifi;# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then enableval="$enable_debug" if test $enableval = yes; then cat >>confdefs.h <<\EOF#define DEBUG 1EOF fifi;CHKVERSIONS=yes# Check whether --enable-versions-checks or --disable-versions-checks was given.if test "${enable_versions_checks+set}" = set; then enableval="$enable_versions_checks" CHKVERSIONS=$enablevalfi;# Checks for programs.ac_ext=cac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuif test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2echo "$as_me:1348: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_CC="${ac_tool_prefix}gcc"echo "$as_me:1363: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1371: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1374: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo "$as_me:1383: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_CC="gcc"echo "$as_me:1398: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:1406: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:1409: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.set dummy ${ac_tool_prefix}cc; ac_word=$2echo "$as_me:1422: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_CC="${ac_tool_prefix}cc"echo "$as_me:1437: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1445: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1448: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:1457: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_CC="cc"echo "$as_me:1472: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:1480: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:1483: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fifiif test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:1496: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_prog_rejected=no ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continuefiac_cv_prog_CC="cc"echo "$as_me:1516: found $ac_dir/$ac_word" >&5breakdoneif test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift set dummy "$ac_dir/$ac_word" ${1+"$@"} shift ac_cv_prog_CC="$@" fifififiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1538: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1541: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.set dummy $ac_tool_prefix$ac_prog; ac_word=$2echo "$as_me:1552: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_CC="$ac_tool_prefix$ac_prog"echo "$as_me:1567: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:1575: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:1578: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$CC" && break donefiif test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cldo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:1591: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_CC="$ac_prog"echo "$as_me:1606: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:1614: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:1617: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$ac_ct_CC" && breakdone CC=$ac_ct_CCfifitest -z "$CC" && { { echo "$as_me:1629: error: no acceptable cc found in \$PATH" >&5echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; }# Provide some information about the compiler.echo "$as_me:1634:" \ "checking for C compiler version" >&5ac_compiler=`set X $ac_compile; echo $2`{ (eval echo "$as_me:1637: \"$ac_compiler --version </dev/null >&5\"") >&5 (eval $ac_compiler --version </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1640: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:1642: \"$ac_compiler -v </dev/null >&5\"") >&5 (eval $ac_compiler -v </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1645: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:1647: \"$ac_compiler -V </dev/null >&5\"") >&5 (eval $ac_compiler -V </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:1650: \$? = $ac_status" >&5 (exit $ac_status); }cat >conftest.$ac_ext <<_ACEOF#line 1654 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files a.out a.exe"# Try to create an executable without -o first, disregard a.out.# It will help us diagnose broken compilers, and finding out an intuition# of exeext.echo "$as_me:1670: checking for C compiler default output" >&5echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -