Changeset 547 for branches/devel/Cbc/configure
- Timestamp:
- Feb 28, 2007 10:01:09 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devel/Cbc/configure
r499 r547 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 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'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 ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS 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 … … 1078 1078 --enable-debug-cbc compile this project (Cbc) with debug options 1079 1079 --enable-doscompile Under Cygwin, compile so that executables run under 1080 DOS (default: disabled) 1080 DOS. Set to mingw to use gcc/g++/ld with 1081 -mno-cygwin. Set to msvc to use cl/link. Default 1082 when mentioned: mingw. Default when not mentioned: 1083 disabled. 1081 1084 --enable-static[=PKGS] 1082 1085 build static libraries [default=no] … … 1708 1711 # retrieved by svn if they are not there yet. 1709 1712 # Initialize the ADDLIBS variable 1710 ADDLIBS= '-lm'1713 ADDLIBS="-lm $LIBS" 1711 1714 1712 1715 1713 1716 # Initialize the FADDLIBS variable (which is to be used with a fortran 1714 1717 # compiler and will not include FLIBS) 1715 FADDLIBS= 1718 FADDLIBS="$LIBS" 1716 1719 1717 1720 … … 1828 1831 fi 1829 1832 ;; 1830 esac 1831 1832 # Check whether --enable-doscompile or --disable-doscompile was given. 1833 esac 1834 case $enable_doscompile in 1835 msvc) 1836 if test "x${LD+set}" = xset; then :; else 1837 LD=link 1838 fi 1839 ;; 1840 esac 1841 1842 1843 # Check whether --enable-doscompile or --disable-doscompile was given. 1833 1844 if test "${enable_doscompile+set}" = set; then 1834 1845 enableval="$enable_doscompile" 1835 if test "$enable_doscompile = yes"; then1836 case $build in1837 *-cygwin*) ;;1838 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only senseunder Cygwin" >&51839 echo "$as_me: error: --enable-doscompile option makes only senseunder Cygwin" >&2;}1846 if test "$enable_doscompile" != no; then 1847 case $build in 1848 *-cygwin*) ;; 1849 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin" >&5 1850 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin" >&2;} 1840 1851 { (exit 1); exit 1; }; } ;; 1841 esac1842 fi1852 esac 1853 fi 1843 1854 else 1844 1855 enable_doscompile=no 1845 1856 fi; 1857 case "$enable_doscompile" in 1858 msvc|mingw|no) ;; 1859 yes) enable_doscompile=mingw ;; 1860 *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile. 1861 Try configure --help=recursive." >&5 1862 echo "$as_me: error: Invalid value $enable_doscompile for --enable-doscompile. 1863 Try configure --help=recursive." >&2;} 1864 { (exit 1); exit 1; }; } 1865 ;; 1866 esac 1867 if test "$enable_doscompile" != no ; then 1868 { echo "$as_me:$LINENO: DOS compile style is: $enable_doscompile" >&5 1869 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1870 fi 1846 1871 1847 1872 … … 1859 1884 if test x"$CXX" != x; then 1860 1885 case "$CXX" in 1861 cl* )1886 cl* | */cl* | CL* | */CL*) 1862 1887 if test x"$CC" = x; then 1863 1888 CC="$CXX" … … 1877 1902 1878 1903 save_cflags="$CFLAGS" 1904 # For sparc-sun-solaris, promote Studio/Workshop compiler to front of list. 1905 # ToDo: If Studio/Workshop cc is not present, we may find /usr/ucb/cc, which 1906 # is likely to be a non-functional shell. But many installations will have 1907 # both cc and gcc, so promoting gcc isn't good either. How to test reliably? 1879 1908 case $build in 1880 1909 *-cygwin* | *-mingw*) 1881 comps="gcc cl" ;; 1910 if test "$enable_doscompile" = msvc ; then 1911 comps="cl" 1912 else 1913 comps="gcc cl" 1914 fi ;; 1915 sparc-sun-solaris*) 1916 comps="cc xlc gcc pgcc icc" ;; 1882 1917 *-linux-*) comps="xlc gcc cc pgcc icc" ;; 1883 1918 *) comps="xlc_r xlc cc gcc pgcc icc" ;; … … 1885 1920 1886 1921 # We delete the cached value, since the test might not have been 1887 # performed with ou t choise of compilers earlier1922 # performed with our choice of compilers earlier 1888 1923 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; } 1924 # AC_MSG_NOTICE([C compiler candidates: $comps]) 1889 1925 ac_ext=c 1890 1926 ac_cpp='$CPP $CPPFLAGS' … … 2600 2636 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2601 2637 2638 if test -z "$CC" ; then 2639 { { echo "$as_me:$LINENO: error: Failed to find a C compiler!" >&5 2640 echo "$as_me: error: Failed to find a C compiler!" >&2;} 2641 { (exit 1); exit 1; }; } 2642 fi 2643 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 2644 case "$CC" in 2645 cl* | */cl* | CL* | */CL* ) 2646 if test "$ac_cv_prog_cc_g" = yes ; then 2647 ac_cv_prog_cc_g=no 2648 { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5 2649 echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;} 2650 fi ;; 2651 esac 2602 2652 CFLAGS="$save_cflags" 2603 2653 … … 2626 2676 coin_dbg_cflags="-g" 2627 2677 coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall" 2628 if test "$enable_doscompile" = yes; then 2629 case $build in 2630 *-cygwin*) 2631 CFLAGS="-mno-cygwin" 2632 cat >conftest.$ac_ext <<_ACEOF 2678 case $enable_doscompile in 2679 mingw) 2680 CFLAGS="-mno-cygwin" 2681 cat >conftest.$ac_ext <<_ACEOF 2633 2682 /* confdefs.h. */ 2634 2683 _ACEOF … … 2675 2724 rm -f conftest.err conftest.$ac_objext \ 2676 2725 conftest$ac_exeext conftest.$ac_ext 2677 CFLAGS= 2678 ;; 2679 esac 2680 fi 2726 CFLAGS= 2727 ;; 2728 esac 2681 2729 esac 2682 2730 fi … … 2685 2733 *-cygwin* | *-mingw*) 2686 2734 case "$CC" in 2687 cl* | */cl* )2688 coin_opt_cflags='- O2'2689 coin_add_cflags='-nologo '2690 coin_dbg_cflags='- Yd'2735 cl* | */cl* | CL* | */CL*) 2736 coin_opt_cflags='-MT -O2' 2737 coin_add_cflags='-nologo -wd4996' 2738 coin_dbg_cflags='-MTd' 2691 2739 ;; 2692 2740 esac … … 2863 2911 fi 2864 2912 2865 # Check if user wants to have additional CFLAGS options 2866 2867 if test x"$ADD_CFLAGS" != x; then 2868 CFLAGS="$CFLAGS $ADD_CFLAGS" 2869 fi 2913 # If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it. 2914 2915 case "$CFLAGS" in 2916 *-mno-cygwin*) 2917 if test x${CPPFLAGS+set} != xset ; then 2918 CPPFLAGS="-mno-cygwin" 2919 else 2920 case "$CPPFLAGS" in 2921 *-mno-cygwin*) 2922 ;; 2923 *) 2924 CPPFLAGS="$CPPFLAGS -mno-cygwin" 2925 ;; 2926 esac 2927 fi ;; 2928 esac 2870 2929 2871 2930 # Try if CFLAGS works … … 2985 3044 # Correct ADDLIBS initialization if we are using the MS compiler 2986 3045 case "$CC" in 2987 cl* )3046 cl* | */cl* | CL* | */CL*) 2988 3047 ADDLIBS= 2989 3048 case $build in … … 2993 3052 fi 2994 3053 ;; 2995 esac 3054 esac 3055 case $enable_doscompile in 3056 msvc) 3057 if test "x${LD+set}" = xset; then :; else 3058 LD=link 3059 fi 3060 ;; 3061 esac 2996 3062 2997 3063 ;; … … 3023 3089 3024 3090 save_cxxflags="$CXXFLAGS" 3091 # For sparc-sun-solaris, promote Studio/Workshop compiler to front of list. 3025 3092 case $build in 3026 3093 *-cygwin* | *-mingw*) 3027 comps="g++ cl" ;; 3094 if test "$enable_doscompile" = msvc ; then 3095 comps="cl" 3096 else 3097 comps="g++ cl" 3098 fi ;; 3099 sparc-sun-solaris*) 3100 comps="CC xlC aCC g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC" ;; 3028 3101 *-darwin*) comps="g++ c++ CC" ;; 3029 3102 *) comps="xlC aCC CC g++ c++ pgCC icpc gpp cxx cc++ cl FCC KCC RCC" ;; … … 3031 3104 3032 3105 # We delete the cached value, since the test might not have been 3033 # performed with ou t choise of compilers earlier3106 # performed with our choice of compilers earlier 3034 3107 $as_unset ac_cv_prog_CXX || test "${ac_cv_prog_CXX+set}" != set || { ac_cv_prog_CXX=; export ac_cv_prog_CXX; } 3108 # AC_MSG_NOTICE([C++ compiler candidates: $comps]) 3035 3109 ac_ext=cc 3036 3110 ac_cpp='$CXXCPP $CPPFLAGS' … … 3388 3462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3389 3463 3464 if test -z "$CXX" ; then 3465 { { echo "$as_me:$LINENO: error: Failed to find a C++ compiler!" >&5 3466 echo "$as_me: error: Failed to find a C++ compiler!" >&2;} 3467 { (exit 1); exit 1; }; } 3468 fi 3469 3470 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 3471 case "$CXX" in 3472 cl* | */cl* | CL* | */CL* ) 3473 if test "$ac_cv_prog_cxx_g" = yes ; then 3474 ac_cv_prog_cxx_g=no 3475 { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5 3476 echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;} 3477 fi ;; 3478 esac 3390 3479 CXXFLAGS="$save_cxxflags" 3391 3480 … … 3416 3505 coin_dbg_cxxflags="-g" 3417 3506 coin_warn_cxxflags="-pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion" 3418 if test "$enable_doscompile" = yes; then 3419 case $build in 3420 *-cygwin*) 3421 CXXFLAGS="-mno-cygwin" 3422 cat >conftest.$ac_ext <<_ACEOF 3507 case $enable_doscompile in 3508 mingw) 3509 CXXFLAGS="-mno-cygwin" 3510 cat >conftest.$ac_ext <<_ACEOF 3423 3511 /* confdefs.h. */ 3424 3512 _ACEOF … … 3465 3553 rm -f conftest.err conftest.$ac_objext \ 3466 3554 conftest$ac_exeext conftest.$ac_ext 3467 CXXFLAGS= 3468 ;; 3469 esac 3470 fi 3555 CXXFLAGS= 3556 ;; 3557 esac 3471 3558 esac 3472 3559 fi 3560 3561 # Note that we do not need to cover GCC in the following tests. 3562 3473 3563 if test -z "$coin_opt_cxxflags"; then 3474 3564 case $build in 3475 3565 *-cygwin* | *-mingw*) 3476 3566 case "$CXX" in 3477 cl* | */cl*) 3478 coin_opt_cxxflags='-O2' 3479 coin_add_cxxflags='-nologo -EHsc -GR -MT' 3480 coin_dbg_cxxflags='-Yd' 3567 cl* | */cl* | CL* | */CL*) 3568 # The MT and MTd options are mutually exclusive 3569 coin_opt_cxxflags='-MT -O2' 3570 coin_add_cxxflags='-nologo -EHsc -GR -wd4996' 3571 coin_dbg_cxxflags='-MTd' 3481 3572 ;; 3482 3573 esac … … 3569 3660 fi 3570 3661 3662 # Generic flag settings. If these don't work, add a case above. 3663 3571 3664 if test "$ac_cv_prog_cxx_g" = yes && test -z "$coin_dbg_cxxflags" ; then 3572 3665 coin_dbg_cxxflags="-g" … … 3628 3721 fi 3629 3722 3723 # Do final setup of flags based on values determined above. 3724 3630 3725 if test x${DBG_CXXFLAGS+set} != xset; then 3631 3726 DBG_CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $coin_warn_cxxflags" … … 3643 3738 CXXFLAGS="$OPT_CXXFLAGS" 3644 3739 fi 3740 3741 # Handle the case where CXXFLAGS was set externally. 3645 3742 else 3646 3743 CXXFLAGS="$CXXFLAGS $ADD_CXXFLAGS $CXXDEFS" … … 3652 3749 fi 3653 3750 fi 3751 3752 # If CXXFLAGS contains -mno-cygwin, CPPFLAGS must also have it. 3753 3754 case "$CXXFLAGS" in 3755 *-mno-cygwin*) 3756 if test x${CPPFLAGS+set} != xset ; then 3757 CPPFLAGS="-mno-cygwin" 3758 else 3759 case "$CPPFLAGS" in 3760 *-mno-cygwin*) 3761 ;; 3762 *) 3763 CPPFLAGS="$CPPFLAGS -mno-cygwin" 3764 ;; 3765 esac 3766 fi ;; 3767 esac 3654 3768 3655 3769 # Try if CXXFLAGS works … … 3768 3882 3769 3883 case "$CXX" in 3770 cl* )3884 cl* | */cl* | CL* | */CL* ) 3771 3885 case $build in 3772 3886 *-mingw*) … … 3775 3889 fi 3776 3890 ;; 3777 esac 3891 esac 3892 case $enable_doscompile in 3893 msvc) 3894 if test "x${LD+set}" = xset; then :; else 3895 LD=link 3896 fi 3897 ;; 3898 esac 3778 3899 3779 3900 ;; … … 3789 3910 3790 3911 # Initialize automake and libtool 3912 { 3913 3914 3915 3916 # START 3791 3917 3792 3918 # On Cygwin, building DLLs doesn't work … … 3841 3967 3842 3968 3969 3970 # Initialize automake 3843 3971 echo "$as_me:$LINENO: checking for egrep" >&5 3844 3972 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 … … 4183 4311 4184 4312 4185 ac_ext=c 4186 ac_cpp='$CPP $CPPFLAGS' 4187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4189 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4190 4191 if test x"" = x; then 4192 hdr="#include <dlfcn.h>" 4193 else 4194 hdr="" 4195 fi 4196 4197 for ac_header in dlfcn.h 4313 4314 4315 # AC_MSG_NOTICE([Beginning automake initialisation.]) 4316 # Stuff for automake 4317 # test to see if srcdir already configured 4318 if test "`cd $srcdir && pwd`" != "`pwd`" && 4319 test -f $srcdir/config.status; then 4320 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 4321 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 4322 { (exit 1); exit 1; }; } 4323 fi 4324 4325 # test whether we have cygpath 4326 if test -z "$CYGPATH_W"; then 4327 if (cygpath --version) >/dev/null 2>/dev/null; then 4328 CYGPATH_W='cygpath -w' 4329 else 4330 CYGPATH_W=echo 4331 fi 4332 fi 4333 4334 4335 # Define the identity of the package. 4336 PACKAGE='cbc' 4337 VERSION='0.1' 4338 4339 4340 cat >>confdefs.h <<_ACEOF 4341 #define PACKAGE "$PACKAGE" 4342 _ACEOF 4343 4344 4345 cat >>confdefs.h <<_ACEOF 4346 #define VERSION "$VERSION" 4347 _ACEOF 4348 4349 # Some tools Automake needs. 4350 4351 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4352 4353 4354 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4355 4356 4357 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4358 4359 4360 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4361 4362 4363 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4364 4365 install_sh=${install_sh-"$am_aux_dir/install-sh"} 4366 4367 # Installed binaries are usually stripped using `strip' when the user 4368 # run `make install-strip'. However `strip' might not be the right 4369 # tool to use in cross-compilation environments, therefore Automake 4370 # will honor the `STRIP' environment variable to overrule this program. 4371 if test "$cross_compiling" != no; then 4372 if test -n "$ac_tool_prefix"; then 4373 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4374 set dummy ${ac_tool_prefix}strip; ac_word=$2 4375 echo "$as_me:$LINENO: checking for $ac_word" >&5 4376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4377 if test "${ac_cv_prog_STRIP+set}" = set; then 4378 echo $ECHO_N "(cached) $ECHO_C" >&6 4379 else 4380 if test -n "$STRIP"; then 4381 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4382 else 4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4384 for as_dir in $PATH 4198 4385 do 4199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4200 echo "$as_me:$LINENO: checking for $ac_header" >&5 4201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4202 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4386 IFS=$as_save_IFS 4387 test -z "$as_dir" && as_dir=. 4388 for ac_exec_ext in '' $ac_executable_extensions; do 4389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4390 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4392 break 2 4393 fi 4394 done 4395 done 4396 4397 fi 4398 fi 4399 STRIP=$ac_cv_prog_STRIP 4400 if test -n "$STRIP"; then 4401 echo "$as_me:$LINENO: result: $STRIP" >&5 4402 echo "${ECHO_T}$STRIP" >&6 4403 else 4404 echo "$as_me:$LINENO: result: no" >&5 4405 echo "${ECHO_T}no" >&6 4406 fi 4407 4408 fi 4409 if test -z "$ac_cv_prog_STRIP"; then 4410 ac_ct_STRIP=$STRIP 4411 # Extract the first word of "strip", so it can be a program name with args. 4412 set dummy strip; ac_word=$2 4413 echo "$as_me:$LINENO: checking for $ac_word" >&5 4414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4415 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 4203 4416 echo $ECHO_N "(cached) $ECHO_C" >&6 4204 4417 else 4205 cat >conftest.$ac_ext <<_ACEOF 4206 /* confdefs.h. */ 4207 _ACEOF 4208 cat confdefs.h >>conftest.$ac_ext 4209 cat >>conftest.$ac_ext <<_ACEOF 4210 /* end confdefs.h. */ 4211 $hdr 4212 4213 #include <$ac_header> 4214 _ACEOF 4215 rm -f conftest.$ac_objext 4216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4217 (eval $ac_compile) 2>conftest.er1 4218 ac_status=$? 4219 grep -v '^ *+' conftest.er1 >conftest.err 4220 rm -f conftest.er1 4221 cat conftest.err >&5 4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4223 (exit $ac_status); } && 4224 { ac_try='test -z "$ac_c_werror_flag" 4225 || test ! -s conftest.err' 4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4227 (eval $ac_try) 2>&5 4228 ac_status=$? 4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4230 (exit $ac_status); }; } && 4231 { ac_try='test -s conftest.$ac_objext' 4232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4233 (eval $ac_try) 2>&5 4234 ac_status=$? 4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4236 (exit $ac_status); }; }; then 4237 eval "$as_ac_Header=yes" 4238 else 4239 echo "$as_me: failed program was:" >&5 4240 sed 's/^/| /' conftest.$ac_ext >&5 4241 4242 eval "$as_ac_Header=no" 4243 fi 4244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4245 fi 4246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4248 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4249 cat >>confdefs.h <<_ACEOF 4250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4251 _ACEOF 4252 4253 fi 4254 4418 if test -n "$ac_ct_STRIP"; then 4419 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 4420 else 4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4422 for as_dir in $PATH 4423 do 4424 IFS=$as_save_IFS 4425 test -z "$as_dir" && as_dir=. 4426 for ac_exec_ext in '' $ac_executable_extensions; do 4427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4428 ac_cv_prog_ac_ct_STRIP="strip" 4429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4430 break 2 4431 fi 4255 4432 done 4256 4257 4258 ac_ext=c 4259 ac_cpp='$CPP $CPPFLAGS' 4260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4262 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4263 4264 4265 # Check whether --enable-shared or --disable-shared was given. 4433 done 4434 4435 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 4436 fi 4437 fi 4438 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4439 if test -n "$ac_ct_STRIP"; then 4440 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4441 echo "${ECHO_T}$ac_ct_STRIP" >&6 4442 else 4443 echo "$as_me:$LINENO: result: no" >&5 4444 echo "${ECHO_T}no" >&6 4445 fi 4446 4447 STRIP=$ac_ct_STRIP 4448 else 4449 STRIP="$ac_cv_prog_STRIP" 4450 fi 4451 4452 fi 4453 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 4454 4455 # We need awk for the "check" target. The system "awk" is bad on 4456 # some platforms. 4457 # Always define AMTAR for backward compatibility. 4458 4459 AMTAR=${AMTAR-"${am_missing_run}tar"} 4460 4461 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 4462 4463 4464 4465 4466 depcc="$CC" am_compiler_list= 4467 4468 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4469 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 4470 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 4471 echo $ECHO_N "(cached) $ECHO_C" >&6 4472 else 4473 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4474 # We make a subdir and do the tests there. Otherwise we can end up 4475 # making bogus files that we don't know about and never remove. For 4476 # instance it was reported that on HP-UX the gcc test will end up 4477 # making a dummy file named `D' -- because `-MD' means `put the output 4478 # in D'. 4479 mkdir conftest.dir 4480 # Copy depcomp to subdir because otherwise we won't find it if we're 4481 # using a relative directory. 4482 cp "$am_depcomp" conftest.dir 4483 cd conftest.dir 4484 # We will build objects and dependencies in a subdirectory because 4485 # it helps to detect inapplicable dependency modes. For instance 4486 # both Tru64's cc and ICC support -MD to output dependencies as a 4487 # side effect of compilation, but ICC will put the dependencies in 4488 # the current directory while Tru64 will put them in the object 4489 # directory. 4490 mkdir sub 4491 4492 am_cv_CC_dependencies_compiler_type=none 4493 if test "$am_compiler_list" = ""; then 4494 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4495 fi 4496 for depmode in $am_compiler_list; do 4497 # Setup a source with many dependencies, because some compilers 4498 # like to wrap large dependency lists on column 80 (with \), and 4499 # we should not choose a depcomp mode which is confused by this. 4500 # 4501 # We need to recreate these files for each test, as the compiler may 4502 # overwrite some of them when testing with obscure command lines. 4503 # This happens at least with the AIX C compiler. 4504 : > sub/conftest.c 4505 for i in 1 2 3 4 5 6; do 4506 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4507 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4508 # Solaris 8's {/usr,}/bin/sh. 4509 touch sub/conftst$i.h 4510 done 4511 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4512 4513 case $depmode in 4514 nosideeffect) 4515 # after this tag, mechanisms are not by side-effect, so they'll 4516 # only be used when explicitly requested 4517 if test "x$enable_dependency_tracking" = xyes; then 4518 continue 4519 else 4520 break 4521 fi 4522 ;; 4523 none) break ;; 4524 esac 4525 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4526 # mode. It turns out that the SunPro C++ compiler does not properly 4527 # handle `-M -o', and we need to detect this. 4528 if depmode=$depmode \ 4529 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4530 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4531 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4532 >/dev/null 2>conftest.err && 4533 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4534 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4535 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4536 # icc doesn't choke on unknown options, it will just issue warnings 4537 # or remarks (even with -Werror). So we grep stderr for any message 4538 # that says an option was ignored or not supported. 4539 # When given -MP, icc 7.0 and 7.1 complain thusly: 4540 # icc: Command line warning: ignoring option '-M'; no argument required 4541 # The diagnosis changed in icc 8.0: 4542 # icc: Command line remark: option '-MP' not supported 4543 if (grep 'ignoring option' conftest.err || 4544 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4545 am_cv_CC_dependencies_compiler_type=$depmode 4546 break 4547 fi 4548 fi 4549 done 4550 4551 cd .. 4552 rm -rf conftest.dir 4553 else 4554 am_cv_CC_dependencies_compiler_type=none 4555 fi 4556 4557 fi 4558 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 4559 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 4560 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4561 4562 4563 4564 if 4565 test "x$enable_dependency_tracking" != xno \ 4566 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4567 am__fastdepCC_TRUE= 4568 am__fastdepCC_FALSE='#' 4569 else 4570 am__fastdepCC_TRUE='#' 4571 am__fastdepCC_FALSE= 4572 fi 4573 4574 4575 depcc="$CXX" am_compiler_list= 4576 4577 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4578 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 4579 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 4580 echo $ECHO_N "(cached) $ECHO_C" >&6 4581 else 4582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4583 # We make a subdir and do the tests there. Otherwise we can end up 4584 # making bogus files that we don't know about and never remove. For 4585 # instance it was reported that on HP-UX the gcc test will end up 4586 # making a dummy file named `D' -- because `-MD' means `put the output 4587 # in D'. 4588 mkdir conftest.dir 4589 # Copy depcomp to subdir because otherwise we won't find it if we're 4590 # using a relative directory. 4591 cp "$am_depcomp" conftest.dir 4592 cd conftest.dir 4593 # We will build objects and dependencies in a subdirectory because 4594 # it helps to detect inapplicable dependency modes. For instance 4595 # both Tru64's cc and ICC support -MD to output dependencies as a 4596 # side effect of compilation, but ICC will put the dependencies in 4597 # the current directory while Tru64 will put them in the object 4598 # directory. 4599 mkdir sub 4600 4601 am_cv_CXX_dependencies_compiler_type=none 4602 if test "$am_compiler_list" = ""; then 4603 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4604 fi 4605 for depmode in $am_compiler_list; do 4606 # Setup a source with many dependencies, because some compilers 4607 # like to wrap large dependency lists on column 80 (with \), and 4608 # we should not choose a depcomp mode which is confused by this. 4609 # 4610 # We need to recreate these files for each test, as the compiler may 4611 # overwrite some of them when testing with obscure command lines. 4612 # This happens at least with the AIX C compiler. 4613 : > sub/conftest.c 4614 for i in 1 2 3 4 5 6; do 4615 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4616 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4617 # Solaris 8's {/usr,}/bin/sh. 4618 touch sub/conftst$i.h 4619 done 4620 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4621 4622 case $depmode in 4623 nosideeffect) 4624 # after this tag, mechanisms are not by side-effect, so they'll 4625 # only be used when explicitly requested 4626 if test "x$enable_dependency_tracking" = xyes; then 4627 continue 4628 else 4629 break 4630 fi 4631 ;; 4632 none) break ;; 4633 esac 4634 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4635 # mode. It turns out that the SunPro C++ compiler does not properly 4636 # handle `-M -o', and we need to detect this. 4637 if depmode=$depmode \ 4638 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4639 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4640 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4641 >/dev/null 2>conftest.err && 4642 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4643 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4644 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4645 # icc doesn't choke on unknown options, it will just issue warnings 4646 # or remarks (even with -Werror). So we grep stderr for any message 4647 # that says an option was ignored or not supported. 4648 # When given -MP, icc 7.0 and 7.1 complain thusly: 4649 # icc: Command line warning: ignoring option '-M'; no argument required 4650 # The diagnosis changed in icc 8.0: 4651 # icc: Command line remark: option '-MP' not supported 4652 if (grep 'ignoring option' conftest.err || 4653 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4654 am_cv_CXX_dependencies_compiler_type=$depmode 4655 break 4656 fi 4657 fi 4658 done 4659 4660 cd .. 4661 rm -rf conftest.dir 4662 else 4663 am_cv_CXX_dependencies_compiler_type=none 4664 fi 4665 4666 fi 4667 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 4668 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 4669 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4670 4671 4672 4673 if 4674 test "x$enable_dependency_tracking" != xno \ 4675 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4676 am__fastdepCXX_TRUE= 4677 am__fastdepCXX_FALSE='#' 4678 else 4679 am__fastdepCXX_TRUE='#' 4680 am__fastdepCXX_FALSE= 4681 fi 4682 4683 4684 4685 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 4686 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 4687 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4688 if test "${enable_maintainer_mode+set}" = set; then 4689 enableval="$enable_maintainer_mode" 4690 USE_MAINTAINER_MODE=$enableval 4691 else 4692 USE_MAINTAINER_MODE=no 4693 fi; 4694 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 4695 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 4696 4697 4698 if test $USE_MAINTAINER_MODE = yes; then 4699 MAINTAINER_MODE_TRUE= 4700 MAINTAINER_MODE_FALSE='#' 4701 else 4702 MAINTAINER_MODE_TRUE='#' 4703 MAINTAINER_MODE_FALSE= 4704 fi 4705 4706 MAINT=$MAINTAINER_MODE_TRUE 4707 4708 4709 4710 coin_have_externals=no 4711 if test "$enable_maintainer_mode" = yes; then 4712 4713 # If maintainer mode is chosen, we make sure that the correct versions 4714 # of the tools are used, and that we know where libtool.m4 is (to 4715 # recreate acinclude.m4) 4716 4717 4718 LIBTOOLM4= 4719 # Normally, $HOME 4720 AUTOTOOLS_DFLT=$HOME 4721 4722 echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5 4723 echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6 4724 if test "${ac_cv_use_correct_autotools+set}" = set; then 4725 echo $ECHO_N "(cached) $ECHO_C" >&6 4726 else 4727 ac_cv_use_correct_autotools=check 4728 fi 4729 echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5 4730 echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6 4731 4732 if test $ac_cv_use_correct_autotools = check; then 4733 ac_cv_use_correct_autotools=yes 4734 # Check if we have autoconf 4735 # Extract the first word of "autoconf", so it can be a program name with args. 4736 set dummy autoconf; ac_word=$2 4737 echo "$as_me:$LINENO: checking for $ac_word" >&5 4738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4739 if test "${ac_cv_prog_have_autoconf+set}" = set; then 4740 echo $ECHO_N "(cached) $ECHO_C" >&6 4741 else 4742 if test -n "$have_autoconf"; then 4743 ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test. 4744 else 4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4746 for as_dir in $PATH 4747 do 4748 IFS=$as_save_IFS 4749 test -z "$as_dir" && as_dir=. 4750 for ac_exec_ext in '' $ac_executable_extensions; do 4751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4752 ac_cv_prog_have_autoconf="yes" 4753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4754 break 2 4755 fi 4756 done 4757 done 4758 4759 test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no" 4760 fi 4761 fi 4762 have_autoconf=$ac_cv_prog_have_autoconf 4763 if test -n "$have_autoconf"; then 4764 echo "$as_me:$LINENO: result: $have_autoconf" >&5 4765 echo "${ECHO_T}$have_autoconf" >&6 4766 else 4767 echo "$as_me:$LINENO: result: no" >&5 4768 echo "${ECHO_T}no" >&6 4769 fi 4770 4771 if test $have_autoconf = no; then 4772 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5 4773 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;} 4774 { (exit 1); exit 1; }; } 4775 fi 4776 4777 # Check whether autoconf is the correct version 4778 correct_version='2.59' 4779 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 4780 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5 4781 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6 4782 autoconf --version > confauto.out 2>&1 4783 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 4784 echo "$as_me:$LINENO: result: yes" >&5 4785 echo "${ECHO_T}yes" >&6 4786 else 4787 rm -f confauto.out 4788 echo "$as_me:$LINENO: result: no" >&5 4789 echo "${ECHO_T}no" >&6 4790 { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5 4791 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;} 4792 { (exit 1); exit 1; }; } 4793 fi 4794 rm -f confauto.out 4795 4796 # Check if the executable autoconf is picked up from the correct location 4797 echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5 4798 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6 4799 autoconf_dir=`which autoconf | sed -e 's=/autoconf=='` 4800 autoconf_dir=`cd $autoconf_dir; pwd` 4801 if test x$AUTOTOOLS_DIR = x; then 4802 want_dir=$AUTOTOOLS_DFLT/bin 4803 else 4804 want_dir=$AUTOTOOLS_DIR/bin 4805 fi 4806 if test $autoconf_dir = `cd $want_dir; pwd`; then 4807 echo "$as_me:$LINENO: result: yes" >&5 4808 echo "${ECHO_T}yes" >&6 4809 else 4810 rm -f confauto.out 4811 echo "$as_me:$LINENO: result: no" >&5 4812 echo "${ECHO_T}no" >&6 4813 { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5 4814 echo "$as_me: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;} 4815 { (exit 1); exit 1; }; } 4816 fi 4817 4818 # Check if we have automake 4819 # Extract the first word of "automake", so it can be a program name with args. 4820 set dummy automake; ac_word=$2 4821 echo "$as_me:$LINENO: checking for $ac_word" >&5 4822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4823 if test "${ac_cv_prog_have_automake+set}" = set; then 4824 echo $ECHO_N "(cached) $ECHO_C" >&6 4825 else 4826 if test -n "$have_automake"; then 4827 ac_cv_prog_have_automake="$have_automake" # Let the user override the test. 4828 else 4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4830 for as_dir in $PATH 4831 do 4832 IFS=$as_save_IFS 4833 test -z "$as_dir" && as_dir=. 4834 for ac_exec_ext in '' $ac_executable_extensions; do 4835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4836 ac_cv_prog_have_automake="yes" 4837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4838 break 2 4839 fi 4840 done 4841 done 4842 4843 test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no" 4844 fi 4845 fi 4846 have_automake=$ac_cv_prog_have_automake 4847 if test -n "$have_automake"; then 4848 echo "$as_me:$LINENO: result: $have_automake" >&5 4849 echo "${ECHO_T}$have_automake" >&6 4850 else 4851 echo "$as_me:$LINENO: result: no" >&5 4852 echo "${ECHO_T}no" >&6 4853 fi 4854 4855 if test $have_automake = no; then 4856 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5 4857 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;} 4858 { (exit 1); exit 1; }; } 4859 fi 4860 4861 # Check whether automake is the correct version 4862 correct_version='1.9.6' 4863 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 4864 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5 4865 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6 4866 automake --version > confauto.out 2>&1 4867 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 4868 echo "$as_me:$LINENO: result: yes" >&5 4869 echo "${ECHO_T}yes" >&6 4870 else 4871 rm -f confauto.out 4872 echo "$as_me:$LINENO: result: no" >&5 4873 echo "${ECHO_T}no" >&6 4874 { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5 4875 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;} 4876 { (exit 1); exit 1; }; } 4877 fi 4878 rm -f confauto.out 4879 4880 # Check if the executable automake is picked up from the correct location 4881 echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5 4882 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6 4883 automake_dir=`which automake | sed -e 's=/automake=='` 4884 automake_dir=`cd $automake_dir; pwd` 4885 if test x$AUTOTOOLS_DIR = x; then 4886 want_dir=$AUTOTOOLS_DFLT/bin 4887 else 4888 want_dir=$AUTOTOOLS_DIR/bin 4889 fi 4890 if test $automake_dir = `cd $want_dir; pwd`; then 4891 echo "$as_me:$LINENO: result: yes" >&5 4892 echo "${ECHO_T}yes" >&6 4893 else 4894 rm -f confauto.out 4895 echo "$as_me:$LINENO: result: no" >&5 4896 echo "${ECHO_T}no" >&6 4897 { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5 4898 echo "$as_me: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;} 4899 { (exit 1); exit 1; }; } 4900 fi 4901 4902 # Check if this is the correct version of libtool (with escaped dots) 4903 if test x$AUTOTOOLS_DIR = x; then 4904 want_dir=$AUTOTOOLS_DFLT/share 4905 else 4906 want_dir=$AUTOTOOLS_DIR/share 4907 fi 4908 correct_version='1.5.22' 4909 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 4910 as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh` 4911 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5 4912 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6 4913 if eval "test \"\${$as_ac_File+set}\" = set"; then 4914 echo $ECHO_N "(cached) $ECHO_C" >&6 4915 else 4916 test "$cross_compiling" = yes && 4917 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4918 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4919 { (exit 1); exit 1; }; } 4920 if test -r "$want_dir/libtool/ltmain.sh"; then 4921 eval "$as_ac_File=yes" 4922 else 4923 eval "$as_ac_File=no" 4924 fi 4925 fi 4926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 4927 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 4928 if test `eval echo '${'$as_ac_File'}'` = yes; then 4929 have_ltmain=yes 4930 else 4931 have_ltmain=no 4932 fi 4933 4934 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5 4935 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6 4936 if test $have_ltmain = yes; then 4937 if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then 4938 echo "$as_me:$LINENO: result: yes" >&5 4939 echo "${ECHO_T}yes" >&6 4940 else 4941 echo "$as_me:$LINENO: result: no" >&5 4942 echo "${ECHO_T}no" >&6 4943 { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5 4944 echo "$as_me: error: You don't have the correct version of libtool." >&2;} 4945 { (exit 1); exit 1; }; } 4946 fi 4947 else 4948 echo "$as_me:$LINENO: result: no" >&5 4949 echo "${ECHO_T}no" >&6 4950 { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5 4951 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;} 4952 { (exit 1); exit 1; }; } 4953 fi 4954 fi 4955 4956 # Check if we can find the libtool file 4957 if test x$AUTOTOOLS_DIR = x; then 4958 want_dir=$AUTOTOOLS_DFLT/share 4959 else 4960 want_dir=$AUTOTOOLS_DIR/share 4961 fi 4962 as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh` 4963 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5 4964 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6 4965 if eval "test \"\${$as_ac_File+set}\" = set"; then 4966 echo $ECHO_N "(cached) $ECHO_C" >&6 4967 else 4968 test "$cross_compiling" = yes && 4969 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4970 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4971 { (exit 1); exit 1; }; } 4972 if test -r "$want_dir/aclocal/libtool.m4"; then 4973 eval "$as_ac_File=yes" 4974 else 4975 eval "$as_ac_File=no" 4976 fi 4977 fi 4978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 4979 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 4980 if test `eval echo '${'$as_ac_File'}'` = yes; then 4981 LIBTOOLM4="$want_dir/aclocal/libtool.m4" 4982 else 4983 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 4984 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 4985 { (exit 1); exit 1; }; } 4986 fi 4987 4988 4989 # Check if we have an Externals file 4990 if test -r $srcdir/Externals; then 4991 coin_have_externals=yes 4992 fi 4993 # Check if subversion is installed and understands https 4994 # Extract the first word of "svn", so it can be a program name with args. 4995 set dummy svn; ac_word=$2 4996 echo "$as_me:$LINENO: checking for $ac_word" >&5 4997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4998 if test "${ac_cv_prog_have_svn+set}" = set; then 4999 echo $ECHO_N "(cached) $ECHO_C" >&6 5000 else 5001 if test -n "$have_svn"; then 5002 ac_cv_prog_have_svn="$have_svn" # Let the user override the test. 5003 else 5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5005 for as_dir in $PATH 5006 do 5007 IFS=$as_save_IFS 5008 test -z "$as_dir" && as_dir=. 5009 for ac_exec_ext in '' $ac_executable_extensions; do 5010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5011 ac_cv_prog_have_svn="yes" 5012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5013 break 2 5014 fi 5015 done 5016 done 5017 5018 test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no" 5019 fi 5020 fi 5021 have_svn=$ac_cv_prog_have_svn 5022 if test -n "$have_svn"; then 5023 echo "$as_me:$LINENO: result: $have_svn" >&5 5024 echo "${ECHO_T}$have_svn" >&6 5025 else 5026 echo "$as_me:$LINENO: result: no" >&5 5027 echo "${ECHO_T}no" >&6 5028 fi 5029 5030 if test x$have_svn = xyes; then 5031 echo "$as_me:$LINENO: checking whether svn understands https" >&5 5032 echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6 5033 if test "${ac_cv_svn_understands_https+set}" = set; then 5034 echo $ECHO_N "(cached) $ECHO_C" >&6 5035 else 5036 svn --version > confauto.out 2>&1 5037 if $EGREP https confauto.out >/dev/null 2>&1; then 5038 ac_cv_svn_understands_https=yes 5039 else 5040 ac_cv_svn_understands_https=no 5041 have_svn=no 5042 ac_cv_prog_have_svn=no 5043 fi 5044 rm -f confauto.out 5045 fi 5046 echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5 5047 echo "${ECHO_T}$ac_cv_svn_understands_https" >&6 5048 fi 5049 5050 # Find the location of the BuildTools directory 5051 BUILDTOOLSDIR= 5052 if test -r $srcdir/BuildTools/coin.m4; then 5053 BUILDTOOLSDIR=$srcdir/BuildTools 5054 else 5055 if test -r $srcdir/../BuildTools/coin.m4; then 5056 BUILDTOOLSDIR=$srcdir/../BuildTools 5057 else 5058 if test -r $srcdir/../../BuildTools/coin.m4; then 5059 BUILDTOOLSDIR=$srcdir/../../BuildTools 5060 else 5061 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5 5062 echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 5063 { (exit 1); exit 1; }; } 5064 fi 5065 fi 5066 fi 5067 5068 5069 # The following variable is set to the name of the directory where 5070 # the autotool scripts are located 5071 5072 AUX_DIR=$ac_aux_dir 5073 fi 5074 5075 # helpful variable for the base directory of this package 5076 abs_source_dir=`cd $srcdir; pwd` 5077 5078 5079 # Stuff for example Makefiles 5080 if test x$prefix = xNONE; then 5081 full_prefix=$ac_default_prefix 5082 else 5083 full_prefix=$prefix 5084 fi 5085 full_prefix=`cd $full_prefix ; pwd` 5086 5087 abs_lib_dir=$full_prefix/lib 5088 5089 abs_include_dir=$full_prefix/include 5090 5091 abs_bin_dir=$full_prefix/bin 5092 5093 5094 5095 if test $coin_have_externals = yes && test x$have_svn = xyes; then 5096 HAVE_EXTERNALS_TRUE= 5097 HAVE_EXTERNALS_FALSE='#' 5098 else 5099 HAVE_EXTERNALS_TRUE='#' 5100 HAVE_EXTERNALS_FALSE= 5101 fi 5102 5103 5104 # AC_MSG_NOTICE([End automake initialisation.]) 5105 5106 5107 5108 unset ac_cv_file__________libtool 5109 unset ac_cv_file_______libtool 5110 unset ac_cv_file____libtool 5111 5112 LIBTOOL= 5113 echo "$as_me:$LINENO: checking for ../libtool" >&5 5114 echo $ECHO_N "checking for ../libtool... $ECHO_C" >&6 5115 if test "${ac_cv_file____libtool+set}" = set; then 5116 echo $ECHO_N "(cached) $ECHO_C" >&6 5117 else 5118 test "$cross_compiling" = yes && 5119 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 5120 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 5121 { (exit 1); exit 1; }; } 5122 if test -r "../libtool"; then 5123 ac_cv_file____libtool=yes 5124 else 5125 ac_cv_file____libtool=no 5126 fi 5127 fi 5128 echo "$as_me:$LINENO: result: $ac_cv_file____libtool" >&5 5129 echo "${ECHO_T}$ac_cv_file____libtool" >&6 5130 if test $ac_cv_file____libtool = yes; then 5131 coin_config_dir=.. 5132 LIBTOOL='$(SHELL) $(top_builddir)/../libtool' 5133 fi 5134 5135 if test "x$LIBTOOL" = x; then 5136 echo "$as_me:$LINENO: checking for ../../libtool" >&5 5137 echo $ECHO_N "checking for ../../libtool... $ECHO_C" >&6 5138 if test "${ac_cv_file_______libtool+set}" = set; then 5139 echo $ECHO_N "(cached) $ECHO_C" >&6 5140 else 5141 test "$cross_compiling" = yes && 5142 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 5143 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 5144 { (exit 1); exit 1; }; } 5145 if test -r "../../libtool"; then 5146 ac_cv_file_______libtool=yes 5147 else 5148 ac_cv_file_______libtool=no 5149 fi 5150 fi 5151 echo "$as_me:$LINENO: result: $ac_cv_file_______libtool" >&5 5152 echo "${ECHO_T}$ac_cv_file_______libtool" >&6 5153 if test $ac_cv_file_______libtool = yes; then 5154 coin_config_dir=../.. 5155 LIBTOOL='$(SHELL) $(top_builddir)/../../libtool' 5156 fi 5157 5158 fi 5159 # if test "x$LIBTOOL" = x; then 5160 # AC_CHECK_FILE([../../../libtool], 5161 # [coin_config_dir=../../.. 5162 # LIBTOOL='$(SHELL) $(top_builddir)/../../../libtool']) 5163 # fi 5164 5165 if test "x$LIBTOOL" = x; then 5166 # AC_MSG_NOTICE([Creating libtool script (calling COIN_PROG_LIBTOOL).]) 5167 # Stuff for libtool 5168 # Check whether --enable-shared or --disable-shared was given. 4266 5169 if test "${enable_shared+set}" = set; then 4267 5170 enableval="$enable_shared" … … 4811 5714 *-*-irix6*) 4812 5715 # Find out which ABI we are using. 4813 echo '#line 4813"configure"' > conftest.$ac_ext5716 echo '#line 5716 "configure"' > conftest.$ac_ext 4814 5717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4815 5718 (eval $ac_compile) 2>&5 … … 5945 6848 5946 6849 # Provide some information about the compiler. 5947 echo "$as_me: 5947:" \6850 echo "$as_me:6850:" \ 5948 6851 "checking for Fortran 77 compiler version" >&5 5949 6852 ac_compiler=`set X $ac_compile; echo $2` … … 7012 7915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7013 7916 -e 's:$: $lt_compiler_flag:'` 7014 (eval echo "\"\$as_me:7 014: $lt_compile\"" >&5)7917 (eval echo "\"\$as_me:7917: $lt_compile\"" >&5) 7015 7918 (eval "$lt_compile" 2>conftest.err) 7016 7919 ac_status=$? 7017 7920 cat conftest.err >&5 7018 echo "$as_me:7 018: \$? = $ac_status" >&57921 echo "$as_me:7921: \$? = $ac_status" >&5 7019 7922 if (exit $ac_status) && test -s "$ac_outfile"; then 7020 7923 # The compiler can only warn and ignore the option if not recognized … … 7280 8183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7281 8184 -e 's:$: $lt_compiler_flag:'` 7282 (eval echo "\"\$as_me: 7282: $lt_compile\"" >&5)8185 (eval echo "\"\$as_me:8185: $lt_compile\"" >&5) 7283 8186 (eval "$lt_compile" 2>conftest.err) 7284 8187 ac_status=$? 7285 8188 cat conftest.err >&5 7286 echo "$as_me: 7286: \$? = $ac_status" >&58189 echo "$as_me:8189: \$? = $ac_status" >&5 7287 8190 if (exit $ac_status) && test -s "$ac_outfile"; then 7288 8191 # The compiler can only warn and ignore the option if not recognized … … 7384 8287 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7385 8288 -e 's:$: $lt_compiler_flag:'` 7386 (eval echo "\"\$as_me: 7386: $lt_compile\"" >&5)8289 (eval echo "\"\$as_me:8289: $lt_compile\"" >&5) 7387 8290 (eval "$lt_compile" 2>out/conftest.err) 7388 8291 ac_status=$? 7389 8292 cat out/conftest.err >&5 7390 echo "$as_me: 7390: \$? = $ac_status" >&58293 echo "$as_me:8293: \$? = $ac_status" >&5 7391 8294 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7392 8295 then … … 9729 10632 lt_status=$lt_dlunknown 9730 10633 cat > conftest.$ac_ext <<EOF 9731 #line 9731"configure"10634 #line 10634 "configure" 9732 10635 #include "confdefs.h" 9733 10636 … … 9829 10732 lt_status=$lt_dlunknown 9830 10733 cat > conftest.$ac_ext <<EOF 9831 #line 9831"configure"10734 #line 10734 "configure" 9832 10735 #include "confdefs.h" 9833 10736 … … 12173 13076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12174 13077 -e 's:$: $lt_compiler_flag:'` 12175 (eval echo "\"\$as_me:1 2175: $lt_compile\"" >&5)13078 (eval echo "\"\$as_me:13078: $lt_compile\"" >&5) 12176 13079 (eval "$lt_compile" 2>conftest.err) 12177 13080 ac_status=$? 12178 13081 cat conftest.err >&5 12179 echo "$as_me:1 2179: \$? = $ac_status" >&513082 echo "$as_me:13082: \$? = $ac_status" >&5 12180 13083 if (exit $ac_status) && test -s "$ac_outfile"; then 12181 13084 # The compiler can only warn and ignore the option if not recognized … … 12277 13180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12278 13181 -e 's:$: $lt_compiler_flag:'` 12279 (eval echo "\"\$as_me:1 2279: $lt_compile\"" >&5)13182 (eval echo "\"\$as_me:13182: $lt_compile\"" >&5) 12280 13183 (eval "$lt_compile" 2>out/conftest.err) 12281 13184 ac_status=$? 12282 13185 cat out/conftest.err >&5 12283 echo "$as_me:1 2283: \$? = $ac_status" >&513186 echo "$as_me:13186: \$? = $ac_status" >&5 12284 13187 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12285 13188 then … … 13847 14750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13848 14751 -e 's:$: $lt_compiler_flag:'` 13849 (eval echo "\"\$as_me:1 3849: $lt_compile\"" >&5)14752 (eval echo "\"\$as_me:14752: $lt_compile\"" >&5) 13850 14753 (eval "$lt_compile" 2>conftest.err) 13851 14754 ac_status=$? 13852 14755 cat conftest.err >&5 13853 echo "$as_me:1 3853: \$? = $ac_status" >&514756 echo "$as_me:14756: \$? = $ac_status" >&5 13854 14757 if (exit $ac_status) && test -s "$ac_outfile"; then 13855 14758 # The compiler can only warn and ignore the option if not recognized … … 13951 14854 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13952 14855 -e 's:$: $lt_compiler_flag:'` 13953 (eval echo "\"\$as_me:1 3953: $lt_compile\"" >&5)14856 (eval echo "\"\$as_me:14856: $lt_compile\"" >&5) 13954 14857 (eval "$lt_compile" 2>out/conftest.err) 13955 14858 ac_status=$? 13956 14859 cat out/conftest.err >&5 13957 echo "$as_me:1 3957: \$? = $ac_status" >&514860 echo "$as_me:14860: \$? = $ac_status" >&5 13958 14861 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13959 14862 then … … 16158 17061 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16159 17062 -e 's:$: $lt_compiler_flag:'` 16160 (eval echo "\"\$as_me:1 6160: $lt_compile\"" >&5)17063 (eval echo "\"\$as_me:17063: $lt_compile\"" >&5) 16161 17064 (eval "$lt_compile" 2>conftest.err) 16162 17065 ac_status=$? 16163 17066 cat conftest.err >&5 16164 echo "$as_me:1 6164: \$? = $ac_status" >&517067 echo "$as_me:17067: \$? = $ac_status" >&5 16165 17068 if (exit $ac_status) && test -s "$ac_outfile"; then 16166 17069 # The compiler can only warn and ignore the option if not recognized … … 16426 17329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16427 17330 -e 's:$: $lt_compiler_flag:'` 16428 (eval echo "\"\$as_me:1 6428: $lt_compile\"" >&5)17331 (eval echo "\"\$as_me:17331: $lt_compile\"" >&5) 16429 17332 (eval "$lt_compile" 2>conftest.err) 16430 17333 ac_status=$? 16431 17334 cat conftest.err >&5 16432 echo "$as_me:1 6432: \$? = $ac_status" >&517335 echo "$as_me:17335: \$? = $ac_status" >&5 16433 17336 if (exit $ac_status) && test -s "$ac_outfile"; then 16434 17337 # The compiler can only warn and ignore the option if not recognized … … 16530 17433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16531 17434 -e 's:$: $lt_compiler_flag:'` 16532 (eval echo "\"\$as_me:1 6532: $lt_compile\"" >&5)17435 (eval echo "\"\$as_me:17435: $lt_compile\"" >&5) 16533 17436 (eval "$lt_compile" 2>out/conftest.err) 16534 17437 ac_status=$? 16535 17438 cat out/conftest.err >&5 16536 echo "$as_me:1 6536: \$? = $ac_status" >&517439 echo "$as_me:17439: \$? = $ac_status" >&5 16537 17440 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16538 17441 then … … 19188 20091 19189 20092 19190 19191 19192 19193 19194 19195 # Initialize automake 19196 19197 # Stuff for automake 19198 # test to see if srcdir already configured 19199 if test "`cd $srcdir && pwd`" != "`pwd`" && 19200 test -f $srcdir/config.status; then 19201 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 19202 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 19203 { (exit 1); exit 1; }; } 19204 fi 19205 19206 # test whether we have cygpath 19207 if test -z "$CYGPATH_W"; then 19208 if (cygpath --version) >/dev/null 2>/dev/null; then 19209 CYGPATH_W='cygpath -w' 19210 else 19211 CYGPATH_W=echo 19212 fi 19213 fi 19214 19215 19216 # Define the identity of the package. 19217 PACKAGE='cbc' 19218 VERSION='0.1' 19219 19220 19221 cat >>confdefs.h <<_ACEOF 19222 #define PACKAGE "$PACKAGE" 19223 _ACEOF 19224 19225 19226 cat >>confdefs.h <<_ACEOF 19227 #define VERSION "$VERSION" 19228 _ACEOF 19229 19230 # Some tools Automake needs. 19231 19232 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 19233 19234 19235 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 19236 19237 19238 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 19239 19240 19241 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 19242 19243 19244 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 19245 19246 install_sh=${install_sh-"$am_aux_dir/install-sh"} 19247 19248 # Installed binaries are usually stripped using `strip' when the user 19249 # run `make install-strip'. However `strip' might not be the right 19250 # tool to use in cross-compilation environments, therefore Automake 19251 # will honor the `STRIP' environment variable to overrule this program. 19252 if test "$cross_compiling" != no; then 19253 if test -n "$ac_tool_prefix"; then 19254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 19255 set dummy ${ac_tool_prefix}strip; ac_word=$2 19256 echo "$as_me:$LINENO: checking for $ac_word" >&5 19257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19258 if test "${ac_cv_prog_STRIP+set}" = set; then 19259 echo $ECHO_N "(cached) $ECHO_C" >&6 19260 else 19261 if test -n "$STRIP"; then 19262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 19263 else 19264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19265 for as_dir in $PATH 19266 do 19267 IFS=$as_save_IFS 19268 test -z "$as_dir" && as_dir=. 19269 for ac_exec_ext in '' $ac_executable_extensions; do 19270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19271 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 19272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19273 break 2 19274 fi 19275 done 19276 done 19277 19278 fi 19279 fi 19280 STRIP=$ac_cv_prog_STRIP 19281 if test -n "$STRIP"; then 19282 echo "$as_me:$LINENO: result: $STRIP" >&5 19283 echo "${ECHO_T}$STRIP" >&6 19284 else 19285 echo "$as_me:$LINENO: result: no" >&5 19286 echo "${ECHO_T}no" >&6 19287 fi 19288 19289 fi 19290 if test -z "$ac_cv_prog_STRIP"; then 19291 ac_ct_STRIP=$STRIP 19292 # Extract the first word of "strip", so it can be a program name with args. 19293 set dummy strip; ac_word=$2 19294 echo "$as_me:$LINENO: checking for $ac_word" >&5 19295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 19297 echo $ECHO_N "(cached) $ECHO_C" >&6 19298 else 19299 if test -n "$ac_ct_STRIP"; then 19300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 19301 else 19302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19303 for as_dir in $PATH 19304 do 19305 IFS=$as_save_IFS 19306 test -z "$as_dir" && as_dir=. 19307 for ac_exec_ext in '' $ac_executable_extensions; do 19308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19309 ac_cv_prog_ac_ct_STRIP="strip" 19310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19311 break 2 19312 fi 19313 done 19314 done 19315 19316 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 19317 fi 19318 fi 19319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 19320 if test -n "$ac_ct_STRIP"; then 19321 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 19322 echo "${ECHO_T}$ac_ct_STRIP" >&6 19323 else 19324 echo "$as_me:$LINENO: result: no" >&5 19325 echo "${ECHO_T}no" >&6 19326 fi 19327 19328 STRIP=$ac_ct_STRIP 19329 else 19330 STRIP="$ac_cv_prog_STRIP" 19331 fi 19332 19333 fi 19334 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 19335 19336 # We need awk for the "check" target. The system "awk" is bad on 19337 # some platforms. 19338 # Always define AMTAR for backward compatibility. 19339 19340 AMTAR=${AMTAR-"${am_missing_run}tar"} 19341 19342 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 19343 19344 19345 19346 19347 depcc="$CC" am_compiler_list= 19348 19349 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 19350 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 19351 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 19352 echo $ECHO_N "(cached) $ECHO_C" >&6 19353 else 19354 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 19355 # We make a subdir and do the tests there. Otherwise we can end up 19356 # making bogus files that we don't know about and never remove. For 19357 # instance it was reported that on HP-UX the gcc test will end up 19358 # making a dummy file named `D' -- because `-MD' means `put the output 19359 # in D'. 19360 mkdir conftest.dir 19361 # Copy depcomp to subdir because otherwise we won't find it if we're 19362 # using a relative directory. 19363 cp "$am_depcomp" conftest.dir 19364 cd conftest.dir 19365 # We will build objects and dependencies in a subdirectory because 19366 # it helps to detect inapplicable dependency modes. For instance 19367 # both Tru64's cc and ICC support -MD to output dependencies as a 19368 # side effect of compilation, but ICC will put the dependencies in 19369 # the current directory while Tru64 will put them in the object 19370 # directory. 19371 mkdir sub 19372 19373 am_cv_CC_dependencies_compiler_type=none 19374 if test "$am_compiler_list" = ""; then 19375 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 19376 fi 19377 for depmode in $am_compiler_list; do 19378 # Setup a source with many dependencies, because some compilers 19379 # like to wrap large dependency lists on column 80 (with \), and 19380 # we should not choose a depcomp mode which is confused by this. 19381 # 19382 # We need to recreate these files for each test, as the compiler may 19383 # overwrite some of them when testing with obscure command lines. 19384 # This happens at least with the AIX C compiler. 19385 : > sub/conftest.c 19386 for i in 1 2 3 4 5 6; do 19387 echo '#include "conftst'$i'.h"' >> sub/conftest.c 19388 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 19389 # Solaris 8's {/usr,}/bin/sh. 19390 touch sub/conftst$i.h 19391 done 19392 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 19393 19394 case $depmode in 19395 nosideeffect) 19396 # after this tag, mechanisms are not by side-effect, so they'll 19397 # only be used when explicitly requested 19398 if test "x$enable_dependency_tracking" = xyes; then 19399 continue 19400 else 19401 break 19402 fi 19403 ;; 19404 none) break ;; 19405 esac 19406 # We check with `-c' and `-o' for the sake of the "dashmstdout" 19407 # mode. It turns out that the SunPro C++ compiler does not properly 19408 # handle `-M -o', and we need to detect this. 19409 if depmode=$depmode \ 19410 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 19411 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 19412 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 19413 >/dev/null 2>conftest.err && 19414 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 19415 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 19416 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 19417 # icc doesn't choke on unknown options, it will just issue warnings 19418 # or remarks (even with -Werror). So we grep stderr for any message 19419 # that says an option was ignored or not supported. 19420 # When given -MP, icc 7.0 and 7.1 complain thusly: 19421 # icc: Command line warning: ignoring option '-M'; no argument required 19422 # The diagnosis changed in icc 8.0: 19423 # icc: Command line remark: option '-MP' not supported 19424 if (grep 'ignoring option' conftest.err || 19425 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 19426 am_cv_CC_dependencies_compiler_type=$depmode 19427 break 19428 fi 19429 fi 19430 done 19431 19432 cd .. 19433 rm -rf conftest.dir 19434 else 19435 am_cv_CC_dependencies_compiler_type=none 19436 fi 19437 19438 fi 19439 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 19440 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 19441 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 19442 19443 19444 19445 if 19446 test "x$enable_dependency_tracking" != xno \ 19447 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 19448 am__fastdepCC_TRUE= 19449 am__fastdepCC_FALSE='#' 19450 else 19451 am__fastdepCC_TRUE='#' 19452 am__fastdepCC_FALSE= 19453 fi 19454 19455 19456 depcc="$CXX" am_compiler_list= 19457 19458 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 19459 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 19460 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 19461 echo $ECHO_N "(cached) $ECHO_C" >&6 19462 else 19463 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 19464 # We make a subdir and do the tests there. Otherwise we can end up 19465 # making bogus files that we don't know about and never remove. For 19466 # instance it was reported that on HP-UX the gcc test will end up 19467 # making a dummy file named `D' -- because `-MD' means `put the output 19468 # in D'. 19469 mkdir conftest.dir 19470 # Copy depcomp to subdir because otherwise we won't find it if we're 19471 # using a relative directory. 19472 cp "$am_depcomp" conftest.dir 19473 cd conftest.dir 19474 # We will build objects and dependencies in a subdirectory because 19475 # it helps to detect inapplicable dependency modes. For instance 19476 # both Tru64's cc and ICC support -MD to output dependencies as a 19477 # side effect of compilation, but ICC will put the dependencies in 19478 # the current directory while Tru64 will put them in the object 19479 # directory. 19480 mkdir sub 19481 19482 am_cv_CXX_dependencies_compiler_type=none 19483 if test "$am_compiler_list" = ""; then 19484 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 19485 fi 19486 for depmode in $am_compiler_list; do 19487 # Setup a source with many dependencies, because some compilers 19488 # like to wrap large dependency lists on column 80 (with \), and 19489 # we should not choose a depcomp mode which is confused by this. 19490 # 19491 # We need to recreate these files for each test, as the compiler may 19492 # overwrite some of them when testing with obscure command lines. 19493 # This happens at least with the AIX C compiler. 19494 : > sub/conftest.c 19495 for i in 1 2 3 4 5 6; do 19496 echo '#include "conftst'$i'.h"' >> sub/conftest.c 19497 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 19498 # Solaris 8's {/usr,}/bin/sh. 19499 touch sub/conftst$i.h 19500 done 19501 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 19502 19503 case $depmode in 19504 nosideeffect) 19505 # after this tag, mechanisms are not by side-effect, so they'll 19506 # only be used when explicitly requested 19507 if test "x$enable_dependency_tracking" = xyes; then 19508 continue 19509 else 19510 break 19511 fi 19512 ;; 19513 none) break ;; 19514 esac 19515 # We check with `-c' and `-o' for the sake of the "dashmstdout" 19516 # mode. It turns out that the SunPro C++ compiler does not properly 19517 # handle `-M -o', and we need to detect this. 19518 if depmode=$depmode \ 19519 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 19520 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 19521 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 19522 >/dev/null 2>conftest.err && 19523 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 19524 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 19525 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 19526 # icc doesn't choke on unknown options, it will just issue warnings 19527 # or remarks (even with -Werror). So we grep stderr for any message 19528 # that says an option was ignored or not supported. 19529 # When given -MP, icc 7.0 and 7.1 complain thusly: 19530 # icc: Command line warning: ignoring option '-M'; no argument required 19531 # The diagnosis changed in icc 8.0: 19532 # icc: Command line remark: option '-MP' not supported 19533 if (grep 'ignoring option' conftest.err || 19534 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 19535 am_cv_CXX_dependencies_compiler_type=$depmode 19536 break 19537 fi 19538 fi 19539 done 19540 19541 cd .. 19542 rm -rf conftest.dir 19543 else 19544 am_cv_CXX_dependencies_compiler_type=none 19545 fi 19546 19547 fi 19548 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 19549 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 19550 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 19551 19552 19553 19554 if 19555 test "x$enable_dependency_tracking" != xno \ 19556 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 19557 am__fastdepCXX_TRUE= 19558 am__fastdepCXX_FALSE='#' 19559 else 19560 am__fastdepCXX_TRUE='#' 19561 am__fastdepCXX_FALSE= 19562 fi 19563 19564 19565 19566 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 19567 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 19568 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 19569 if test "${enable_maintainer_mode+set}" = set; then 19570 enableval="$enable_maintainer_mode" 19571 USE_MAINTAINER_MODE=$enableval 19572 else 19573 USE_MAINTAINER_MODE=no 19574 fi; 19575 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 19576 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 19577 19578 19579 if test $USE_MAINTAINER_MODE = yes; then 19580 MAINTAINER_MODE_TRUE= 19581 MAINTAINER_MODE_FALSE='#' 19582 else 19583 MAINTAINER_MODE_TRUE='#' 19584 MAINTAINER_MODE_FALSE= 19585 fi 19586 19587 MAINT=$MAINTAINER_MODE_TRUE 19588 19589 19590 19591 coin_have_externals=no 19592 if test "$enable_maintainer_mode" = yes; then 19593 19594 # If maintainer mode is chosen, we make sure that the correct versions 19595 # of the tools are used, and that we know where libtoo.m4 is (to 19596 # recreate acinclude.m4) 19597 19598 19599 LIBTOOLM4= 19600 19601 # Check if we have autoconf 19602 # Extract the first word of "autoconf", so it can be a program name with args. 19603 set dummy autoconf; ac_word=$2 19604 echo "$as_me:$LINENO: checking for $ac_word" >&5 19605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19606 if test "${ac_cv_prog_have_autoconf+set}" = set; then 19607 echo $ECHO_N "(cached) $ECHO_C" >&6 19608 else 19609 if test -n "$have_autoconf"; then 19610 ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test. 19611 else 19612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19613 for as_dir in $PATH 19614 do 19615 IFS=$as_save_IFS 19616 test -z "$as_dir" && as_dir=. 19617 for ac_exec_ext in '' $ac_executable_extensions; do 19618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19619 ac_cv_prog_have_autoconf="yes" 19620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19621 break 2 19622 fi 19623 done 19624 done 19625 19626 test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no" 19627 fi 19628 fi 19629 have_autoconf=$ac_cv_prog_have_autoconf 19630 if test -n "$have_autoconf"; then 19631 echo "$as_me:$LINENO: result: $have_autoconf" >&5 19632 echo "${ECHO_T}$have_autoconf" >&6 19633 else 19634 echo "$as_me:$LINENO: result: no" >&5 19635 echo "${ECHO_T}no" >&6 19636 fi 19637 19638 if test $have_autoconf = no; then 19639 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5 19640 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;} 19641 { (exit 1); exit 1; }; } 19642 fi 19643 19644 # Check whether autoconf is the correct version 19645 correct_version='2.59' 19646 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 19647 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5 19648 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6 19649 autoconf --version > confauto.out 2>&1 19650 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 19651 echo "$as_me:$LINENO: result: yes" >&5 19652 echo "${ECHO_T}yes" >&6 19653 else 19654 rm -f confauto.out 19655 echo "$as_me:$LINENO: result: no" >&5 19656 echo "${ECHO_T}no" >&6 19657 { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5 19658 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;} 19659 { (exit 1); exit 1; }; } 19660 fi 19661 rm -f confauto.out 19662 19663 # Check if the executable autoconf is picked up from the correct location 19664 echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5 19665 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6 19666 autoconf_dir=`which autoconf | sed -e 's=/autoconf=='` 19667 autoconf_dir=`cd $autoconf_dir; pwd` 19668 if test x$AUTOTOOLS_DIR = x; then 19669 want_dir=$HOME/bin 19670 else 19671 want_dir=$AUTOTOOLS_DIR/bin 19672 fi 19673 if test $autoconf_dir = `cd $want_dir; pwd`; then 19674 echo "$as_me:$LINENO: result: yes" >&5 19675 echo "${ECHO_T}yes" >&6 19676 else 19677 rm -f confauto.out 19678 echo "$as_me:$LINENO: result: no" >&5 19679 echo "${ECHO_T}no" >&6 19680 { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5 19681 echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;} 19682 { (exit 1); exit 1; }; } 19683 fi 19684 19685 # Check if we have automake 19686 # Extract the first word of "automake", so it can be a program name with args. 19687 set dummy automake; ac_word=$2 19688 echo "$as_me:$LINENO: checking for $ac_word" >&5 19689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19690 if test "${ac_cv_prog_have_automake+set}" = set; then 19691 echo $ECHO_N "(cached) $ECHO_C" >&6 19692 else 19693 if test -n "$have_automake"; then 19694 ac_cv_prog_have_automake="$have_automake" # Let the user override the test. 19695 else 19696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19697 for as_dir in $PATH 19698 do 19699 IFS=$as_save_IFS 19700 test -z "$as_dir" && as_dir=. 19701 for ac_exec_ext in '' $ac_executable_extensions; do 19702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19703 ac_cv_prog_have_automake="yes" 19704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19705 break 2 19706 fi 19707 done 19708 done 19709 19710 test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no" 19711 fi 19712 fi 19713 have_automake=$ac_cv_prog_have_automake 19714 if test -n "$have_automake"; then 19715 echo "$as_me:$LINENO: result: $have_automake" >&5 19716 echo "${ECHO_T}$have_automake" >&6 19717 else 19718 echo "$as_me:$LINENO: result: no" >&5 19719 echo "${ECHO_T}no" >&6 19720 fi 19721 19722 if test $have_automake = no; then 19723 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5 19724 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;} 19725 { (exit 1); exit 1; }; } 19726 fi 19727 19728 # Check whether automake is the correct version 19729 correct_version='1.9.6' 19730 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 19731 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5 19732 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6 19733 automake --version > confauto.out 2>&1 19734 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 19735 echo "$as_me:$LINENO: result: yes" >&5 19736 echo "${ECHO_T}yes" >&6 19737 else 19738 rm -f confauto.out 19739 echo "$as_me:$LINENO: result: no" >&5 19740 echo "${ECHO_T}no" >&6 19741 { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5 19742 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;} 19743 { (exit 1); exit 1; }; } 19744 fi 19745 rm -f confauto.out 19746 19747 # Check if the executable automake is picked up from the correct location 19748 echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5 19749 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6 19750 automake_dir=`which automake | sed -e 's=/automake=='` 19751 automake_dir=`cd $automake_dir; pwd` 19752 if test x$AUTOTOOLS_DIR = x; then 19753 want_dir=$HOME/bin 19754 else 19755 want_dir=$AUTOTOOLS_DIR/bin 19756 fi 19757 if test $automake_dir = `cd $want_dir; pwd`; then 19758 echo "$as_me:$LINENO: result: yes" >&5 19759 echo "${ECHO_T}yes" >&6 19760 else 19761 rm -f confauto.out 19762 echo "$as_me:$LINENO: result: no" >&5 19763 echo "${ECHO_T}no" >&6 19764 { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5 19765 echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;} 19766 { (exit 1); exit 1; }; } 19767 fi 19768 19769 # Check if we can find the libtool file 19770 if test x$AUTOTOOLS_DIR = x; then 19771 want_dir=$HOME/share 19772 else 19773 want_dir=$AUTOTOOLS_DIR/share 19774 fi 19775 as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh` 19776 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5 19777 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6 19778 if eval "test \"\${$as_ac_File+set}\" = set"; then 19779 echo $ECHO_N "(cached) $ECHO_C" >&6 19780 else 19781 test "$cross_compiling" = yes && 19782 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 19783 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 19784 { (exit 1); exit 1; }; } 19785 if test -r "$want_dir/aclocal/libtool.m4"; then 19786 eval "$as_ac_File=yes" 19787 else 19788 eval "$as_ac_File=no" 19789 fi 19790 fi 19791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 19792 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 19793 if test `eval echo '${'$as_ac_File'}'` = yes; then 19794 LIBTOOLM4="$want_dir/aclocal/libtool.m4" 19795 else 19796 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 19797 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 19798 { (exit 1); exit 1; }; } 19799 fi 19800 19801 19802 # Check if this is the correct version of libtool (with escaped dots) 19803 correct_version='1.5.22' 19804 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 19805 as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh` 19806 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5 19807 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6 19808 if eval "test \"\${$as_ac_File+set}\" = set"; then 19809 echo $ECHO_N "(cached) $ECHO_C" >&6 19810 else 19811 test "$cross_compiling" = yes && 19812 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 19813 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 19814 { (exit 1); exit 1; }; } 19815 if test -r "$want_dir/libtool/ltmain.sh"; then 19816 eval "$as_ac_File=yes" 19817 else 19818 eval "$as_ac_File=no" 19819 fi 19820 fi 19821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 19822 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 19823 if test `eval echo '${'$as_ac_File'}'` = yes; then 19824 have_ltmain=yes 19825 else 19826 have_ltmain=no 19827 fi 19828 19829 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5 19830 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6 19831 if test $have_ltmain = yes; then 19832 if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then 19833 echo "$as_me:$LINENO: result: yes" >&5 19834 echo "${ECHO_T}yes" >&6 19835 else 19836 echo "$as_me:$LINENO: result: no" >&5 19837 echo "${ECHO_T}no" >&6 19838 { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5 19839 echo "$as_me: error: You don't have the correct version of libtool." >&2;} 19840 { (exit 1); exit 1; }; } 19841 fi 19842 else 19843 echo "$as_me:$LINENO: result: no" >&5 19844 echo "${ECHO_T}no" >&6 19845 { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5 19846 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;} 19847 { (exit 1); exit 1; }; } 19848 fi 19849 19850 # Check if we have an Externals file 19851 if test -r $srcdir/Externals; then 19852 coin_have_externals=yes 19853 fi 19854 # Check if subversion is installed and understands https 19855 # Extract the first word of "svn", so it can be a program name with args. 19856 set dummy svn; ac_word=$2 19857 echo "$as_me:$LINENO: checking for $ac_word" >&5 19858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19859 if test "${ac_cv_prog_have_svn+set}" = set; then 19860 echo $ECHO_N "(cached) $ECHO_C" >&6 19861 else 19862 if test -n "$have_svn"; then 19863 ac_cv_prog_have_svn="$have_svn" # Let the user override the test. 19864 else 19865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19866 for as_dir in $PATH 19867 do 19868 IFS=$as_save_IFS 19869 test -z "$as_dir" && as_dir=. 19870 for ac_exec_ext in '' $ac_executable_extensions; do 19871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19872 ac_cv_prog_have_svn="yes" 19873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19874 break 2 19875 fi 19876 done 19877 done 19878 19879 test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no" 19880 fi 19881 fi 19882 have_svn=$ac_cv_prog_have_svn 19883 if test -n "$have_svn"; then 19884 echo "$as_me:$LINENO: result: $have_svn" >&5 19885 echo "${ECHO_T}$have_svn" >&6 19886 else 19887 echo "$as_me:$LINENO: result: no" >&5 19888 echo "${ECHO_T}no" >&6 19889 fi 19890 19891 if test x$have_svn = xyes; then 19892 echo "$as_me:$LINENO: checking svn understands https" >&5 19893 echo $ECHO_N "checking svn understands https... $ECHO_C" >&6 19894 svn --version > confauto.out 2>&1 19895 if $EGREP https confauto.out >/dev/null 2>&1; then 19896 echo "$as_me:$LINENO: result: yes" >&5 19897 echo "${ECHO_T}yes" >&6 19898 else 19899 echo "$as_me:$LINENO: result: no" >&5 19900 echo "${ECHO_T}no" >&6 19901 have_svn=no 19902 fi 19903 rm -f confauto.out 19904 fi 19905 19906 # Find the location of the BuildTools directory 19907 BUILDTOOLSDIR= 19908 if test -r $srcdir/BuildTools/coin.m4; then 19909 BUILDTOOLSDIR=$srcdir/BuildTools 19910 else 19911 if test -r $srcdir/../BuildTools/coin.m4; then 19912 BUILDTOOLSDIR=$srcdir/../BuildTools 19913 else 19914 if test -r $srcdir/../../BuildTools/coin.m4; then 19915 BUILDTOOLSDIR=$srcdir/../../BuildTools 19916 else 19917 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5 19918 echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 19919 { (exit 1); exit 1; }; } 19920 fi 19921 fi 19922 fi 19923 19924 19925 # The following variable is set to the name of the directory where 19926 # the autotool scripts are located 19927 19928 AUX_DIR=$ac_aux_dir 19929 fi 19930 19931 # helpful variable for the base directory of this package 19932 abs_source_dir=`cd $srcdir; pwd` 19933 19934 19935 # Stuff for example Makefiles 19936 if test x$prefix = xNONE; then 19937 full_prefix=$ac_default_prefix 19938 else 19939 full_prefix=$prefix 19940 fi 19941 full_prefix=`cd $full_prefix ; pwd` 19942 19943 abs_lib_dir=$full_prefix/lib 19944 19945 abs_include_dir=$full_prefix/include 19946 19947 abs_bin_dir=$full_prefix/bin 19948 19949 19950 19951 if test $coin_have_externals = yes && test x$have_svn = xyes; then 19952 HAVE_EXTERNALS_TRUE= 19953 HAVE_EXTERNALS_FALSE='#' 19954 else 19955 HAVE_EXTERNALS_TRUE='#' 19956 HAVE_EXTERNALS_FALSE= 19957 fi 19958 19959 19960 19961 # Stuff for libtool 19962 19963 19964 # We check for this header here in a non-standard way to avoid warning 19965 # messages 19966 19967 19968 19969 19970 19971 19972 20093 # No longer needed now that CPPFLAGS is correctly set -- lh, 061214 -- 20094 # AC_REQUIRE([AC_COIN_DLFCN_H]) 20095 20096 # NEW: If libtool exists in the directory higher up, we use that one 20097 # instead of creating a new one 20098 20099 # It turns out that the code for AC_PROG_LIBTOOL is somehow AC_REQUIRED 20100 # out in front of this macro body. You'll notice that LIBTOOL is already 20101 # defined here. We'll have to count on this macro not being called if libtool 20102 # already exists, or at least move the libtool fixes outside the conditional. 20103 # AC_MSG_NOTICE([Entering coin_prog_libtool, LIBTOOL = "$LIBTOOL".]) 20104 # This test is therefore removed. -- lh, 061214 -- 20105 # if test "x$LIBTOOL" = x; then 20106 20107 # AC_MSG_NOTICE([Calling PROG_LIBTOOL.]) 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 # AC_MSG_NOTICE([Finished PROG_LIBTOOL.]) 19973 20118 19974 20119 … … 19992 20137 # -e 'sYcompile_command=`\$echo "X\$compile_command" | \$Xsed -e '"'"'s%@OUTPUT@%'"'"'"\$output"'"'"'%g'"'"'`Ycompile_command=`\$echo "X\$compile_command" | \$Xsed -e '"'"'s%@OUTPUT@%'"'"'"\$output"'"'"'%g'"'"' | \$Xsed -e '"'"'s%@BACKSLASH@%\\\\\\\\\\\\\\\\%g'"'"'`Y' \ 19993 20138 19994 # Correct cygpath for minGW (ToDo!) 19995 case $build in 19996 *-mingw*) 19997 CYGPATH_W=echo 19998 ;; 19999 esac 20000 20001 case $build in 20002 *-cygwin* | *-mingw*) 20003 case "$CXX" in 20004 cl* | */cl*) 20005 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 20139 # Correct cygpath for minGW (ToDo!) 20140 { echo "$as_me:$LINENO: Build is \"$build\"." >&5 20141 echo "$as_me: Build is \"$build\"." >&6;} 20142 case $build in 20143 *-mingw*) 20144 CYGPATH_W=echo 20145 ;; 20146 esac 20147 20148 case $build in 20149 *-cygwin* | *-mingw*) 20150 case "$CXX" in 20151 cl* | */cl* | CL* | */CL*) 20152 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 20006 20153 echo "$as_me: Applying patches to libtool for cl compiler" >&6;} 20007 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \20008 -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \20009 -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \20010 -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \20011 -e 's%lib /OUT:%lib -OUT:%' \20012 -e "s%cygpath -w%$CYGPATH_W%" \20013 20014 -e 's/$AR t/lib -nologo -list/' \20015 -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \20016 -e 's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \20017 libtool > conftest.bla20018 20019 mv conftest.bla libtool20020 chmod 755 libtool20021 ;;20022 *)20023 { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&520154 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20155 -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20156 -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \ 20157 -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \ 20158 -e 's%lib /OUT:%lib -OUT:%' \ 20159 -e "s%cygpath -w%$CYGPATH_W%" \ 20160 -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo\\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \ 20161 -e 's/$AR t/lib -nologo -list/' \ 20162 -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \ 20163 -e 's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \ 20164 libtool > conftest.bla 20165 20166 mv conftest.bla libtool 20167 chmod 755 libtool 20168 ;; 20169 *) 20170 { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&5 20024 20171 echo "$as_me: Applying patches to libtool for GNU compiler" >&6;} 20025 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20026 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 20027 -e 's|libext="lib"|libext="a"|' \ 20028 libtool > conftest.bla 20029 20030 mv conftest.bla libtool 20031 chmod 755 libtool 20032 ;; 20172 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20173 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 20174 -e 's|libext="lib"|libext="a"|' \ 20175 libtool > conftest.bla 20176 20177 mv conftest.bla libtool 20178 chmod 755 libtool 20179 ;; 20180 esac 20033 20181 esac 20034 esac 20035 20036 # ToDo 20037 # For now, don't use the -no-undefined flag, since the Makefiles are 20038 # not yet set up that way. But we need to fix this, when we want 20039 # to comile DLLs under Windows. 20040 LT_LDFLAGS= 20041 20042 20043 20044 # set RPATH_FLAGS to the compiler link flags required to hardcode location 20045 # of the shared objects 20046 RPATH_FLAGS= 20182 # This fi matches the commented `if test "x$LIBTOOL" = x;' up at the head of 20183 # the macro. -- lh, 061214 -- 20184 # fi 20185 20186 # AC_MSG_NOTICE([End libtool initialisation.]) 20187 20188 # AC_MSG_NOTICE([Finished COIN_PROG_LIBTOOL.]) 20189 # set RPATH_FLAGS to the compiler link flags required to hardcode location 20190 # of the shared objects 20191 RPATH_FLAGS= 20047 20192 20048 20193 if test $enable_shared = yes; then … … 20085 20230 20086 20231 20232 else 20233 20234 { echo "$as_me:$LINENO: Using libtool script in directory $coin_config_dir" >&5 20235 echo "$as_me: Using libtool script in directory $coin_config_dir" >&6;} 20236 # get all missing information from the config.log file 20237 20238 # output variables and defines 20239 as_save_IFS=$IFS 20240 IFS=' 20241 ' 20242 for oneline in `cat $coin_config_dir/config.status`; do 20243 case "$oneline" in 20244 # First some automake conditionals 20245 s,@am__fastdep* | s,@AR@* | s,@CPP@* | s,@CPPFLAGS@* | s,@CXXCPP@* | \ 20246 s,@RANLIB@* | s,@STRIP@* | s,@ac_ct_AR@* | s,@ac_ct_RANLIB@* | \ 20247 s,@ac_ct_STRIP@* | s,@host* | s,@LN_S@* | s,@RPATH_FLAGS@* | \ 20248 s,@ac_c_preproc_warn_flag@* | s,@ac_cxx_preproc_warn_flag@* ) 20249 command=`echo $oneline | sed -e 's/^s,@//' -e 's/@,/="/' -e 's/,;t t/"/'` 20250 # echo "$command" 20251 eval "$command" 20252 ;; 20253 s,@DEFS@* ) 20254 command=`echo $oneline | sed -e 's/^s,@DEFS@,/defsline="/' -e 's/,;t t/"/'` 20255 # echo "$command" 20256 eval "$command" 20257 ;; 20258 esac 20259 done 20260 IFS=$as_save_IFS 20261 20262 # And some defines (assuming here that the packages base dir 20263 # doesn't have a config.h file 20264 for word in $defsline; do 20265 # echo word $word 20266 case $word in 20267 -DHAVE_[A-Z_]*_H=1 | -DSTDC_HEADERS=1 ) 20268 i=`echo $word | sed -e 's/-D/#define /' -e 's/=/ /'` 20269 # echo dd $i 20270 echo $i >>confdefs.h 20271 ;; 20272 esac 20273 done 20274 fi 20275 20276 # AC_MSG_NOTICE([End of INIT_AUTO_TOOLS.]) 20277 20278 # ToDo 20279 # For now, don't use the -no-undefined flag, since the Makefiles are 20280 # not yet set up that way. But we need to fix this, when we want 20281 # to comile DLLs under Windows. 20282 LT_LDFLAGS= 20283 20284 20285 #END 20286 } 20087 20287 20088 20288 ############################################################################# … … 20659 20859 echo "$as_me:$LINENO: checking whether symbol CPXgetstat is available with CPX" >&5 20660 20860 echo $ECHO_N "checking whether symbol CPXgetstat is available with CPX... $ECHO_C" >&6 20861 ac_ext=c 20862 ac_cpp='$CPP $CPPFLAGS' 20863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20865 ac_compiler_gnu=$ac_cv_c_compiler_gnu 20866 20661 20867 # ToDo find out what to do about extern "C" 20662 20868 # AC_TRY_LINK([extern "C" {void CPXgetstat();}],[CPXgetstat()], … … 20712 20918 rm -f conftest.err conftest.$ac_objext \ 20713 20919 conftest$ac_exeext conftest.$ac_ext 20920 ac_ext=c 20921 ac_cpp='$CPP $CPPFLAGS' 20922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20924 ac_compiler_gnu=$ac_cv_c_compiler_gnu 20925 20714 20926 LIBS="$coin_save_LIBS" 20715 20927 fi … … 20816 21028 echo "$as_me:$LINENO: checking whether symbol glp_lpx_simplex is available with GLPK" >&5 20817 21029 echo $ECHO_N "checking whether symbol glp_lpx_simplex is available with GLPK... $ECHO_C" >&6 21030 ac_ext=c 21031 ac_cpp='$CPP $CPPFLAGS' 21032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21034 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21035 20818 21036 # ToDo find out what to do about extern "C" 20819 21037 # AC_TRY_LINK([extern "C" {void glp_lpx_simplex();}],[glp_lpx_simplex()], … … 20869 21087 rm -f conftest.err conftest.$ac_objext \ 20870 21088 conftest$ac_exeext conftest.$ac_ext 21089 ac_ext=c 21090 ac_cpp='$CPP $CPPFLAGS' 21091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21093 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21094 20871 21095 LIBS="$coin_save_LIBS" 20872 21096 fi … … 21044 21268 echo "$as_me:$LINENO: checking whether symbol MSK_openmosek is available with MSK" >&5 21045 21269 echo $ECHO_N "checking whether symbol MSK_openmosek is available with MSK... $ECHO_C" >&6 21270 ac_ext=c 21271 ac_cpp='$CPP $CPPFLAGS' 21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21275 21046 21276 # ToDo find out what to do about extern "C" 21047 21277 # AC_TRY_LINK([extern "C" {void MSK_openmosek();}],[MSK_openmosek()], … … 21097 21327 rm -f conftest.err conftest.$ac_objext \ 21098 21328 conftest$ac_exeext conftest.$ac_ext 21329 ac_ext=c 21330 ac_cpp='$CPP $CPPFLAGS' 21331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21333 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21334 21099 21335 LIBS="$coin_save_LIBS" 21100 21336 fi … … 21201 21437 echo "$as_me:$LINENO: checking whether symbol ekk_simplex is available with OSL" >&5 21202 21438 echo $ECHO_N "checking whether symbol ekk_simplex is available with OSL... $ECHO_C" >&6 21439 ac_ext=c 21440 ac_cpp='$CPP $CPPFLAGS' 21441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21443 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21444 21203 21445 # ToDo find out what to do about extern "C" 21204 21446 # AC_TRY_LINK([extern "C" {void ekk_simplex();}],[ekk_simplex()], … … 21254 21496 rm -f conftest.err conftest.$ac_objext \ 21255 21497 conftest$ac_exeext conftest.$ac_ext 21498 ac_ext=c 21499 ac_cpp='$CPP $CPPFLAGS' 21500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21502 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21503 21256 21504 LIBS="$coin_save_LIBS" 21257 21505 fi … … 21455 21703 echo "$as_me:$LINENO: checking whether symbol XPRSsetintcontrol is available with XPR" >&5 21456 21704 echo $ECHO_N "checking whether symbol XPRSsetintcontrol is available with XPR... $ECHO_C" >&6 21705 ac_ext=c 21706 ac_cpp='$CPP $CPPFLAGS' 21707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21709 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21710 21457 21711 # ToDo find out what to do about extern "C" 21458 21712 # AC_TRY_LINK([extern "C" {void XPRSsetintcontrol();}],[XPRSsetintcontrol()], … … 21508 21762 rm -f conftest.err conftest.$ac_objext \ 21509 21763 conftest$ac_exeext conftest.$ac_ext 21764 ac_ext=c 21765 ac_cpp='$CPP $CPPFLAGS' 21766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21768 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21769 21510 21770 LIBS="$coin_save_LIBS" 21511 21771 fi … … 21546 21806 # Determine the name of the ASL library 21547 21807 case "$CXX" in 21548 cl* | */cl* )21808 cl* | */cl* | CL* | */CL*) 21549 21809 ampllib=amplsolv.lib ;; 21550 21810 *) … … 21562 21822 21563 21823 if test "$use_asldir" = BUILD; then 21564 as_ac_File=`echo "ac_cv_file_$coin_aslobjdir/Makefile" | $as_tr_sh` 21565 echo "$as_me:$LINENO: checking for $coin_aslobjdir/Makefile" >&5 21566 echo $ECHO_N "checking for $coin_aslobjdir/Makefile... $ECHO_C" >&6 21824 if test "$PACKAGE_NAME" != ThirdPartyASL; then 21825 # If we are configuring ThirdParty/ASL, don't check 21826 as_ac_File=`echo "ac_cv_file_$coin_aslobjdir/.MakeOk" | $as_tr_sh` 21827 echo "$as_me:$LINENO: checking for $coin_aslobjdir/.MakeOk" >&5 21828 echo $ECHO_N "checking for $coin_aslobjdir/.MakeOk... $ECHO_C" >&6 21567 21829 if eval "test \"\${$as_ac_File+set}\" = set"; then 21568 21830 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 21572 21834 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21573 21835 { (exit 1); exit 1; }; } 21574 if test -r "$coin_aslobjdir/ Makefile"; then21836 if test -r "$coin_aslobjdir/.MakeOk"; then 21575 21837 eval "$as_ac_File=yes" 21576 21838 else … … 21588 21850 fi 21589 21851 21852 fi 21590 21853 elif test -z "$use_asldir"; then 21591 21854 # try to find sources - if not given don't compile 21592 as_ac_File=`echo "ac_cv_file_$coin_aslobjdir/Makefile" | $as_tr_sh` 21593 echo "$as_me:$LINENO: checking for $coin_aslobjdir/Makefile" >&5 21594 echo $ECHO_N "checking for $coin_aslobjdir/Makefile... $ECHO_C" >&6 21855 if test "$PACKAGE_NAME" != ThirdPartyASL; then 21856 as_ac_File=`echo "ac_cv_file_$coin_aslobjdir/.MakeOk" | $as_tr_sh` 21857 echo "$as_me:$LINENO: checking for $coin_aslobjdir/.MakeOk" >&5 21858 echo $ECHO_N "checking for $coin_aslobjdir/.MakeOk... $ECHO_C" >&6 21595 21859 if eval "test \"\${$as_ac_File+set}\" = set"; then 21596 21860 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 21600 21864 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21601 21865 { (exit 1); exit 1; }; } 21602 if test -r "$coin_aslobjdir/ Makefile"; then21866 if test -r "$coin_aslobjdir/.MakeOk"; then 21603 21867 eval "$as_ac_File=yes" 21604 21868 else … … 21614 21878 fi 21615 21879 21880 else 21881 use_asldir=no 21882 fi 21616 21883 elif test "$use_asldir" != "no"; then 21617 21884 as_ac_File=`echo "ac_cv_file_$use_asldir/$ampllib" | $as_tr_sh` … … 21689 21956 21690 21957 if test "$use_asldir" != no; then 21958 ac_ext=c 21959 ac_cpp='$CPP $CPPFLAGS' 21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21963 21691 21964 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 21692 21965 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 … … 21763 22036 _ACEOF 21764 22037 22038 ac_ext=c 22039 ac_cpp='$CPP $CPPFLAGS' 22040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22042 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22043 21765 22044 else 21766 22045 coin_has_asl=no … … 21826 22105 # Finally, we let configure write all the output... 21827 22106 21828 FADDLIBS="$ADDLIBS" 21829 if test x"$coin_need_flibs" = xyes; then 21830 ADDLIBS="$ADDLIBS $FLIBS" 21831 fi 21832 21833 # library extension 21834 21835 case "$CC" in 21836 cl*) LIBEXT=lib ;; 21837 *) LIBEXT=a ;; 21838 esac 21839 21840 # Define VPATH_DISTCLEANFILES to be everything that needs to be 21841 # cleaned for distclean in a vpath configuration 21842 21843 VPATH_DISTCLEANFILES="$coin_vpath_link_files" 21844 21845 cat >confcache <<\_ACEOF 22107 if test x$coin_skip_ac_output != xyes; then 22108 22109 FADDLIBS="$ADDLIBS" 22110 if test x"$coin_need_flibs" = xyes; then 22111 ADDLIBS="$ADDLIBS $FLIBS" 22112 fi 22113 22114 # library extension 22115 22116 case "$CC" in 22117 cl* | */cl* | CL* | */CL*) 22118 LIBEXT=lib ;; 22119 *) LIBEXT=a ;; 22120 esac 22121 22122 # Define VPATH_DISTCLEANFILES to be everything that needs to be 22123 # cleaned for distclean in a vpath configuration 22124 22125 VPATH_DISTCLEANFILES="$coin_vpath_link_files" 22126 22127 # Take out subdirectories if their configuration concluded that they 22128 # don't need to be compiled 22129 if test x"$coin_ac_skip_subdirs" != x; then 22130 new_subdirs= 22131 for i in $subdirs; do 22132 skipme=no 22133 for j in $coin_ac_skip_subdirs; do 22134 if test $i = $j; then 22135 skipme=yes; 22136 fi 22137 done 22138 if test $skipme = no; then 22139 new_subdirs="$new_subdirs $i" 22140 fi 22141 done 22142 subdirs="$new_subdirs" 22143 fi 22144 22145 cat >confcache <<\_ACEOF 21846 22146 # This file is a shell script that caches the results of configure 21847 22147 # tests run on this system so they can be shared between configure … … 22718 23018 s,@ac_ct_F77@,$ac_ct_F77,;t t 22719 23019 s,@LIBTOOL@,$LIBTOOL,;t t 23020 s,@ac_c_preproc_warn_flag@,$ac_c_preproc_warn_flag,;t t 23021 s,@ac_cxx_preproc_warn_flag@,$ac_cxx_preproc_warn_flag,;t t 23022 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 22720 23023 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 22721 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t22722 23024 s,@CBCSRCDIR@,$CBCSRCDIR,;t t 22723 23025 s,@CBCOBJDIR@,$CBCOBJDIR,;t t … … 23504 23806 23505 23807 23506 if test x"$coin_vpath_link_files" = x; then : ; else23507 lnkcmd=23508 if test "$enable_doscompile" = yes; then23509 lnkcmd=cp23510 fi23511 case "$CC" in23512 cl* | */cl*)23513 lnkcmd=cp ;;23514 esac23515 if test "$lnkcmd" = cp; then23516 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&523808 if test x"$coin_vpath_link_files" = x; then : ; else 23809 lnkcmd= 23810 if test "$enable_doscompile" = yes; then 23811 lnkcmd=cp 23812 fi 23813 case "$CC" in 23814 cl* | */cl* | CL* | */CL*) 23815 lnkcmd=cp ;; 23816 esac 23817 if test "$lnkcmd" = cp; then 23818 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5 23517 23819 echo "$as_me: Copying data files for VPATH configuration" >&6;} 23518 else23519 echo "$as_me:$LINENO: checking whether ln -s works" >&523820 else 23821 echo "$as_me:$LINENO: checking whether ln -s works" >&5 23520 23822 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 23521 23823 LN_S=$as_ln_s … … 23528 23830 fi 23529 23831 23530 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&523832 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5 23531 23833 echo "$as_me: Creating VPATH links for data files" >&6;} 23532 lnkcmd="$LN_S"23533 fi23534 for file in $coin_vpath_link_files; do23535 dir=`(dirname "./$file") 2>/dev/null ||23834 lnkcmd="$LN_S" 23835 fi 23836 for file in $coin_vpath_link_files; do 23837 dir=`(dirname "./$file") 2>/dev/null || 23536 23838 $as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23537 23839 X"./$file" : 'X\(//\)[^/]' \| \ … … 23545 23847 /^X\(\/\).*/{ s//\1/; q; } 23546 23848 s/.*/./; q'` 23547 if test -d $dir; then : ; else23548 { if $as_mkdir_p; then23849 if test -d $dir; then : ; else 23850 { if $as_mkdir_p; then 23549 23851 mkdir -p $dir 23550 23852 else … … 23571 23873 { (exit 1); exit 1; }; }; } 23572 23874 23573 fi23574 rm -f $file23575 $lnkcmd $abs_source_dir/$file $file23576 done23577 fi23578 23579 if test x$coin_projectdir = xyes; then23580 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&523875 fi 23876 rm -f $file 23877 $lnkcmd $abs_source_dir/$file $file 23878 done 23879 fi 23880 23881 if test x$coin_projectdir = xyes; then 23882 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5 23581 23883 echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;} 23582 else23583 { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&523884 else 23885 { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5 23584 23886 echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;} 23585 fi 23586 23887 fi 23888 else 23889 { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5 23890 echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;} 23891 fi 23892 23893
Note: See TracChangeset
for help on using the changeset viewer.