Changeset 12756 for trunk/FACT++/configure
- Timestamp:
- 01/24/12 13:39:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r12490 r12756 1021 1021 ac_user_opts=' 1022 1022 enable_option_checking 1023 enable_optimization 1024 enable_debug 1023 1025 enable_static 1024 1026 enable_shared … … 1731 1733 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1732 1734 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1735 --disable-optimization Compile with -O0 instead of -O3 1736 1737 --enable-debug Compile with debugging symbols (-g) 1738 1733 1739 --enable-static[=PKGS] build static libraries [default=no] 1734 1740 --enable-shared[=PKGS] build shared libraries [default=yes] … … 2968 2974 2969 2975 2976 # Make sure none of the following will set -O2 2977 # Check whether --enable-optimization was given. 2978 if test "${enable_optimization+set}" = set; then : 2979 enableval=$enable_optimization; 2980 fi 2981 2982 if test "x$enable_optimization" != "xno"; then : 2983 MYFLAGS+=" -O3" 2984 else 2985 MYFLAGS+=" -O0" 2986 fi 2987 2988 # Check whether --enable-debug was given. 2989 if test "${enable_debug+set}" = set; then : 2990 enableval=$enable_debug; 2991 fi 2992 2993 if test "x$enable_debug" = "xyes"; then : 2994 MYFLAGS+=" -g" 2995 fi 2996 2997 CFLAGS+=$MYFLAGS 2998 CXXFLAGS+=$MYFLAGS 2999 2970 3000 ac_ext=c 2971 3001 ac_cpp='$CPP $CPPFLAGS' … … 3823 3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3824 3854 3855 3856 #AC_PROG_CC_C99 3825 3857 case $ac_cv_prog_cc_stdc in #( 3826 3858 no) : … … 4116 4148 esac 4117 4149 4118 #AC_PROG_CC_C994119 4150 4120 4151 ###################################################################### 4121 # GNUC extension support (needed for the ev nt builder)4152 # GNUC extension support (needed for the event builder) 4122 4153 ###################################################################### 4123 4154 … … 4581 4612 4582 4613 4614 4615 ###################################################################### 4616 # Check for right C++ standard 4617 ###################################################################### 4618 4619 #AC_CXX_HEADER_STDCXX_0X 4620 4621 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features without additional flags" >&5 4623 $as_echo_n "checking if g++ supports C++0x features without additional flags... " >&6; } 4624 if test "${ac_cv_cxx_compile_cxx0x_native+set}" = set; then : 4625 $as_echo_n "(cached) " >&6 4626 else 4627 4628 ac_ext=cpp 4629 ac_cpp='$CXXCPP $CPPFLAGS' 4630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4633 4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4635 /* end confdefs.h. */ 4636 4637 template <typename T> 4638 struct check 4639 { 4640 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 4641 }; 4642 4643 typedef check<check<bool>> right_angle_brackets; 4644 4645 int a; 4646 decltype(a) b; 4647 4648 typedef check<int> check_type; 4649 check_type c; 4650 check_type&& cr = c; 4651 int 4652 main () 4653 { 4654 4655 ; 4656 return 0; 4657 } 4658 _ACEOF 4659 if ac_fn_cxx_try_compile "$LINENO"; then : 4660 ac_cv_cxx_compile_cxx0x_native=yes 4661 else 4662 ac_cv_cxx_compile_cxx0x_native=no 4663 fi 4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4665 ac_ext=c 4666 ac_cpp='$CPP $CPPFLAGS' 4667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4669 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4670 4671 4672 fi 4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_native" >&5 4674 $as_echo "$ac_cv_cxx_compile_cxx0x_native" >&6; } 4675 4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=c++0x" >&5 4677 $as_echo_n "checking if g++ supports C++0x features with -std=c++0x... " >&6; } 4678 if test "${ac_cv_cxx_compile_cxx0x_cxx+set}" = set; then : 4679 $as_echo_n "(cached) " >&6 4680 else 4681 4682 ac_ext=cpp 4683 ac_cpp='$CXXCPP $CPPFLAGS' 4684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4687 4688 ac_save_CXXFLAGS="$CXXFLAGS" 4689 CXXFLAGS="$CXXFLAGS -std=c++0x" 4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4691 /* end confdefs.h. */ 4692 4693 template <typename T> 4694 struct check 4695 { 4696 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 4697 }; 4698 4699 typedef check<check<bool>> right_angle_brackets; 4700 4701 int a; 4702 decltype(a) b; 4703 4704 typedef check<int> check_type; 4705 check_type c; 4706 check_type&& cr = c; 4707 int 4708 main () 4709 { 4710 4711 ; 4712 return 0; 4713 } 4714 _ACEOF 4715 if ac_fn_cxx_try_compile "$LINENO"; then : 4716 ac_cv_cxx_compile_cxx0x_cxx=yes 4717 else 4718 ac_cv_cxx_compile_cxx0x_cxx=no 4719 fi 4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4721 CXXFLAGS="$ac_save_CXXFLAGS" 4722 ac_ext=c 4723 ac_cpp='$CPP $CPPFLAGS' 4724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4726 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4727 4728 4729 fi 4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_cxx" >&5 4731 $as_echo "$ac_cv_cxx_compile_cxx0x_cxx" >&6; } 4732 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=gnu++0x" >&5 4734 $as_echo_n "checking if g++ supports C++0x features with -std=gnu++0x... " >&6; } 4735 if test "${ac_cv_cxx_compile_cxx0x_gxx+set}" = set; then : 4736 $as_echo_n "(cached) " >&6 4737 else 4738 4739 ac_ext=cpp 4740 ac_cpp='$CXXCPP $CPPFLAGS' 4741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4744 4745 ac_save_CXXFLAGS="$CXXFLAGS" 4746 CXXFLAGS="$CXXFLAGS -std=gnu++0x" 4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4748 /* end confdefs.h. */ 4749 4750 template <typename T> 4751 struct check 4752 { 4753 static_assert(sizeof(int) <= sizeof(T), "not big enough"); 4754 }; 4755 4756 typedef check<check<bool>> right_angle_brackets; 4757 4758 int a; 4759 decltype(a) b; 4760 4761 typedef check<int> check_type; 4762 check_type c; 4763 check_type&& cr = c; 4764 int 4765 main () 4766 { 4767 4768 ; 4769 return 0; 4770 } 4771 _ACEOF 4772 if ac_fn_cxx_try_compile "$LINENO"; then : 4773 ac_cv_cxx_compile_cxx0x_gxx=yes 4774 else 4775 ac_cv_cxx_compile_cxx0x_gxx=no 4776 fi 4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4778 CXXFLAGS="$ac_save_CXXFLAGS" 4779 ac_ext=c 4780 ac_cpp='$CPP $CPPFLAGS' 4781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4783 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4784 4785 4786 fi 4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_gxx" >&5 4788 $as_echo "$ac_cv_cxx_compile_cxx0x_gxx" >&6; } 4789 4790 if test "$ac_cv_cxx_compile_cxx0x_native" = yes || 4791 test "$ac_cv_cxx_compile_cxx0x_cxx" = yes || 4792 test "$ac_cv_cxx_compile_cxx0x_gxx" = yes; then 4793 4794 $as_echo "#define HAVE_STDCXX_0X /**/" >>confdefs.h 4795 4796 fi 4797 4798 if test "$ac_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" 4583 4803 4584 4804 ###################################################################### … … 5136 5356 lt_cv_nm_interface="BSD nm" 5137 5357 echo "int some_variable = 0;" > conftest.$ac_ext 5138 (eval echo "\"\$as_me:5 138: $ac_compile\"" >&5)5358 (eval echo "\"\$as_me:5358: $ac_compile\"" >&5) 5139 5359 (eval "$ac_compile" 2>conftest.err) 5140 5360 cat conftest.err >&5 5141 (eval echo "\"\$as_me:5 141: $NM \\\"conftest.$ac_objext\\\"\"" >&5)5361 (eval echo "\"\$as_me:5361: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5142 5362 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5143 5363 cat conftest.err >&5 5144 (eval echo "\"\$as_me:5 144: output\"" >&5)5364 (eval echo "\"\$as_me:5364: output\"" >&5) 5145 5365 cat conftest.out >&5 5146 5366 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 6347 6567 *-*-irix6*) 6348 6568 # Find out which ABI we are using. 6349 echo '#line 6 349 "configure"' > conftest.$ac_ext6569 echo '#line 6569 "configure"' > conftest.$ac_ext 6350 6570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6351 6571 (eval $ac_compile) 2>&5 … … 7508 7728 7509 7729 7510 7511 7730 # Set options 7512 7731 # Check whether --enable-static was given. … … 8008 8227 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8009 8228 -e 's:$: $lt_compiler_flag:'` 8010 (eval echo "\"\$as_me:8 010: $lt_compile\"" >&5)8229 (eval echo "\"\$as_me:8229: $lt_compile\"" >&5) 8011 8230 (eval "$lt_compile" 2>conftest.err) 8012 8231 ac_status=$? 8013 8232 cat conftest.err >&5 8014 echo "$as_me:8 014: \$? = $ac_status" >&58233 echo "$as_me:8233: \$? = $ac_status" >&5 8015 8234 if (exit $ac_status) && test -s "$ac_outfile"; then 8016 8235 # The compiler can only warn and ignore the option if not recognized … … 8347 8566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8348 8567 -e 's:$: $lt_compiler_flag:'` 8349 (eval echo "\"\$as_me:8 349: $lt_compile\"" >&5)8568 (eval echo "\"\$as_me:8568: $lt_compile\"" >&5) 8350 8569 (eval "$lt_compile" 2>conftest.err) 8351 8570 ac_status=$? 8352 8571 cat conftest.err >&5 8353 echo "$as_me:8 353: \$? = $ac_status" >&58572 echo "$as_me:8572: \$? = $ac_status" >&5 8354 8573 if (exit $ac_status) && test -s "$ac_outfile"; then 8355 8574 # The compiler can only warn and ignore the option if not recognized … … 8452 8671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8453 8672 -e 's:$: $lt_compiler_flag:'` 8454 (eval echo "\"\$as_me:8 454: $lt_compile\"" >&5)8673 (eval echo "\"\$as_me:8673: $lt_compile\"" >&5) 8455 8674 (eval "$lt_compile" 2>out/conftest.err) 8456 8675 ac_status=$? 8457 8676 cat out/conftest.err >&5 8458 echo "$as_me:8 458: \$? = $ac_status" >&58677 echo "$as_me:8677: \$? = $ac_status" >&5 8459 8678 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8460 8679 then … … 8507 8726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8508 8727 -e 's:$: $lt_compiler_flag:'` 8509 (eval echo "\"\$as_me:8 509: $lt_compile\"" >&5)8728 (eval echo "\"\$as_me:8728: $lt_compile\"" >&5) 8510 8729 (eval "$lt_compile" 2>out/conftest.err) 8511 8730 ac_status=$? 8512 8731 cat out/conftest.err >&5 8513 echo "$as_me:8 513: \$? = $ac_status" >&58732 echo "$as_me:8732: \$? = $ac_status" >&5 8514 8733 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8515 8734 then … … 10891 11110 lt_status=$lt_dlunknown 10892 11111 cat > conftest.$ac_ext <<_LT_EOF 10893 #line 1 0893"configure"11112 #line 11112 "configure" 10894 11113 #include "confdefs.h" 10895 11114 … … 10987 11206 lt_status=$lt_dlunknown 10988 11207 cat > conftest.$ac_ext <<_LT_EOF 10989 #line 1 0989"configure"11208 #line 11208 "configure" 10990 11209 #include "confdefs.h" 10991 11210 … … 12943 13162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12944 13163 -e 's:$: $lt_compiler_flag:'` 12945 (eval echo "\"\$as_me:1 2945: $lt_compile\"" >&5)13164 (eval echo "\"\$as_me:13164: $lt_compile\"" >&5) 12946 13165 (eval "$lt_compile" 2>conftest.err) 12947 13166 ac_status=$? 12948 13167 cat conftest.err >&5 12949 echo "$as_me:1 2949: \$? = $ac_status" >&513168 echo "$as_me:13168: \$? = $ac_status" >&5 12950 13169 if (exit $ac_status) && test -s "$ac_outfile"; then 12951 13170 # The compiler can only warn and ignore the option if not recognized … … 13042 13261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13043 13262 -e 's:$: $lt_compiler_flag:'` 13044 (eval echo "\"\$as_me:13 044: $lt_compile\"" >&5)13263 (eval echo "\"\$as_me:13263: $lt_compile\"" >&5) 13045 13264 (eval "$lt_compile" 2>out/conftest.err) 13046 13265 ac_status=$? 13047 13266 cat out/conftest.err >&5 13048 echo "$as_me:13 048: \$? = $ac_status" >&513267 echo "$as_me:13267: \$? = $ac_status" >&5 13049 13268 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13050 13269 then … … 13094 13313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13095 13314 -e 's:$: $lt_compiler_flag:'` 13096 (eval echo "\"\$as_me:13 096: $lt_compile\"" >&5)13315 (eval echo "\"\$as_me:13315: $lt_compile\"" >&5) 13097 13316 (eval "$lt_compile" 2>out/conftest.err) 13098 13317 ac_status=$? 13099 13318 cat out/conftest.err >&5 13100 echo "$as_me:13 100: \$? = $ac_status" >&513319 echo "$as_me:13319: \$? = $ac_status" >&5 13101 13320 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13102 13321 then … … 14072 14291 # Automake initial setup 14073 14292 ###################################################################### 14074 14075 14293 am__api_version='1.11' 14076 14294 … … 14881 15099 esac 14882 15100 AM_BACKSLASH='\' 15101 14883 15102 14884 15103 if test "x$CC" != xcc; then … … 17357 17576 17358 17577 17359 CPPFLAGS+=" "$PTHREAD_CFLAGS " "17360 LDFLAGS+=" "$PTHREAD_CFLAGS " "17578 CPPFLAGS+=" "$PTHREAD_CFLAGS 17579 LDFLAGS+=" "$PTHREAD_CFLAGS 17361 17580 17362 17581 … … 17432 17651 fi 17433 17652 17434 CPPFLAGS+=" "$READLINE_INCLUDES " "17435 LDFLAGS+=" "$READLINE_LIBS " "17653 CPPFLAGS+=" "$READLINE_INCLUDES 17654 LDFLAGS+=" "$READLINE_LIBS 17436 17655 17437 17656 # Needed to compile FACT++ … … 18544 18763 18545 18764 18546 CPPFLAGS+=" "$MOTIF_INCL " "18547 LDFLAGS+=" "$MOTIF_LDFLAGS " "18765 CPPFLAGS+=" "$MOTIF_INCL 18766 LDFLAGS+=" "$MOTIF_LDFLAGS 18548 18767 18549 18768 if test "$lt_cv_libxp" = "yes"; then … … 19315 19534 19316 19535 19317 LDFLAGS+=" -lmysqlpp 19536 LDFLAGS+=" -lmysqlpp" 19318 19537 19319 19538 ###################################################################### … … 21180 21399 LDFLAGS+=" "$BOOST_PROGRAM_OPTIONS_LIB 21181 21400 LDFLAGS+=" "$BOOST_REGEX_LIB 21182 LDFLAGS+=" "$BOOST_THREAD_LIB " "21183 21184 CPPFLAGS+=" "$BOOST_CPPFLAGS " "21401 LDFLAGS+=" "$BOOST_THREAD_LIB 21402 21403 CPPFLAGS+=" "$BOOST_CPPFLAGS 21185 21404 21186 21405 #AC_CHECK_HEADERS( … … 22384 22603 22385 22604 cat > conftest.$ac_ext <<EOF 22386 #line 22 386"configure"22605 #line 22605 "configure" 22387 22606 #include "confdefs.h" 22388 22607 #include <qglobal.h> … … 23032 23251 23033 23252 ROOTCPPFLAGS=$ROOTCFLAGS" "$ROOTAUXCFLAGS 23034 ROOTLDFLAGS="-L"$ROOTLIBDIR" -lGQt 23253 ROOTLDFLAGS="-L"$ROOTLIBDIR" -lGQt" 23035 23254 23036 23255 #AC_CHECK_PROG(HAVE_ROOT_QT, libGQt.so.$ROOTSOVERSION, yes, no, $ROOTLIBDIR) … … 26090 26309 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 26091 26310 $as_echo "$as_me: " >&6;} 26311 { $as_echo "$as_me:${as_lineno-$LINENO}: CFLAGS = $CFLAGS" >&5 26312 $as_echo "$as_me: CFLAGS = $CFLAGS" >&6;} 26313 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 26314 $as_echo "$as_me: " >&6;} 26315 { $as_echo "$as_me:${as_lineno-$LINENO}: CXXFLAGS = $CXXFLAGS" >&5 26316 $as_echo "$as_me: CXXFLAGS = $CXXFLAGS" >&6;} 26317 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 26318 $as_echo "$as_me: " >&6;} 26092 26319 { $as_echo "$as_me:${as_lineno-$LINENO}: CPPFLAGS = $CPPFLAGS" >&5 26093 26320 $as_echo "$as_me: CPPFLAGS = $CPPFLAGS" >&6;}
Note:
See TracChangeset
for help on using the changeset viewer.