📄 configure
字号:
rm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-lz $LIBS"else echo "$ac_t""no" 1>&6fiecho $ac_n "checking for png_info_init in -lpng""... $ac_c" 1>&6echo "configure:1673: checking for png_info_init in -lpng" >&5ac_lib_var=`echo png'_'png_info_init | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-lpng $LIBS $LIBS"cat > conftest.$ac_ext <<EOF#line 1681 "configure"#include "confdefs.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 png_info_init();int main() {png_info_init(); return 0; }EOFif { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo png | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-lpng $LIBS"else echo "$ac_t""no" 1>&6fiif test "$ac_cv_lib_png_png_info_init" = "no"; then echo "configure: warning: PNG library not found. Building without PNG support." 1>&2fiif test "$ac_cv_lib_z_deflate" = "no"; then echo "configure: warning: ZLIB library is missing. You will need it for PNG support." 1>&2fiif test "$ac_cv_lib_png_png_info_init" = "yes" && test "$ac_cv_lib_z_deflate" = "yes"; then cat >> confdefs.h <<\EOF#define HAVE_PNG 1EOFfiif test "$prefix" = "NONE"; then MODULEDIR=/usr/local/lib/$LIBFBX_LIBRARY_NAME/modules IMAGEDIR=/usr/local/share/$LIBFBX_LIBRARY_NAME/imageselse MODULEDIR=$prefix/lib/$LIBFBX_LIBRARY_NAME/modules IMAGEDIR=$prefix/share/$LIBFBX_LIBRARY_NAME/imagesfi# Check whether --with-moduledir or --without-moduledir was given.if test "${with_moduledir+set}" = set; then withval="$with_moduledir" MODULEDIR=$withvalficat >> confdefs.h <<EOF#define MODULEDIR "${MODULEDIR}"EOFcat >> confdefs.h <<EOF#define IMAGEDIR "${IMAGEDIR}"EOFcase "$target" in i3-686-*) cat >> confdefs.h <<\EOF#define __i386__ 1EOF ;; esacecho $ac_n "checking for main in -lc""... $ac_c" 1>&6echo "configure:1773: checking for main in -lc" >&5ac_lib_var=`echo c'_'main | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-lc $LIBS"cat > conftest.$ac_ext <<EOF#line 1781 "configure"#include "confdefs.h"int main() {main(); return 0; }EOFif { (eval echo configure:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo c | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-lc $LIBS"else echo "$ac_t""no" 1>&6fiecho $ac_n "checking for main in -lm""... $ac_c" 1>&6echo "configure:1816: checking for main in -lm" >&5ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else ac_save_LIBS="$LIBS"LIBS="-lm $LIBS"cat > conftest.$ac_ext <<EOF#line 1824 "configure"#include "confdefs.h"int main() {main(); return 0; }EOFif { (eval echo configure:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <<EOF#define $ac_tr_lib 1EOF LIBS="-lm $LIBS"else echo "$ac_t""no" 1>&6fi# Check whether --with-LIBTIMER-prefix or --without-LIBTIMER-prefix was given.if test "${with_LIBTIMER_prefix+set}" = set; then withval="$with_LIBTIMER_prefix" libtimer_config_prefix="$withval"else libtimer_config_prefix=""fi# Check whether --with-libtimer-exec-prefix or --without-libtimer-exec-prefix was given.if test "${with_libtimer_exec_prefix+set}" = set; then withval="$with_libtimer_exec_prefix" libtimer_config_exec_prefix="$withval"else libtimer_config_exec_prefix=""fi# Check whether --enable-libtimertest or --disable-libtimertest was given.if test "${enable_libtimertest+set}" = set; then enableval="$enable_libtimertest" :else enable_libtimertest=yesfi if test x$libtimer_config_exec_prefix != x ; then libtimer_config_args="$libtimer_config_args --exec-prefix=$libtimer_config_exec_prefix" if test x${LIBTIMER_CONFIG+set} != xset ; then LIBTIMER_CONFIG=$libtimer_config_exec_prefix/bin/libtimer-config fi fi if test x$libtimer_config_prefix != x ; then libtimer_config_args="$libtimer_config_args --prefix=$libtimer_config_prefix" if test x${LIBTIMER_CONFIG+set} != xset ; then LIBTIMER_CONFIG=$libtimer_config_prefix/bin/libtimer-config fi fi # Extract the first word of "libtimer-config", so it can be a program name with args.set dummy libtimer-config; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1900: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_LIBTIMER_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else case "$LIBTIMER_CONFIG" in /*) ac_cv_path_LIBTIMER_CONFIG="$LIBTIMER_CONFIG" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_LIBTIMER_CONFIG="$LIBTIMER_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_LIBTIMER_CONFIG="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_LIBTIMER_CONFIG" && ac_cv_path_LIBTIMER_CONFIG="no" ;;esacfiLIBTIMER_CONFIG="$ac_cv_path_LIBTIMER_CONFIG"if test -n "$LIBTIMER_CONFIG"; then echo "$ac_t""$LIBTIMER_CONFIG" 1>&6else echo "$ac_t""no" 1>&6fi min_libtimer_version=0.1.0 echo $ac_n "checking for libtimer - version >= $min_libtimer_version""... $ac_c" 1>&6echo "configure:1936: checking for libtimer - version >= $min_libtimer_version" >&5 no_libtimer="" if test "$LIBTIMER_CONFIG" = "no" ; then no_libtimer=yes echo "$ac_t""no" 1>&6 else ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_cross LIBTIMER_CFLAGS=`$LIBTIMER_CONFIG $libtimer_config_args --cflags` LIBTIMER_LIBS=`$LIBTIMER_CONFIG $libtimer_config_args --libs` libtimer_config_major_version=`$LIBTIMER_CONFIG $libtimer_config_args --version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` libtimer_config_minor_version=`$LIBTIMER_CONFIG $libtimer_config_args --version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` libtimer_config_micro_version=`$LIBTIMER_CONFIG $libtimer_config_args --version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` echo "$ac_t""yes" 1>&6 fi # Check whether --with-LIBKBD-prefix or --without-LIBKBD-prefix was given.if test "${with_LIBKBD_prefix+set}" = set; then withval="$with_LIBKBD_prefix" libkbd_config_prefix="$withval"else libkbd_config_prefix=""fi# Check whether --with-libkbd-exec-prefix or --without-libkbd-exec-prefix was given.if test "${with_libkbd_exec_prefix+set}" = set; then withval="$with_libkbd_exec_prefix" libkbd_config_exec_prefix="$withval"else libkbd_config_exec_prefix=""fi# Check whether --enable-libkbdtest or --disable-libkbdtest was given.if test "${enable_libkbdtest+set}" = set; then enableval="$enable_libkbdtest" :else enable_libkbdtest=yesfi if test x$libkbd_config_exec_prefix != x ; then libkbd_config_args="$libkbd_config_args --exec-prefix=$libkbd_config_exec_prefix" if test x${LIBKBD_CONFIG+set} != xset ; then LIBKBD_CONFIG=$libkbd_config_exec_prefix/bin/libkbd-config fi fi if test x$libkbd_config_prefix != x ; then libkbd_config_args="$libkbd_config_args --prefix=$libkbd_config_prefix" if test x${LIBKBD_CONFIG+set} != xset ; then LIBKBD_CONFIG=$libkbd_config_prefix/bin/libkbd-config fi fi # Extract the first word of "libkbd-config", so it can be a program name with args.set dummy libkbd-config; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:2005: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_LIBKBD_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else case "$LIBKBD_CONFIG" in /*) ac_cv_path_LIBKBD_CONFIG="$LIBKBD_CONFIG" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_LIBKBD_CONFIG="$LIBKBD_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_LIBKBD_CONFIG="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_LIBKBD_CONFIG" && ac_cv_path_LIBKBD_CONFIG="no" ;;esacfiLIBKBD_CONFIG="$ac_cv_path_LIBKBD_CONFIG"if test -n "$LIBKBD_CONFIG"; then echo "$ac_t""$LIBKBD_CONFIG" 1>&6else echo "$ac_t""no" 1>&6fi min_libkbd_version=0.1.0 echo $ac_n "checking for libkbd - version >= $min_libkbd_version""... $ac_c" 1>&6echo "configure:2041: checking for libkbd - version >= $min_libkbd_version" >&5 no_libkbd="" if test "$LIBKBD_CONFIG" = "no" ; then no_libkbd=yes echo "$ac_t""no" 1>&6 else ac_ext=C# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CXXCPP $CPPFLAGS'ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cxx_cross LIBKBD_CFLAGS=`$LIBKBD_CONFIG $libkbd_config_args --cflags` LIBKBD_LIBS=`$LIBKBD_CONFIG $libkbd_config_args --libs` libkbd_config_major_version=`$LIBKBD_CONFIG $libkbd_config_args --version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` libkbd_config_minor_version=`$LIBKBD_CONFIG $libkbd_config_args --version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` libkbd_config_micro_version=`$LIBKBD_CONFIG $libkbd_config_args --version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -