Changeset 218 for ThirdParty/Blas/stable


Ignore:
Timestamp:
Feb 1, 2007 7:17:12 PM (13 years ago)
Author:
andreasw
Message:

synchronizing Blas stable with trunk (rev 216)

Location:
ThirdParty/Blas/stable/1.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/stable/1.0/Makefile.in

    r121 r218  
    182182abs_lib_dir = @abs_lib_dir@
    183183abs_source_dir = @abs_source_dir@
     184ac_c_preproc_warn_flag = @ac_c_preproc_warn_flag@
    184185ac_ct_AR = @ac_ct_AR@
    185186ac_ct_CC = @ac_ct_CC@
     
    188189ac_ct_RANLIB = @ac_ct_RANLIB@
    189190ac_ct_STRIP = @ac_ct_STRIP@
     191ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
    190192am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    191193am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • ThirdParty/Blas/stable/1.0/configure

    r189 r218  
    473473#endif"
    474474
    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'
     475ac_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'
    476476ac_subst_files=''
    477477
     
    10741074  --enable-debug-blas compile this project (Blas) with debug options
    10751075  --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.
    10771080  --enable-static[=PKGS]
    10781081                          build static libraries [default=no]
     
    15901593
    15911594# Initialize the ADDLIBS variable
    1592 ADDLIBS='-lm'
     1595ADDLIBS="-lm $LIBS"
    15931596
    15941597
    15951598# Initialize the FADDLIBS variable (which is to be used with a fortran
    15961599# compiler and will not include FLIBS)
    1597 FADDLIBS=
     1600FADDLIBS="$LIBS"
    15981601
    15991602
     
    17731776    fi
    17741777    ;;
    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.
    17781789if test "${enable_doscompile+set}" = set; then
    17791790  enableval="$enable_doscompile"
    1780   if test "$enable_doscompile = yes"; then
    1781   case $build in
    1782     *-cygwin*) ;;
    1783     *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5
    1784 echo "$as_me: error: --enable-doscompile option makes only sense under 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
     1795echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin" >&2;}
    17851796   { (exit 1); exit 1; }; } ;;
    1786   esac
    1787 fi
     1797     esac
     1798   fi
    17881799else
    17891800  enable_doscompile=no
    17901801fi;
     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
     1807echo "$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
     1814echo "$as_me: DOS compile style is: $enable_doscompile" >&6;}
     1815  fi
    17911816
    17921817
     
    18221847
    18231848save_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?
    18241853case $build in
    18251854  *-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" ;;
    18271862  *-linux-*) comps="xlc gcc cc pgcc icc" ;;
    18281863  *)         comps="xlc_r xlc cc gcc pgcc icc" ;;
     
    18301865
    18311866# We delete the cached value, since the test might not have been
    1832 # performed with out choise of compilers earlier
     1867# performed with our choice of compilers earlier
    18331868$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])
    18341870ac_ext=c
    18351871ac_cpp='$CPP $CPPFLAGS'
     
    25452581ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25462582
     2583if test -z "$CC" ; then
     2584  { { echo "$as_me:$LINENO: error: Failed to find a C compiler!" >&5
     2585echo "$as_me: error: Failed to find a C compiler!" >&2;}
     2586   { (exit 1); exit 1; }; }
     2587fi
     2588# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
     2589case "$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
     2594echo "$as_me: Overruling autoconf; cl does not recognise -g." >&6;}
     2595    fi ;;
     2596esac
    25472597CFLAGS="$save_cflags"
    25482598
     
    25712621        coin_dbg_cflags="-g"
    25722622        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
    25782627/* confdefs.h.  */
    25792628_ACEOF
     
    26202669rm -f conftest.err conftest.$ac_objext \
    26212670      conftest$ac_exeext conftest.$ac_ext
    2622               CFLAGS=
    2623             ;;
    2624           esac
    2625         fi
     2671            CFLAGS=
     2672          ;;
     2673        esac
    26262674    esac
    26272675  fi
     
    26312679        case "$CC" in
    26322680          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'
    26352683            coin_dbg_cflags='-MTd'
    26362684            ;;
     
    28082856fi
    28092857
    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
     2860case "$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 ;;
     2873esac
    28152874
    28162875# Try if CFLAGS works
     
    29382997    fi
    29392998    ;;
    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
    29413007
    29423008    ;;
     
    29503016
    29513017
     3018case $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
    29523031
    29533032
     
    29673046
    29683047save_fflags="$FFLAGS"
    2969 case $build in
    2970   *-cygwin* | *-mingw*)
    2971              comps="gfortran g77 ifort fl32" ;;
    2972   *)         comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
    2973 esac
    29743048
    29753049# We delete the cached value, since the test might not have been
    2976 # performed with out choise of compilers earlier
     3050# performed with our choice of compilers earlier
    29773051$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
     3062echo "$as_me: Trying to determine Fortran compiler name" >&6;}
     3063for ac_prog in $coin_f77_comps
     3064do
     3065  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3066set dummy $ac_prog; ac_word=$2
     3067echo "$as_me:$LINENO: checking for $ac_word" >&5
     3068echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3069if test "${ac_cv_prog_F77+set}" = set; then
     3070  echo $ECHO_N "(cached) $ECHO_C" >&6
     3071else
     3072  if test -n "$F77"; then
     3073  ac_cv_prog_F77="$F77" # Let the user override the test.
     3074else
     3075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3076for as_dir in $PATH
     3077do
     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
     3086done
     3087done
     3088
     3089fi
     3090fi
     3091F77=$ac_cv_prog_F77
     3092if test -n "$F77"; then
     3093  echo "$as_me:$LINENO: result: $F77" >&5
     3094echo "${ECHO_T}$F77" >&6
     3095else
     3096  echo "$as_me:$LINENO: result: no" >&5
     3097echo "${ECHO_T}no" >&6
     3098fi
     3099
     3100  test -n "$F77" && break
     3101done
     3102test -n "$F77" || F77="unavailable"
     3103
     3104
     3105if test "$F77" != "unavailable" ; then
     3106  ac_ext=f
    29793107ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    29803108ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29813109ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    29823110if test -n "$ac_tool_prefix"; then
    2983   for ac_prog in $comps
     3111  for ac_prog in $coin_f77_comps
    29843112  do
    29853113    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     
    30233151if test -z "$F77"; then
    30243152  ac_ct_F77=$F77
    3025   for ac_prog in $comps
     3153  for ac_prog in $coin_f77_comps
    30263154do
    30273155  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    30683196
    30693197# Provide some information about the compiler.
    3070 echo "$as_me:3070:" \
     3198echo "$as_me:3198:" \
    30713199     "checking for Fortran 77 compiler version" >&5
    30723200ac_compiler=`set X $ac_compile; echo $2`
     
    32113339ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    32123340
     3341else
     3342  { echo "$as_me:$LINENO: WARNING: Failed to find a Fortran compiler!" >&5
     3343echo "$as_me: WARNING: Failed to find a Fortran compiler!" >&2;}
     3344fi
     3345
    32133346FFLAGS="$save_fflags"
    32143347
     
    32213354fi
    32223355
    3223 if test x"$FFLAGS" = x; then
     3356if test "$F77" != "unavailable" && test x"$FFLAGS" = x ; then
    32243357
    32253358  coin_add_fflags=
     
    32323365    coin_add_fflags="-pipe"
    32333366    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
    32393371      program main
    32403372      write(*,*) 'Hello world'
     
    32713403rm -f conftest.err conftest.$ac_objext \
    32723404      conftest$ac_exeext conftest.$ac_ext
    3273           FFLAGS=
    3274         ;;
    3275       esac
    3276     fi
     3405        FFLAGS=
     3406      ;;
     3407    esac
    32773408  else
    32783409    case $build in
    32793410      *-cygwin* | *-mingw*)
    32803411        case $F77 in
    3281           ifort* | */ifort*)
     3412          ifort* | */ifort* | IFORT* | */IFORT* )
    32823413            coin_opt_fflags='-O3'
    32833414            coin_add_fflags='-nologo -MT'
     
    34373568fi
    34383569
     3570# If FFLAGS contains -mno-cygwin, CPPFLAGS must have it.
     3571case "$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 ;;
     3584esac
     3585
    34393586# 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'
     3587if test "$F77" != "unavailable" ; then
    34803588  cat >conftest.$ac_ext <<_ACEOF
    34813589      program main
     
    35153623      conftest$ac_exeext conftest.$ac_ext
    35163624  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
     3626echo "$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
     3633rm -f conftest.$ac_objext conftest$ac_exeext
     3634if { (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  :
     3656else
     3657  echo "$as_me: failed program was:" >&5
     3658sed 's/^/| /' conftest.$ac_ext >&5
     3659
     3660FFLAGS=
     3661fi
     3662rm -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
    35183666echo "$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
    35193668  fi
    35203669fi
     
    35313680
    35323681case "$F77" in
    3533   ifort*)
     3682  ifort* | */ifort* | IFORT* | */IFORT*)
    35343683    case $build in
    35353684  *-mingw*)
     
    35383687    fi
    35393688    ;;
    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
    35413697
    35423698    ;;
     
    35513707
    35523708
    3553 # Initialize autotools
     3709# Initialize automake
     3710{
     3711
     3712
     3713
     3714# START
    35543715
    35553716# On Cygwin, building DLLs doesn't work
     
    36043765
    36053766
     3767
     3768# Initialize automake
    36063769echo "$as_me:$LINENO: checking for egrep" >&5
    36073770echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     
    39464109
    39474110
    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
     4116if 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
     4119echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
     4120   { (exit 1); exit 1; }; }
     4121fi
     4122
     4123# test whether we have cygpath
     4124if 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
     4130fi
     4131
     4132
     4133# Define the identity of the package.
     4134 PACKAGE='thirdpartyblas'
     4135 VERSION='0.0'
     4136
     4137
     4138cat >>confdefs.h <<_ACEOF
     4139#define PACKAGE "$PACKAGE"
     4140_ACEOF
     4141
     4142
     4143cat >>confdefs.h <<_ACEOF
     4144#define VERSION "$VERSION"
     4145_ACEOF
     4146
     4147# Some tools Automake needs.
     4148
     4149ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     4150
     4151
     4152AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     4153
     4154
     4155AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     4156
     4157
     4158AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     4159
     4160
     4161MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     4162
     4163install_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.
     4169if 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.
     4172set dummy ${ac_tool_prefix}strip; ac_word=$2
     4173echo "$as_me:$LINENO: checking for $ac_word" >&5
     4174echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4175if test "${ac_cv_prog_STRIP+set}" = set; then
     4176  echo $ECHO_N "(cached) $ECHO_C" >&6
     4177else
     4178  if test -n "$STRIP"; then
     4179  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     4180else
     4181as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4182for as_dir in $PATH
    39614183do
    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
     4192done
     4193done
     4194
     4195fi
     4196fi
     4197STRIP=$ac_cv_prog_STRIP
     4198if test -n "$STRIP"; then
     4199  echo "$as_me:$LINENO: result: $STRIP" >&5
     4200echo "${ECHO_T}$STRIP" >&6
     4201else
     4202  echo "$as_me:$LINENO: result: no" >&5
     4203echo "${ECHO_T}no" >&6
     4204fi
     4205
     4206fi
     4207if 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.
     4210set dummy strip; ac_word=$2
     4211echo "$as_me:$LINENO: checking for $ac_word" >&5
     4212echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4213if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    39664214  echo $ECHO_N "(cached) $ECHO_C" >&6
    39674215else
    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.
     4218else
     4219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4220for as_dir in $PATH
     4221do
     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
    40184230done
    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.
     4231done
     4232
     4233  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
     4234fi
     4235fi
     4236ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     4237if test -n "$ac_ct_STRIP"; then
     4238  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
     4239echo "${ECHO_T}$ac_ct_STRIP" >&6
     4240else
     4241  echo "$as_me:$LINENO: result: no" >&5
     4242echo "${ECHO_T}no" >&6
     4243fi
     4244
     4245  STRIP=$ac_ct_STRIP
     4246else
     4247  STRIP="$ac_cv_prog_STRIP"
     4248fi
     4249
     4250fi
     4251INSTALL_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
     4257AMTAR=${AMTAR-"${am_missing_run}tar"}
     4258
     4259am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
     4260
     4261
     4262
     4263
     4264depcc="$CC"   am_compiler_list=
     4265
     4266echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     4267echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     4268if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     4269  echo $ECHO_N "(cached) $ECHO_C" >&6
     4270else
     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
     4351else
     4352  am_cv_CC_dependencies_compiler_type=none
     4353fi
     4354
     4355fi
     4356echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     4357echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
     4358CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     4359
     4360
     4361
     4362if
     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='#'
     4367else
     4368  am__fastdepCC_TRUE='#'
     4369  am__fastdepCC_FALSE=
     4370fi
     4371
     4372
     4373
     4374echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4375echo $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.
     4377if test "${enable_maintainer_mode+set}" = set; then
     4378  enableval="$enable_maintainer_mode"
     4379  USE_MAINTAINER_MODE=$enableval
     4380else
     4381  USE_MAINTAINER_MODE=no
     4382fi;
     4383  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
     4384echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
     4385
     4386
     4387if test $USE_MAINTAINER_MODE = yes; then
     4388  MAINTAINER_MODE_TRUE=
     4389  MAINTAINER_MODE_FALSE='#'
     4390else
     4391  MAINTAINER_MODE_TRUE='#'
     4392  MAINTAINER_MODE_FALSE=
     4393fi
     4394
     4395  MAINT=$MAINTAINER_MODE_TRUE
     4396
     4397
     4398
     4399coin_have_externals=no
     4400if 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
     4412echo $ECHO_N "checking whether we are using the correct autotools... $ECHO_C" >&6
     4413if test "${ac_cv_use_correct_autotools+set}" = set; then
     4414  echo $ECHO_N "(cached) $ECHO_C" >&6
     4415else
     4416  ac_cv_use_correct_autotools=check
     4417fi
     4418echo "$as_me:$LINENO: result: $ac_cv_use_correct_autotools" >&5
     4419echo "${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.
     4425set dummy autoconf; ac_word=$2
     4426echo "$as_me:$LINENO: checking for $ac_word" >&5
     4427echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4428if test "${ac_cv_prog_have_autoconf+set}" = set; then
     4429  echo $ECHO_N "(cached) $ECHO_C" >&6
     4430else
     4431  if test -n "$have_autoconf"; then
     4432  ac_cv_prog_have_autoconf="$have_autoconf" # Let the user override the test.
     4433else
     4434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4435for as_dir in $PATH
     4436do
     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
     4445done
     4446done
     4447
     4448  test -z "$ac_cv_prog_have_autoconf" && ac_cv_prog_have_autoconf="no"
     4449fi
     4450fi
     4451have_autoconf=$ac_cv_prog_have_autoconf
     4452if test -n "$have_autoconf"; then
     4453  echo "$as_me:$LINENO: result: $have_autoconf" >&5
     4454echo "${ECHO_T}$have_autoconf" >&6
     4455else
     4456  echo "$as_me:$LINENO: result: no" >&5
     4457echo "${ECHO_T}no" >&6
     4458fi
     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
     4462echo "$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
     4470echo $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
     4474echo "${ECHO_T}yes" >&6
     4475    else
     4476      rm -f confauto.out
     4477      echo "$as_me:$LINENO: result: no" >&5
     4478echo "${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
     4480echo "$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
     4487echo $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
     4497echo "${ECHO_T}yes" >&6
     4498    else
     4499      rm -f confauto.out
     4500      echo "$as_me:$LINENO: result: no" >&5
     4501echo "${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
     4503echo "$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.
     4509set dummy automake; ac_word=$2
     4510echo "$as_me:$LINENO: checking for $ac_word" >&5
     4511echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4512if test "${ac_cv_prog_have_automake+set}" = set; then
     4513  echo $ECHO_N "(cached) $ECHO_C" >&6
     4514else
     4515  if test -n "$have_automake"; then
     4516  ac_cv_prog_have_automake="$have_automake" # Let the user override the test.
     4517else
     4518as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4519for as_dir in $PATH
     4520do
     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
     4529done
     4530done
     4531
     4532  test -z "$ac_cv_prog_have_automake" && ac_cv_prog_have_automake="no"
     4533fi
     4534fi
     4535have_automake=$ac_cv_prog_have_automake
     4536if test -n "$have_automake"; then
     4537  echo "$as_me:$LINENO: result: $have_automake" >&5
     4538echo "${ECHO_T}$have_automake" >&6
     4539else
     4540  echo "$as_me:$LINENO: result: no" >&5
     4541echo "${ECHO_T}no" >&6
     4542fi
     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
     4546echo "$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
     4554echo $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
     4558echo "${ECHO_T}yes" >&6
     4559    else
     4560      rm -f confauto.out
     4561      echo "$as_me:$LINENO: result: no" >&5
     4562echo "${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
     4564echo "$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
     4571echo $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
     4581echo "${ECHO_T}yes" >&6
     4582    else
     4583      rm -f confauto.out
     4584      echo "$as_me:$LINENO: result: no" >&5
     4585echo "${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
     4587echo "$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`
     4600echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
     4601echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
     4602if eval "test \"\${$as_ac_File+set}\" = set"; then
     4603  echo $ECHO_N "(cached) $ECHO_C" >&6
     4604else
     4605  test "$cross_compiling" = yes &&
     4606  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     4607echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     4608   { (exit 1); exit 1; }; }
     4609if test -r "$want_dir/libtool/ltmain.sh"; then
     4610  eval "$as_ac_File=yes"
     4611else
     4612  eval "$as_ac_File=no"
     4613fi
     4614fi
     4615echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     4616echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     4617if test `eval echo '${'$as_ac_File'}'` = yes; then
     4618  have_ltmain=yes
     4619else
     4620  have_ltmain=no
     4621fi
     4622
     4623    echo "$as_me:$LINENO: checking whether we are using the correct version ($correct_version) of libtool." >&5
     4624echo $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
     4628echo "${ECHO_T}yes" >&6
     4629      else
     4630        echo "$as_me:$LINENO: result: no" >&5
     4631echo "${ECHO_T}no" >&6
     4632        { { echo "$as_me:$LINENO: error: You don't have the correct version of libtool." >&5
     4633echo "$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
     4638echo "${ECHO_T}no" >&6
     4639      { { echo "$as_me:$LINENO: error: I cannot find the ltmain.sh file." >&5
     4640echo "$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`
     4652echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
     4653echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
     4654if eval "test \"\${$as_ac_File+set}\" = set"; then
     4655  echo $ECHO_N "(cached) $ECHO_C" >&6
     4656else
     4657  test "$cross_compiling" = yes &&
     4658  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     4659echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     4660   { (exit 1); exit 1; }; }
     4661if test -r "$want_dir/aclocal/libtool.m4"; then
     4662  eval "$as_ac_File=yes"
     4663else
     4664  eval "$as_ac_File=no"
     4665fi
     4666fi
     4667echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     4668echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     4669if test `eval echo '${'$as_ac_File'}'` = yes; then
     4670  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
     4671else
     4672  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
     4673echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
     4674   { (exit 1); exit 1; }; }
     4675fi
     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.
     4684set dummy svn; ac_word=$2
     4685echo "$as_me:$LINENO: checking for $ac_word" >&5
     4686echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4687if test "${ac_cv_prog_have_svn+set}" = set; then
     4688  echo $ECHO_N "(cached) $ECHO_C" >&6
     4689else
     4690  if test -n "$have_svn"; then
     4691  ac_cv_prog_have_svn="$have_svn" # Let the user override the test.
     4692else
     4693as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4694for as_dir in $PATH
     4695do
     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
     4704done
     4705done
     4706
     4707  test -z "$ac_cv_prog_have_svn" && ac_cv_prog_have_svn="no"
     4708fi
     4709fi
     4710have_svn=$ac_cv_prog_have_svn
     4711if test -n "$have_svn"; then
     4712  echo "$as_me:$LINENO: result: $have_svn" >&5
     4713echo "${ECHO_T}$have_svn" >&6
     4714else
     4715  echo "$as_me:$LINENO: result: no" >&5
     4716echo "${ECHO_T}no" >&6
     4717fi
     4718
     4719  if test x$have_svn = xyes; then
     4720    echo "$as_me:$LINENO: checking whether svn understands https" >&5
     4721echo $ECHO_N "checking whether svn understands https... $ECHO_C" >&6
     4722if test "${ac_cv_svn_understands_https+set}" = set; then
     4723  echo $ECHO_N "(cached) $ECHO_C" >&6
     4724else
     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
     4734fi
     4735echo "$as_me:$LINENO: result: $ac_cv_svn_understands_https" >&5
     4736echo "${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
     4751echo "$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
     4762fi
     4763
     4764# helpful variable for the base directory of this package
     4765abs_source_dir=`cd $srcdir; pwd`
     4766
     4767
     4768# Stuff for example Makefiles
     4769if test x$prefix = xNONE; then
     4770  full_prefix=$ac_default_prefix
     4771else
     4772  full_prefix=$prefix
     4773fi
     4774full_prefix=`cd $full_prefix ; pwd`
     4775
     4776abs_lib_dir=$full_prefix/lib
     4777
     4778abs_include_dir=$full_prefix/include
     4779
     4780abs_bin_dir=$full_prefix/bin
     4781
     4782
     4783
     4784if test $coin_have_externals = yes && test x$have_svn = xyes; then
     4785  HAVE_EXTERNALS_TRUE=
     4786  HAVE_EXTERNALS_FALSE='#'
     4787else
     4788  HAVE_EXTERNALS_TRUE='#'
     4789  HAVE_EXTERNALS_FALSE=
     4790fi
     4791
     4792
     4793# AC_MSG_NOTICE([End automake initialisation.])
     4794
     4795
     4796
     4797unset ac_cv_file__________libtool
     4798unset ac_cv_file_______libtool
     4799unset ac_cv_file____libtool
     4800
     4801LIBTOOL=
     4802echo "$as_me:$LINENO: checking for ../libtool" >&5
     4803echo $ECHO_N "checking for ../libtool... $ECHO_C" >&6
     4804if test "${ac_cv_file____libtool+set}" = set; then
     4805  echo $ECHO_N "(cached) $ECHO_C" >&6
     4806else
     4807  test "$cross_compiling" = yes &&
     4808  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     4809echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     4810   { (exit 1); exit 1; }; }
     4811if test -r "../libtool"; then
     4812  ac_cv_file____libtool=yes
     4813else
     4814  ac_cv_file____libtool=no
     4815fi
     4816fi
     4817echo "$as_me:$LINENO: result: $ac_cv_file____libtool" >&5
     4818echo "${ECHO_T}$ac_cv_file____libtool" >&6
     4819if test $ac_cv_file____libtool = yes; then
     4820  coin_config_dir=..
     4821               LIBTOOL='$(SHELL) $(top_builddir)/../libtool'
     4822fi
     4823
     4824if test "x$LIBTOOL" = x; then
     4825  echo "$as_me:$LINENO: checking for ../../libtool" >&5
     4826echo $ECHO_N "checking for ../../libtool... $ECHO_C" >&6
     4827if test "${ac_cv_file_______libtool+set}" = set; then
     4828  echo $ECHO_N "(cached) $ECHO_C" >&6
     4829else
     4830  test "$cross_compiling" = yes &&
     4831  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     4832echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     4833   { (exit 1); exit 1; }; }
     4834if test -r "../../libtool"; then
     4835  ac_cv_file_______libtool=yes
     4836else
     4837  ac_cv_file_______libtool=no
     4838fi
     4839fi
     4840echo "$as_me:$LINENO: result: $ac_cv_file_______libtool" >&5
     4841echo "${ECHO_T}$ac_cv_file_______libtool" >&6
     4842if test $ac_cv_file_______libtool = yes; then
     4843  coin_config_dir=../..
     4844                 LIBTOOL='$(SHELL) $(top_builddir)/../../libtool'
     4845fi
     4846
     4847fi
     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
     4854if 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.
    40294858if test "${enable_shared+set}" = set; then
    40304859  enableval="$enable_shared"
     
    45745403*-*-irix6*)
    45755404  # Find out which ABI we are using.
    4576   echo '#line 4576 "configure"' > conftest.$ac_ext
     5405  echo '#line 5405 "configure"' > conftest.$ac_ext
    45775406  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    45785407  (eval $ac_compile) 2>&5
     
    70037832   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70047833   -e 's:$: $lt_compiler_flag:'`
    7005    (eval echo "\"\$as_me:7005: $lt_compile\"" >&5)
     7834   (eval echo "\"\$as_me:7834: $lt_compile\"" >&5)
    70067835   (eval "$lt_compile" 2>conftest.err)
    70077836   ac_status=$?
    70087837   cat conftest.err >&5
    7009    echo "$as_me:7009: \$? = $ac_status" >&5
     7838   echo "$as_me:7838: \$? = $ac_status" >&5
    70107839   if (exit $ac_status) && test -s "$ac_outfile"; then
    70117840     # The compiler can only warn and ignore the option if not recognized
     
    72718100   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    72728101   -e 's:$: $lt_compiler_flag:'`
    7273    (eval echo "\"\$as_me:7273: $lt_compile\"" >&5)
     8102   (eval echo "\"\$as_me:8102: $lt_compile\"" >&5)
    72748103   (eval "$lt_compile" 2>conftest.err)
    72758104   ac_status=$?
    72768105   cat conftest.err >&5
    7277    echo "$as_me:7277: \$? = $ac_status" >&5
     8106   echo "$as_me:8106: \$? = $ac_status" >&5
    72788107   if (exit $ac_status) && test -s "$ac_outfile"; then
    72798108     # The compiler can only warn and ignore the option if not recognized
     
    73758204   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73768205   -e 's:$: $lt_compiler_flag:'`
    7377    (eval echo "\"\$as_me:7377: $lt_compile\"" >&5)
     8206   (eval echo "\"\$as_me:8206: $lt_compile\"" >&5)
    73788207   (eval "$lt_compile" 2>out/conftest.err)
    73798208   ac_status=$?
    73808209   cat out/conftest.err >&5
    7381    echo "$as_me:7381: \$? = $ac_status" >&5
     8210   echo "$as_me:8210: \$? = $ac_status" >&5
    73828211   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    73838212   then
     
    972010549  lt_status=$lt_dlunknown
    972110550  cat > conftest.$ac_ext <<EOF
    9722 #line 9722 "configure"
     10551#line 10551 "configure"
    972310552#include "confdefs.h"
    972410553
     
    982010649  lt_status=$lt_dlunknown
    982110650  cat > conftest.$ac_ext <<EOF
    9822 #line 9822 "configure"
     10651#line 10651 "configure"
    982310652#include "confdefs.h"
    982410653
     
    1216412993   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1216512994   -e 's:$: $lt_compiler_flag:'`
    12166    (eval echo "\"\$as_me:12166: $lt_compile\"" >&5)
     12995   (eval echo "\"\$as_me:12995: $lt_compile\"" >&5)
    1216712996   (eval "$lt_compile" 2>conftest.err)
    1216812997   ac_status=$?
    1216912998   cat conftest.err >&5
    12170    echo "$as_me:12170: \$? = $ac_status" >&5
     12999   echo "$as_me:12999: \$? = $ac_status" >&5
    1217113000   if (exit $ac_status) && test -s "$ac_outfile"; then
    1217213001     # The compiler can only warn and ignore the option if not recognized
     
    1226813097   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1226913098   -e 's:$: $lt_compiler_flag:'`
    12270    (eval echo "\"\$as_me:12270: $lt_compile\"" >&5)
     13099   (eval echo "\"\$as_me:13099: $lt_compile\"" >&5)
    1227113100   (eval "$lt_compile" 2>out/conftest.err)
    1227213101   ac_status=$?
    1227313102   cat out/conftest.err >&5
    12274    echo "$as_me:12274: \$? = $ac_status" >&5
     13103   echo "$as_me:13103: \$? = $ac_status" >&5
    1227513104   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1227613105   then
     
    1383814667   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1383914668   -e 's:$: $lt_compiler_flag:'`
    13840    (eval echo "\"\$as_me:13840: $lt_compile\"" >&5)
     14669   (eval echo "\"\$as_me:14669: $lt_compile\"" >&5)
    1384114670   (eval "$lt_compile" 2>conftest.err)
    1384214671   ac_status=$?
    1384314672   cat conftest.err >&5
    13844    echo "$as_me:13844: \$? = $ac_status" >&5
     14673   echo "$as_me:14673: \$? = $ac_status" >&5
    1384514674   if (exit $ac_status) && test -s "$ac_outfile"; then
    1384614675     # The compiler can only warn and ignore the option if not recognized
     
    1394214771   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1394314772   -e 's:$: $lt_compiler_flag:'`
    13944    (eval echo "\"\$as_me:13944: $lt_compile\"" >&5)
     14773   (eval echo "\"\$as_me:14773: $lt_compile\"" >&5)
    1394514774   (eval "$lt_compile" 2>out/conftest.err)
    1394614775   ac_status=$?
    1394714776   cat out/conftest.err >&5
    13948    echo "$as_me:13948: \$? = $ac_status" >&5
     14777   echo "$as_me:14777: \$? = $ac_status" >&5
    1394914778   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1395014779   then
     
    1614916978   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1615016979   -e 's:$: $lt_compiler_flag:'`
    16151    (eval echo "\"\$as_me:16151: $lt_compile\"" >&5)
     16980   (eval echo "\"\$as_me:16980: $lt_compile\"" >&5)
    1615216981   (eval "$lt_compile" 2>conftest.err)
    1615316982   ac_status=$?
    1615416983   cat conftest.err >&5
    16155    echo "$as_me:16155: \$? = $ac_status" >&5
     16984   echo "$as_me:16984: \$? = $ac_status" >&5
    1615616985   if (exit $ac_status) && test -s "$ac_outfile"; then
    1615716986     # The compiler can only warn and ignore the option if not recognized
     
    1641717246   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1641817247   -e 's:$: $lt_compiler_flag:'`
    16419    (eval echo "\"\$as_me:16419: $lt_compile\"" >&5)
     17248   (eval echo "\"\$as_me:17248: $lt_compile\"" >&5)
    1642017249   (eval "$lt_compile" 2>conftest.err)
    1642117250   ac_status=$?
    1642217251   cat conftest.err >&5
    16423    echo "$as_me:16423: \$? = $ac_status" >&5
     17252   echo "$as_me:17252: \$? = $ac_status" >&5
    1642417253   if (exit $ac_status) && test -s "$ac_outfile"; then
    1642517254     # The compiler can only warn and ignore the option if not recognized
     
    1652117350   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1652217351   -e 's:$: $lt_compiler_flag:'`
    16523    (eval echo "\"\$as_me:16523: $lt_compile\"" >&5)
     17352   (eval echo "\"\$as_me:17352: $lt_compile\"" >&5)
    1652417353   (eval "$lt_compile" 2>out/conftest.err)
    1652517354   ac_status=$?
    1652617355   cat out/conftest.err >&5
    16527    echo "$as_me:16527: \$? = $ac_status" >&5
     17356   echo "$as_me:17356: \$? = $ac_status" >&5
    1652817357   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1652917358   then
     
    1917920008
    1918020009
    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.])
    1985520035
    1985620036
     
    1987420054#          -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' \
    1987520055
    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
     20058echo "$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
    1988820070echo "$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           -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%' \
    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.bla
    19900 
    19901       mv conftest.bla libtool
    19902       chmod 755 libtool
    19903       ;;
    19904     *)
    19905       { echo "$as_me:$LINENO: Applying patches to libtool for GNU compiler" >&5
     20071        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
    1990620088echo "$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
    1991520098  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=
    1992920109
    1993020110if test $enable_shared = yes; then
     
    1996720147
    1996820148
     20149else
     20150
     20151  { echo "$as_me:$LINENO: Using libtool script in directory $coin_config_dir" >&5
     20152echo "$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
     20191fi
     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.
     20199LT_LDFLAGS=
     20200
     20201
     20202#END
     20203}
    1996920204
    1997020205          ac_config_files="$ac_config_files Makefile"
     
    1998020215
    1998120216case "$CC" in
    19982   cl* | */cl* | CL* | */CL*) LIBEXT=lib ;;
     20217  cl* | */cl* | CL* | */CL*)
     20218       LIBEXT=lib ;;
    1998320219    *) LIBEXT=a ;;
    1998420220esac
     
    2077121007s,@CXXCPP@,$CXXCPP,;t t
    2077221008s,@LIBTOOL@,$LIBTOOL,;t t
     21009s,@ac_c_preproc_warn_flag@,$ac_c_preproc_warn_flag,;t t
     21010s,@ac_cxx_preproc_warn_flag@,$ac_cxx_preproc_warn_flag,;t t
     21011s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2077321012s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    20774 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2077521013s,@LIBEXT@,$LIBEXT,;t t
    2077621014s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
  • ThirdParty/Blas/stable/1.0/configure.ac

    r92 r218  
    4646AC_COIN_PROG_F77
    4747
    48 # Initialize autotools
     48# Initialize automake
    4949AC_COIN_INIT_AUTO_TOOLS
    5050
Note: See TracChangeset for help on using the changeset viewer.