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

📄 configure

📁 3Ds 桌子 可以用软件调用
💻
📖 第 1 页 / 共 5 页
字号:
#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gxx=yeselse  ac_cv_prog_gxx=nofifiecho "$ac_t""$ac_cv_prog_gxx" 1>&6if test $ac_cv_prog_gxx = yes; then  GXX=yeselse  GXX=fiac_test_CXXFLAGS="${CXXFLAGS+set}"ac_save_CXXFLAGS="$CXXFLAGS"CXXFLAGS=echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6echo "configure:1653: checking whether ${CXX-g++} accepts -g" >&5if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  echo 'void f(){}' > conftest.ccif test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then  ac_cv_prog_cxx_g=yeselse  ac_cv_prog_cxx_g=nofirm -f conftest*fiecho "$ac_t""$ac_cv_prog_cxx_g" 1>&6if test "$ac_test_CXXFLAGS" = set; then  CXXFLAGS="$ac_save_CXXFLAGS"elif test $ac_cv_prog_cxx_g = yes; then  if test "$GXX" = yes; then    CXXFLAGS="-g -O2"  else    CXXFLAGS="-g"  fielse  if test "$GXX" = yes; then    CXXFLAGS="-O2"  else    CXXFLAGS=  fifi# Check whether --with-lib3ds-prefix or --without-lib3ds-prefix was given.if test "${with_lib3ds_prefix+set}" = set; then  withval="$with_lib3ds_prefix"  lib3ds_config_prefix="$withval"else  lib3ds_config_prefix=""fi# Check whether --with-lib3ds-exec-prefix or --without-lib3ds-exec-prefix was given.if test "${with_lib3ds_exec_prefix+set}" = set; then  withval="$with_lib3ds_exec_prefix"  lib3ds_config_exec_prefix="$withval"else  lib3ds_config_exec_prefix=""fi  if test x$lib3ds_config_exec_prefix != x ; then     lib3ds_config_args="$lib3ds_config_args --exec-prefix=$lib3ds_config_exec_prefix"     if test x${LIB3DS_CONFIG+set} != xset ; then        LIB3DS_CONFIG=$lib3ds_config_exec_prefix/bin/lib3ds-config     fi  fi  if test x$lib3ds_config_prefix != x ; then     lib3ds_config_args="$lib3ds_config_args --prefix=$lib3ds_config_prefix"     if test x${LIB3DS_CONFIG+set} != xset ; then        LIB3DS_CONFIG=$lib3ds_config_prefix/bin/lib3ds-config     fi  fi  # Extract the first word of "lib3ds-config", so it can be a program name with args.set dummy lib3ds-config; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1719: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_LIB3DS_CONFIG'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$LIB3DS_CONFIG" in  /*)  ac_cv_path_LIB3DS_CONFIG="$LIB3DS_CONFIG" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_LIB3DS_CONFIG="$LIB3DS_CONFIG" # Let the user override the test with a dos path.  ;;  *)  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_path_LIB3DS_CONFIG="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  test -z "$ac_cv_path_LIB3DS_CONFIG" && ac_cv_path_LIB3DS_CONFIG="no"  ;;esacfiLIB3DS_CONFIG="$ac_cv_path_LIB3DS_CONFIG"if test -n "$LIB3DS_CONFIG"; then  echo "$ac_t""$LIB3DS_CONFIG" 1>&6else  echo "$ac_t""no" 1>&6fi  lib3ds_version_min=1.0.0  echo $ac_n "checking for Lib3ds - version >= $lib3ds_version_min""... $ac_c" 1>&6echo "configure:1755: checking for Lib3ds - version >= $lib3ds_version_min" >&5  no_lib3ds=""  if test "$LIB3DS_CONFIG" = "no" ; then    no_lib3ds=yes  else    LIB3DS_CFLAGS=`$LIB3DS_CONFIG --cflags`    LIB3DS_LIBS=`$LIB3DS_CONFIG --libs`    lib3ds_version=`$LIB3DS_CONFIG --version`    lib3ds_major_version=`echo $lib3ds_version | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`    lib3ds_minor_version=`echo $lib3ds_version | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`    lib3ds_micro_version=`echo $lib3ds_version | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`    lib3ds_major_min=`echo $lib3ds_version_min | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`    lib3ds_minor_min=`echo $lib3ds_version_min | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`    lib3ds_micro_min=`echo $lib3ds_version_min | \           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`    lib3ds_version_proper=`expr \        $lib3ds_major_version \> $lib3ds_major_min \| \        $lib3ds_major_version \= $lib3ds_major_min \& \        $lib3ds_minor_version \> $lib3ds_minor_min \| \        $lib3ds_major_version \= $lib3ds_major_min \& \        $lib3ds_minor_version \= $lib3ds_minor_min \& \        $lib3ds_micro_version \>= $lib3ds_micro_min `    if test "$lib3ds_version_proper" = "1" ; then      echo "$ac_t""$lib3ds_major_version.$lib3ds_minor_version.$lib3ds_micro_version" 1>&6    else      echo "$ac_t""no" 1>&6      no_lib3ds=yes    fi  fi  if test "x$no_lib3ds" = x ; then     :       else     LIB3DS_CFLAGS=""     LIB3DS_LIBS=""     { echo "configure: error: Cannot find proper Lib3ds version" 1>&2; exit 1; }  fi    echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1806: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1821 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1827: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 1838 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1844: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1855 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1861: \"$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  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6# If we find X, set shell vars x_includes and x_libraries to the# paths, otherwise set no_x=yes.# Uses ac_ vars as temps to allow command line to override cache and checks.# --without-x overrides everything else, but does not touch the cache.echo $ac_n "checking for X""... $ac_c" 1>&6echo "configure:1890: checking for X" >&5# Check whether --with-x or --without-x was given.if test "${with_x+set}" = set; then  withval="$with_x"  :fi# $have_x is `yes', `no', `disabled', or empty when we do not yet know.if test "x$with_x" = xno; then  # The user explicitly disabled X.  have_x=disabledelse  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then    # Both variables are already set.    have_x=yes  elseif eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  # One or both of the vars are not set, and there is no cached value.ac_x_includes=NO ac_x_libraries=NOrm -fr conftestdirif mkdir conftestdir; then  cd conftestdir  # Make sure to not put "make" in the Imakefile rules, since we grep it out.  cat > Imakefile <<'EOF'acfindx:	@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'EOF  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.    for ac_extension in a so sl; do      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&        test -f $ac_im_libdir/libX11.$ac_extension; then        ac_im_usrlibdir=$ac_im_libdir; break      fi    done    # Screen out bogus values from the imake configuration.  They are    # bogus both because they are the default anyway, and because    # using them would break gcc on systems where it needs fixed includes.    case "$ac_im_incroot" in	/usr/include) ;;	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;    esac    case "$ac_im_usrlibdir" in	/usr/lib | /lib) ;;	*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;    esac  fi  cd ..  rm -fr conftestdirfiif test "$ac_x_includes" = NO; then  # Guess where to find include files, by looking for this one X11 .h file.  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h  # First, try using that file with no special directory specified.cat > conftest.$ac_ext <<EOF#line 1952 "configure"#include "confdefs.h"#include <$x_direct_test_include>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1957: \"$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*  # We can compile using X headers with no special include directory.ac_x_includes=else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  # Look for the header file in a standard set of common directories.# Check X11 before X11Rn because it is often a symlink to the current release.  for ac_dir in               \    /usr/X11/include          \    /usr/X11R6/include        \    /usr/X11R5/include        \    /usr/X11R4/include        \                              \    /usr/include/X11          \    /usr/include/X11R6        \    /usr/include/X11R5        \    /usr/include/X11R4        \                              \    /usr/local/X11/include    \    /usr/local/X11R6/include  \    /usr/local/X11R5/include  \    /usr/local/X11R4/include  \                              \    /usr/local/include/X11    \    /usr/local/include/X11R6  \    /usr/local/include/X11R5  \    /usr/local/include/X11R4  \                              \    /usr/X386/include         \    /usr/x386/include         \    /usr/XFree86/include/X11  \                              \    /usr/include              \    /usr/local/include        \    /usr/unsupported/include  \    /usr/athena/include       \    /usr/local/x11r5/include  \    /usr/lpp/Xamples/include  \                              \    /usr/openwin/include      \    /usr/openwin/share/include \    ; \  do    if test -r "$ac_dir/$x_direct_test_include"; then      ac_x_includes=$ac_dir      break    fi  donefirm -f conftest*fi # $ac_x_includes = NOif test "$ac_x_libraries" = NO; then  # Check for the libraries.  test -z "$x_direct_test_library" && x_direct_test_library=Xt  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc  # See if we find them without any special options.  # Don't add to $LIBS permanently.  ac_save_LIBS="$LIBS"  LIBS="-l$x_direct_test_library $LIBS"cat > conftest.$ac_ext <<EOF#line 2026 "configure"#include "confdefs.h"int main() {${x_direct_test_function}(); return 0; }EOFif { (eval echo configure:2033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  r

⌨️ 快捷键说明

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