Changeset 12769
- Timestamp:
- 01/25/12 18:06:23 (13 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r12768 r12769 4796 4796 fi 4797 4797 4798 if test "$ax_cv_cxx_compile_cxx0x_cxx" != yes; then 4799 as_fn_error $? "C++0x standard (-std=c++0x) not supported by compiler." "$LINENO" 5 4800 fi 4801 4802 CXXFLAGS+=" -std=c++0x" 4798 if test "$ax_cv_cxx_compile_cxx0x_cxx" != yes; then : 4799 as_fn_error $? "C++0x standard (-std=c++0x) not supported by compiler." "$LINENO" 5 4800 fi 4801 4802 # Postponed after the BOOST library tests otherwise the check for boost::thread fails 4803 #CXXFLAGS+=" -std=c++0x" 4803 4804 4804 4805 ###################################################################### … … 5356 5357 lt_cv_nm_interface="BSD nm" 5357 5358 echo "int some_variable = 0;" > conftest.$ac_ext 5358 (eval echo "\"\$as_me:535 8: $ac_compile\"" >&5)5359 (eval echo "\"\$as_me:5359: $ac_compile\"" >&5) 5359 5360 (eval "$ac_compile" 2>conftest.err) 5360 5361 cat conftest.err >&5 5361 (eval echo "\"\$as_me:536 1: $NM \\\"conftest.$ac_objext\\\"\"" >&5)5362 (eval echo "\"\$as_me:5362: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5362 5363 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5363 5364 cat conftest.err >&5 5364 (eval echo "\"\$as_me:536 4: output\"" >&5)5365 (eval echo "\"\$as_me:5365: output\"" >&5) 5365 5366 cat conftest.out >&5 5366 5367 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 6567 6568 *-*-irix6*) 6568 6569 # Find out which ABI we are using. 6569 echo '#line 65 69"configure"' > conftest.$ac_ext6570 echo '#line 6570 "configure"' > conftest.$ac_ext 6570 6571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6571 6572 (eval $ac_compile) 2>&5 … … 8227 8228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8228 8229 -e 's:$: $lt_compiler_flag:'` 8229 (eval echo "\"\$as_me:82 29: $lt_compile\"" >&5)8230 (eval echo "\"\$as_me:8230: $lt_compile\"" >&5) 8230 8231 (eval "$lt_compile" 2>conftest.err) 8231 8232 ac_status=$? 8232 8233 cat conftest.err >&5 8233 echo "$as_me:823 3: \$? = $ac_status" >&58234 echo "$as_me:8234: \$? = $ac_status" >&5 8234 8235 if (exit $ac_status) && test -s "$ac_outfile"; then 8235 8236 # The compiler can only warn and ignore the option if not recognized … … 8566 8567 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8567 8568 -e 's:$: $lt_compiler_flag:'` 8568 (eval echo "\"\$as_me:856 8: $lt_compile\"" >&5)8569 (eval echo "\"\$as_me:8569: $lt_compile\"" >&5) 8569 8570 (eval "$lt_compile" 2>conftest.err) 8570 8571 ac_status=$? 8571 8572 cat conftest.err >&5 8572 echo "$as_me:857 2: \$? = $ac_status" >&58573 echo "$as_me:8573: \$? = $ac_status" >&5 8573 8574 if (exit $ac_status) && test -s "$ac_outfile"; then 8574 8575 # The compiler can only warn and ignore the option if not recognized … … 8671 8672 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8672 8673 -e 's:$: $lt_compiler_flag:'` 8673 (eval echo "\"\$as_me:867 3: $lt_compile\"" >&5)8674 (eval echo "\"\$as_me:8674: $lt_compile\"" >&5) 8674 8675 (eval "$lt_compile" 2>out/conftest.err) 8675 8676 ac_status=$? 8676 8677 cat out/conftest.err >&5 8677 echo "$as_me:867 7: \$? = $ac_status" >&58678 echo "$as_me:8678: \$? = $ac_status" >&5 8678 8679 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8679 8680 then … … 8726 8727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8727 8728 -e 's:$: $lt_compiler_flag:'` 8728 (eval echo "\"\$as_me:872 8: $lt_compile\"" >&5)8729 (eval echo "\"\$as_me:8729: $lt_compile\"" >&5) 8729 8730 (eval "$lt_compile" 2>out/conftest.err) 8730 8731 ac_status=$? 8731 8732 cat out/conftest.err >&5 8732 echo "$as_me:873 2: \$? = $ac_status" >&58733 echo "$as_me:8733: \$? = $ac_status" >&5 8733 8734 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8734 8735 then … … 11110 11111 lt_status=$lt_dlunknown 11111 11112 cat > conftest.$ac_ext <<_LT_EOF 11112 #line 1111 2"configure"11113 #line 11113 "configure" 11113 11114 #include "confdefs.h" 11114 11115 … … 11206 11207 lt_status=$lt_dlunknown 11207 11208 cat > conftest.$ac_ext <<_LT_EOF 11208 #line 1120 8"configure"11209 #line 11209 "configure" 11209 11210 #include "confdefs.h" 11210 11211 … … 13162 13163 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13163 13164 -e 's:$: $lt_compiler_flag:'` 13164 (eval echo "\"\$as_me:1316 4: $lt_compile\"" >&5)13165 (eval echo "\"\$as_me:13165: $lt_compile\"" >&5) 13165 13166 (eval "$lt_compile" 2>conftest.err) 13166 13167 ac_status=$? 13167 13168 cat conftest.err >&5 13168 echo "$as_me:1316 8: \$? = $ac_status" >&513169 echo "$as_me:13169: \$? = $ac_status" >&5 13169 13170 if (exit $ac_status) && test -s "$ac_outfile"; then 13170 13171 # The compiler can only warn and ignore the option if not recognized … … 13261 13262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13262 13263 -e 's:$: $lt_compiler_flag:'` 13263 (eval echo "\"\$as_me:1326 3: $lt_compile\"" >&5)13264 (eval echo "\"\$as_me:13264: $lt_compile\"" >&5) 13264 13265 (eval "$lt_compile" 2>out/conftest.err) 13265 13266 ac_status=$? 13266 13267 cat out/conftest.err >&5 13267 echo "$as_me:1326 7: \$? = $ac_status" >&513268 echo "$as_me:13268: \$? = $ac_status" >&5 13268 13269 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13269 13270 then … … 13313 13314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13314 13315 -e 's:$: $lt_compiler_flag:'` 13315 (eval echo "\"\$as_me:1331 5: $lt_compile\"" >&5)13316 (eval echo "\"\$as_me:13316: $lt_compile\"" >&5) 13316 13317 (eval "$lt_compile" 2>out/conftest.err) 13317 13318 ac_status=$? 13318 13319 cat out/conftest.err >&5 13319 echo "$as_me:133 19: \$? = $ac_status" >&513320 echo "$as_me:13320: \$? = $ac_status" >&5 13320 13321 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13321 13322 then … … 17646 17647 fi 17647 17648 17648 17649 if test "x$have_readline" != "xyes"; then 17650 as_fn_error $? "The readline library is not properly installed." "$LINENO" 5 17649 if test "x$have_readline" != "xyes"; then : 17650 as_fn_error $? "The readline library is not properly installed." "$LINENO" 5 17651 17651 fi 17652 17652 … … 20029 20029 fi 20030 20030 20031 if test "x$ax_cv_boost_system" != "xyes"; then : 20032 as_fn_error $? "Problems with the Boost::System libarary." "$LINENO" 5 20033 fi 20034 20031 20035 20032 20036 … … 20206 20210 LDFLAGS="$LDFLAGS_SAVED" 20207 20211 fi 20212 20213 if test "x$ax_cv_boost_asio" != "xyes"; then : 20214 as_fn_error $? "Problems with the Boost::ASIO libarary." "$LINENO" 5 20215 fi 20208 20216 20209 20217 … … 20433 20441 fi 20434 20442 20443 if test "x$ax_cv_boost_date_time" != "xyes"; then : 20444 as_fn_error $? "Problems with the Boost::Date_Time libarary." "$LINENO" 5 20445 fi 20446 20435 20447 20436 20448 … … 20669 20681 fi 20670 20682 20683 if test "x$ax_cv_boost_filesystem" != "xyes"; then : 20684 as_fn_error $? "Problems with the Boost::Filesystem libarary." "$LINENO" 5 20685 fi 20686 20671 20687 20672 20688 … … 20891 20907 fi 20892 20908 20909 if test "x$ax_cv_boost_program_options" != "xyes"; then : 20910 as_fn_error $? "Problems with the Boost::Program_Options libarary." "$LINENO" 5 20911 fi 20912 20893 20913 20894 20914 … … 21114 21134 LDFLAGS="$LDFLAGS_SAVED" 21115 21135 fi 21136 21137 if test "x$ax_cv_boost_regex" != "xyes"; then : 21138 as_fn_error $? "Problems with the Boost::Regex libarary." "$LINENO" 5 21139 fi 21116 21140 21117 21141 … … 21383 21407 fi 21384 21408 21409 if test "x$ax_cv_boost_thread" != "xyes"; then : 21410 as_fn_error $? "Problems with the Boost::Thread libarary." "$LINENO" 5 21411 fi 21385 21412 #AX_BOOST_IOSTREAMS 21386 21413 #AX_BOOST_PYTHON … … 21402 21429 21403 21430 CPPFLAGS+=" "$BOOST_CPPFLAGS 21431 21432 # Now we can safely add the compiler option for your prefered standard 21433 CXXFLAGS+=" -std=c++0x" 21404 21434 21405 21435 #AC_CHECK_HEADERS( … … 22603 22633 22604 22634 cat > conftest.$ac_ext <<EOF 22605 #line 226 05 "configure"22635 #line 22635 "configure" 22606 22636 #include "confdefs.h" 22607 22637 #include <qglobal.h> -
trunk/FACT++/configure.ac
r12768 r12769 47 47 #AC_CXX_HEADER_STDCXX_0X 48 48 AC_CXX_COMPILE_STDCXX_0X 49 if test "$ax_cv_cxx_compile_cxx0x_cxx" != yes; then 50 AC_MSG_ERROR([C++0x standard (-std=c++0x) not supported by compiler.]) 51 fi 52 53 CXXFLAGS+=" -std=c++0x"49 AS_IF([test "$ax_cv_cxx_compile_cxx0x_cxx" != yes], 50 AC_MSG_ERROR([C++0x standard (-std=c++0x) not supported by compiler.])) 51 52 # Postponed after the BOOST library tests otherwise the check for boost::thread fails 53 #CXXFLAGS+=" -std=c++0x" 54 54 55 55 ###################################################################### … … 110 110 # Needed to compile FACT++ 111 111 AC_CHECK_READLINE 112 113 if test "x$have_readline" != "xyes"; then 114 AC_MSG_ERROR([The readline library is not properly installed.]) 115 fi 112 AS_IF([test "x$have_readline" != "xyes"], 113 AC_MSG_ERROR([The readline library is not properly installed.])) 116 114 117 115 CPPFLAGS+=" "$READLINE_INCLUDES … … 200 198 # Keep this order AX_BOOST_FILESYSTEM needs AX_BOOST_SYSTEM_LIB 201 199 AX_BOOST_SYSTEM 200 AS_IF([test "x$ax_cv_boost_system" != "xyes"], 201 AC_MSG_ERROR([Problems with the Boost::System libarary.])) 202 202 203 AX_BOOST_ASIO 204 AS_IF([test "x$ax_cv_boost_asio" != "xyes"], 205 AC_MSG_ERROR([Problems with the Boost::ASIO libarary.])) 206 203 207 AX_BOOST_DATE_TIME 208 AS_IF([test "x$ax_cv_boost_date_time" != "xyes"], 209 AC_MSG_ERROR([Problems with the Boost::Date_Time libarary.])) 210 204 211 AX_BOOST_FILESYSTEM 212 AS_IF([test "x$ax_cv_boost_filesystem" != "xyes"], 213 AC_MSG_ERROR([Problems with the Boost::Filesystem libarary.])) 214 205 215 AX_BOOST_PROGRAM_OPTIONS 216 AS_IF([test "x$ax_cv_boost_program_options" != "xyes"], 217 AC_MSG_ERROR([Problems with the Boost::Program_Options libarary.])) 218 206 219 AX_BOOST_REGEX 220 AS_IF([test "x$ax_cv_boost_regex" != "xyes"], 221 AC_MSG_ERROR([Problems with the Boost::Regex libarary.])) 222 207 223 AX_BOOST_THREAD 224 AS_IF([test "x$ax_cv_boost_thread" != "xyes"], 225 AC_MSG_ERROR([Problems with the Boost::Thread libarary.])) 208 226 #AX_BOOST_IOSTREAMS 209 227 #AX_BOOST_PYTHON … … 225 243 226 244 CPPFLAGS+=" "$BOOST_CPPFLAGS 245 246 # Now we can safely add the compiler option for your prefered standard 247 CXXFLAGS+=" -std=c++0x" 227 248 228 249 #AC_CHECK_HEADERS(
Note:
See TracChangeset
for help on using the changeset viewer.