📄 configure
字号:
echo "configure:836: checking whether build environment is sane" >&5# Just in casesleep 1echo timestamp > conftestfile# Do `set' in a subshell so we don't clobber the current shell's# arguments. Must try -L first in case configure is actually a# symlink; some systems play weird games with the mod time of symlinks# (eg FreeBSD returns the mod time of the symlink's containing# directory).if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { echo "configure: error: ls -t appears to fail. Make sure there is not a brokenalias in your environment" 1>&2; exit 1; } fi test "$2" = conftestfile )then # Ok. :else { echo "configure: error: newly created file is older than distributed files!Check your system clock" 1>&2; exit 1; }firm -f conftest*echo "$ac_t""yes" 1>&6if test "$program_transform_name" = s,x,x,; then program_transform_name=else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestseds,\\,\\\\,g; s,\$,$$,gEOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsedfitest "$program_prefix" != NONE && program_transform_name="s,^,${program_prefix},; $program_transform_name"# Use a double $ so make ignores it.test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"# sed with no file args requires a program.test "$program_transform_name" = "" && program_transform_name="s,x,x,"echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6echo "configure:893: checking whether ${MAKE-make} sets \${MAKE}" >&5set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftestmake <<\EOFall: @echo 'ac_maketemp="${MAKE}"'EOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yeselse eval ac_cv_prog_make_${ac_make}_set=nofirm -f conftestmakefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$ac_t""yes" 1>&6 SET_MAKE=else echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}"fiPACKAGE=libmikmodVERSION=$LIBMIKMOD_VERSIONif test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }ficat >> confdefs.h <<EOF#define PACKAGE "$PACKAGE"EOFcat >> confdefs.h <<EOF#define VERSION "$VERSION"EOFmissing_dir=`cd $ac_aux_dir && pwd`echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6echo "configure:939: checking for working aclocal-${am__api_version}" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf. Sigh.if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal-${am__api_version} echo "$ac_t""found" 1>&6else ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working autoconf""... $ac_c" 1>&6echo "configure:952: checking for working autoconf" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf. Sigh.if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf echo "$ac_t""found" 1>&6else AUTOCONF="$missing_dir/missing autoconf" echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6echo "configure:965: checking for working automake-${am__api_version}" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf. Sigh.if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-${am__api_version} echo "$ac_t""found" 1>&6else AUTOMAKE="$missing_dir/missing automake-${am__api_version}" echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working autoheader""... $ac_c" 1>&6echo "configure:978: checking for working autoheader" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf. Sigh.if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader echo "$ac_t""found" 1>&6else AUTOHEADER="$missing_dir/missing autoheader" echo "$ac_t""missing" 1>&6fiecho $ac_n "checking for working makeinfo""... $ac_c" 1>&6echo "configure:991: checking for working makeinfo" >&5# Run test in a subshell; some versions of sh will print an error if# an executable is not found, even if stderr is redirected.# Redirect stdin to placate older versions of autoconf. Sigh.if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo echo "$ac_t""found" 1>&6else MAKEINFO="$missing_dir/missing makeinfo" echo "$ac_t""missing" 1>&6fiecho $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6echo "configure:1008: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" USE_MAINTAINER_MODE=$enablevalelse USE_MAINTAINER_MODE=nofi echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#'else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE=fi MAINT=$MAINTAINER_MODE_TRUE # ==============================================================# libmikmod specific control variables and their default values.# ==============================================================libmikmod_driver_af=yeslibmikmod_driver_aix=nolibmikmod_driver_alsa=yeslibmikmod_driver_esd=yeslibmikmod_driver_hp=nolibmikmod_driver_oss=yeslibmikmod_driver_sam9407=yeslibmikmod_driver_sgi=nolibmikmod_driver_sun=nolibmikmod_driver_osx=yeslibmikmod_driver_mac=nolibmikmod_driver_ultra=yeslibmikmod_driverlist=libmikmod_dynload=yeslibmikmod_dynload_underscores=nolibmikmod_debug=nolibmikmod_threads=yesDLOBJS=""# =========================# Configure script options.# =========================# Check whether --enable-af or --disable-af was given.if test "${enable_af+set}" = set; then enableval="$enable_af" if test "$enableval" = "yes"then libmikmod_driver_af=yeselse libmikmod_driver_af=nofifi# Check whether --enable-alsa or --disable-alsa was given.if test "${enable_alsa+set}" = set; then enableval="$enable_alsa" if test "$enableval" = "yes"then libmikmod_driver_alsa=yeselse libmikmod_driver_alsa=nofifi# Check whether --enable-esd or --disable-esd was given.if test "${enable_esd+set}" = set; then enableval="$enable_esd" if test "$enableval" = "yes"then libmikmod_driver_esd=yeselse libmikmod_driver_esd=nofifi# Check whether --enable-oss or --disable-oss was given.if test "${enable_oss+set}" = set; then enableval="$enable_oss" if test "$enableval" = "yes"then libmikmod_driver_oss=yeselse libmikmod_driver_oss=nofifi# Check whether --enable-osx or --disable-osx was given.if test "${enable_osx+set}" = set; then enableval="$enable_osx" if test "$enableval" = "yes"then libmikmod_driver_osx=yeselse libmikmod_driver_osx=nofifi# Check whether --enable-mac or --disable-mac was given.if test "${enable_mac+set}" = set; then enableval="$enable_mac" if test "$enableval" = "yes"then libmikmod_driver_mac=yeselse libmikmod_driver_mac=nofifi# Check whether --enable-sam9407 or --disable-sam9407 was given.if test "${enable_sam9407+set}" = set; then enableval="$enable_sam9407" if test "$enableval" = "yes"then libmikmod_driver_sam9407=yeselse libmikmod_driver_sam9407=nofifi# Check whether --enable-ultra or --disable-ultra was given.if test "${enable_ultra+set}" = set; then enableval="$enable_ultra" if test "$enableval" = "yes"then libmikmod_driver_ultra=yeselse libmikmod_driver_ultra=nofifi# Check whether --enable-dl or --disable-dl was given.if test "${enable_dl+set}" = set; then enableval="$enable_dl" if test "$enableval" = "yes"then libmikmod_dynload=yeselse libmikmod_dynload=nofifi# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then enableval="$enable_debug" if test "$enableval" = "yes"then libmikmod_debug=yeselse libmikmod_debug=nofifi# Check whether --enable-threads or --disable-threads was given.if test "${enable_threads+set}" = set; then enableval="$enable_threads" if test "$enableval" = "yes"then libmikmod_threads=yeselse libmikmod_threads=nofifi# ===================# Check for programs.# ===================# Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1201: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # 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_CC="gcc" break fi done IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then echo "$ac_t""$CC" 1>&6else echo "$ac_t""no" 1>&6fiif 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1231: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" break fi done IFS="$ac_save_ifs"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -