Changeset 219 for ThirdParty/HSL/stable/1.0/configure
- Timestamp:
- Feb 1, 2007 7:17:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/HSL/stable/1.0/configure
r190 r219 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL LT_LDFLAGS RPATH_FLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1074 1074 --enable-debug-hsl compile this project (HSL) with debug options 1075 1075 --enable-doscompile Under Cygwin, compile so that executables run under 1076 DOS (default: disabled) 1076 DOS. Set to mingw to use gcc/g++/ld with 1077 -mno-cygwin. Set to msvc to use cl/link. Default 1078 when mentioned: mingw. Default when not mentioned: 1079 disabled. 1077 1080 --enable-static[=PKGS] 1078 1081 build static libraries [default=no] … … 1591 1594 1592 1595 # Initialize the ADDLIBS variable 1593 ADDLIBS= '-lm'1596 ADDLIBS="-lm $LIBS" 1594 1597 1595 1598 1596 1599 # Initialize the FADDLIBS variable (which is to be used with a fortran 1597 1600 # compiler and will not include FLIBS) 1598 FADDLIBS= 1601 FADDLIBS="$LIBS" 1599 1602 1600 1603 … … 1774 1777 fi 1775 1778 ;; 1776 esac 1777 1778 # Check whether --enable-doscompile or --disable-doscompile was given. 1779 esac 1780 case $enable_doscompile in 1781 msvc) 1782 if test "x${LD+set}" = xset; then :; else 1783 LD=link 1784 fi 1785 ;; 1786 esac 1787 1788 1789 # Check whether --enable-doscompile or --disable-doscompile was given. 1779 1790 if test "${enable_doscompile+set}" = set; then 1780 1791 enableval="$enable_doscompile" 1781 if test "$enable_doscompile = yes"; then1782 case $build in1783 *-cygwin*) ;;1784 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only senseunder Cygwin" >&51785 echo "$as_me: error: --enable-doscompile option makes only senseunder Cygwin" >&2;}1792 if test "$enable_doscompile" != no; then 1793 case $build in 1794 *-cygwin*) ;; 1795 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin" >&5 1796 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin" >&2;} 1786 1797 { (exit 1); exit 1; }; } ;; 1787 esac1788 fi1798 esac 1799 fi 1789 1800 else 1790 1801 enable_doscompile=no 1791 1802 fi; 1803 case "$enable_doscompile" in 1804 msvc|mingw|no) ;; 1805 yes) enable_doscompile=mingw ;; 1806 *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile. 1807 Try configure --help=recursive." >&5 1808 echo "$as_me: error: Invalid value $enable_doscompile for --enable-doscompile. 1809 Try configure --help=recursive." >&2;} 1810 { (exit 1); exit 1; }; } 1811 ;; 1812 esac 1813 if test "$enable_doscompile" != no ; then 1814 { echo "$as_me:$LINENO: DOS compile style is: $enable_doscompile" >&5 1815 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1816 fi 1792 1817 1793 1818 … … 1823 1848 1824 1849 save_cflags="$CFLAGS" 1850 # For sparc-sun-solaris, promote Studio/Workshop compiler to front of list. 1851 # ToDo: If Studio/Workshop cc is not present, we may find /usr/ucb/cc, which 1852 # is likely to be a non-functional shell. But many installations will have 1853 # both cc and gcc, so promoting gcc isn't good either. How to test reliably? 1825 1854 case $build in 1826 1855 *-cygwin* | *-mingw*) 1827 comps="gcc cl" ;; 1856 if test "$enable_doscompile" = msvc ; then 1857 comps="cl" 1858 else 1859 comps="gcc cl" 1860 fi ;; 1861 sparc-sun-solaris*) 1862 comps="cc xlc gcc pgcc icc" ;; 1828 1863 *-linux-*) comps="xlc gcc cc pgcc icc" ;; 1829 1864 *) comps="xlc_r xlc cc gcc pgcc icc" ;; … … 1831 1866 1832 1867 # We delete the cached value, since the test might not have been 1833 # performed with ou t choise of compilers earlier1868 # performed with our choice of compilers earlier 1834 1869 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; } 1870 # AC_MSG_NOTICE([C compiler candidates: $comps]) 1835 1871 ac_ext=c 1836 1872 ac_cpp='$CPP $CPPFLAGS' … … 2546 2582 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2547 2583 2584 if test -z "$CC" ; then 2585 { { echo "$as_me:$LINENO: error: Failed to find a C compiler!" >&5 2586 echo "$as_me: error: Failed to find a C compiler!" >&2;} 2587 { (exit 1); exit 1; }; } 2588 fi 2589 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 2590 case "$CC" in 2591 cl* | */cl* | CL* | */CL* ) 2592 if test "$ac_cv_prog_cc_g" = yes ; then 2593 ac_cv_prog_cc_g=no 2594 { echo "$as_me:$LINENO: Overruling autoconf; cl does not recognise -g." >&5 2595 echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;} 2596 fi ;; 2597 esac 2548 2598 CFLAGS="$save_cflags" 2549 2599 … … 2572 2622 coin_dbg_cflags="-g" 2573 2623 coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall" 2574 if test "$enable_doscompile" = yes; then 2575 case $build in 2576 *-cygwin*) 2577 CFLAGS="-mno-cygwin" 2578 cat >conftest.$ac_ext <<_ACEOF 2624 case $enable_doscompile in 2625 mingw) 2626 CFLAGS="-mno-cygwin" 2627 cat >conftest.$ac_ext <<_ACEOF 2579 2628 /* confdefs.h. */ 2580 2629 _ACEOF … … 2621 2670 rm -f conftest.err conftest.$ac_objext \ 2622 2671 conftest$ac_exeext conftest.$ac_ext 2623 CFLAGS= 2624 ;; 2625 esac 2626 fi 2672 CFLAGS= 2673 ;; 2674 esac 2627 2675 esac 2628 2676 fi … … 2632 2680 case "$CC" in 2633 2681 cl* | */cl* | CL* | */CL*) 2634 coin_opt_cflags='- O2'2635 coin_add_cflags='-nologo '2682 coin_opt_cflags='-MT -O2' 2683 coin_add_cflags='-nologo -wd4996' 2636 2684 coin_dbg_cflags='-MTd' 2637 2685 ;; … … 2809 2857 fi 2810 2858 2811 # Check if user wants to have additional CFLAGS options 2812 2813 if test x"$ADD_CFLAGS" != x; then 2814 CFLAGS="$CFLAGS $ADD_CFLAGS" 2815 fi 2859 # If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it. 2860 2861 case "$CFLAGS" in 2862 *-mno-cygwin*) 2863 if test x${CPPFLAGS+set} != xset ; then 2864 CPPFLAGS="-mno-cygwin" 2865 else 2866 case "$CPPFLAGS" in 2867 *-mno-cygwin*) 2868 ;; 2869 *) 2870 CPPFLAGS="$CPPFLAGS -mno-cygwin" 2871 ;; 2872 esac 2873 fi ;; 2874 esac 2816 2875 2817 2876 # Try if CFLAGS works … … 2939 2998 fi 2940 2999 ;; 2941 esac 3000 esac 3001 case $enable_doscompile in 3002 msvc) 3003 if test "x${LD+set}" = xset; then :; else 3004 LD=link 3005 fi 3006 ;; 3007 esac 2942 3008 2943 3009 ;; … … 2951 3017 2952 3018 3019 case $build in 3020 *-cygwin* | *-mingw*) 3021 if test "$enable_doscompile" = msvc ; then 3022 coin_f77_comps="ifort fl32" 3023 else 3024 coin_f77_comps="gfortran g77 ifort fl32" 3025 fi ;; 3026 sparc-sun-solaris*) 3027 coin_f77_comps="f95 f90 f77 xlf fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;; 3028 *) coin_f77_comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;; 3029 esac 3030 3031 2953 3032 2954 3033 … … 2968 3047 2969 3048 save_fflags="$FFLAGS" 2970 case $build in2971 *-cygwin* | *-mingw*)2972 comps="gfortran g77 ifort fl32" ;;2973 *) comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;2974 esac2975 3049 2976 3050 # We delete the cached value, since the test might not have been 2977 # performed with ou t choise of compilers earlier3051 # performed with our choice of compilers earlier 2978 3052 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; } 2979 ac_ext=f 3053 3054 # This is a real belt-and-suspenders approach. AC_COIN_FIND_F77 will use 3055 # coin_f77_comps to see if there's a program that matches one of the names. 3056 # If there's no such program, F77 = unavailable. If we match the name, 3057 # feed AC_PROG_F77 the same search list, just to be sure it's a functioning 3058 # compiler. 3059 # AC_MSG_NOTICE([Fortran compiler candidates: $coin_f77_comps]) 3060 3061 3062 { echo "$as_me:$LINENO: Trying to determine Fortran compiler name" >&5 3063 echo "$as_me: Trying to determine Fortran compiler name" >&6;} 3064 for ac_prog in $coin_f77_comps 3065 do 3066 # Extract the first word of "$ac_prog", so it can be a program name with args. 3067 set dummy $ac_prog; ac_word=$2 3068 echo "$as_me:$LINENO: checking for $ac_word" >&5 3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3070 if test "${ac_cv_prog_F77+set}" = set; then 3071 echo $ECHO_N "(cached) $ECHO_C" >&6 3072 else 3073 if test -n "$F77"; then 3074 ac_cv_prog_F77="$F77" # Let the user override the test. 3075 else 3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3077 for as_dir in $PATH 3078 do 3079 IFS=$as_save_IFS 3080 test -z "$as_dir" && as_dir=. 3081 for ac_exec_ext in '' $ac_executable_extensions; do 3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3083 ac_cv_prog_F77="$ac_prog" 3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3085 break 2 3086 fi 3087 done 3088 done 3089 3090 fi 3091 fi 3092 F77=$ac_cv_prog_F77 3093 if test -n "$F77"; then 3094 echo "$as_me:$LINENO: result: $F77" >&5 3095 echo "${ECHO_T}$F77" >&6 3096 else 3097 echo "$as_me:$LINENO: result: no" >&5 3098 echo "${ECHO_T}no" >&6 3099 fi 3100 3101 test -n "$F77" && break 3102 done 3103 test -n "$F77" || F77="unavailable" 3104 3105 3106 if test "$F77" != "unavailable" ; then 3107 ac_ext=f 2980 3108 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 2981 3109 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2982 3110 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 2983 3111 if test -n "$ac_tool_prefix"; then 2984 for ac_prog in $co mps3112 for ac_prog in $coin_f77_comps 2985 3113 do 2986 3114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. … … 3024 3152 if test -z "$F77"; then 3025 3153 ac_ct_F77=$F77 3026 for ac_prog in $co mps3154 for ac_prog in $coin_f77_comps 3027 3155 do 3028 3156 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 3069 3197 3070 3198 # Provide some information about the compiler. 3071 echo "$as_me:3 071:" \3199 echo "$as_me:3199:" \ 3072 3200 "checking for Fortran 77 compiler version" >&5 3073 3201 ac_compiler=`set X $ac_compile; echo $2` … … 3212 3340 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 3213 3341 3342 else 3343 { echo "$as_me:$LINENO: WARNING: Failed to find a Fortran compiler!" >&5 3344 echo "$as_me: WARNING: Failed to find a Fortran compiler!" >&2;} 3345 fi 3346 3214 3347 FFLAGS="$save_fflags" 3215 3348 … … 3222 3355 fi 3223 3356 3224 if test x"$FFLAGS" = x; then3357 if test "$F77" != "unavailable" && test x"$FFLAGS" = x ; then 3225 3358 3226 3359 coin_add_fflags= … … 3233 3366 coin_add_fflags="-pipe" 3234 3367 coin_dbg_fflags="-g" 3235 if test "$enable_doscompile" = yes; then 3236 case $build in 3237 *-cygwin*) 3238 FFLAGS="-mno-cygwin" 3239 cat >conftest.$ac_ext <<_ACEOF 3368 case $enable_doscompile in 3369 mingw) 3370 FFLAGS="-mno-cygwin" 3371 cat >conftest.$ac_ext <<_ACEOF 3240 3372 program main 3241 3373 write(*,*) 'Hello world' … … 3272 3404 rm -f conftest.err conftest.$ac_objext \ 3273 3405 conftest$ac_exeext conftest.$ac_ext 3274 FFLAGS= 3275 ;; 3276 esac 3277 fi 3406 FFLAGS= 3407 ;; 3408 esac 3278 3409 else 3279 3410 case $build in 3280 3411 *-cygwin* | *-mingw*) 3281 3412 case $F77 in 3282 ifort* | */ifort* )3413 ifort* | */ifort* | IFORT* | */IFORT* ) 3283 3414 coin_opt_fflags='-O3' 3284 3415 coin_add_fflags='-nologo -MT' … … 3438 3569 fi 3439 3570 3571 # If FFLAGS contains -mno-cygwin, CPPFLAGS must have it. 3572 case "$FFLAGS" in 3573 *-mno-cygwin*) 3574 if test x${CPPFLAGS+set} != xset ; then 3575 CPPFLAGS="-mno-cygwin" 3576 else 3577 case "$CPPFLAGS" in 3578 *-mno-cygwin*) 3579 ;; 3580 *) 3581 CPPFLAGS="$CPPFLAGS -mno-cygwin" 3582 ;; 3583 esac 3584 fi ;; 3585 esac 3586 3440 3587 # Try if FFLAGS works 3441 cat >conftest.$ac_ext <<_ACEOF 3442 program main 3443 integer i 3444 end 3445 _ACEOF 3446 rm -f conftest.$ac_objext conftest$ac_exeext 3447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3448 (eval $ac_link) 2>conftest.er1 3449 ac_status=$? 3450 grep -v '^ *+' conftest.er1 >conftest.err 3451 rm -f conftest.er1 3452 cat conftest.err >&5 3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3454 (exit $ac_status); } && 3455 { ac_try='test -z "$ac_f77_werror_flag" 3456 || test ! -s conftest.err' 3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3458 (eval $ac_try) 2>&5 3459 ac_status=$? 3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3461 (exit $ac_status); }; } && 3462 { ac_try='test -s conftest$ac_exeext' 3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3464 (eval $ac_try) 2>&5 3465 ac_status=$? 3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3467 (exit $ac_status); }; }; then 3468 : 3469 else 3470 echo "$as_me: failed program was:" >&5 3471 sed 's/^/| /' conftest.$ac_ext >&5 3472 3473 FFLAGS= 3474 fi 3475 rm -f conftest.err conftest.$ac_objext \ 3476 conftest$ac_exeext conftest.$ac_ext 3477 if test -z "$FFLAGS"; then 3478 { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&5 3479 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&2;} 3480 FFLAGS='-O' 3588 if test "$F77" != "unavailable" ; then 3481 3589 cat >conftest.$ac_ext <<_ACEOF 3482 3590 program main … … 3516 3624 conftest$ac_exeext conftest.$ac_ext 3517 3625 if test -z "$FFLAGS"; then 3518 { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5 3626 { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&5 3627 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&2;} 3628 FFLAGS='-O' 3629 cat >conftest.$ac_ext <<_ACEOF 3630 program main 3631 integer i 3632 end 3633 _ACEOF 3634 rm -f conftest.$ac_objext conftest$ac_exeext 3635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3636 (eval $ac_link) 2>conftest.er1 3637 ac_status=$? 3638 grep -v '^ *+' conftest.er1 >conftest.err 3639 rm -f conftest.er1 3640 cat conftest.err >&5 3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3642 (exit $ac_status); } && 3643 { ac_try='test -z "$ac_f77_werror_flag" 3644 || test ! -s conftest.err' 3645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3646 (eval $ac_try) 2>&5 3647 ac_status=$? 3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3649 (exit $ac_status); }; } && 3650 { ac_try='test -s conftest$ac_exeext' 3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3652 (eval $ac_try) 2>&5 3653 ac_status=$? 3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3655 (exit $ac_status); }; }; then 3656 : 3657 else 3658 echo "$as_me: failed program was:" >&5 3659 sed 's/^/| /' conftest.$ac_ext >&5 3660 3661 FFLAGS= 3662 fi 3663 rm -f conftest.err conftest.$ac_objext \ 3664 conftest$ac_exeext conftest.$ac_ext 3665 if test -z "$FFLAGS"; then 3666 { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5 3519 3667 echo "$as_me: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&2;} 3668 fi 3520 3669 fi 3521 3670 fi … … 3532 3681 3533 3682 case "$F77" in 3534 ifort* )3683 ifort* | */ifort* | IFORT* | */IFORT*) 3535 3684 case $build in 3536 3685 *-mingw*) … … 3539 3688 fi 3540 3689 ;; 3541 esac 3690 esac 3691 case $enable_doscompile in 3692 msvc) 3693 if test "x${LD+set}" = xset; then :; else 3694 LD=link 3695 fi 3696 ;; 3697 esac 3542 3698 3543 3699 ;; … … 3570 3726 3571 3727 # Initialize autotools 3728 { 3729 3730 3731 3732 # START 3572 3733 3573 3734 # On Cygwin, building DLLs doesn't work … … 3622 3783 3623 3784 3785 3786 # Initialize automake 3624 3787 am__api_version="1.9" 3625 3788 # Find a good install program. We prefer a C program (faster), … … 3949 4112 3950 4113 3951 ac_ext=c 3952 ac_cpp='$CPP $CPPFLAGS' 3953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3955 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3956 3957 if test x"" = x; then 3958 hdr="#include <dlfcn.h>" 3959 else 3960 hdr="" 3961 fi 3962 3963 for ac_header in dlfcn.h 4114 4115 4116 # AC_MSG_NOTICE([Beginning automake initialisation.]) 4117 # Stuff for automake 4118 # test to see if srcdir already configured 4119 if test "`cd $srcdir && pwd`" != "`pwd`" && 4120 test -f $srcdir/config.status; then 4121 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 4122 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 4123 { (exit 1); exit 1; }; } 4124 fi 4125 4126 # test whether we have cygpath 4127 if test -z "$CYGPATH_W"; then 4128 if (cygpath --version) >/dev/null 2>/dev/null; then 4129 CYGPATH_W='cygpath -w' 4130 else 4131 CYGPATH_W=echo 4132 fi 4133 fi 4134 4135 4136 # Define the identity of the package. 4137 PACKAGE='thirdpartyhsl' 4138 VERSION='0.0' 4139 4140 4141 cat >>confdefs.h <<_ACEOF 4142 #define PACKAGE "$PACKAGE" 4143 _ACEOF 4144 4145 4146 cat >>confdefs.h <<_ACEOF 4147 #define VERSION "$VERSION" 4148 _ACEOF 4149 4150 # Some tools Automake needs. 4151 4152 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 4153 4154 4155 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 4156 4157 4158 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 4159 4160 4161 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 4162 4163 4164 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 4165 4166 install_sh=${install_sh-"$am_aux_dir/install-sh"} 4167 4168 # Installed binaries are usually stripped using `strip' when the user 4169 # run `make install-strip'. However `strip' might not be the right 4170 # tool to use in cross-compilation environments, therefore Automake 4171 # will honor the `STRIP' environment variable to overrule this program. 4172 if test "$cross_compiling" != no; then 4173 if test -n "$ac_tool_prefix"; then 4174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 4175 set dummy ${ac_tool_prefix}strip; ac_word=$2 4176 echo "$as_me:$LINENO: checking for $ac_word" >&5 4177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4178 if test "${ac_cv_prog_STRIP+set}" = set; then 4179 echo $ECHO_N "(cached) $ECHO_C" >&6 4180 else 4181 if test -n "$STRIP"; then 4182 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4183 else 4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4185 for as_dir in $PATH 3964 4186 do 3965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3966 echo "$as_me:$LINENO: checking for $ac_header" >&5 3967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3968 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4187 IFS=$as_save_IFS 4188 test -z "$as_dir" && as_dir=. 4189 for ac_exec_ext in '' $ac_executable_extensions; do 4190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4191 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 4192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4193 break 2 4194 fi 4195 done 4196 done 4197 4198 fi 4199 fi 4200 STRIP=$ac_cv_prog_STRIP 4201 if test -n "$STRIP"; then 4202 echo "$as_me:$LINENO: result: $STRIP" >&5 4203 echo "${ECHO_T}$STRIP" >&6 4204 else 4205 echo "$as_me:$LINENO: result: no" >&5 4206 echo "${ECHO_T}no" >&6 4207 fi 4208 4209 fi 4210 if test -z "$ac_cv_prog_STRIP"; then 4211 ac_ct_STRIP=$STRIP 4212 # Extract the first word of "strip", so it can be a program name with args. 4213 set dummy strip; ac_word=$2 4214 echo "$as_me:$LINENO: checking for $ac_word" >&5 4215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4216 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 3969 4217 echo $ECHO_N "(cached) $ECHO_C" >&6 3970 4218 else 3971 cat >conftest.$ac_ext <<_ACEOF 3972 /* confdefs.h. */ 3973 _ACEOF 3974 cat confdefs.h >>conftest.$ac_ext 3975 cat >>conftest.$ac_ext <<_ACEOF 3976 /* end confdefs.h. */ 3977 $hdr 3978 3979 #include <$ac_header> 3980 _ACEOF 3981 rm -f conftest.$ac_objext 3982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3983 (eval $ac_compile) 2>conftest.er1 3984 ac_status=$? 3985 grep -v '^ *+' conftest.er1 >conftest.err 3986 rm -f conftest.er1 3987 cat conftest.err >&5 3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3989 (exit $ac_status); } && 3990 { ac_try='test -z "$ac_c_werror_flag" 3991 || test ! -s conftest.err' 3992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3993 (eval $ac_try) 2>&5 3994 ac_status=$? 3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3996 (exit $ac_status); }; } && 3997 { ac_try='test -s conftest.$ac_objext' 3998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3999 (eval $ac_try) 2>&5 4000 ac_status=$? 4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4002 (exit $ac_status); }; }; then 4003 eval "$as_ac_Header=yes" 4004 else 4005 echo "$as_me: failed program was:" >&5 4006 sed 's/^/| /' conftest.$ac_ext >&5 4007 4008 eval "$as_ac_Header=no" 4009 fi 4010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4011 fi 4012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4014 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4015 cat >>confdefs.h <<_ACEOF 4016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4017 _ACEOF 4018 4019 fi 4020 4219 if test -n "$ac_ct_STRIP"; then 4220 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 4221 else 4222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4223 for as_dir in $PATH 4224 do 4225 IFS=$as_save_IFS 4226 test -z "$as_dir" && as_dir=. 4227 for ac_exec_ext in '' $ac_executable_extensions; do 4228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4229 ac_cv_prog_ac_ct_STRIP="strip" 4230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4231 break 2 4232 fi 4021 4233 done 4022 4023 4024 ac_ext=c 4025 ac_cpp='$CPP $CPPFLAGS' 4026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4028 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4029 4030 4031 # Check whether --enable-shared or --disable-shared was given. 4234 done 4235 4236 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 4237 fi 4238 fi 4239 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 4240 if test -n "$ac_ct_STRIP"; then 4241 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 4242 echo "${ECHO_T}$ac_ct_STRIP" >&6 4243 else 4244 echo "$as_me:$LINENO: result: no" >&5 4245 echo "${ECHO_T}no" >&6 4246 fi 4247 4248 STRIP=$ac_ct_STRIP 4249 else 4250 STRIP="$ac_cv_prog_STRIP" 4251 fi 4252 4253 fi 4254 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 4255 4256 # We need awk for the "check" target. The system "awk" is bad on 4257 # some platforms. 4258 # Always define AMTAR for backward compatibility. 4259 4260 AMTAR=${AMTAR-"${am_missing_run}tar"} 4261 4262 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 4263 4264 4265 4266 4267 depcc="$CC" am_compiler_list= 4268 4269 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4270 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 4271 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 4272 echo $ECHO_N "(cached) $ECHO_C" >&6 4273 else 4274 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4275 # We make a subdir and do the tests there. Otherwise we can end up 4276 # making bogus files that we don't know about and never remove. For 4277 # instance it was reported that on HP-UX the gcc test will end up 4278 # making a dummy file named `D' -- because `-MD' means `put the output 4279 # in D'. 4280 mkdir conftest.dir 4281 # Copy depcomp to subdir because otherwise we won't find it if we're 4282 # using a relative directory. 4283 cp "$am_depcomp" conftest.dir 4284 cd conftest.dir 4285 # We will build objects and dependencies in a subdirectory because 4286 # it helps to detect inapplicable dependency modes. For instance 4287 # both Tru64's cc and ICC support -MD to output dependencies as a 4288 # side effect of compilation, but ICC will put the dependencies in 4289 # the current directory while Tru64 will put them in the object 4290 # directory. 4291 mkdir sub 4292 4293 am_cv_CC_dependencies_compiler_type=none 4294 if test "$am_compiler_list" = ""; then 4295 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4296 fi 4297 for depmode in $am_compiler_list; do 4298 # Setup a source with many dependencies, because some compilers 4299 # like to wrap large dependency lists on column 80 (with \), and 4300 # we should not choose a depcomp mode which is confused by this. 4301 # 4302 # We need to recreate these files for each test, as the compiler may 4303 # overwrite some of them when testing with obscure command lines. 4304 # This happens at least with the AIX C compiler. 4305 : > sub/conftest.c 4306 for i in 1 2 3 4 5 6; do 4307 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4308 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4309 # Solaris 8's {/usr,}/bin/sh. 4310 touch sub/conftst$i.h 4311 done 4312 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4313 4314 case $depmode in 4315 nosideeffect) 4316 # after this tag, mechanisms are not by side-effect, so they'll 4317 # only be used when explicitly requested 4318 if test "x$enable_dependency_tracking" = xyes; then 4319 continue 4320 else 4321 break 4322 fi 4323 ;; 4324 none) break ;; 4325 esac 4326 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4327 # mode. It turns out that the SunPro C++ compiler does not properly 4328 # handle `-M -o', and we need to detect this. 4329 if depmode=$depmode \ 4330 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4331 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4332 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4333 >/dev/null 2>conftest.err && 4334 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4335 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4336 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4337 # icc doesn't choke on unknown options, it will just issue warnings 4338 # or remarks (even with -Werror). So we grep stderr for any message 4339 # that says an option was ignored or not supported. 4340 # When given -MP, icc 7.0 and 7.1 complain thusly: 4341 # icc: Command line warning: ignoring option '-M'; no argument required 4342 # The diagnosis changed in icc 8.0: 4343 # icc: Command line remark: option '-MP' not supported 4344 if (grep 'ignoring option' conftest.err || 4345 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4346 am_cv_CC_dependencies_compiler_type=$depmode 4347 break 4348 fi 4349 fi 4350 done 4351 4352 cd .. 4353 rm -rf conftest.dir 4354 else 4355 am_cv_CC_dependencies_compiler_type=none 4356 fi 4357 4358 fi 4359 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 4360 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 4361 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4362 4363 4364 4365 if 4366 test "x$enable_dependency_tracking" != xno \ 4367 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4368 am__fastdepCC_TRUE= 4369 am__fastdepCC_FALSE='#' 4370 else 4371 am__fastdepCC_TRUE='#' 4372 am__fastdepCC_FALSE= 4373 fi 4374 4375 4376 4377 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 4378 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 4379 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4380 if test "${enable_maintainer_mode+set}" = set; then 4381 enableval="$enable_maintainer_mode" 4382 USE_MAINTAINER_MODE=$enableval 4383 else 4384 USE_MAINTAINER_MODE=no 4385 fi; 4386 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 4387 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 4388 4389 4390 if test $USE_MAINTAINER_MODE = yes; then 4391 MAINTAINER_MODE_TRUE= 4392 MAINTAINER_MODE_FALSE='#' 4393 else 4394 MAINTAINER_MODE_TRUE='#' 4395 MAINTAINER_MODE_FALSE= 4396 fi 4397 4398 MAINT=$MAINTAINER_MODE_TRUE 4399 4400 4401 4402 coin_have_externals=no 4403 if test "$enable_maintainer_mode" = yes; then 4404 4405 # If maintainer mode is chosen, we make sure that the correct versions 4406 # of the tools are used, and that we know where libtool.m4 is (to 4407 # recreate acinclude.m4) 4408 4409 4410 LIBTOOLM4= 4411 # Normally, $HOME 4412 AUTOTOOLS_DFLT=$HOME 4413 4414 echo "$as_me:$LINENO: checking whether we are using the correct autotools" >&5 4415 echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6 4416 if test "${ac_cv_use_correct_autotools+set}" = set; then 4417 echo $ECHO_N "(cached) $ECHO_C" >&6 4418 else 4419 ac_cv_use_correct_autotools=check 4420 fi 4421 echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5 4422 echo "${ECHO_T}$ac_cv_use_correct_autotools" >&6 4423 4424 if test $ac_cv_use_correct_autotools = check; then 4425 ac_cv_use_correct_autotools=yes 4426 # Check if we have autoconf 4427 # Extract the first word of "autoconf", so it can be a program name with args. 4428 set dummy autoconf; ac_word=$2 4429 echo "$as_me:$LINENO: checking for $ac_word" >&5 4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4431 if test "${ac_cv_prog_have_autoconf+set}" = set; then 4432 echo $ECHO_N "(cached) $ECHO_C" >&6 4433 else 4434 if test -n "$have_autoconf"; then 4435 ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test. 4436 else 4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4438 for as_dir in $PATH 4439 do 4440 IFS=$as_save_IFS 4441 test -z "$as_dir" && as_dir=. 4442 for ac_exec_ext in '' $ac_executable_extensions; do 4443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4444 ac_cv_prog_have_autoconf="yes" 4445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4446 break 2 4447 fi 4448 done 4449 done 4450 4451 test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no" 4452 fi 4453 fi 4454 have_autoconf=$ac_cv_prog_have_autoconf 4455 if test -n "$have_autoconf"; then 4456 echo "$as_me:$LINENO: result: $have_autoconf" >&5 4457 echo "${ECHO_T}$have_autoconf" >&6 4458 else 4459 echo "$as_me:$LINENO: result: no" >&5 4460 echo "${ECHO_T}no" >&6 4461 fi 4462 4463 if test $have_autoconf = no; then 4464 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5 4465 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;} 4466 { (exit 1); exit 1; }; } 4467 fi 4468 4469 # Check whether autoconf is the correct version 4470 correct_version='2.59' 4471 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 4472 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5 4473 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6 4474 autoconf --version > confauto.out 2>&1 4475 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 4476 echo "$as_me:$LINENO: result: yes" >&5 4477 echo "${ECHO_T}yes" >&6 4478 else 4479 rm -f confauto.out 4480 echo "$as_me:$LINENO: result: no" >&5 4481 echo "${ECHO_T}no" >&6 4482 { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5 4483 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;} 4484 { (exit 1); exit 1; }; } 4485 fi 4486 rm -f confauto.out 4487 4488 # Check if the executable autoconf is picked up from the correct location 4489 echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5 4490 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6 4491 autoconf_dir=`which autoconf | sed -e 's=/autoconf=='` 4492 autoconf_dir=`cd $autoconf_dir; pwd` 4493 if test x$AUTOTOOLS_DIR = x; then 4494 want_dir=$AUTOTOOLS_DFLT/bin 4495 else 4496 want_dir=$AUTOTOOLS_DIR/bin 4497 fi 4498 if test $autoconf_dir = `cd $want_dir; pwd`; then 4499 echo "$as_me:$LINENO: result: yes" >&5 4500 echo "${ECHO_T}yes" >&6 4501 else 4502 rm -f confauto.out 4503 echo "$as_me:$LINENO: result: no" >&5 4504 echo "${ECHO_T}no" >&6 4505 { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5 4506 echo "$as_me: error: The autoconf executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;} 4507 { (exit 1); exit 1; }; } 4508 fi 4509 4510 # Check if we have automake 4511 # Extract the first word of "automake", so it can be a program name with args. 4512 set dummy automake; ac_word=$2 4513 echo "$as_me:$LINENO: checking for $ac_word" >&5 4514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4515 if test "${ac_cv_prog_have_automake+set}" = set; then 4516 echo $ECHO_N "(cached) $ECHO_C" >&6 4517 else 4518 if test -n "$have_automake"; then 4519 ac_cv_prog_have_automake="$have_automake" # Let the user override the test. 4520 else 4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4522 for as_dir in $PATH 4523 do 4524 IFS=$as_save_IFS 4525 test -z "$as_dir" && as_dir=. 4526 for ac_exec_ext in '' $ac_executable_extensions; do 4527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4528 ac_cv_prog_have_automake="yes" 4529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4530 break 2 4531 fi 4532 done 4533 done 4534 4535 test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no" 4536 fi 4537 fi 4538 have_automake=$ac_cv_prog_have_automake 4539 if test -n "$have_automake"; then 4540 echo "$as_me:$LINENO: result: $have_automake" >&5 4541 echo "${ECHO_T}$have_automake" >&6 4542 else 4543 echo "$as_me:$LINENO: result: no" >&5 4544 echo "${ECHO_T}no" >&6 4545 fi 4546 4547 if test $have_automake = no; then 4548 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5 4549 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;} 4550 { (exit 1); exit 1; }; } 4551 fi 4552 4553 # Check whether automake is the correct version 4554 correct_version='1.9.6' 4555 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 4556 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5 4557 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6 4558 automake --version > confauto.out 2>&1 4559 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 4560 echo "$as_me:$LINENO: result: yes" >&5 4561 echo "${ECHO_T}yes" >&6 4562 else 4563 rm -f confauto.out 4564 echo "$as_me:$LINENO: result: no" >&5 4565 echo "${ECHO_T}no" >&6 4566 { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5 4567 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;} 4568 { (exit 1); exit 1; }; } 4569 fi 4570 rm -f confauto.out 4571 4572 # Check if the executable automake is picked up from the correct location 4573 echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5 4574 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6 4575 automake_dir=`which automake | sed -e 's=/automake=='` 4576 automake_dir=`cd $automake_dir; pwd` 4577 if test x$AUTOTOOLS_DIR = x; then 4578 want_dir=$AUTOTOOLS_DFLT/bin 4579 else 4580 want_dir=$AUTOTOOLS_DIR/bin 4581 fi 4582 if test $automake_dir = `cd $want_dir; pwd`; then 4583 echo "$as_me:$LINENO: result: yes" >&5 4584 echo "${ECHO_T}yes" >&6 4585 else 4586 rm -f confauto.out 4587 echo "$as_me:$LINENO: result: no" >&5 4588 echo "${ECHO_T}no" >&6 4589 { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&5 4590 echo "$as_me: error: The automake executable should be picked up from \$AUTOTOOLS_DFLT/bin or \$AUTOTOOLS_DIR/bin." >&2;} 4591 { (exit 1); exit 1; }; } 4592 fi 4593 4594 # Check if this is the correct version of libtool (with escaped dots) 4595 if test x$AUTOTOOLS_DIR = x; then 4596 want_dir=$AUTOTOOLS_DFLT/share 4597 else 4598 want_dir=$AUTOTOOLS_DIR/share 4599 fi 4600 correct_version='1.5.22' 4601 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 4602 as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh` 4603 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5 4604 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6 4605 if eval "test \"\${$as_ac_File+set}\" = set"; then 4606 echo $ECHO_N "(cached) $ECHO_C" >&6 4607 else 4608 test "$cross_compiling" = yes && 4609 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4610 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4611 { (exit 1); exit 1; }; } 4612 if test -r "$want_dir/libtool/ltmain.sh"; then 4613 eval "$as_ac_File=yes" 4614 else 4615 eval "$as_ac_File=no" 4616 fi 4617 fi 4618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 4619 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 4620 if test `eval echo '${'$as_ac_File'}'` = yes; then 4621 have_ltmain=yes 4622 else 4623 have_ltmain=no 4624 fi 4625 4626 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5 4627 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6 4628 if test $have_ltmain = yes; then 4629 if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then 4630 echo "$as_me:$LINENO: result: yes" >&5 4631 echo "${ECHO_T}yes" >&6 4632 else 4633 echo "$as_me:$LINENO: result: no" >&5 4634 echo "${ECHO_T}no" >&6 4635 { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5 4636 echo "$as_me: error: You don't have the correct version of libtool." >&2;} 4637 { (exit 1); exit 1; }; } 4638 fi 4639 else 4640 echo "$as_me:$LINENO: result: no" >&5 4641 echo "${ECHO_T}no" >&6 4642 { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5 4643 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;} 4644 { (exit 1); exit 1; }; } 4645 fi 4646 fi 4647 4648 # Check if we can find the libtool file 4649 if test x$AUTOTOOLS_DIR = x; then 4650 want_dir=$AUTOTOOLS_DFLT/share 4651 else 4652 want_dir=$AUTOTOOLS_DIR/share 4653 fi 4654 as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh` 4655 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5 4656 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6 4657 if eval "test \"\${$as_ac_File+set}\" = set"; then 4658 echo $ECHO_N "(cached) $ECHO_C" >&6 4659 else 4660 test "$cross_compiling" = yes && 4661 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4662 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4663 { (exit 1); exit 1; }; } 4664 if test -r "$want_dir/aclocal/libtool.m4"; then 4665 eval "$as_ac_File=yes" 4666 else 4667 eval "$as_ac_File=no" 4668 fi 4669 fi 4670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 4671 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 4672 if test `eval echo '${'$as_ac_File'}'` = yes; then 4673 LIBTOOLM4="$want_dir/aclocal/libtool.m4" 4674 else 4675 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 4676 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 4677 { (exit 1); exit 1; }; } 4678 fi 4679 4680 4681 # Check if we have an Externals file 4682 if test -r $srcdir/Externals; then 4683 coin_have_externals=yes 4684 fi 4685 # Check if subversion is installed and understands https 4686 # Extract the first word of "svn", so it can be a program name with args. 4687 set dummy svn; ac_word=$2 4688 echo "$as_me:$LINENO: checking for $ac_word" >&5 4689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4690 if test "${ac_cv_prog_have_svn+set}" = set; then 4691 echo $ECHO_N "(cached) $ECHO_C" >&6 4692 else 4693 if test -n "$have_svn"; then 4694 ac_cv_prog_have_svn="$have_svn" # Let the user override the test. 4695 else 4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4697 for as_dir in $PATH 4698 do 4699 IFS=$as_save_IFS 4700 test -z "$as_dir" && as_dir=. 4701 for ac_exec_ext in '' $ac_executable_extensions; do 4702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4703 ac_cv_prog_have_svn="yes" 4704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4705 break 2 4706 fi 4707 done 4708 done 4709 4710 test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no" 4711 fi 4712 fi 4713 have_svn=$ac_cv_prog_have_svn 4714 if test -n "$have_svn"; then 4715 echo "$as_me:$LINENO: result: $have_svn" >&5 4716 echo "${ECHO_T}$have_svn" >&6 4717 else 4718 echo "$as_me:$LINENO: result: no" >&5 4719 echo "${ECHO_T}no" >&6 4720 fi 4721 4722 if test x$have_svn = xyes; then 4723 echo "$as_me:$LINENO: checking whether svn understands https" >&5 4724 echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6 4725 if test "${ac_cv_svn_understands_https+set}" = set; then 4726 echo $ECHO_N "(cached) $ECHO_C" >&6 4727 else 4728 svn --version > confauto.out 2>&1 4729 if $EGREP https confauto.out >/dev/null 2>&1; then 4730 ac_cv_svn_understands_https=yes 4731 else 4732 ac_cv_svn_understands_https=no 4733 have_svn=no 4734 ac_cv_prog_have_svn=no 4735 fi 4736 rm -f confauto.out 4737 fi 4738 echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5 4739 echo "${ECHO_T}$ac_cv_svn_understands_https" >&6 4740 fi 4741 4742 # Find the location of the BuildTools directory 4743 BUILDTOOLSDIR= 4744 if test -r $srcdir/BuildTools/coin.m4; then 4745 BUILDTOOLSDIR=$srcdir/BuildTools 4746 else 4747 if test -r $srcdir/../BuildTools/coin.m4; then 4748 BUILDTOOLSDIR=$srcdir/../BuildTools 4749 else 4750 if test -r $srcdir/../../BuildTools/coin.m4; then 4751 BUILDTOOLSDIR=$srcdir/../../BuildTools 4752 else 4753 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5 4754 echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 4755 { (exit 1); exit 1; }; } 4756 fi 4757 fi 4758 fi 4759 4760 4761 # The following variable is set to the name of the directory where 4762 # the autotool scripts are located 4763 4764 AUX_DIR=$ac_aux_dir 4765 fi 4766 4767 # helpful variable for the base directory of this package 4768 abs_source_dir=`cd $srcdir; pwd` 4769 4770 4771 # Stuff for example Makefiles 4772 if test x$prefix = xNONE; then 4773 full_prefix=$ac_default_prefix 4774 else 4775 full_prefix=$prefix 4776 fi 4777 full_prefix=`cd $full_prefix ; pwd` 4778 4779 abs_lib_dir=$full_prefix/lib 4780 4781 abs_include_dir=$full_prefix/include 4782 4783 abs_bin_dir=$full_prefix/bin 4784 4785 4786 4787 if test $coin_have_externals = yes && test x$have_svn = xyes; then 4788 HAVE_EXTERNALS_TRUE= 4789 HAVE_EXTERNALS_FALSE='#' 4790 else 4791 HAVE_EXTERNALS_TRUE='#' 4792 HAVE_EXTERNALS_FALSE= 4793 fi 4794 4795 4796 # AC_MSG_NOTICE([End automake initialisation.]) 4797 4798 4799 4800 unset ac_cv_file__________libtool 4801 unset ac_cv_file_______libtool 4802 unset ac_cv_file____libtool 4803 4804 LIBTOOL= 4805 echo "$as_me:$LINENO: checking for ../libtool" >&5 4806 echo $ECHO_N "checking for ../libtool... $ECHO_C" >&6 4807 if test "${ac_cv_file____libtool+set}" = set; then 4808 echo $ECHO_N "(cached) $ECHO_C" >&6 4809 else 4810 test "$cross_compiling" = yes && 4811 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4812 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4813 { (exit 1); exit 1; }; } 4814 if test -r "../libtool"; then 4815 ac_cv_file____libtool=yes 4816 else 4817 ac_cv_file____libtool=no 4818 fi 4819 fi 4820 echo "$as_me:$LINENO: result: $ac_cv_file____libtool" >&5 4821 echo "${ECHO_T}$ac_cv_file____libtool" >&6 4822 if test $ac_cv_file____libtool = yes; then 4823 coin_config_dir=.. 4824 LIBTOOL='$(SHELL) $(top_builddir)/../libtool' 4825 fi 4826 4827 if test "x$LIBTOOL" = x; then 4828 echo "$as_me:$LINENO: checking for ../../libtool" >&5 4829 echo $ECHO_N "checking for ../../libtool... $ECHO_C" >&6 4830 if test "${ac_cv_file_______libtool+set}" = set; then 4831 echo $ECHO_N "(cached) $ECHO_C" >&6 4832 else 4833 test "$cross_compiling" = yes && 4834 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4835 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4836 { (exit 1); exit 1; }; } 4837 if test -r "../../libtool"; then 4838 ac_cv_file_______libtool=yes 4839 else 4840 ac_cv_file_______libtool=no 4841 fi 4842 fi 4843 echo "$as_me:$LINENO: result: $ac_cv_file_______libtool" >&5 4844 echo "${ECHO_T}$ac_cv_file_______libtool" >&6 4845 if test $ac_cv_file_______libtool = yes; then 4846 coin_config_dir=../.. 4847 LIBTOOL='$(SHELL) $(top_builddir)/../../libtool' 4848 fi 4849 4850 fi 4851 # if test "x$LIBTOOL" = x; then 4852 # AC_CHECK_FILE([../../../libtool], 4853 # [coin_config_dir=../../.. 4854 # LIBTOOL='$(SHELL) $(top_builddir)/../../../libtool']) 4855 # fi 4856 4857 if test "x$LIBTOOL" = x; then 4858 # AC_MSG_NOTICE([Creating libtool script (calling COIN_PROG_LIBTOOL).]) 4859 # Stuff for libtool 4860 # Check whether --enable-shared or --disable-shared was given. 4032 4861 if test "${enable_shared+set}" = set; then 4033 4862 enableval="$enable_shared" … … 4577 5406 *-*-irix6*) 4578 5407 # Find out which ABI we are using. 4579 echo '#line 4579"configure"' > conftest.$ac_ext5408 echo '#line 5408 "configure"' > conftest.$ac_ext 4580 5409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4581 5410 (eval $ac_compile) 2>&5 … … 7006 7835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7007 7836 -e 's:$: $lt_compiler_flag:'` 7008 (eval echo "\"\$as_me:7 008: $lt_compile\"" >&5)7837 (eval echo "\"\$as_me:7837: $lt_compile\"" >&5) 7009 7838 (eval "$lt_compile" 2>conftest.err) 7010 7839 ac_status=$? 7011 7840 cat conftest.err >&5 7012 echo "$as_me:7 012: \$? = $ac_status" >&57841 echo "$as_me:7841: \$? = $ac_status" >&5 7013 7842 if (exit $ac_status) && test -s "$ac_outfile"; then 7014 7843 # The compiler can only warn and ignore the option if not recognized … … 7274 8103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7275 8104 -e 's:$: $lt_compiler_flag:'` 7276 (eval echo "\"\$as_me: 7276: $lt_compile\"" >&5)8105 (eval echo "\"\$as_me:8105: $lt_compile\"" >&5) 7277 8106 (eval "$lt_compile" 2>conftest.err) 7278 8107 ac_status=$? 7279 8108 cat conftest.err >&5 7280 echo "$as_me: 7280: \$? = $ac_status" >&58109 echo "$as_me:8109: \$? = $ac_status" >&5 7281 8110 if (exit $ac_status) && test -s "$ac_outfile"; then 7282 8111 # The compiler can only warn and ignore the option if not recognized … … 7378 8207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7379 8208 -e 's:$: $lt_compiler_flag:'` 7380 (eval echo "\"\$as_me: 7380: $lt_compile\"" >&5)8209 (eval echo "\"\$as_me:8209: $lt_compile\"" >&5) 7381 8210 (eval "$lt_compile" 2>out/conftest.err) 7382 8211 ac_status=$? 7383 8212 cat out/conftest.err >&5 7384 echo "$as_me: 7384: \$? = $ac_status" >&58213 echo "$as_me:8213: \$? = $ac_status" >&5 7385 8214 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7386 8215 then … … 9723 10552 lt_status=$lt_dlunknown 9724 10553 cat > conftest.$ac_ext <<EOF 9725 #line 9725"configure"10554 #line 10554 "configure" 9726 10555 #include "confdefs.h" 9727 10556 … … 9823 10652 lt_status=$lt_dlunknown 9824 10653 cat > conftest.$ac_ext <<EOF 9825 #line 9825"configure"10654 #line 10654 "configure" 9826 10655 #include "confdefs.h" 9827 10656 … … 12167 12996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12168 12997 -e 's:$: $lt_compiler_flag:'` 12169 (eval echo "\"\$as_me:12 169: $lt_compile\"" >&5)12998 (eval echo "\"\$as_me:12998: $lt_compile\"" >&5) 12170 12999 (eval "$lt_compile" 2>conftest.err) 12171 13000 ac_status=$? 12172 13001 cat conftest.err >&5 12173 echo "$as_me:1 2173: \$? = $ac_status" >&513002 echo "$as_me:13002: \$? = $ac_status" >&5 12174 13003 if (exit $ac_status) && test -s "$ac_outfile"; then 12175 13004 # The compiler can only warn and ignore the option if not recognized … … 12271 13100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12272 13101 -e 's:$: $lt_compiler_flag:'` 12273 (eval echo "\"\$as_me:1 2273: $lt_compile\"" >&5)13102 (eval echo "\"\$as_me:13102: $lt_compile\"" >&5) 12274 13103 (eval "$lt_compile" 2>out/conftest.err) 12275 13104 ac_status=$? 12276 13105 cat out/conftest.err >&5 12277 echo "$as_me:1 2277: \$? = $ac_status" >&513106 echo "$as_me:13106: \$? = $ac_status" >&5 12278 13107 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12279 13108 then … … 13841 14670 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13842 14671 -e 's:$: $lt_compiler_flag:'` 13843 (eval echo "\"\$as_me:1 3843: $lt_compile\"" >&5)14672 (eval echo "\"\$as_me:14672: $lt_compile\"" >&5) 13844 14673 (eval "$lt_compile" 2>conftest.err) 13845 14674 ac_status=$? 13846 14675 cat conftest.err >&5 13847 echo "$as_me:1 3847: \$? = $ac_status" >&514676 echo "$as_me:14676: \$? = $ac_status" >&5 13848 14677 if (exit $ac_status) && test -s "$ac_outfile"; then 13849 14678 # The compiler can only warn and ignore the option if not recognized … … 13945 14774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13946 14775 -e 's:$: $lt_compiler_flag:'` 13947 (eval echo "\"\$as_me:1 3947: $lt_compile\"" >&5)14776 (eval echo "\"\$as_me:14776: $lt_compile\"" >&5) 13948 14777 (eval "$lt_compile" 2>out/conftest.err) 13949 14778 ac_status=$? 13950 14779 cat out/conftest.err >&5 13951 echo "$as_me:1 3951: \$? = $ac_status" >&514780 echo "$as_me:14780: \$? = $ac_status" >&5 13952 14781 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13953 14782 then … … 16152 16981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16153 16982 -e 's:$: $lt_compiler_flag:'` 16154 (eval echo "\"\$as_me:16 154: $lt_compile\"" >&5)16983 (eval echo "\"\$as_me:16983: $lt_compile\"" >&5) 16155 16984 (eval "$lt_compile" 2>conftest.err) 16156 16985 ac_status=$? 16157 16986 cat conftest.err >&5 16158 echo "$as_me:16 158: \$? = $ac_status" >&516987 echo "$as_me:16987: \$? = $ac_status" >&5 16159 16988 if (exit $ac_status) && test -s "$ac_outfile"; then 16160 16989 # The compiler can only warn and ignore the option if not recognized … … 16420 17249 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16421 17250 -e 's:$: $lt_compiler_flag:'` 16422 (eval echo "\"\$as_me:1 6422: $lt_compile\"" >&5)17251 (eval echo "\"\$as_me:17251: $lt_compile\"" >&5) 16423 17252 (eval "$lt_compile" 2>conftest.err) 16424 17253 ac_status=$? 16425 17254 cat conftest.err >&5 16426 echo "$as_me:1 6426: \$? = $ac_status" >&517255 echo "$as_me:17255: \$? = $ac_status" >&5 16427 17256 if (exit $ac_status) && test -s "$ac_outfile"; then 16428 17257 # The compiler can only warn and ignore the option if not recognized … … 16524 17353 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16525 17354 -e 's:$: $lt_compiler_flag:'` 16526 (eval echo "\"\$as_me:1 6526: $lt_compile\"" >&5)17355 (eval echo "\"\$as_me:17355: $lt_compile\"" >&5) 16527 17356 (eval "$lt_compile" 2>out/conftest.err) 16528 17357 ac_status=$? 16529 17358 cat out/conftest.err >&5 16530 echo "$as_me:1 6530: \$? = $ac_status" >&517359 echo "$as_me:17359: \$? = $ac_status" >&5 16531 17360 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16532 17361 then … … 19182 20011 19183 20012 19184 19185 19186 19187 19188 19189 # Initialize automake 19190 19191 # Stuff for automake 19192 # test to see if srcdir already configured 19193 if test "`cd $srcdir && pwd`" != "`pwd`" && 19194 test -f $srcdir/config.status; then 19195 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 19196 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 19197 { (exit 1); exit 1; }; } 19198 fi 19199 19200 # test whether we have cygpath 19201 if test -z "$CYGPATH_W"; then 19202 if (cygpath --version) >/dev/null 2>/dev/null; then 19203 CYGPATH_W='cygpath -w' 19204 else 19205 CYGPATH_W=echo 19206 fi 19207 fi 19208 19209 19210 # Define the identity of the package. 19211 PACKAGE='thirdpartyhsl' 19212 VERSION='0.0' 19213 19214 19215 cat >>confdefs.h <<_ACEOF 19216 #define PACKAGE "$PACKAGE" 19217 _ACEOF 19218 19219 19220 cat >>confdefs.h <<_ACEOF 19221 #define VERSION "$VERSION" 19222 _ACEOF 19223 19224 # Some tools Automake needs. 19225 19226 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 19227 19228 19229 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 19230 19231 19232 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 19233 19234 19235 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 19236 19237 19238 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 19239 19240 install_sh=${install_sh-"$am_aux_dir/install-sh"} 19241 19242 # Installed binaries are usually stripped using `strip' when the user 19243 # run `make install-strip'. However `strip' might not be the right 19244 # tool to use in cross-compilation environments, therefore Automake 19245 # will honor the `STRIP' environment variable to overrule this program. 19246 if test "$cross_compiling" != no; then 19247 if test -n "$ac_tool_prefix"; then 19248 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 19249 set dummy ${ac_tool_prefix}strip; ac_word=$2 19250 echo "$as_me:$LINENO: checking for $ac_word" >&5 19251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19252 if test "${ac_cv_prog_STRIP+set}" = set; then 19253 echo $ECHO_N "(cached) $ECHO_C" >&6 19254 else 19255 if test -n "$STRIP"; then 19256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 19257 else 19258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19259 for as_dir in $PATH 19260 do 19261 IFS=$as_save_IFS 19262 test -z "$as_dir" && as_dir=. 19263 for ac_exec_ext in '' $ac_executable_extensions; do 19264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19265 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 19266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19267 break 2 19268 fi 19269 done 19270 done 19271 19272 fi 19273 fi 19274 STRIP=$ac_cv_prog_STRIP 19275 if test -n "$STRIP"; then 19276 echo "$as_me:$LINENO: result: $STRIP" >&5 19277 echo "${ECHO_T}$STRIP" >&6 19278 else 19279 echo "$as_me:$LINENO: result: no" >&5 19280 echo "${ECHO_T}no" >&6 19281 fi 19282 19283 fi 19284 if test -z "$ac_cv_prog_STRIP"; then 19285 ac_ct_STRIP=$STRIP 19286 # Extract the first word of "strip", so it can be a program name with args. 19287 set dummy strip; ac_word=$2 19288 echo "$as_me:$LINENO: checking for $ac_word" >&5 19289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19290 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 19291 echo $ECHO_N "(cached) $ECHO_C" >&6 19292 else 19293 if test -n "$ac_ct_STRIP"; then 19294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 19295 else 19296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19297 for as_dir in $PATH 19298 do 19299 IFS=$as_save_IFS 19300 test -z "$as_dir" && as_dir=. 19301 for ac_exec_ext in '' $ac_executable_extensions; do 19302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19303 ac_cv_prog_ac_ct_STRIP="strip" 19304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19305 break 2 19306 fi 19307 done 19308 done 19309 19310 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 19311 fi 19312 fi 19313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 19314 if test -n "$ac_ct_STRIP"; then 19315 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 19316 echo "${ECHO_T}$ac_ct_STRIP" >&6 19317 else 19318 echo "$as_me:$LINENO: result: no" >&5 19319 echo "${ECHO_T}no" >&6 19320 fi 19321 19322 STRIP=$ac_ct_STRIP 19323 else 19324 STRIP="$ac_cv_prog_STRIP" 19325 fi 19326 19327 fi 19328 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 19329 19330 # We need awk for the "check" target. The system "awk" is bad on 19331 # some platforms. 19332 # Always define AMTAR for backward compatibility. 19333 19334 AMTAR=${AMTAR-"${am_missing_run}tar"} 19335 19336 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 19337 19338 19339 19340 19341 depcc="$CC" am_compiler_list= 19342 19343 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 19344 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 19345 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 19346 echo $ECHO_N "(cached) $ECHO_C" >&6 19347 else 19348 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 19349 # We make a subdir and do the tests there. Otherwise we can end up 19350 # making bogus files that we don't know about and never remove. For 19351 # instance it was reported that on HP-UX the gcc test will end up 19352 # making a dummy file named `D' -- because `-MD' means `put the output 19353 # in D'. 19354 mkdir conftest.dir 19355 # Copy depcomp to subdir because otherwise we won't find it if we're 19356 # using a relative directory. 19357 cp "$am_depcomp" conftest.dir 19358 cd conftest.dir 19359 # We will build objects and dependencies in a subdirectory because 19360 # it helps to detect inapplicable dependency modes. For instance 19361 # both Tru64's cc and ICC support -MD to output dependencies as a 19362 # side effect of compilation, but ICC will put the dependencies in 19363 # the current directory while Tru64 will put them in the object 19364 # directory. 19365 mkdir sub 19366 19367 am_cv_CC_dependencies_compiler_type=none 19368 if test "$am_compiler_list" = ""; then 19369 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 19370 fi 19371 for depmode in $am_compiler_list; do 19372 # Setup a source with many dependencies, because some compilers 19373 # like to wrap large dependency lists on column 80 (with \), and 19374 # we should not choose a depcomp mode which is confused by this. 19375 # 19376 # We need to recreate these files for each test, as the compiler may 19377 # overwrite some of them when testing with obscure command lines. 19378 # This happens at least with the AIX C compiler. 19379 : > sub/conftest.c 19380 for i in 1 2 3 4 5 6; do 19381 echo '#include "conftst'$i'.h"' >> sub/conftest.c 19382 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 19383 # Solaris 8's {/usr,}/bin/sh. 19384 touch sub/conftst$i.h 19385 done 19386 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 19387 19388 case $depmode in 19389 nosideeffect) 19390 # after this tag, mechanisms are not by side-effect, so they'll 19391 # only be used when explicitly requested 19392 if test "x$enable_dependency_tracking" = xyes; then 19393 continue 19394 else 19395 break 19396 fi 19397 ;; 19398 none) break ;; 19399 esac 19400 # We check with `-c' and `-o' for the sake of the "dashmstdout" 19401 # mode. It turns out that the SunPro C++ compiler does not properly 19402 # handle `-M -o', and we need to detect this. 19403 if depmode=$depmode \ 19404 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 19405 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 19406 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 19407 >/dev/null 2>conftest.err && 19408 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 19409 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 19410 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 19411 # icc doesn't choke on unknown options, it will just issue warnings 19412 # or remarks (even with -Werror). So we grep stderr for any message 19413 # that says an option was ignored or not supported. 19414 # When given -MP, icc 7.0 and 7.1 complain thusly: 19415 # icc: Command line warning: ignoring option '-M'; no argument required 19416 # The diagnosis changed in icc 8.0: 19417 # icc: Command line remark: option '-MP' not supported 19418 if (grep 'ignoring option' conftest.err || 19419 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 19420 am_cv_CC_dependencies_compiler_type=$depmode 19421 break 19422 fi 19423 fi 19424 done 19425 19426 cd .. 19427 rm -rf conftest.dir 19428 else 19429 am_cv_CC_dependencies_compiler_type=none 19430 fi 19431 19432 fi 19433 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 19434 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 19435 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 19436 19437 19438 19439 if 19440 test "x$enable_dependency_tracking" != xno \ 19441 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 19442 am__fastdepCC_TRUE= 19443 am__fastdepCC_FALSE='#' 19444 else 19445 am__fastdepCC_TRUE='#' 19446 am__fastdepCC_FALSE= 19447 fi 19448 19449 19450 19451 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 19452 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 19453 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 19454 if test "${enable_maintainer_mode+set}" = set; then 19455 enableval="$enable_maintainer_mode" 19456 USE_MAINTAINER_MODE=$enableval 19457 else 19458 USE_MAINTAINER_MODE=no 19459 fi; 19460 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 19461 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 19462 19463 19464 if test $USE_MAINTAINER_MODE = yes; then 19465 MAINTAINER_MODE_TRUE= 19466 MAINTAINER_MODE_FALSE='#' 19467 else 19468 MAINTAINER_MODE_TRUE='#' 19469 MAINTAINER_MODE_FALSE= 19470 fi 19471 19472 MAINT=$MAINTAINER_MODE_TRUE 19473 19474 19475 19476 coin_have_externals=no 19477 if test "$enable_maintainer_mode" = yes; then 19478 19479 # If maintainer mode is chosen, we make sure that the correct versions 19480 # of the tools are used, and that we know where libtoo.m4 is (to 19481 # recreate acinclude.m4) 19482 19483 19484 LIBTOOLM4= 19485 19486 # Check if we have autoconf 19487 # Extract the first word of "autoconf", so it can be a program name with args. 19488 set dummy autoconf; ac_word=$2 19489 echo "$as_me:$LINENO: checking for $ac_word" >&5 19490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19491 if test "${ac_cv_prog_have_autoconf+set}" = set; then 19492 echo $ECHO_N "(cached) $ECHO_C" >&6 19493 else 19494 if test -n "$have_autoconf"; then 19495 ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test. 19496 else 19497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19498 for as_dir in $PATH 19499 do 19500 IFS=$as_save_IFS 19501 test -z "$as_dir" && as_dir=. 19502 for ac_exec_ext in '' $ac_executable_extensions; do 19503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19504 ac_cv_prog_have_autoconf="yes" 19505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19506 break 2 19507 fi 19508 done 19509 done 19510 19511 test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no" 19512 fi 19513 fi 19514 have_autoconf=$ac_cv_prog_have_autoconf 19515 if test -n "$have_autoconf"; then 19516 echo "$as_me:$LINENO: result: $have_autoconf" >&5 19517 echo "${ECHO_T}$have_autoconf" >&6 19518 else 19519 echo "$as_me:$LINENO: result: no" >&5 19520 echo "${ECHO_T}no" >&6 19521 fi 19522 19523 if test $have_autoconf = no; then 19524 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&5 19525 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find autoconf in your path." >&2;} 19526 { (exit 1); exit 1; }; } 19527 fi 19528 19529 # Check whether autoconf is the correct version 19530 correct_version='2.59' 19531 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 19532 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of autoconf" >&5 19533 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of autoconf... $ECHO_C" >&6 19534 autoconf --version > confauto.out 2>&1 19535 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 19536 echo "$as_me:$LINENO: result: yes" >&5 19537 echo "${ECHO_T}yes" >&6 19538 else 19539 rm -f confauto.out 19540 echo "$as_me:$LINENO: result: no" >&5 19541 echo "${ECHO_T}no" >&6 19542 { { echo "$as_me:$LINENO: error: You don't have the correct version of autoconf as the first one in your path." >&5 19543 echo "$as_me: error: You don't have the correct version of autoconf as the first one in your path." >&2;} 19544 { (exit 1); exit 1; }; } 19545 fi 19546 rm -f confauto.out 19547 19548 # Check if the executable autoconf is picked up from the correct location 19549 echo "$as_me:$LINENO: checking whether autoconf is coming from the correct location" >&5 19550 echo $ECHO_N "checking whether autoconf is coming from the correct location... $ECHO_C" >&6 19551 autoconf_dir=`which autoconf | sed -e 's=/autoconf=='` 19552 autoconf_dir=`cd $autoconf_dir; pwd` 19553 if test x$AUTOTOOLS_DIR = x; then 19554 want_dir=$HOME/bin 19555 else 19556 want_dir=$AUTOTOOLS_DIR/bin 19557 fi 19558 if test $autoconf_dir = `cd $want_dir; pwd`; then 19559 echo "$as_me:$LINENO: result: yes" >&5 19560 echo "${ECHO_T}yes" >&6 19561 else 19562 rm -f confauto.out 19563 echo "$as_me:$LINENO: result: no" >&5 19564 echo "${ECHO_T}no" >&6 19565 { { echo "$as_me:$LINENO: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5 19566 echo "$as_me: error: The autoconf executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;} 19567 { (exit 1); exit 1; }; } 19568 fi 19569 19570 # Check if we have automake 19571 # Extract the first word of "automake", so it can be a program name with args. 19572 set dummy automake; ac_word=$2 19573 echo "$as_me:$LINENO: checking for $ac_word" >&5 19574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19575 if test "${ac_cv_prog_have_automake+set}" = set; then 19576 echo $ECHO_N "(cached) $ECHO_C" >&6 19577 else 19578 if test -n "$have_automake"; then 19579 ac_cv_prog_have_automake="$have_automake" # Let the user override the test. 19580 else 19581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19582 for as_dir in $PATH 19583 do 19584 IFS=$as_save_IFS 19585 test -z "$as_dir" && as_dir=. 19586 for ac_exec_ext in '' $ac_executable_extensions; do 19587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19588 ac_cv_prog_have_automake="yes" 19589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19590 break 2 19591 fi 19592 done 19593 done 19594 19595 test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no" 19596 fi 19597 fi 19598 have_automake=$ac_cv_prog_have_automake 19599 if test -n "$have_automake"; then 19600 echo "$as_me:$LINENO: result: $have_automake" >&5 19601 echo "${ECHO_T}$have_automake" >&6 19602 else 19603 echo "$as_me:$LINENO: result: no" >&5 19604 echo "${ECHO_T}no" >&6 19605 fi 19606 19607 if test $have_automake = no; then 19608 { { echo "$as_me:$LINENO: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&5 19609 echo "$as_me: error: You specified you want to use maintainer mode, but I cannot find automake in your path." >&2;} 19610 { (exit 1); exit 1; }; } 19611 fi 19612 19613 # Check whether automake is the correct version 19614 correct_version='1.9.6' 19615 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 19616 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of automake" >&5 19617 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of automake... $ECHO_C" >&6 19618 automake --version > confauto.out 2>&1 19619 if $EGREP $grep_version confauto.out >/dev/null 2>&1; then 19620 echo "$as_me:$LINENO: result: yes" >&5 19621 echo "${ECHO_T}yes" >&6 19622 else 19623 rm -f confauto.out 19624 echo "$as_me:$LINENO: result: no" >&5 19625 echo "${ECHO_T}no" >&6 19626 { { echo "$as_me:$LINENO: error: You don't have the correct version of automake as the first one in your path." >&5 19627 echo "$as_me: error: You don't have the correct version of automake as the first one in your path." >&2;} 19628 { (exit 1); exit 1; }; } 19629 fi 19630 rm -f confauto.out 19631 19632 # Check if the executable automake is picked up from the correct location 19633 echo "$as_me:$LINENO: checking whether automake is coming from the correct location" >&5 19634 echo $ECHO_N "checking whether automake is coming from the correct location... $ECHO_C" >&6 19635 automake_dir=`which automake | sed -e 's=/automake=='` 19636 automake_dir=`cd $automake_dir; pwd` 19637 if test x$AUTOTOOLS_DIR = x; then 19638 want_dir=$HOME/bin 19639 else 19640 want_dir=$AUTOTOOLS_DIR/bin 19641 fi 19642 if test $automake_dir = `cd $want_dir; pwd`; then 19643 echo "$as_me:$LINENO: result: yes" >&5 19644 echo "${ECHO_T}yes" >&6 19645 else 19646 rm -f confauto.out 19647 echo "$as_me:$LINENO: result: no" >&5 19648 echo "${ECHO_T}no" >&6 19649 { { echo "$as_me:$LINENO: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&5 19650 echo "$as_me: error: The automake executable should be picked up from \$HOME/bin or \$AUTOTOOLS_DIR/bin." >&2;} 19651 { (exit 1); exit 1; }; } 19652 fi 19653 19654 # Check if we can find the libtool file 19655 if test x$AUTOTOOLS_DIR = x; then 19656 want_dir=$HOME/share 19657 else 19658 want_dir=$AUTOTOOLS_DIR/share 19659 fi 19660 as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh` 19661 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5 19662 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6 19663 if eval "test \"\${$as_ac_File+set}\" = set"; then 19664 echo $ECHO_N "(cached) $ECHO_C" >&6 19665 else 19666 test "$cross_compiling" = yes && 19667 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 19668 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 19669 { (exit 1); exit 1; }; } 19670 if test -r "$want_dir/aclocal/libtool.m4"; then 19671 eval "$as_ac_File=yes" 19672 else 19673 eval "$as_ac_File=no" 19674 fi 19675 fi 19676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 19677 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 19678 if test `eval echo '${'$as_ac_File'}'` = yes; then 19679 LIBTOOLM4="$want_dir/aclocal/libtool.m4" 19680 else 19681 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 19682 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 19683 { (exit 1); exit 1; }; } 19684 fi 19685 19686 19687 # Check if this is the correct version of libtool (with escaped dots) 19688 correct_version='1.5.22' 19689 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 19690 as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh` 19691 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5 19692 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6 19693 if eval "test \"\${$as_ac_File+set}\" = set"; then 19694 echo $ECHO_N "(cached) $ECHO_C" >&6 19695 else 19696 test "$cross_compiling" = yes && 19697 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 19698 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 19699 { (exit 1); exit 1; }; } 19700 if test -r "$want_dir/libtool/ltmain.sh"; then 19701 eval "$as_ac_File=yes" 19702 else 19703 eval "$as_ac_File=no" 19704 fi 19705 fi 19706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 19707 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 19708 if test `eval echo '${'$as_ac_File'}'` = yes; then 19709 have_ltmain=yes 19710 else 19711 have_ltmain=no 19712 fi 19713 19714 echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5 19715 echo $ECHO_N "checking whether we are using the correct version ($correct_version) of libtool.... $ECHO_C" >&6 19716 if test $have_ltmain = yes; then 19717 if $EGREP $grep_version $want_dir/libtool/ltmain.sh >/dev/null 2>&1; then 19718 echo "$as_me:$LINENO: result: yes" >&5 19719 echo "${ECHO_T}yes" >&6 19720 else 19721 echo "$as_me:$LINENO: result: no" >&5 19722 echo "${ECHO_T}no" >&6 19723 { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5 19724 echo "$as_me: error: You don't have the correct version of libtool." >&2;} 19725 { (exit 1); exit 1; }; } 19726 fi 19727 else 19728 echo "$as_me:$LINENO: result: no" >&5 19729 echo "${ECHO_T}no" >&6 19730 { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5 19731 echo "$as_me: error: I cannot find the ltmain.sh file." >&2;} 19732 { (exit 1); exit 1; }; } 19733 fi 19734 19735 # Check if we have an Externals file 19736 if test -r $srcdir/Externals; then 19737 coin_have_externals=yes 19738 fi 19739 # Check if subversion is installed and understands https 19740 # Extract the first word of "svn", so it can be a program name with args. 19741 set dummy svn; ac_word=$2 19742 echo "$as_me:$LINENO: checking for $ac_word" >&5 19743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19744 if test "${ac_cv_prog_have_svn+set}" = set; then 19745 echo $ECHO_N "(cached) $ECHO_C" >&6 19746 else 19747 if test -n "$have_svn"; then 19748 ac_cv_prog_have_svn="$have_svn" # Let the user override the test. 19749 else 19750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19751 for as_dir in $PATH 19752 do 19753 IFS=$as_save_IFS 19754 test -z "$as_dir" && as_dir=. 19755 for ac_exec_ext in '' $ac_executable_extensions; do 19756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19757 ac_cv_prog_have_svn="yes" 19758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19759 break 2 19760 fi 19761 done 19762 done 19763 19764 test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no" 19765 fi 19766 fi 19767 have_svn=$ac_cv_prog_have_svn 19768 if test -n "$have_svn"; then 19769 echo "$as_me:$LINENO: result: $have_svn" >&5 19770 echo "${ECHO_T}$have_svn" >&6 19771 else 19772 echo "$as_me:$LINENO: result: no" >&5 19773 echo "${ECHO_T}no" >&6 19774 fi 19775 19776 if test x$have_svn = xyes; then 19777 echo "$as_me:$LINENO: checking svn understands https" >&5 19778 echo $ECHO_N "checking svn understands https... $ECHO_C" >&6 19779 svn --version > confauto.out 2>&1 19780 if $EGREP https confauto.out >/dev/null 2>&1; then 19781 echo "$as_me:$LINENO: result: yes" >&5 19782 echo "${ECHO_T}yes" >&6 19783 else 19784 echo "$as_me:$LINENO: result: no" >&5 19785 echo "${ECHO_T}no" >&6 19786 have_svn=no 19787 fi 19788 rm -f confauto.out 19789 fi 19790 19791 # Find the location of the BuildTools directory 19792 BUILDTOOLSDIR= 19793 if test -r $srcdir/BuildTools/coin.m4; then 19794 BUILDTOOLSDIR=$srcdir/BuildTools 19795 else 19796 if test -r $srcdir/../BuildTools/coin.m4; then 19797 BUILDTOOLSDIR=$srcdir/../BuildTools 19798 else 19799 if test -r $srcdir/../../BuildTools/coin.m4; then 19800 BUILDTOOLSDIR=$srcdir/../../BuildTools 19801 else 19802 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5 19803 echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 19804 { (exit 1); exit 1; }; } 19805 fi 19806 fi 19807 fi 19808 19809 19810 # The following variable is set to the name of the directory where 19811 # the autotool scripts are located 19812 19813 AUX_DIR=$ac_aux_dir 19814 fi 19815 19816 # helpful variable for the base directory of this package 19817 abs_source_dir=`cd $srcdir; pwd` 19818 19819 19820 # Stuff for example Makefiles 19821 if test x$prefix = xNONE; then 19822 full_prefix=$ac_default_prefix 19823 else 19824 full_prefix=$prefix 19825 fi 19826 full_prefix=`cd $full_prefix ; pwd` 19827 19828 abs_lib_dir=$full_prefix/lib 19829 19830 abs_include_dir=$full_prefix/include 19831 19832 abs_bin_dir=$full_prefix/bin 19833 19834 19835 19836 if test $coin_have_externals = yes && test x$have_svn = xyes; then 19837 HAVE_EXTERNALS_TRUE= 19838 HAVE_EXTERNALS_FALSE='#' 19839 else 19840 HAVE_EXTERNALS_TRUE='#' 19841 HAVE_EXTERNALS_FALSE= 19842 fi 19843 19844 19845 19846 # Stuff for libtool 19847 19848 19849 # We check for this header here in a non-standard way to avoid warning 19850 # messages 19851 19852 19853 19854 19855 19856 19857 20013 # No longer needed now that CPPFLAGS is correctly set -- lh, 061214 -- 20014 # AC_REQUIRE([AC_COIN_DLFCN_H]) 20015 20016 # NEW: If libtool exists in the directory higher up, we use that one 20017 # instead of creating a new one 20018 20019 # It turns out that the code for AC_PROG_LIBTOOL is somehow AC_REQUIRED 20020 # out in front of this macro body. You'll notice that LIBTOOL is already 20021 # defined here. We'll have to count on this macro not being called if libtool 20022 # already exists, or at least move the libtool fixes outside the conditional. 20023 # AC_MSG_NOTICE([Entering coin_prog_libtool, LIBTOOL = "$LIBTOOL".]) 20024 # This test is therefore removed. -- lh, 061214 -- 20025 # if test "x$LIBTOOL" = x; then 20026 20027 # AC_MSG_NOTICE([Calling PROG_LIBTOOL.]) 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 # AC_MSG_NOTICE([Finished PROG_LIBTOOL.]) 19858 20038 19859 20039 … … 19877 20057 # -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' \ 19878 20058 19879 # Correct cygpath for minGW (ToDo!) 19880 case $build in 19881 *-mingw*) 19882 CYGPATH_W=echo 19883 ;; 19884 esac 19885 19886 case $build in 19887 *-cygwin* | *-mingw*) 19888 case "$CXX" in 19889 cl* | */cl* | CL* | */CL*) 19890 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 20059 # Correct cygpath for minGW (ToDo!) 20060 { echo "$as_me:$LINENO: Build is \"$build\"." >&5 20061 echo "$as_me: Build is \"$build\"." >&6;} 20062 case $build in 20063 *-mingw*) 20064 CYGPATH_W=echo 20065 ;; 20066 esac 20067 20068 case $build in 20069 *-cygwin* | *-mingw*) 20070 case "$CXX" in 20071 cl* | */cl* | CL* | */CL*) 20072 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 19891 20073 echo "$as_me: Applying patches to libtool for cl compiler" >&6;} 19892 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \19893 -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \19894 -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \19895 -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \19896 -e 's%lib /OUT:%lib -OUT:%' \19897 -e "s%cygpath -w%$CYGPATH_W%" \19898 19899 -e 's/$AR t/lib -nologo -list/' \19900 -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \19901 -e 's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \19902 libtool > conftest.bla19903 19904 mv conftest.bla libtool19905 chmod 755 libtool19906 ;;19907 *)19908 { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&520074 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20075 -e 's|fix_srcfile_path=\"\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20076 -e 's%compile_deplibs=\"\$dir/\$old_library \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$old_library | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \ 20077 -e 's%compile_deplibs=\"\$dir/\$linklib \$compile_deplibs\"%compile_deplibs="'\`"$CYGPATH_W"' \$dir/\$linklib | sed -e '"'"'sY\\\\\\\\Y/Yg'"'"\`' \$compile_deplibs\"'% \ 20078 -e 's%lib /OUT:%lib -OUT:%' \ 20079 -e "s%cygpath -w%$CYGPATH_W%" \ 20080 -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%' \ 20081 -e 's/$AR t/lib -nologo -list/' \ 20082 -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \ 20083 -e 's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \ 20084 libtool > conftest.bla 20085 20086 mv conftest.bla libtool 20087 chmod 755 libtool 20088 ;; 20089 *) 20090 { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&5 19909 20091 echo "$as_me: Applying patches to libtool for GNU compiler" >&6;} 19910 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 19911 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 19912 -e 's|libext="lib"|libext="a"|' \ 19913 libtool > conftest.bla 19914 19915 mv conftest.bla libtool 19916 chmod 755 libtool 19917 ;; 20092 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 20093 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 20094 -e 's|libext="lib"|libext="a"|' \ 20095 libtool > conftest.bla 20096 20097 mv conftest.bla libtool 20098 chmod 755 libtool 20099 ;; 20100 esac 19918 20101 esac 19919 esac 19920 19921 # ToDo 19922 # For now, don't use the -no-undefined flag, since the Makefiles are 19923 # not yet set up that way. But we need to fix this, when we want 19924 # to comile DLLs under Windows. 19925 LT_LDFLAGS= 19926 19927 19928 19929 # set RPATH_FLAGS to the compiler link flags required to hardcode location 19930 # of the shared objects 19931 RPATH_FLAGS= 20102 # This fi matches the commented `if test "x$LIBTOOL" = x;' up at the head of 20103 # the macro. -- lh, 061214 -- 20104 # fi 20105 20106 # AC_MSG_NOTICE([End libtool initialisation.]) 20107 20108 # AC_MSG_NOTICE([Finished COIN_PROG_LIBTOOL.]) 20109 # set RPATH_FLAGS to the compiler link flags required to hardcode location 20110 # of the shared objects 20111 RPATH_FLAGS= 19932 20112 19933 20113 if test $enable_shared = yes; then … … 19970 20150 19971 20151 20152 else 20153 20154 { echo "$as_me:$LINENO: Using libtool script in directory $coin_config_dir" >&5 20155 echo "$as_me: Using libtool script in directory $coin_config_dir" >&6;} 20156 # get all missing information from the config.log file 20157 20158 # output variables and defines 20159 as_save_IFS=$IFS 20160 IFS=' 20161 ' 20162 for oneline in `cat $coin_config_dir/config.status`; do 20163 case "$oneline" in 20164 # First some automake conditionals 20165 s,@am__fastdep* | s,@AR@* | s,@CPP@* | s,@CPPFLAGS@* | s,@CXXCPP@* | \ 20166 s,@RANLIB@* | s,@STRIP@* | s,@ac_ct_AR@* | s,@ac_ct_RANLIB@* | \ 20167 s,@ac_ct_STRIP@* | s,@host* | s,@LN_S@* | s,@RPATH_FLAGS@* | \ 20168 s,@ac_c_preproc_warn_flag@* | s,@ac_cxx_preproc_warn_flag@* ) 20169 command=`echo $oneline | sed -e 's/^s,@//' -e 's/@,/="/' -e 's/,;t t/"/'` 20170 # echo "$command" 20171 eval "$command" 20172 ;; 20173 s,@DEFS@* ) 20174 command=`echo $oneline | sed -e 's/^s,@DEFS@,/defsline="/' -e 's/,;t t/"/'` 20175 # echo "$command" 20176 eval "$command" 20177 ;; 20178 esac 20179 done 20180 IFS=$as_save_IFS 20181 20182 # And some defines (assuming here that the packages base dir 20183 # doesn't have a config.h file 20184 for word in $defsline; do 20185 # echo word $word 20186 case $word in 20187 -DHAVE_[A-Z_]*_H=1 | -DSTDC_HEADERS=1 ) 20188 i=`echo $word | sed -e 's/-D/#define /' -e 's/=/ /'` 20189 # echo dd $i 20190 echo $i >>confdefs.h 20191 ;; 20192 esac 20193 done 20194 fi 20195 20196 # AC_MSG_NOTICE([End of INIT_AUTO_TOOLS.]) 20197 20198 # ToDo 20199 # For now, don't use the -no-undefined flag, since the Makefiles are 20200 # not yet set up that way. But we need to fix this, when we want 20201 # to comile DLLs under Windows. 20202 LT_LDFLAGS= 20203 20204 20205 #END 20206 } 19972 20207 19973 20208 ############################################################################# … … 20096 20331 fi 20097 20332 20333 as_ac_File=`echo "ac_cv_file_$srcdir/ma28ad.f" | $as_tr_sh` 20334 echo "$as_me:$LINENO: checking for $srcdir/ma28ad.f" >&5 20335 echo $ECHO_N "checking for $srcdir/ma28ad.f... $ECHO_C" >&6 20336 if eval "test \"\${$as_ac_File+set}\" = set"; then 20337 echo $ECHO_N "(cached) $ECHO_C" >&6 20338 else 20339 test "$cross_compiling" = yes && 20340 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 20341 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 20342 { (exit 1); exit 1; }; } 20343 if test -r "$srcdir/ma28ad.f"; then 20344 eval "$as_ac_File=yes" 20345 else 20346 eval "$as_ac_File=no" 20347 fi 20348 fi 20349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 20350 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 20351 if test `eval echo '${'$as_ac_File'}'` = yes; then 20352 hsl_files="$hsl_files ma28ad.f" 20353 coin_has_ma28ad=yes 20354 else 20355 coin_has_ma28ad=no 20356 fi 20357 20358 20359 20360 if test $coin_has_ma28ad = yes; then 20361 COIN_HAS_MA28_TRUE= 20362 COIN_HAS_MA28_FALSE='#' 20363 else 20364 COIN_HAS_MA28_TRUE='#' 20365 COIN_HAS_MA28_FALSE= 20366 fi 20367 20098 20368 20099 20369 ############################################################################# … … 20113 20383 20114 20384 case "$CC" in 20115 cl* | */cl* | CL* | */CL*) LIBEXT=lib ;; 20385 cl* | */cl* | CL* | */CL*) 20386 LIBEXT=lib ;; 20116 20387 *) LIBEXT=a ;; 20117 20388 esac … … 20304 20575 Usually this means the macro was only invoked conditionally." >&5 20305 20576 echo "$as_me: error: conditional \"COIN_HAS_MA57\" was never defined. 20577 Usually this means the macro was only invoked conditionally." >&2;} 20578 { (exit 1); exit 1; }; } 20579 fi 20580 if test -z "${COIN_HAS_MA28_TRUE}" && test -z "${COIN_HAS_MA28_FALSE}"; then 20581 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MA28\" was never defined. 20582 Usually this means the macro was only invoked conditionally." >&5 20583 echo "$as_me: error: conditional \"COIN_HAS_MA28\" was never defined. 20306 20584 Usually this means the macro was only invoked conditionally." >&2;} 20307 20585 { (exit 1); exit 1; }; } … … 20925 21203 s,@CXXCPP@,$CXXCPP,;t t 20926 21204 s,@LIBTOOL@,$LIBTOOL,;t t 21205 s,@ac_c_preproc_warn_flag@,$ac_c_preproc_warn_flag,;t t 21206 s,@ac_cxx_preproc_warn_flag@,$ac_cxx_preproc_warn_flag,;t t 21207 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 20927 21208 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 20928 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t20929 21209 s,@COIN_HAS_MA27_TRUE@,$COIN_HAS_MA27_TRUE,;t t 20930 21210 s,@COIN_HAS_MA27_FALSE@,$COIN_HAS_MA27_FALSE,;t t … … 20933 21213 s,@COIN_HAS_MA57_TRUE@,$COIN_HAS_MA57_TRUE,;t t 20934 21214 s,@COIN_HAS_MA57_FALSE@,$COIN_HAS_MA57_FALSE,;t t 21215 s,@COIN_HAS_MA28_TRUE@,$COIN_HAS_MA28_TRUE,;t t 21216 s,@COIN_HAS_MA28_FALSE@,$COIN_HAS_MA28_FALSE,;t t 20935 21217 s,@LIBEXT@,$LIBEXT,;t t 20936 21218 s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
Note: See TracChangeset
for help on using the changeset viewer.