📄 configure
字号:
esac if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then LDFLAGS="" fi if test "$kde_use_profiling" = "yes"; then echo $ac_n "checking whether $CXX supports -pg""... $ac_c" 1>&6echo "configure:1280: checking whether $CXX supports -pg" >&5kde_cache=`echo pg | sed 'y% .=/+-%____p_%'`if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+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' save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -pg" cat > conftest.$ac_ext <<EOF#line 1302 "configure"#include "confdefs.h"int main() { return 0; ; return 0; }EOFif { (eval echo configure:1309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "kde_cv_prog_cxx_$kde_cache=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5firm -f conftest* CXXFLAGS="$save_CXXFLAGS" 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_crossfiif eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then echo "$ac_t""yes" 1>&6 : CFLAGS="-pg $CFLAGS" else echo "$ac_t""no" 1>&6 : fi fi USE_EXCEPTIONS= USE_RTTI= echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1348: 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 1363 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1369: \"$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 1380 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1386: \"$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 1397 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1403: \"$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 # the following is to allow programs, that are known to # have problems when compiled with -O2 if test -n "$CFLAGS"; then kde_safe_IFS=$IFS IFS=" " NOOPT_CFLAGS="" for i in $CFLAGS; do case $i in -O*) ;; *) NOOPT_CFLAGS="$NOOPT_CFLAGS $i" ;; esac 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 REPO="" NOREPO="" echo $ac_n "checking whether $CXX supports -frepo""... $ac_c" 1>&6echo "configure:1464: 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 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' save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -frepo" cat > conftest.$ac_ext <<EOF#line 1484 "configure"#include "confdefs.h"int main() { return 0; ; return 0; }EOFif { (eval echo configure:1491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "kde_cv_prog_cxx_$kde_cache=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5firm -f conftest* CXXFLAGS="$save_CXXFLAGS" 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_crossfiif 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:1527: 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 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' save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -instances=explicit" cat > conftest.$ac_ext <<EOF#line 1547 "configure"#include "confdefs.h"int main() { return 0; ; return 0; }EOFif { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "kde_cv_prog_cxx_$kde_cache=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5firm -f conftest* CXXFLAGS="$save_CXXFLAGS" 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_crossfiif 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 if test "x$kde_use_final" = "xyes"; then KDE_USE_FINAL_TRUE="" KDE_USE_FINAL_FALSE="#" 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="#"# 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -