Changeset 406 for branches/devel/Cbc/configure
- Timestamp:
- Jul 10, 2006 4:22:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devel/Cbc/configure
r398 r406 473 473 #endif" 474 474 475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE C OIN_DEBUG_TRUE COIN_DEBUG_FALSE CDEFS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT ADD_CFLAGS MPICC CXXDEFS CXX CXXFLAGS ac_ct_CXX ADD_CXXFLAGSMPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LT_LDFLAGS RPATH_FLAGS CBCSRCDIR CBCOBJDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINUTILSSRCDIR COINUTILSOBJDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE DYLPSRCDIR DYLPOBJDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMSRCDIR SYMOBJDIR COIN_HAS_SYM_TRUE COIN_HAS_SYM_FALSE VOLSRCDIR VOLOBJDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPXINCDIR CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LT_LDFLAGS RPATH_FLAGS CBCSRCDIR CBCOBJDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINUTILSSRCDIR COINUTILSOBJDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE DYLPSRCDIR DYLPOBJDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMSRCDIR SYMOBJDIR COIN_HAS_SYM_TRUE COIN_HAS_SYM_FALSE VOLSRCDIR VOLOBJDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPXINCDIR CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 918 918 ac_cv_env_CDEFS_set=${CDEFS+set} 919 919 ac_cv_env_CDEFS_value=$CDEFS 920 ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set} 921 ac_env_ADD_CFLAGS_value=$ADD_CFLAGS 922 ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set} 923 ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS 924 ac_env_DBG_CFLAGS_set=${DBG_CFLAGS+set} 925 ac_env_DBG_CFLAGS_value=$DBG_CFLAGS 926 ac_cv_env_DBG_CFLAGS_set=${DBG_CFLAGS+set} 927 ac_cv_env_DBG_CFLAGS_value=$DBG_CFLAGS 928 ac_env_OPT_CFLAGS_set=${OPT_CFLAGS+set} 929 ac_env_OPT_CFLAGS_value=$OPT_CFLAGS 930 ac_cv_env_OPT_CFLAGS_set=${OPT_CFLAGS+set} 931 ac_cv_env_OPT_CFLAGS_value=$OPT_CFLAGS 920 932 ac_env_CC_set=${CC+set} 921 933 ac_env_CC_value=$CC … … 934 946 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 935 947 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 936 ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}937 ac_env_ADD_CFLAGS_value=$ADD_CFLAGS938 ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}939 ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS940 948 ac_env_MPICC_set=${MPICC+set} 941 949 ac_env_MPICC_value=$MPICC … … 946 954 ac_cv_env_CXXDEFS_set=${CXXDEFS+set} 947 955 ac_cv_env_CXXDEFS_value=$CXXDEFS 956 ac_env_ADD_CXXFLAGS_set=${ADD_CXXFLAGS+set} 957 ac_env_ADD_CXXFLAGS_value=$ADD_CXXFLAGS 958 ac_cv_env_ADD_CXXFLAGS_set=${ADD_CXXFLAGS+set} 959 ac_cv_env_ADD_CXXFLAGS_value=$ADD_CXXFLAGS 960 ac_env_DBG_CXXFLAGS_set=${DBG_CXXFLAGS+set} 961 ac_env_DBG_CXXFLAGS_value=$DBG_CXXFLAGS 962 ac_cv_env_DBG_CXXFLAGS_set=${DBG_CXXFLAGS+set} 963 ac_cv_env_DBG_CXXFLAGS_value=$DBG_CXXFLAGS 964 ac_env_OPT_CXXFLAGS_set=${OPT_CXXFLAGS+set} 965 ac_env_OPT_CXXFLAGS_value=$OPT_CXXFLAGS 966 ac_cv_env_OPT_CXXFLAGS_set=${OPT_CXXFLAGS+set} 967 ac_cv_env_OPT_CXXFLAGS_value=$OPT_CXXFLAGS 948 968 ac_env_CXX_set=${CXX+set} 949 969 ac_env_CXX_value=$CXX … … 954 974 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 955 975 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 956 ac_env_ADD_CXXFLAGS_set=${ADD_CXXFLAGS+set}957 ac_env_ADD_CXXFLAGS_value=$ADD_CXXFLAGS958 ac_cv_env_ADD_CXXFLAGS_set=${ADD_CXXFLAGS+set}959 ac_cv_env_ADD_CXXFLAGS_value=$ADD_CXXFLAGS960 976 ac_env_MPICXX_set=${MPICXX+set} 961 977 ac_env_MPICXX_value=$MPICXX … … 1059 1075 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1060 1076 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1061 --enable-debug compile with debug options and runtime tests 1077 --enable-debug compile all projects with debug options tests 1078 --enable-debug-cbc compile this project (Cbc) with debug options 1062 1079 --enable-static[=PKGS] 1063 1080 build static libraries [default=no] … … 1092 1109 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1093 1110 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1111 --with-cbc-verbosity specify the debug verbosity level for project Cbc 1112 --with-cbc-checklevel specify the sanity check level for project Cbc 1094 1113 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1095 1114 --with-pic try to use only PIC/non-PIC objects [default=use … … 1126 1145 Some influential environment variables: 1127 1146 CDEFS Additional -D flags to be used when compiling C code. 1147 ADD_CFLAGS Additional C compiler options 1148 DBG_CFLAGS Debug C compiler options 1149 OPT_CFLAGS Optimize C compiler options 1128 1150 CC C compiler command 1129 1151 CFLAGS C compiler flags … … 1132 1154 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1133 1155 headers in a nonstandard directory <include dir> 1134 ADD_CFLAGS Additional C compiler options1135 1156 MPICC C MPI Compiler 1136 1157 CXXDEFS Additional -D flags to be used when compiling C++ code. 1158 ADD_CXXFLAGS 1159 Additional C++ compiler options 1160 DBG_CXXFLAGS 1161 Debug C++ compiler options 1162 OPT_CXXFLAGS 1163 Optimize C++ compiler options 1137 1164 CXX C++ compiler command 1138 1165 CXXFLAGS C++ compiler flags 1139 ADD_CXXFLAGS1140 Additional C++ compiler options1141 1166 MPICXX C++ MPI Compiler 1142 1167 CPP C preprocessor … … 1715 1740 enableval="$enable_debug" 1716 1741 case "${enableval}" in 1717 yes) coin_debug_compile=true 1718 1719 cat >>confdefs.h <<\_ACEOF 1720 #define COIN_DEBUG 1 1721 _ACEOF 1722 1723 enable_shared=no 1724 ;; 1725 no) coin_debug_compile=false 1726 ;; 1727 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 1742 yes) coin_debug_compile=true 1743 enable_shared=no 1744 ;; 1745 no) coin_debug_compile=false 1746 ;; 1747 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 1728 1748 echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} 1729 1749 { (exit 1); exit 1; }; } 1730 1731 1750 ;; 1751 esac 1732 1752 else 1733 1753 coin_debug_compile=false 1734 1754 fi; 1755 1756 # Check whether --enable-debug-cbc or --disable-debug-cbc was given. 1757 if test "${enable_debug_cbc+set}" = set; then 1758 enableval="$enable_debug_cbc" 1759 case "${enableval}" in 1760 yes) coin_debug_compile=true 1761 enable_shared=no 1762 ;; 1763 no) coin_debug_compile=false 1764 ;; 1765 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-cbc" >&5 1766 echo "$as_me: error: bad value ${enableval} for --enable-debug-cbc" >&2;} 1767 { (exit 1); exit 1; }; } 1768 ;; 1769 esac 1770 else 1771 : 1772 fi; 1773 1774 # m4_ifvaln([Cbc], 1735 1775 1736 1776 if test $coin_debug_compile = true; then … … 1743 1783 1744 1784 1745 1746 if test "$coin_debug_compile" = true; then 1747 COIN_DEBUG_TRUE= 1748 COIN_DEBUG_FALSE='#' 1749 else 1750 COIN_DEBUG_TRUE='#' 1751 COIN_DEBUG_FALSE= 1752 fi 1785 # Check whether --with-cbc-verbosity or --without-cbc-verbosity was given. 1786 if test "${with_cbc_verbosity+set}" = set; then 1787 withval="$with_cbc_verbosity" 1788 coin_cbc_verbosity=$withval 1789 else 1790 coin_cbc_verbosity=0 1791 fi; 1792 1793 cat >>confdefs.h <<_ACEOF 1794 #define COIN_CBC_VERBOSITY $coin_cbc_verbosity 1795 _ACEOF 1796 1797 1798 1799 # Check whether --with-cbc-checklevel or --without-cbc-checklevel was given. 1800 if test "${with_cbc_checklevel+set}" = set; then 1801 withval="$with_cbc_checklevel" 1802 coin_cbc_checklevel=$withval 1803 else 1804 coin_cbc_checklevel=0 1805 fi; 1806 1807 cat >>confdefs.h <<_ACEOF 1808 #define COIN_CBC_CHECKLEVEL $coin_cbc_checklevel 1809 _ACEOF 1810 1811 1812 # We use the following variable to have a string with the upper case 1813 # version of the project name 1814 COIN_PRJCT=CBC 1815 1816 1817 # m4_ifvaln([Cbc], 1753 1818 1754 1819 … … 1788 1853 1789 1854 1855 1856 1857 1790 1858 coin_has_cc=yes 1791 1859 … … 1795 1863 comps="gcc cl" ;; 1796 1864 *-linux-*) comps="xlc gcc cc pgcc icc" ;; 1797 *) comps="xlc cc gcc pgcc icc" ;;1865 *) comps="xlc_r xlc cc gcc pgcc icc" ;; 1798 1866 esac 1799 1867 1800 1868 # We delete the cached value, since the test might not have been 1801 1869 # performed with out choise of compilers earlier 1802 ac_cv_prog_CC= 1870 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; } 1803 1871 ac_ext=c 1804 1872 ac_cpp='$CPP $CPPFLAGS' … … 2516 2584 CFLAGS="$save_cflags" 2517 2585 2518 echo "$as_me:$LINENO: checking for C compiler options" >&5 2519 echo $ECHO_N "checking for C compiler options... $ECHO_C" >&6 2520 if test "${coin_cv_cflags+set}" = set; then 2521 echo $ECHO_N "(cached) $ECHO_C" >&6 2522 else 2523 if test x"$CFLAGS" = x; then 2586 # Check if a project specific CFLAGS variable has been set 2587 if test x$COIN_PRJCT != x; then 2588 eval coin_tmp=\${${COIN_PRJCT}_CFLAGS+set} 2589 if test x$coin_tmp = xset; then 2590 eval CFLAGS=\${${COIN_PRJCT}_CFLAGS} 2591 fi 2592 fi 2593 2594 if test x"$CFLAGS" = x; then 2524 2595 2525 2596 coin_add_cflags= … … 2694 2765 fi 2695 2766 2696 if test "$coin_debug_compile" = "true"; then 2697 CFLAGS="$coin_dbg_cflags $coin_add_cflags $CDEFS $coin_warn_cflags" 2698 else 2699 if test -z "$coin_opt_cflags"; then 2700 # Try if -O option works if nothing else is set 2701 CFLAGS="-O" 2702 cat >conftest.$ac_ext <<_ACEOF 2767 if test -z "$coin_opt_cflags"; then 2768 # Try if -O option works if nothing else is set 2769 CFLAGS="-O" 2770 cat >conftest.$ac_ext <<_ACEOF 2703 2771 /* confdefs.h. */ 2704 2772 _ACEOF … … 2745 2813 rm -f conftest.err conftest.$ac_objext \ 2746 2814 conftest$ac_exeext conftest.$ac_ext 2747 fi 2748 CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $CDEFS $coin_warn_cflags" 2815 fi 2816 2817 if test x${DBG_CFLAGS+set} != xset; then 2818 DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags" 2819 fi 2820 if test x${OPT_CFLAGS+set} != xset; then 2821 OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags" 2822 fi 2823 2824 DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS" 2825 OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS" 2826 2827 if test "$coin_debug_compile" = "true"; then 2828 CFLAGS="$DBG_CFLAGS" 2829 else 2830 CFLAGS="$OPT_CFLAGS" 2831 fi 2832 else 2833 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" 2834 if test x${DBG_CFLAGS+set} != xset; then 2835 DBG_CFLAGS="$CFLAGS" 2836 fi 2837 if test x${OPT_CFLAGS+set} != xset; then 2838 OPT_CFLAGS="$CFLAGS" 2749 2839 fi 2750 2840 fi … … 2757 2847 2758 2848 # Try if CFLAGS works 2849 save_CFLAGS="$CFLAGS" 2759 2850 cat >conftest.$ac_ext <<_ACEOF 2760 2851 /* confdefs.h. */ … … 2804 2895 conftest$ac_exeext conftest.$ac_ext 2805 2896 if test -z "$CFLAGS"; then 2806 { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$ CFLAGS\" do not work. I will now just try '-O', but you might want to set CFLAGS manually." >&52807 echo "$as_me: WARNING: The value CFLAGS=\"$ CFLAGS\" do not work. I will now just try '-O', but you might want to set CFLAGS manually." >&2;}2897 { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work. I will now just try '-O', but you might want to set CFLAGS manually." >&5 2898 echo "$as_me: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work. I will now just try '-O', but you might want to set CFLAGS manually." >&2;} 2808 2899 CFLAGS='-O' 2809 2900 cat >conftest.$ac_ext <<_ACEOF … … 2858 2949 fi 2859 2950 fi 2860 coin_cv_cflags="$CFLAGS" 2861 2862 fi 2863 echo "$as_me:$LINENO: result: $coin_cv_cflags" >&5 2864 echo "${ECHO_T}$coin_cv_cflags" >&6 # AC_CACHE_CHECK([for C compiler options CXXFLAGS] 2865 CFLAGS="$coin_cv_cflags" 2951 2952 { echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5 2953 echo "$as_me: C compiler options are: $CFLAGS" >&6;} 2866 2954 2867 2955 … … 2905 2993 2906 2994 2995 2996 2997 2907 2998 coin_has_cxx=yes 2908 2999 … … 2912 3003 comps="g++ cl" ;; 2913 3004 *-darwin*) comps="g++ c++ CC" ;; 2914 *) comps="xlC aCC CC g++ c++ pgCC icpc " ;;3005 *) comps="xlC aCC CC g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC" ;; 2915 3006 esac 2916 3007 2917 3008 # We delete the cached value, since the test might not have been 2918 3009 # performed with out choise of compilers earlier 2919 ac_cv_prog_CXX= 3010 $as_unset ac_cv_prog_CXX || test "${ac_cv_prog_CXX+set}" != set || { ac_cv_prog_CXX=; export ac_cv_prog_CXX; } 2920 3011 ac_ext=cc 2921 3012 ac_cpp='$CXXCPP $CPPFLAGS' … … 3275 3366 CXXFLAGS="$save_cxxflags" 3276 3367 3277 echo "$as_me:$LINENO: checking for C++ compiler options" >&5 3278 echo $ECHO_N "checking for C++ compiler options... $ECHO_C" >&6 3279 if test "${coin_cv_cxxflags+set}" = set; then 3280 echo $ECHO_N "(cached) $ECHO_C" >&6 3281 else 3282 if test x"$CXXFLAGS" = x; then 3368 # Check if a project specific CXXFLAGS variable has been set 3369 if test x$COIN_PRJCT != x; then 3370 eval coin_tmp=\${${COIN_PRJCT}_CXXFLAGS+set} 3371 if test x$coin_tmp = xset; then 3372 eval CXXFLAGS=\${${COIN_PRJCT}_CXXFLAGS} 3373 fi 3374 fi 3375 3376 if test x"$CXXFLAGS" = x; then 3283 3377 3284 3378 # ToDo decide whether we want -DNDEBUG for optimization … … 3455 3549 fi 3456 3550 3457 if test "$coin_debug_compile" = "true"; then 3458 CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $CXXDEFS $coin_warn_cxxflags" 3459 else 3460 if test -z "$coin_opt_cxxflags"; then 3461 # Try if -O option works if nothing else is set 3462 CXXFLAGS="-O" 3463 cat >conftest.$ac_ext <<_ACEOF 3551 if test -z "$coin_opt_cxxflags"; then 3552 # Try if -O option works if nothing else is set 3553 CXXFLAGS=-O 3554 cat >conftest.$ac_ext <<_ACEOF 3464 3555 /* confdefs.h. */ 3465 3556 _ACEOF … … 3506 3597 rm -f conftest.err conftest.$ac_objext \ 3507 3598 conftest$ac_exeext conftest.$ac_ext 3508 fi3509 CXXFLAGS="$coin_opt_cxxflags $coin_add_cxxflags -DNDEBUG $CXXDEFS $coin_warn_cxxflags"3510 3599 fi 3511 fi 3512 3513 # Check if user wants to have additional CXXFLAGS options 3514 3515 if test x"$ADD_CXXFLAGS" != x; then 3516 CXXFLAGS="$CXXFLAGS $ADD_CXXFLAGS" 3600 3601 if test x${DBG_CXXFLAGS+set} != xset; then 3602 DBG_CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $coin_warn_cxxflags" 3603 fi 3604 if test x${OPT_CXXFLAGS+set} != xset; then 3605 OPT_CXXFLAGS="$coin_opt_cxxflags $coin_add_cxxflags -DNDEBUG $coin_warn_cxxflags" 3606 fi 3607 3608 DBG_CXXFLAGS="$DBG_CXXFLAGS $ADD_CXXFLAGS $CXXDEFS" 3609 OPT_CXXFLAGS="$OPT_CXXFLAGS $ADD_CXXFLAGS $CXXDEFS" 3610 3611 if test "$coin_debug_compile" = "true"; then 3612 CXXFLAGS="$DBG_CXXFLAGS" 3613 else 3614 CXXFLAGS="$OPT_CXXFLAGS" 3615 fi 3616 else 3617 CXXFLAGS="$CXXFLAGS $ADD_CXXFLAGS $CXXDEFS" 3618 if test x${DBG_CXXFLAGS+set} != xset; then 3619 DBG_CXXFLAGS="$CXXFLAGS" 3620 fi 3621 if test x${OPT_CXXFLAGS+set} != xset; then 3622 OPT_CXXFLAGS="$CXXFLAGS" 3623 fi 3517 3624 fi 3518 3625 3519 3626 # Try if CXXFLAGS works 3627 save_CXXFLAGS="$CXXFLAGS" 3520 3628 cat >conftest.$ac_ext <<_ACEOF 3521 3629 /* confdefs.h. */ … … 3565 3673 conftest$ac_exeext conftest.$ac_ext 3566 3674 if test -z "$CXXFLAGS"; then 3567 { echo "$as_me:$LINENO: WARNING: The flags CXXFLAGS=\"$ CXXFLAGS\" do not work. I will now just try '-O', but you might want to set CXXFLAGS manually." >&53568 echo "$as_me: WARNING: The flags CXXFLAGS=\"$ CXXFLAGS\" do not work. I will now just try '-O', but you might want to set CXXFLAGS manually." >&2;}3675 { echo "$as_me:$LINENO: WARNING: The flags CXXFLAGS=\"$save_CXXFLAGS\" do not work. I will now just try '-O', but you might want to set CXXFLAGS manually." >&5 3676 echo "$as_me: WARNING: The flags CXXFLAGS=\"$save_CXXFLAGS\" do not work. I will now just try '-O', but you might want to set CXXFLAGS manually." >&2;} 3569 3677 CXXFLAGS='-O' 3570 3678 cat >conftest.$ac_ext <<_ACEOF … … 3619 3727 fi 3620 3728 fi 3621 coin_cv_cxxflags="$CXXFLAGS" 3622 3623 fi 3624 echo "$as_me:$LINENO: result: $coin_cv_cxxflags" >&5 3625 echo "${ECHO_T}$coin_cv_cxxflags" >&6 # AC_CACHE_CHECK([for C++ compiler options CXXFLAGS] 3626 CXXFLAGS="$coin_cv_cxxflags" 3729 3730 { echo "$as_me:$LINENO: C++ compiler options are: $CXXFLAGS" >&5 3731 echo "$as_me: C++ compiler options are: $CXXFLAGS" >&6;} 3627 3732 3628 3733 … … 4677 4782 *-*-irix6*) 4678 4783 # Find out which ABI we are using. 4679 echo '#line 4 679"configure"' > conftest.$ac_ext4784 echo '#line 4784 "configure"' > conftest.$ac_ext 4680 4785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4681 4786 (eval $ac_compile) 2>&5 … … 5811 5916 5812 5917 # Provide some information about the compiler. 5813 echo "$as_me:5 813:" \5918 echo "$as_me:5918:" \ 5814 5919 "checking for Fortran 77 compiler version" >&5 5815 5920 ac_compiler=`set X $ac_compile; echo $2` … … 6878 6983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6879 6984 -e 's:$: $lt_compiler_flag:'` 6880 (eval echo "\"\$as_me:6 880: $lt_compile\"" >&5)6985 (eval echo "\"\$as_me:6985: $lt_compile\"" >&5) 6881 6986 (eval "$lt_compile" 2>conftest.err) 6882 6987 ac_status=$? 6883 6988 cat conftest.err >&5 6884 echo "$as_me:6 884: \$? = $ac_status" >&56989 echo "$as_me:6989: \$? = $ac_status" >&5 6885 6990 if (exit $ac_status) && test -s "$ac_outfile"; then 6886 6991 # The compiler can only warn and ignore the option if not recognized … … 7146 7251 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7147 7252 -e 's:$: $lt_compiler_flag:'` 7148 (eval echo "\"\$as_me:7 148: $lt_compile\"" >&5)7253 (eval echo "\"\$as_me:7253: $lt_compile\"" >&5) 7149 7254 (eval "$lt_compile" 2>conftest.err) 7150 7255 ac_status=$? 7151 7256 cat conftest.err >&5 7152 echo "$as_me:7 152: \$? = $ac_status" >&57257 echo "$as_me:7257: \$? = $ac_status" >&5 7153 7258 if (exit $ac_status) && test -s "$ac_outfile"; then 7154 7259 # The compiler can only warn and ignore the option if not recognized … … 7250 7355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7251 7356 -e 's:$: $lt_compiler_flag:'` 7252 (eval echo "\"\$as_me:7 252: $lt_compile\"" >&5)7357 (eval echo "\"\$as_me:7357: $lt_compile\"" >&5) 7253 7358 (eval "$lt_compile" 2>out/conftest.err) 7254 7359 ac_status=$? 7255 7360 cat out/conftest.err >&5 7256 echo "$as_me:7 256: \$? = $ac_status" >&57361 echo "$as_me:7361: \$? = $ac_status" >&5 7257 7362 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7258 7363 then … … 9595 9700 lt_status=$lt_dlunknown 9596 9701 cat > conftest.$ac_ext <<EOF 9597 #line 9 597"configure"9702 #line 9702 "configure" 9598 9703 #include "confdefs.h" 9599 9704 … … 9695 9800 lt_status=$lt_dlunknown 9696 9801 cat > conftest.$ac_ext <<EOF 9697 #line 9 697"configure"9802 #line 9802 "configure" 9698 9803 #include "confdefs.h" 9699 9804 … … 12039 12144 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12040 12145 -e 's:$: $lt_compiler_flag:'` 12041 (eval echo "\"\$as_me:12 041: $lt_compile\"" >&5)12146 (eval echo "\"\$as_me:12146: $lt_compile\"" >&5) 12042 12147 (eval "$lt_compile" 2>conftest.err) 12043 12148 ac_status=$? 12044 12149 cat conftest.err >&5 12045 echo "$as_me:12 045: \$? = $ac_status" >&512150 echo "$as_me:12150: \$? = $ac_status" >&5 12046 12151 if (exit $ac_status) && test -s "$ac_outfile"; then 12047 12152 # The compiler can only warn and ignore the option if not recognized … … 12143 12248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12144 12249 -e 's:$: $lt_compiler_flag:'` 12145 (eval echo "\"\$as_me:12 145: $lt_compile\"" >&5)12250 (eval echo "\"\$as_me:12250: $lt_compile\"" >&5) 12146 12251 (eval "$lt_compile" 2>out/conftest.err) 12147 12252 ac_status=$? 12148 12253 cat out/conftest.err >&5 12149 echo "$as_me:12 149: \$? = $ac_status" >&512254 echo "$as_me:12254: \$? = $ac_status" >&5 12150 12255 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12151 12256 then … … 13713 13818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13714 13819 -e 's:$: $lt_compiler_flag:'` 13715 (eval echo "\"\$as_me:13 715: $lt_compile\"" >&5)13820 (eval echo "\"\$as_me:13820: $lt_compile\"" >&5) 13716 13821 (eval "$lt_compile" 2>conftest.err) 13717 13822 ac_status=$? 13718 13823 cat conftest.err >&5 13719 echo "$as_me:13 719: \$? = $ac_status" >&513824 echo "$as_me:13824: \$? = $ac_status" >&5 13720 13825 if (exit $ac_status) && test -s "$ac_outfile"; then 13721 13826 # The compiler can only warn and ignore the option if not recognized … … 13817 13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13818 13923 -e 's:$: $lt_compiler_flag:'` 13819 (eval echo "\"\$as_me:13 819: $lt_compile\"" >&5)13924 (eval echo "\"\$as_me:13924: $lt_compile\"" >&5) 13820 13925 (eval "$lt_compile" 2>out/conftest.err) 13821 13926 ac_status=$? 13822 13927 cat out/conftest.err >&5 13823 echo "$as_me:13 823: \$? = $ac_status" >&513928 echo "$as_me:13928: \$? = $ac_status" >&5 13824 13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13825 13930 then … … 16024 16129 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16025 16130 -e 's:$: $lt_compiler_flag:'` 16026 (eval echo "\"\$as_me:16 026: $lt_compile\"" >&5)16131 (eval echo "\"\$as_me:16131: $lt_compile\"" >&5) 16027 16132 (eval "$lt_compile" 2>conftest.err) 16028 16133 ac_status=$? 16029 16134 cat conftest.err >&5 16030 echo "$as_me:16 030: \$? = $ac_status" >&516135 echo "$as_me:16135: \$? = $ac_status" >&5 16031 16136 if (exit $ac_status) && test -s "$ac_outfile"; then 16032 16137 # The compiler can only warn and ignore the option if not recognized … … 16292 16397 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16293 16398 -e 's:$: $lt_compiler_flag:'` 16294 (eval echo "\"\$as_me:16 294: $lt_compile\"" >&5)16399 (eval echo "\"\$as_me:16399: $lt_compile\"" >&5) 16295 16400 (eval "$lt_compile" 2>conftest.err) 16296 16401 ac_status=$? 16297 16402 cat conftest.err >&5 16298 echo "$as_me:16 298: \$? = $ac_status" >&516403 echo "$as_me:16403: \$? = $ac_status" >&5 16299 16404 if (exit $ac_status) && test -s "$ac_outfile"; then 16300 16405 # The compiler can only warn and ignore the option if not recognized … … 16396 16501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16397 16502 -e 's:$: $lt_compiler_flag:'` 16398 (eval echo "\"\$as_me:16 398: $lt_compile\"" >&5)16503 (eval echo "\"\$as_me:16503: $lt_compile\"" >&5) 16399 16504 (eval "$lt_compile" 2>out/conftest.err) 16400 16505 ac_status=$? 16401 16506 cat out/conftest.err >&5 16402 echo "$as_me:16 402: \$? = $ac_status" >&516507 echo "$as_me:16507: \$? = $ac_status" >&5 16403 16508 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16404 16509 then … … 20415 20520 if test "${with_cbc_default_solver+set}" = set; then 20416 20521 withval="$with_cbc_default_solver" 20417 cbc_default_solver=$with _val20522 cbc_default_solver=$withval 20418 20523 else 20419 20524 cbc_default_solver=clp … … 21816 21921 { (exit 1); exit 1; }; } 21817 21922 fi 21818 if test -z "${COIN_DEBUG_TRUE}" && test -z "${COIN_DEBUG_FALSE}"; then21819 { { echo "$as_me:$LINENO: error: conditional \"COIN_DEBUG\" was never defined.21820 Usually this means the macro was only invoked conditionally." >&521821 echo "$as_me: error: conditional \"COIN_DEBUG\" was never defined.21822 Usually this means the macro was only invoked conditionally." >&2;}21823 { (exit 1); exit 1; }; }21824 fi21825 21923 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 21826 21924 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. … … 22520 22618 s,@ALWAYS_FALSE_TRUE@,$ALWAYS_FALSE_TRUE,;t t 22521 22619 s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t 22522 s,@COIN_DEBUG_TRUE@,$COIN_DEBUG_TRUE,;t t22523 s,@COIN_DEBUG_FALSE@,$COIN_DEBUG_FALSE,;t t22524 22620 s,@CDEFS@,$CDEFS,;t t 22621 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t 22622 s,@DBG_CFLAGS@,$DBG_CFLAGS,;t t 22623 s,@OPT_CFLAGS@,$OPT_CFLAGS,;t t 22525 22624 s,@CC@,$CC,;t t 22526 22625 s,@CFLAGS@,$CFLAGS,;t t … … 22530 22629 s,@EXEEXT@,$EXEEXT,;t t 22531 22630 s,@OBJEXT@,$OBJEXT,;t t 22532 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t22533 22631 s,@MPICC@,$MPICC,;t t 22534 22632 s,@CXXDEFS@,$CXXDEFS,;t t 22633 s,@ADD_CXXFLAGS@,$ADD_CXXFLAGS,;t t 22634 s,@DBG_CXXFLAGS@,$DBG_CXXFLAGS,;t t 22635 s,@OPT_CXXFLAGS@,$OPT_CXXFLAGS,;t t 22535 22636 s,@CXX@,$CXX,;t t 22536 22637 s,@CXXFLAGS@,$CXXFLAGS,;t t 22537 22638 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 22538 s,@ADD_CXXFLAGS@,$ADD_CXXFLAGS,;t t22539 22639 s,@MPICXX@,$MPICXX,;t t 22540 22640 s,@EGREP@,$EGREP,;t t
Note: See TracChangeset
for help on using the changeset viewer.