📄 configure
字号:
echo "$ac_t""no" 1>&6 : USE_EXCEPTIONS= fi echo $ac_n "checking whether $CXX supports -frtti""... $ac_c" 1>&6echo "configure:1737: checking whether $CXX supports -frtti" >&5kde_cache=`echo frtti | sed 'y%.=/+-%___p_%'`if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else echo 'int main() { return 0; }' >conftest.ccif test -z "`$CXX -frtti -o conftest conftest.cc 2>&1`"; then eval "kde_cv_prog_cxx_$kde_cache=yes"else eval "kde_cv_prog_cxx_$kde_cache=no"firm -f conftest*fiif eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then echo "$ac_t""yes" 1>&6 : USE_RTTI="-frtti" else echo "$ac_t""no" 1>&6 : USE_RTTI= fi case "$host" in *-*-sysv4.2uw*) CXXFLAGS="$CXXFLAGS -D_UNIXWARE";; esac echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6echo "configure:1773: checking how to run the C++ preprocessor" >&5 if test -z "$CXXCPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else 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_crossac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' CXXCPP="${CXX-g++} -E" cat > conftest.$ac_ext <<EOF#line 1790 "configure"#include "confdefs.h"#include <stdlib.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1795: \"$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* CXXCPP=/lib/cppfirm -f conftest* ac_cv_prog_CXXCPP="$CXXCPP" ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_cross fi CXXCPP="$ac_cv_prog_CXXCPP" fi echo "$ac_t""$CXXCPP" 1>&6 # the following is to allow programs, that are known to # have problems when compiled with -O2 if test -n "$CXXFLAGS"; then kde_safe_IFS=$IFS IFS=" " NOOPT_CXXFLAGS="" for i in $CXXFLAGS; do if test ! "$i" = "-O2"; then NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS $i" fi done IFS=$kde_safe_IFS fi # Check whether --enable-final or --disable-final was given.if test "${enable_final+set}" = set; then enableval="$enable_final" kde_use_final=$enablevalelse kde_use_final=nofi if test "x$kde_use_final" = "xyes"; then KDE_USE_FINAL_TRUE="" KDE_USE_FINAL_FALSE="#" KDE_CHECK_REPO else KDE_USE_FINAL_TRUE="#" KDE_USE_FINAL_FALSE="" fi # Check whether --enable-closure or --disable-closure was given.if test "${enable_closure+set}" = set; then enableval="$enable_closure" kde_use_closure=$enablevalelse kde_use_closure=yesfi if test "x$kde_use_closure" = "xyes"; then KDE_USE_CLOSURE_TRUE="" KDE_USE_CLOSURE_FALSE="#" REPO="" NOREPO="" echo $ac_n "checking whether $CXX supports -frepo""... $ac_c" 1>&6echo "configure:1875: checking whether $CXX supports -frepo" >&5kde_cache=`echo frepo | sed 'y%.=/+-%___p_%'`if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else echo 'int main() { return 0; }' >conftest.ccif test -z "`$CXX -frepo -o conftest conftest.cc 2>&1`"; then eval "kde_cv_prog_cxx_$kde_cache=yes"else eval "kde_cv_prog_cxx_$kde_cache=no"firm -f conftest*fiif eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then echo "$ac_t""yes" 1>&6 : REPO="-frepo" NOREPO="-fno-repo" else echo "$ac_t""no" 1>&6 : fi if test -z "$REPO"; then echo $ac_n "checking whether $CXX supports -instances=explicit""... $ac_c" 1>&6echo "configure:1909: checking whether $CXX supports -instances=explicit" >&5kde_cache=`echo instances=explicit | sed 'y%.=/+-%___p_%'`if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else echo 'int main() { return 0; }' >conftest.ccif test -z "`$CXX -instances=explicit -o conftest conftest.cc 2>&1`"; then eval "kde_cv_prog_cxx_$kde_cache=yes"else eval "kde_cv_prog_cxx_$kde_cache=no"firm -f conftest*fiif eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then echo "$ac_t""yes" 1>&6 : REPO="-instances=explicit" NOREPO="-instances=extern" else echo "$ac_t""no" 1>&6 : fi fi if test -n "$REPO"; then cat >> confdefs.h <<EOF#define HAVE_TEMPLATE_REPOSITORY 1EOF fi # CXXFLAGS="$CXXFLAGS $REPO" else KDE_USE_CLOSURE_TRUE="#" KDE_USE_CLOSURE_FALSE="" fi KDE_CXXFLAGS= # Check whether --enable-shared or --disable-shared was given.if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default}case "$enableval" inyes) enable_shared=yes ;;no) enable_shared=no ;;*) enable_shared=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$ac_save_ifs" ;;esacelse enable_shared=yesfi# Check whether --enable-static or --disable-static was given.if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default}case "$enableval" inyes) enable_static=yes ;;no) enable_static=no ;;*) enable_static=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$ac_save_ifs" ;;esacelse enable_static=nofi# Check whether --enable-fast-install or --disable-fast-install was given.if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default}case "$enableval" inyes) enable_fast_install=yes ;;no) enable_fast_install=no ;;*) enable_fast_install=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$ac_save_ifs" ;;esacelse enable_fast_install=yesfi# Check whether --with-gnu-ld or --without-gnu-ld was given.if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yeselse with_gnu_ld=nofiac_prog=ldif test "$ac_cv_prog_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6echo "configure:2047: checking for ld used by GCC" >&5 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case "$ac_prog" in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esacelif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld""... $ac_c" 1>&6echo "configure:2077: checking for GNU ld" >&5else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6echo "configure:2080: checking for non-GNU ld" >&5fiif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ac_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs"else ac_cv_path_LD="$LD" # Let the user override the test with a path.fifiLD="$ac_cv_path_LD"if test -n "$LD"; then echo "$ac_t""$LD" 1>&6else echo "$ac_t""no" 1>&6fitest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6echo "configure:2115: checking if the linker ($LD) is GNU ld" >&5if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else # I'd rather use --version here, but apparently some GNU ld's only accept -v.if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then ac_cv_prog_gnu_ld=yeselse ac_cv_prog_gnu_ld=nofifiecho "$ac_t""$ac_cv_prog_gnu_ld" 1>&6with_gnu_ld=$ac_cv_prog_gnu_ldecho $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6echo "configure:2132: checking for $LD option to reload object files" >&5if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else lt_cv_ld_reload_flag='-r'fiecho "$ac_t""$lt_cv_ld_reload_flag" 1>&6reload_flag=$lt_cv_ld_reload_flagtest -n "$reload_flag" && reload_flag=" $reload_flag"echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6echo "configure:2144: checking for BSD-compatible nm" >&5if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test -n "$NM"; then # Let the user override the test. ac_cv_path_NM="$NM"else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH /usr/ccs/bin /usr/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -