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