Changeset 1508


Ignore:
Timestamp:
Apr 24, 2010 12:11:42 PM (10 years ago)
Author:
stefan
Message:

use new fallback macros to locate Blas and Metis

Location:
ThirdParty/Mumps/branches/split
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/branches/split/Makefile.in

    r1487 r1508  
    159159CDEFS = @CDEFS@
    160160CFLAGS = @CFLAGS@ $(MY_DEFS)
    161 COIN_BUILD_BLAS_FALSE = @COIN_BUILD_BLAS_FALSE@
    162 COIN_BUILD_BLAS_TRUE = @COIN_BUILD_BLAS_TRUE@
    163161COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    164162COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
  • ThirdParty/Mumps/branches/split/configure

    r1490 r1508  
    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 sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 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 PKG_CONFIG ac_pt_PKG_CONFIG BLAS_LIBS BLAS_CFLAGS BLAS_DATA REQUIREDPACKAGES COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE MUMPSDIR MUMPSOBJDIR MUMPSSRCDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR 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 sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 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 PKG_CONFIG ac_pt_PKG_CONFIG BLAS_LIBS BLAS_CFLAGS BLAS_DATA REQUIREDPACKAGES COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSDIR MUMPSOBJDIR MUMPSSRCDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    11151115  --with-metis-incdir directory with header files for using module Metis
    11161116  --with-metis-datadir directory with data files for using module Metis
    1117   --with-metis            specify flags to link with METIS library
    11181117
    11191118Some influential environment variables:
     
    33113310
    33123311# Provide some information about the compiler.
    3313 echo "$as_me:3313:" \
     3312echo "$as_me:3312:" \
    33143313     "checking for Fortran 77 compiler version" >&5
    33153314ac_compiler=`set X $ac_compile; echo $2`
     
    38793878ac_save_FFLAGS=$FFLAGS
    38803879FFLAGS="$FFLAGS $ac_verb"
    3881 (eval echo $as_me:3881: \"$ac_link\") >&5
     3880(eval echo $as_me:3880: \"$ac_link\") >&5
    38823881ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    38833882echo "$ac_f77_v_output" >&5
     
    39573956ac_save_FFLAGS=$FFLAGS
    39583957FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    3959 (eval echo $as_me:3959: \"$ac_link\") >&5
     3958(eval echo $as_me:3958: \"$ac_link\") >&5
    39603959ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    39613960echo "$ac_f77_v_output" >&5
     
    70147013*-*-irix6*)
    70157014  # Find out which ABI we are using.
    7016   echo '#line 7016 "configure"' > conftest.$ac_ext
     7015  echo '#line 7015 "configure"' > conftest.$ac_ext
    70177016  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    70187017  (eval $ac_compile) 2>&5
     
    90109009   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    90119010   -e 's:$: $lt_compiler_flag:'`
    9012    (eval echo "\"\$as_me:9012: $lt_compile\"" >&5)
     9011   (eval echo "\"\$as_me:9011: $lt_compile\"" >&5)
    90139012   (eval "$lt_compile" 2>conftest.err)
    90149013   ac_status=$?
    90159014   cat conftest.err >&5
    9016    echo "$as_me:9016: \$? = $ac_status" >&5
     9015   echo "$as_me:9015: \$? = $ac_status" >&5
    90179016   if (exit $ac_status) && test -s "$ac_outfile"; then
    90189017     # The compiler can only warn and ignore the option if not recognized
     
    92789277   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    92799278   -e 's:$: $lt_compiler_flag:'`
    9280    (eval echo "\"\$as_me:9280: $lt_compile\"" >&5)
     9279   (eval echo "\"\$as_me:9279: $lt_compile\"" >&5)
    92819280   (eval "$lt_compile" 2>conftest.err)
    92829281   ac_status=$?
    92839282   cat conftest.err >&5
    9284    echo "$as_me:9284: \$? = $ac_status" >&5
     9283   echo "$as_me:9283: \$? = $ac_status" >&5
    92859284   if (exit $ac_status) && test -s "$ac_outfile"; then
    92869285     # The compiler can only warn and ignore the option if not recognized
     
    93829381   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93839382   -e 's:$: $lt_compiler_flag:'`
    9384    (eval echo "\"\$as_me:9384: $lt_compile\"" >&5)
     9383   (eval echo "\"\$as_me:9383: $lt_compile\"" >&5)
    93859384   (eval "$lt_compile" 2>out/conftest.err)
    93869385   ac_status=$?
    93879386   cat out/conftest.err >&5
    9388    echo "$as_me:9388: \$? = $ac_status" >&5
     9387   echo "$as_me:9387: \$? = $ac_status" >&5
    93899388   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    93909389   then
     
    1179911798  lt_status=$lt_dlunknown
    1180011799  cat > conftest.$ac_ext <<EOF
    11801 #line 11801 "configure"
     11800#line 11800 "configure"
    1180211801#include "confdefs.h"
    1180311802
     
    1189911898  lt_status=$lt_dlunknown
    1190011899  cat > conftest.$ac_ext <<EOF
    11901 #line 11901 "configure"
     11900#line 11900 "configure"
    1190211901#include "confdefs.h"
    1190311902
     
    1425914258   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1426014259   -e 's:$: $lt_compiler_flag:'`
    14261    (eval echo "\"\$as_me:14261: $lt_compile\"" >&5)
     14260   (eval echo "\"\$as_me:14260: $lt_compile\"" >&5)
    1426214261   (eval "$lt_compile" 2>conftest.err)
    1426314262   ac_status=$?
    1426414263   cat conftest.err >&5
    14265    echo "$as_me:14265: \$? = $ac_status" >&5
     14264   echo "$as_me:14264: \$? = $ac_status" >&5
    1426614265   if (exit $ac_status) && test -s "$ac_outfile"; then
    1426714266     # The compiler can only warn and ignore the option if not recognized
     
    1436314362   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1436414363   -e 's:$: $lt_compiler_flag:'`
    14365    (eval echo "\"\$as_me:14365: $lt_compile\"" >&5)
     14364   (eval echo "\"\$as_me:14364: $lt_compile\"" >&5)
    1436614365   (eval "$lt_compile" 2>out/conftest.err)
    1436714366   ac_status=$?
    1436814367   cat out/conftest.err >&5
    14369    echo "$as_me:14369: \$? = $ac_status" >&5
     14368   echo "$as_me:14368: \$? = $ac_status" >&5
    1437014369   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1437114370   then
     
    1593315932   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1593415933   -e 's:$: $lt_compiler_flag:'`
    15935    (eval echo "\"\$as_me:15935: $lt_compile\"" >&5)
     15934   (eval echo "\"\$as_me:15934: $lt_compile\"" >&5)
    1593615935   (eval "$lt_compile" 2>conftest.err)
    1593715936   ac_status=$?
    1593815937   cat conftest.err >&5
    15939    echo "$as_me:15939: \$? = $ac_status" >&5
     15938   echo "$as_me:15938: \$? = $ac_status" >&5
    1594015939   if (exit $ac_status) && test -s "$ac_outfile"; then
    1594115940     # The compiler can only warn and ignore the option if not recognized
     
    1603716036   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1603816037   -e 's:$: $lt_compiler_flag:'`
    16039    (eval echo "\"\$as_me:16039: $lt_compile\"" >&5)
     16038   (eval echo "\"\$as_me:16038: $lt_compile\"" >&5)
    1604016039   (eval "$lt_compile" 2>out/conftest.err)
    1604116040   ac_status=$?
    1604216041   cat out/conftest.err >&5
    16043    echo "$as_me:16043: \$? = $ac_status" >&5
     16042   echo "$as_me:16042: \$? = $ac_status" >&5
    1604416043   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1604516044   then
     
    1824418243   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1824518244   -e 's:$: $lt_compiler_flag:'`
    18246    (eval echo "\"\$as_me:18246: $lt_compile\"" >&5)
     18245   (eval echo "\"\$as_me:18245: $lt_compile\"" >&5)
    1824718246   (eval "$lt_compile" 2>conftest.err)
    1824818247   ac_status=$?
    1824918248   cat conftest.err >&5
    18250    echo "$as_me:18250: \$? = $ac_status" >&5
     18249   echo "$as_me:18249: \$? = $ac_status" >&5
    1825118250   if (exit $ac_status) && test -s "$ac_outfile"; then
    1825218251     # The compiler can only warn and ignore the option if not recognized
     
    1851218511   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1851318512   -e 's:$: $lt_compiler_flag:'`
    18514    (eval echo "\"\$as_me:18514: $lt_compile\"" >&5)
     18513   (eval echo "\"\$as_me:18513: $lt_compile\"" >&5)
    1851518514   (eval "$lt_compile" 2>conftest.err)
    1851618515   ac_status=$?
    1851718516   cat conftest.err >&5
    18518    echo "$as_me:18518: \$? = $ac_status" >&5
     18517   echo "$as_me:18517: \$? = $ac_status" >&5
    1851918518   if (exit $ac_status) && test -s "$ac_outfile"; then
    1852018519     # The compiler can only warn and ignore the option if not recognized
     
    1861618615   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1861718616   -e 's:$: $lt_compiler_flag:'`
    18618    (eval echo "\"\$as_me:18618: $lt_compile\"" >&5)
     18617   (eval echo "\"\$as_me:18617: $lt_compile\"" >&5)
    1861918618   (eval "$lt_compile" 2>out/conftest.err)
    1862018619   ac_status=$?
    1862118620   cat out/conftest.err >&5
    18622    echo "$as_me:18622: \$? = $ac_status" >&5
     18621   echo "$as_me:18621: \$? = $ac_status" >&5
    1862318622   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1862418623   then
     
    2363423633if test "x$use_blas" = xBUILD ; then
    2363523634
    23636 echo "$as_me:$LINENO: checking for COIN module Blas" >&5
    23637 echo $ECHO_N "checking for COIN module Blas... $ECHO_C" >&6
     23635echo "$as_me:$LINENO: checking for COIN-OR module Blas" >&5
     23636echo $ECHO_N "checking for COIN-OR module Blas... $ECHO_C" >&6
    2363823637
    2363923638coin_has_blas=notGiven
     
    2365623655
    2365723656
    23658 required=1
    23659 
    23660 # execute third argument that can be used to overwrite flags like 'required'
    23661 
    23662 
    2366323657#check if user provided LIBS, CFLAGS, and DATA for module
    2366423658if test $coin_has_blas != skipping; then
     
    2367023664  coin_has_blas=yes
    2367123665       BLAS_LIBS="$withval"
    23672        if test $required = 1; then
    23673          ADDLIBS="$ADDLIBS $withval"
    23674        fi
     23666       ADDLIBS="$ADDLIBS $withval"
    2367523667
    2367623668fi;
     
    2375723749        echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5
    2375823750echo "${ECHO_T}yes: $BLAS_VERSIONS" >&6
    23759         if test $required = 1; then
    23760           REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas"
    23761         fi
     23751        REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas"
    2376223752
    2376323753
     
    2379123781if test $coin_has_blas != skipping &&
    2379223782   test $coin_has_blas != notGiven ; then
     23783  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
    2379323784  if test -n "$BLAS_CFLAGS" ; then
    2379423785    { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5
     
    2380323794echo "$as_me: Blas DATA   is  $BLAS_DATA" >&6;}
    2380423795  fi
     23796  fi
    2380523797
    2380623798cat >>confdefs.h <<\_ACEOF
     
    2386323855fi
    2386423856
    23865 
    23866 
    23867 echo "$as_me:$LINENO: checking for COIN module Metis" >&5
    23868 echo $ECHO_N "checking for COIN module Metis... $ECHO_C" >&6
     23857#call fallback in case the previous failed, maybe because pkg-config was not available
     23858
     23859if test $coin_has_blas != "yes" ; then
     23860echo "$as_me:$LINENO: checking for COIN-OR module Blas (fallback)" >&5
     23861echo $ECHO_N "checking for COIN-OR module Blas (fallback)... $ECHO_C" >&6
     23862
     23863coin_has_blas=notGiven
     23864
     23865# check if user wants to skip module in any case
     23866if test x"$COIN_SKIP_PROJECTS" != x; then
     23867  for dir in $COIN_SKIP_PROJECTS; do
     23868    if test $dir = "Blas"; then
     23869      coin_has_blas=skipping
     23870    fi
     23871  done
     23872fi
     23873
     23874BLAS_LIBS=
     23875BLAS_CFLAGS=
     23876BLAS_DATA=
     23877
     23878
     23879if test $coin_has_blas != "skipping" ; then
     23880  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     23881  if test -r ../ThirdParty/Blas/coinblas-uninstalled.pc ; then
     23882    # read CFLAGS and LIBS from coinblas-uninstalled.pc file
     23883    # add CYGPATH_W cludge into include flags
     23884    # replace -L${libdir} by absolute path to build directory in linker flags
     23885    BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     23886    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     23887    if test "x$projectlibs" != x ; then
     23888      BLAS_LIBS="-L`cd ../ThirdParty/Blas; pwd` $projectlibs"
     23889    fi
     23890    BLAS_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     23891
     23892    ADDLIBS="$ADDLIBS $BLAS_LIBS"
     23893
     23894    REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas"
     23895
     23896
     23897cat >>confdefs.h <<\_ACEOF
     23898#define COIN_HAS_BLAS 1
     23899_ACEOF
     23900
     23901
     23902
     23903    coin_has_blas=yes
     23904  fi
     23905fi
     23906
     23907#if user did not disable setting of makefile conditional, do it
     23908
     23909
     23910if test $coin_has_blas != notGiven &&
     23911                test $coin_has_blas != skipping; then
     23912  COIN_HAS_BLAS_TRUE=
     23913  COIN_HAS_BLAS_FALSE='#'
     23914else
     23915  COIN_HAS_BLAS_TRUE='#'
     23916  COIN_HAS_BLAS_FALSE=
     23917fi
     23918
     23919
     23920
     23921echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     23922echo "${ECHO_T}$coin_has_blas" >&6
     23923fi
     23924
     23925
     23926
     23927
     23928echo "$as_me:$LINENO: checking for COIN-OR module Metis" >&5
     23929echo $ECHO_N "checking for COIN-OR module Metis... $ECHO_C" >&6
    2386923930
    2387023931coin_has_metis=notGiven
     
    2388723948
    2388823949
    23889 required=1
    23890 
    23891 # execute third argument that can be used to overwrite flags like 'required'
    23892 
    23893 
    2389423950#check if user provided LIBS, CFLAGS, and DATA for module
    2389523951if test $coin_has_metis != skipping; then
     
    2390123957  coin_has_metis=yes
    2390223958       METIS_LIBS="$withval"
    23903        if test $required = 1; then
    23904          ADDLIBS="$ADDLIBS $withval"
    23905        fi
     23959       ADDLIBS="$ADDLIBS $withval"
    2390623960
    2390723961fi;
     
    2398824042        echo "$as_me:$LINENO: result: yes: $METIS_VERSIONS" >&5
    2398924043echo "${ECHO_T}yes: $METIS_VERSIONS" >&6
    23990         if test $required = 1; then
    23991           REQUIREDPACKAGES="$REQUIREDPACKAGES coinmetis >= 4.0"
    23992         fi
     24044        REQUIREDPACKAGES="$REQUIREDPACKAGES coinmetis >= 4.0"
    2399324045
    2399424046
     
    2402224074if test $coin_has_metis != skipping &&
    2402324075   test $coin_has_metis != notGiven ; then
     24076  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
    2402424077  if test -n "$METIS_CFLAGS" ; then
    2402524078    { echo "$as_me:$LINENO: Metis CFLAGS are $METIS_CFLAGS" >&5
     
    2403424087echo "$as_me: Metis DATA   is  $METIS_DATA" >&6;}
    2403524088  fi
     24089  fi
    2403624090
    2403724091cat >>confdefs.h <<\_ACEOF
     
    2405624110
    2405724111
    24058 #Fallback if pkgconfig not available or projects do not have .pc files
    24059 if test "$coin_has_blas" != yes ; then
    24060   if test "$PACKAGE_NAME" = ThirdPartyBlas || test "$PACKAGE_NAME" = ThirdPartyLapack || test "$PACKAGE_NAME" = ThirdPartyMumps; then
    24061   coin_blasobjdir=../Blas
    24062 else
    24063   coin_blasobjdir=../ThirdParty/Blas
    24064 fi
    24065 coin_blassrcdir=$srcdir/$coin_blasobjdir
    24066 
    24067 
    24068 # Check whether --with-blas or --without-blas was given.
    24069 if test "${with_blas+set}" = set; then
    24070   withval="$with_blas"
    24071   use_blas=$withval
    24072 else
    24073   use_blas=
    24074 fi;
    24075 
    24076 MAKEOKFILE=.MakeOk
    24077 # Check if user supplied option makes sense
    24078 if test x"$use_blas" != x; then
    24079   if test "$use_blas" = "BUILD"; then
    24080     # Don't check for course code if this is executed in ThirdParty/Blas
    24081     if test "$PACKAGE_NAME" != ThirdPartyBlas; then
    24082       if test -r $coin_blasobjdir/.MakeOk; then :; else
    24083         { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for Blas, but $coin_blasobjdir directory is not properly configured" >&5
    24084 echo "$as_me: error: option \"BUILD\" specified for Blas, but $coin_blasobjdir directory is not properly configured" >&2;}
    24085    { (exit 1); exit 1; }; }
    24086       fi
     24112if test $coin_has_metis != "yes" ; then
     24113echo "$as_me:$LINENO: checking for COIN-OR module Metis (fallback)" >&5
     24114echo $ECHO_N "checking for COIN-OR module Metis (fallback)... $ECHO_C" >&6
     24115
     24116coin_has_metis=notGiven
     24117
     24118# check if user wants to skip module in any case
     24119if test x"$COIN_SKIP_PROJECTS" != x; then
     24120  for dir in $COIN_SKIP_PROJECTS; do
     24121    if test $dir = "Metis"; then
     24122      coin_has_metis=skipping
    2408724123    fi
    24088   elif test "$use_blas" != no ; then
    24089     echo "$as_me:$LINENO: checking whether user supplied BLASLIB=\"$use_blas\" works" >&5
    24090 echo $ECHO_N "checking whether user supplied BLASLIB=\"$use_blas\" works... $ECHO_C" >&6
    24091     LIBS="$use_blas $LIBS"
    24092     ADDLIBS="$use_blas $ADDLIBS"
    24093     case $ac_ext in
    24094   f)
    24095     cat >conftest.$ac_ext <<_ACEOF
    24096 /* confdefs.h.  */
    24097 _ACEOF
    24098 cat confdefs.h >>conftest.$ac_ext
    24099 cat >>conftest.$ac_ext <<_ACEOF
    24100 /* end confdefs.h.  */
    24101 
    24102 #ifdef F77_DUMMY_MAIN
    24103 
    24104 #  ifdef __cplusplus
    24105      extern "C"
    24106 #  endif
    24107    int F77_DUMMY_MAIN() { return 1; }
    24108 
    24109 #endif
    24110 int
    24111 main ()
    24112 {
    24113       call daxpy
    24114   ;
    24115   return 0;
    24116 }
    24117 _ACEOF
    24118 rm -f conftest.$ac_objext conftest$ac_exeext
    24119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24120   (eval $ac_link) 2>conftest.er1
    24121   ac_status=$?
    24122   grep -v '^ *+' conftest.er1 >conftest.err
    24123   rm -f conftest.er1
    24124   cat conftest.err >&5
    24125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24126   (exit $ac_status); } &&
    24127          { ac_try='test -z "$ac_c_werror_flag"
    24128                          || test ! -s conftest.err'
    24129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24130   (eval $ac_try) 2>&5
    24131   ac_status=$?
    24132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24133   (exit $ac_status); }; } &&
    24134          { ac_try='test -s conftest$ac_exeext'
    24135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24136   (eval $ac_try) 2>&5
    24137   ac_status=$?
    24138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24139   (exit $ac_status); }; }; then
    24140   echo "$as_me:$LINENO: result: yes" >&5
    24141 echo "${ECHO_T}yes" >&6
    24142 else
    24143   echo "$as_me: failed program was:" >&5
    24144 sed 's/^/| /' conftest.$ac_ext >&5
    24145 
    24146 echo "$as_me:$LINENO: result: no" >&5
    24147 echo "${ECHO_T}no" >&6
    24148                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    24149 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    24150    { (exit 1); exit 1; }; }
    24151 fi
    24152 rm -f conftest.err conftest.$ac_objext \
    24153       conftest$ac_exeext conftest.$ac_ext
    24154     ;;
    24155   c)
    24156     ac_ext=f
    24157 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24158 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24159 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24160 case $ac_cv_f77_mangling in
    24161   upper*) ac_val="DAXPY" ;;
    24162   lower*) ac_val="daxpy" ;;
    24163   *)      ac_val="unknown" ;;
    24164 esac
    24165 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24166 
    24167 cfuncdaxpy="$ac_val"
    24168 
    24169 ac_ext=c
    24170 ac_cpp='$CPP $CPPFLAGS'
    24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24174 
    24175     if test x"$coin_need_flibs" = xyes; then
    24176       flink_try=no;
    24177     else
    24178       cat >conftest.$ac_ext <<_ACEOF
    24179 /* confdefs.h.  */
    24180 _ACEOF
    24181 cat confdefs.h >>conftest.$ac_ext
    24182 cat >>conftest.$ac_ext <<_ACEOF
    24183 /* end confdefs.h.  */
    24184 void $cfuncdaxpy();
    24185 #ifdef F77_DUMMY_MAIN
    24186 
    24187 #  ifdef __cplusplus
    24188      extern "C"
    24189 #  endif
    24190    int F77_DUMMY_MAIN() { return 1; }
    24191 
    24192 #endif
    24193 int
    24194 main ()
    24195 {
    24196 $cfuncdaxpy()
    24197   ;
    24198   return 0;
    24199 }
    24200 _ACEOF
    24201 rm -f conftest.$ac_objext conftest$ac_exeext
    24202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24203   (eval $ac_link) 2>conftest.er1
    24204   ac_status=$?
    24205   grep -v '^ *+' conftest.er1 >conftest.err
    24206   rm -f conftest.er1
    24207   cat conftest.err >&5
    24208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24209   (exit $ac_status); } &&
    24210          { ac_try='test -z "$ac_c_werror_flag"
    24211                          || test ! -s conftest.err'
    24212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24213   (eval $ac_try) 2>&5
    24214   ac_status=$?
    24215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24216   (exit $ac_status); }; } &&
    24217          { ac_try='test -s conftest$ac_exeext'
    24218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24219   (eval $ac_try) 2>&5
    24220   ac_status=$?
    24221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24222   (exit $ac_status); }; }; then
    24223   flink_try=yes
    24224 else
    24225   echo "$as_me: failed program was:" >&5
    24226 sed 's/^/| /' conftest.$ac_ext >&5
    24227 
    24228 flink_try=no
    24229 fi
    24230 rm -f conftest.err conftest.$ac_objext \
    24231       conftest$ac_exeext conftest.$ac_ext
     24124  done
     24125fi
     24126
     24127METIS_LIBS=
     24128METIS_CFLAGS=
     24129METIS_DATA=
     24130
     24131
     24132if test $coin_has_metis != "skipping" ; then
     24133  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     24134  if test -r ../Metis/coinmetis-uninstalled.pc ; then
     24135    # read CFLAGS and LIBS from coinmetis-uninstalled.pc file
     24136    # add CYGPATH_W cludge into include flags
     24137    # replace -L${libdir} by absolute path to build directory in linker flags
     24138    METIS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Metis/coinmetis-uninstalled.pc`
     24139    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Metis/coinmetis-uninstalled.pc`
     24140    if test "x$projectlibs" != x ; then
     24141      METIS_LIBS="-L`cd ../Metis; pwd` $projectlibs"
    2423224142    fi
    24233     if test $flink_try = yes; then
    24234       echo "$as_me:$LINENO: result: yes" >&5
    24235 echo "${ECHO_T}yes" >&6
    24236     else
    24237       if test x"$FLIBS" != x; then
    24238         flink_save_libs="$LIBS"
    24239         LIBS="$LIBS $FLIBS"
    24240         cat >conftest.$ac_ext <<_ACEOF
    24241 /* confdefs.h.  */
    24242 _ACEOF
    24243 cat confdefs.h >>conftest.$ac_ext
    24244 cat >>conftest.$ac_ext <<_ACEOF
    24245 /* end confdefs.h.  */
    24246 void $cfuncdaxpy();
    24247 #ifdef F77_DUMMY_MAIN
    24248 
    24249 #  ifdef __cplusplus
    24250      extern "C"
    24251 #  endif
    24252    int F77_DUMMY_MAIN() { return 1; }
    24253 
    24254 #endif
    24255 int
    24256 main ()
    24257 {
    24258 $cfuncdaxpy()
    24259   ;
    24260   return 0;
    24261 }
    24262 _ACEOF
    24263 rm -f conftest.$ac_objext conftest$ac_exeext
    24264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24265   (eval $ac_link) 2>conftest.er1
    24266   ac_status=$?
    24267   grep -v '^ *+' conftest.er1 >conftest.err
    24268   rm -f conftest.er1
    24269   cat conftest.err >&5
    24270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24271   (exit $ac_status); } &&
    24272          { ac_try='test -z "$ac_c_werror_flag"
    24273                          || test ! -s conftest.err'
    24274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24275   (eval $ac_try) 2>&5
    24276   ac_status=$?
    24277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24278   (exit $ac_status); }; } &&
    24279          { ac_try='test -s conftest$ac_exeext'
    24280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24281   (eval $ac_try) 2>&5
    24282   ac_status=$?
    24283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24284   (exit $ac_status); }; }; then
    24285   LIBS="$flink_save_libs"
    24286                      echo "$as_me:$LINENO: result: yes" >&5
    24287 echo "${ECHO_T}yes" >&6
    24288                      coin_need_flibs=yes
    24289 else
    24290   echo "$as_me: failed program was:" >&5
    24291 sed 's/^/| /' conftest.$ac_ext >&5
    24292 
    24293 LIBS="$flink_save_libs"
    24294                      echo "$as_me:$LINENO: result: no" >&5
    24295 echo "${ECHO_T}no" >&6
    24296                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    24297 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    24298    { (exit 1); exit 1; }; }
    24299 fi
    24300 rm -f conftest.err conftest.$ac_objext \
    24301       conftest$ac_exeext conftest.$ac_ext
    24302       else
    24303         echo "$as_me:$LINENO: result: no" >&5
    24304 echo "${ECHO_T}no" >&6
    24305                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    24306 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    24307    { (exit 1); exit 1; }; }
    24308       fi
    24309     fi
    24310     ;;
    24311   cc|cpp)
    24312     ac_ext=f
    24313 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24314 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24315 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24316 case $ac_cv_f77_mangling in
    24317   upper*) ac_val="DAXPY" ;;
    24318   lower*) ac_val="daxpy" ;;
    24319   *)      ac_val="unknown" ;;
    24320 esac
    24321 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24322 
    24323 cfuncdaxpy="$ac_val"
    24324 
    24325 ac_ext=c
    24326 ac_cpp='$CPP $CPPFLAGS'
    24327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24330 
    24331     if test x"$coin_need_flibs" = xyes; then
    24332       flink_try=no;
    24333     else
    24334       cat >conftest.$ac_ext <<_ACEOF
    24335 /* confdefs.h.  */
    24336 _ACEOF
    24337 cat confdefs.h >>conftest.$ac_ext
    24338 cat >>conftest.$ac_ext <<_ACEOF
    24339 /* end confdefs.h.  */
    24340 extern "C" {void $cfuncdaxpy();}
    24341 #ifdef F77_DUMMY_MAIN
    24342 
    24343 #  ifdef __cplusplus
    24344      extern "C"
    24345 #  endif
    24346    int F77_DUMMY_MAIN() { return 1; }
    24347 
    24348 #endif
    24349 int
    24350 main ()
    24351 {
    24352 $cfuncdaxpy()
    24353   ;
    24354   return 0;
    24355 }
    24356 _ACEOF
    24357 rm -f conftest.$ac_objext conftest$ac_exeext
    24358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24359   (eval $ac_link) 2>conftest.er1
    24360   ac_status=$?
    24361   grep -v '^ *+' conftest.er1 >conftest.err
    24362   rm -f conftest.er1
    24363   cat conftest.err >&5
    24364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24365   (exit $ac_status); } &&
    24366          { ac_try='test -z "$ac_c_werror_flag"
    24367                          || test ! -s conftest.err'
    24368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24369   (eval $ac_try) 2>&5
    24370   ac_status=$?
    24371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24372   (exit $ac_status); }; } &&
    24373          { ac_try='test -s conftest$ac_exeext'
    24374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24375   (eval $ac_try) 2>&5
    24376   ac_status=$?
    24377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24378   (exit $ac_status); }; }; then
    24379   flink_try=yes
    24380 else
    24381   echo "$as_me: failed program was:" >&5
    24382 sed 's/^/| /' conftest.$ac_ext >&5
    24383 
    24384 flink_try=no
    24385 fi
    24386 rm -f conftest.err conftest.$ac_objext \
    24387       conftest$ac_exeext conftest.$ac_ext
    24388     fi
    24389     if test $flink_try = yes; then
    24390       echo "$as_me:$LINENO: result: yes" >&5
    24391 echo "${ECHO_T}yes" >&6
    24392     else
    24393       if test x"$FLIBS" != x; then
    24394         flink_save_libs="$LIBS"
    24395         LIBS="$LIBS $FLIBS"
    24396         cat >conftest.$ac_ext <<_ACEOF
    24397 /* confdefs.h.  */
    24398 _ACEOF
    24399 cat confdefs.h >>conftest.$ac_ext
    24400 cat >>conftest.$ac_ext <<_ACEOF
    24401 /* end confdefs.h.  */
    24402 extern "C" {void $cfuncdaxpy();}
    24403 #ifdef F77_DUMMY_MAIN
    24404 
    24405 #  ifdef __cplusplus
    24406      extern "C"
    24407 #  endif
    24408    int F77_DUMMY_MAIN() { return 1; }
    24409 
    24410 #endif
    24411 int
    24412 main ()
    24413 {
    24414 $cfuncdaxpy()
    24415   ;
    24416   return 0;
    24417 }
    24418 _ACEOF
    24419 rm -f conftest.$ac_objext conftest$ac_exeext
    24420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24421   (eval $ac_link) 2>conftest.er1
    24422   ac_status=$?
    24423   grep -v '^ *+' conftest.er1 >conftest.err
    24424   rm -f conftest.er1
    24425   cat conftest.err >&5
    24426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24427   (exit $ac_status); } &&
    24428          { ac_try='test -z "$ac_c_werror_flag"
    24429                          || test ! -s conftest.err'
    24430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24431   (eval $ac_try) 2>&5
    24432   ac_status=$?
    24433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24434   (exit $ac_status); }; } &&
    24435          { ac_try='test -s conftest$ac_exeext'
    24436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24437   (eval $ac_try) 2>&5
    24438   ac_status=$?
    24439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24440   (exit $ac_status); }; }; then
    24441   LIBS="$flink_save_libs"
    24442                      echo "$as_me:$LINENO: result: yes" >&5
    24443 echo "${ECHO_T}yes" >&6
    24444                      coin_need_flibs=yes
    24445 else
    24446   echo "$as_me: failed program was:" >&5
    24447 sed 's/^/| /' conftest.$ac_ext >&5
    24448 
    24449 LIBS="$flink_save_libs"
    24450                      echo "$as_me:$LINENO: result: no" >&5
    24451 echo "${ECHO_T}no" >&6
    24452                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    24453 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    24454    { (exit 1); exit 1; }; }
    24455 fi
    24456 rm -f conftest.err conftest.$ac_objext \
    24457       conftest$ac_exeext conftest.$ac_ext
    24458       else
    24459         echo "$as_me:$LINENO: result: no" >&5
    24460 echo "${ECHO_T}no" >&6
    24461                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    24462 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    24463    { (exit 1); exit 1; }; }
    24464       fi
    24465     fi
    24466     ;;
    24467 esac
    24468 
    24469   fi
    24470 else
    24471 # Try to autodetect the library for blas based on build system
    24472   #AC_MSG_CHECKING([default locations for BLAS])
    24473   skip_lblas_check=no
    24474   case $build in
    24475     *-sgi-*)
    24476       SAVE_LIBS="$LIBS"
    24477       echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has BLAS" >&5
    24478 echo $ECHO_N "checking whether -lcomplib.sgimath has BLAS... $ECHO_C" >&6
    24479       LIBS="-lcomplib.sgimath $LIBS"
    24480       case $ac_ext in
    24481   f)
    24482     cat >conftest.$ac_ext <<_ACEOF
    24483 /* confdefs.h.  */
    24484 _ACEOF
    24485 cat confdefs.h >>conftest.$ac_ext
    24486 cat >>conftest.$ac_ext <<_ACEOF
    24487 /* end confdefs.h.  */
    24488 
    24489 #ifdef F77_DUMMY_MAIN
    24490 
    24491 #  ifdef __cplusplus
    24492      extern "C"
    24493 #  endif
    24494    int F77_DUMMY_MAIN() { return 1; }
    24495 
    24496 #endif
    24497 int
    24498 main ()
    24499 {
    24500       call daxpy
    24501   ;
    24502   return 0;
    24503 }
    24504 _ACEOF
    24505 rm -f conftest.$ac_objext conftest$ac_exeext
    24506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24507   (eval $ac_link) 2>conftest.er1
    24508   ac_status=$?
    24509   grep -v '^ *+' conftest.er1 >conftest.err
    24510   rm -f conftest.er1
    24511   cat conftest.err >&5
    24512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24513   (exit $ac_status); } &&
    24514          { ac_try='test -z "$ac_c_werror_flag"
    24515                          || test ! -s conftest.err'
    24516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24517   (eval $ac_try) 2>&5
    24518   ac_status=$?
    24519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24520   (exit $ac_status); }; } &&
    24521          { ac_try='test -s conftest$ac_exeext'
    24522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24523   (eval $ac_try) 2>&5
    24524   ac_status=$?
    24525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24526   (exit $ac_status); }; }; then
    24527   echo "$as_me:$LINENO: result: yes" >&5
    24528 echo "${ECHO_T}yes" >&6
    24529                          use_blas=-lcomplib.sgimath;
    24530                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24531 else
    24532   echo "$as_me: failed program was:" >&5
    24533 sed 's/^/| /' conftest.$ac_ext >&5
    24534 
    24535 echo "$as_me:$LINENO: result: no" >&5
    24536 echo "${ECHO_T}no" >&6
    24537                          SAVE_LIBS="$LIBS"
    24538 fi
    24539 rm -f conftest.err conftest.$ac_objext \
    24540       conftest$ac_exeext conftest.$ac_ext
    24541     ;;
    24542   c)
    24543     ac_ext=f
    24544 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24545 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24546 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24547 case $ac_cv_f77_mangling in
    24548   upper*) ac_val="DAXPY" ;;
    24549   lower*) ac_val="daxpy" ;;
    24550   *)      ac_val="unknown" ;;
    24551 esac
    24552 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24553 
    24554 cfuncdaxpy="$ac_val"
    24555 
    24556 ac_ext=c
    24557 ac_cpp='$CPP $CPPFLAGS'
    24558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24561 
    24562     if test x"$coin_need_flibs" = xyes; then
    24563       flink_try=no;
    24564     else
    24565       cat >conftest.$ac_ext <<_ACEOF
    24566 /* confdefs.h.  */
    24567 _ACEOF
    24568 cat confdefs.h >>conftest.$ac_ext
    24569 cat >>conftest.$ac_ext <<_ACEOF
    24570 /* end confdefs.h.  */
    24571 void $cfuncdaxpy();
    24572 #ifdef F77_DUMMY_MAIN
    24573 
    24574 #  ifdef __cplusplus
    24575      extern "C"
    24576 #  endif
    24577    int F77_DUMMY_MAIN() { return 1; }
    24578 
    24579 #endif
    24580 int
    24581 main ()
    24582 {
    24583 $cfuncdaxpy()
    24584   ;
    24585   return 0;
    24586 }
    24587 _ACEOF
    24588 rm -f conftest.$ac_objext conftest$ac_exeext
    24589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24590   (eval $ac_link) 2>conftest.er1
    24591   ac_status=$?
    24592   grep -v '^ *+' conftest.er1 >conftest.err
    24593   rm -f conftest.er1
    24594   cat conftest.err >&5
    24595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24596   (exit $ac_status); } &&
    24597          { ac_try='test -z "$ac_c_werror_flag"
    24598                          || test ! -s conftest.err'
    24599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24600   (eval $ac_try) 2>&5
    24601   ac_status=$?
    24602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24603   (exit $ac_status); }; } &&
    24604          { ac_try='test -s conftest$ac_exeext'
    24605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24606   (eval $ac_try) 2>&5
    24607   ac_status=$?
    24608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24609   (exit $ac_status); }; }; then
    24610   flink_try=yes
    24611 else
    24612   echo "$as_me: failed program was:" >&5
    24613 sed 's/^/| /' conftest.$ac_ext >&5
    24614 
    24615 flink_try=no
    24616 fi
    24617 rm -f conftest.err conftest.$ac_objext \
    24618       conftest$ac_exeext conftest.$ac_ext
    24619     fi
    24620     if test $flink_try = yes; then
    24621       echo "$as_me:$LINENO: result: yes" >&5
    24622 echo "${ECHO_T}yes" >&6
    24623                          use_blas=-lcomplib.sgimath;
    24624                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24625     else
    24626       if test x"$FLIBS" != x; then
    24627         flink_save_libs="$LIBS"
    24628         LIBS="$LIBS $FLIBS"
    24629         cat >conftest.$ac_ext <<_ACEOF
    24630 /* confdefs.h.  */
    24631 _ACEOF
    24632 cat confdefs.h >>conftest.$ac_ext
    24633 cat >>conftest.$ac_ext <<_ACEOF
    24634 /* end confdefs.h.  */
    24635 void $cfuncdaxpy();
    24636 #ifdef F77_DUMMY_MAIN
    24637 
    24638 #  ifdef __cplusplus
    24639      extern "C"
    24640 #  endif
    24641    int F77_DUMMY_MAIN() { return 1; }
    24642 
    24643 #endif
    24644 int
    24645 main ()
    24646 {
    24647 $cfuncdaxpy()
    24648   ;
    24649   return 0;
    24650 }
    24651 _ACEOF
    24652 rm -f conftest.$ac_objext conftest$ac_exeext
    24653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24654   (eval $ac_link) 2>conftest.er1
    24655   ac_status=$?
    24656   grep -v '^ *+' conftest.er1 >conftest.err
    24657   rm -f conftest.er1
    24658   cat conftest.err >&5
    24659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24660   (exit $ac_status); } &&
    24661          { ac_try='test -z "$ac_c_werror_flag"
    24662                          || test ! -s conftest.err'
    24663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24664   (eval $ac_try) 2>&5
    24665   ac_status=$?
    24666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24667   (exit $ac_status); }; } &&
    24668          { ac_try='test -s conftest$ac_exeext'
    24669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24670   (eval $ac_try) 2>&5
    24671   ac_status=$?
    24672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24673   (exit $ac_status); }; }; then
    24674   LIBS="$flink_save_libs"
    24675                      echo "$as_me:$LINENO: result: yes" >&5
    24676 echo "${ECHO_T}yes" >&6
    24677                          use_blas=-lcomplib.sgimath;
    24678                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24679                      coin_need_flibs=yes
    24680 else
    24681   echo "$as_me: failed program was:" >&5
    24682 sed 's/^/| /' conftest.$ac_ext >&5
    24683 
    24684 LIBS="$flink_save_libs"
    24685                      echo "$as_me:$LINENO: result: no" >&5
    24686 echo "${ECHO_T}no" >&6
    24687                          SAVE_LIBS="$LIBS"
    24688 fi
    24689 rm -f conftest.err conftest.$ac_objext \
    24690       conftest$ac_exeext conftest.$ac_ext
    24691       else
    24692         echo "$as_me:$LINENO: result: no" >&5
    24693 echo "${ECHO_T}no" >&6
    24694                          SAVE_LIBS="$LIBS"
    24695       fi
    24696     fi
    24697     ;;
    24698   cc|cpp)
    24699     ac_ext=f
    24700 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24701 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24702 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24703 case $ac_cv_f77_mangling in
    24704   upper*) ac_val="DAXPY" ;;
    24705   lower*) ac_val="daxpy" ;;
    24706   *)      ac_val="unknown" ;;
    24707 esac
    24708 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24709 
    24710 cfuncdaxpy="$ac_val"
    24711 
    24712 ac_ext=c
    24713 ac_cpp='$CPP $CPPFLAGS'
    24714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24717 
    24718     if test x"$coin_need_flibs" = xyes; then
    24719       flink_try=no;
    24720     else
    24721       cat >conftest.$ac_ext <<_ACEOF
    24722 /* confdefs.h.  */
    24723 _ACEOF
    24724 cat confdefs.h >>conftest.$ac_ext
    24725 cat >>conftest.$ac_ext <<_ACEOF
    24726 /* end confdefs.h.  */
    24727 extern "C" {void $cfuncdaxpy();}
    24728 #ifdef F77_DUMMY_MAIN
    24729 
    24730 #  ifdef __cplusplus
    24731      extern "C"
    24732 #  endif
    24733    int F77_DUMMY_MAIN() { return 1; }
    24734 
    24735 #endif
    24736 int
    24737 main ()
    24738 {
    24739 $cfuncdaxpy()
    24740   ;
    24741   return 0;
    24742 }
    24743 _ACEOF
    24744 rm -f conftest.$ac_objext conftest$ac_exeext
    24745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24746   (eval $ac_link) 2>conftest.er1
    24747   ac_status=$?
    24748   grep -v '^ *+' conftest.er1 >conftest.err
    24749   rm -f conftest.er1
    24750   cat conftest.err >&5
    24751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24752   (exit $ac_status); } &&
    24753          { ac_try='test -z "$ac_c_werror_flag"
    24754                          || test ! -s conftest.err'
    24755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24756   (eval $ac_try) 2>&5
    24757   ac_status=$?
    24758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24759   (exit $ac_status); }; } &&
    24760          { ac_try='test -s conftest$ac_exeext'
    24761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24762   (eval $ac_try) 2>&5
    24763   ac_status=$?
    24764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24765   (exit $ac_status); }; }; then
    24766   flink_try=yes
    24767 else
    24768   echo "$as_me: failed program was:" >&5
    24769 sed 's/^/| /' conftest.$ac_ext >&5
    24770 
    24771 flink_try=no
    24772 fi
    24773 rm -f conftest.err conftest.$ac_objext \
    24774       conftest$ac_exeext conftest.$ac_ext
    24775     fi
    24776     if test $flink_try = yes; then
    24777       echo "$as_me:$LINENO: result: yes" >&5
    24778 echo "${ECHO_T}yes" >&6
    24779                          use_blas=-lcomplib.sgimath;
    24780                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24781     else
    24782       if test x"$FLIBS" != x; then
    24783         flink_save_libs="$LIBS"
    24784         LIBS="$LIBS $FLIBS"
    24785         cat >conftest.$ac_ext <<_ACEOF
    24786 /* confdefs.h.  */
    24787 _ACEOF
    24788 cat confdefs.h >>conftest.$ac_ext
    24789 cat >>conftest.$ac_ext <<_ACEOF
    24790 /* end confdefs.h.  */
    24791 extern "C" {void $cfuncdaxpy();}
    24792 #ifdef F77_DUMMY_MAIN
    24793 
    24794 #  ifdef __cplusplus
    24795      extern "C"
    24796 #  endif
    24797    int F77_DUMMY_MAIN() { return 1; }
    24798 
    24799 #endif
    24800 int
    24801 main ()
    24802 {
    24803 $cfuncdaxpy()
    24804   ;
    24805   return 0;
    24806 }
    24807 _ACEOF
    24808 rm -f conftest.$ac_objext conftest$ac_exeext
    24809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24810   (eval $ac_link) 2>conftest.er1
    24811   ac_status=$?
    24812   grep -v '^ *+' conftest.er1 >conftest.err
    24813   rm -f conftest.er1
    24814   cat conftest.err >&5
    24815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24816   (exit $ac_status); } &&
    24817          { ac_try='test -z "$ac_c_werror_flag"
    24818                          || test ! -s conftest.err'
    24819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24820   (eval $ac_try) 2>&5
    24821   ac_status=$?
    24822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24823   (exit $ac_status); }; } &&
    24824          { ac_try='test -s conftest$ac_exeext'
    24825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24826   (eval $ac_try) 2>&5
    24827   ac_status=$?
    24828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24829   (exit $ac_status); }; }; then
    24830   LIBS="$flink_save_libs"
    24831                      echo "$as_me:$LINENO: result: yes" >&5
    24832 echo "${ECHO_T}yes" >&6
    24833                          use_blas=-lcomplib.sgimath;
    24834                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24835                      coin_need_flibs=yes
    24836 else
    24837   echo "$as_me: failed program was:" >&5
    24838 sed 's/^/| /' conftest.$ac_ext >&5
    24839 
    24840 LIBS="$flink_save_libs"
    24841                      echo "$as_me:$LINENO: result: no" >&5
    24842 echo "${ECHO_T}no" >&6
    24843                          SAVE_LIBS="$LIBS"
    24844 fi
    24845 rm -f conftest.err conftest.$ac_objext \
    24846       conftest$ac_exeext conftest.$ac_ext
    24847       else
    24848         echo "$as_me:$LINENO: result: no" >&5
    24849 echo "${ECHO_T}no" >&6
    24850                          SAVE_LIBS="$LIBS"
    24851       fi
    24852     fi
    24853     ;;
    24854 esac
    24855 
    24856       ;;
    24857 
    24858 # Ideally, we'd use -library=sunperf, but it's an imperfect world. Studio
    24859 # cc doesn't recognise -library, it wants -xlic_lib. Studio 12 CC doesn't
    24860 # recognise -xlic_lib. Libtool doesn't like -xlic_lib anyway. Sun claims
    24861 # that CC and cc will understand -library in Studio 13. The main extra
    24862 # function of -xlic_lib and -library is to arrange for the Fortran run-time
    24863 # libraries to be linked for C++ and C. We can arrange that explicitly.
    24864     *-*-solaris*)
    24865       SAVE_LIBS="$LIBS"
    24866       echo "$as_me:$LINENO: checking for BLAS in libsunperf" >&5
    24867 echo $ECHO_N "checking for BLAS in libsunperf... $ECHO_C" >&6
    24868       LIBS="-lsunperf $FLIBS $LIBS"
    24869       case $ac_ext in
    24870   f)
    24871     cat >conftest.$ac_ext <<_ACEOF
    24872 /* confdefs.h.  */
    24873 _ACEOF
    24874 cat confdefs.h >>conftest.$ac_ext
    24875 cat >>conftest.$ac_ext <<_ACEOF
    24876 /* end confdefs.h.  */
    24877 
    24878 #ifdef F77_DUMMY_MAIN
    24879 
    24880 #  ifdef __cplusplus
    24881      extern "C"
    24882 #  endif
    24883    int F77_DUMMY_MAIN() { return 1; }
    24884 
    24885 #endif
    24886 int
    24887 main ()
    24888 {
    24889       call daxpy
    24890   ;
    24891   return 0;
    24892 }
    24893 _ACEOF
    24894 rm -f conftest.$ac_objext conftest$ac_exeext
    24895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24896   (eval $ac_link) 2>conftest.er1
    24897   ac_status=$?
    24898   grep -v '^ *+' conftest.er1 >conftest.err
    24899   rm -f conftest.er1
    24900   cat conftest.err >&5
    24901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24902   (exit $ac_status); } &&
    24903          { ac_try='test -z "$ac_c_werror_flag"
    24904                          || test ! -s conftest.err'
    24905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24906   (eval $ac_try) 2>&5
    24907   ac_status=$?
    24908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24909   (exit $ac_status); }; } &&
    24910          { ac_try='test -s conftest$ac_exeext'
    24911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24912   (eval $ac_try) 2>&5
    24913   ac_status=$?
    24914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24915   (exit $ac_status); }; }; then
    24916   echo "$as_me:$LINENO: result: yes" >&5
    24917 echo "${ECHO_T}yes" >&6
    24918                          use_blas='-lsunperf'
    24919                          ADDLIBS="-lsunperf $ADDLIBS"
    24920                          coin_need_flibs=yes
    24921 else
    24922   echo "$as_me: failed program was:" >&5
    24923 sed 's/^/| /' conftest.$ac_ext >&5
    24924 
    24925 echo "$as_me:$LINENO: result: no" >&5
    24926 echo "${ECHO_T}no" >&6
    24927                          LIBS="$SAVE_LIBS"
    24928 fi
    24929 rm -f conftest.err conftest.$ac_objext \
    24930       conftest$ac_exeext conftest.$ac_ext
    24931     ;;
    24932   c)
    24933     ac_ext=f
    24934 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24935 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24936 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24937 case $ac_cv_f77_mangling in
    24938   upper*) ac_val="DAXPY" ;;
    24939   lower*) ac_val="daxpy" ;;
    24940   *)      ac_val="unknown" ;;
    24941 esac
    24942 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24943 
    24944 cfuncdaxpy="$ac_val"
    24945 
    24946 ac_ext=c
    24947 ac_cpp='$CPP $CPPFLAGS'
    24948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24951 
    24952     if test x"$coin_need_flibs" = xyes; then
    24953       flink_try=no;
    24954     else
    24955       cat >conftest.$ac_ext <<_ACEOF
    24956 /* confdefs.h.  */
    24957 _ACEOF
    24958 cat confdefs.h >>conftest.$ac_ext
    24959 cat >>conftest.$ac_ext <<_ACEOF
    24960 /* end confdefs.h.  */
    24961 void $cfuncdaxpy();
    24962 #ifdef F77_DUMMY_MAIN
    24963 
    24964 #  ifdef __cplusplus
    24965      extern "C"
    24966 #  endif
    24967    int F77_DUMMY_MAIN() { return 1; }
    24968 
    24969 #endif
    24970 int
    24971 main ()
    24972 {
    24973 $cfuncdaxpy()
    24974   ;
    24975   return 0;
    24976 }
    24977 _ACEOF
    24978 rm -f conftest.$ac_objext conftest$ac_exeext
    24979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24980   (eval $ac_link) 2>conftest.er1
    24981   ac_status=$?
    24982   grep -v '^ *+' conftest.er1 >conftest.err
    24983   rm -f conftest.er1
    24984   cat conftest.err >&5
    24985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24986   (exit $ac_status); } &&
    24987          { ac_try='test -z "$ac_c_werror_flag"
    24988                          || test ! -s conftest.err'
    24989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24990   (eval $ac_try) 2>&5
    24991   ac_status=$?
    24992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24993   (exit $ac_status); }; } &&
    24994          { ac_try='test -s conftest$ac_exeext'
    24995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24996   (eval $ac_try) 2>&5
    24997   ac_status=$?
    24998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24999   (exit $ac_status); }; }; then
    25000   flink_try=yes
    25001 else
    25002   echo "$as_me: failed program was:" >&5
    25003 sed 's/^/| /' conftest.$ac_ext >&5
    25004 
    25005 flink_try=no
    25006 fi
    25007 rm -f conftest.err conftest.$ac_objext \
    25008       conftest$ac_exeext conftest.$ac_ext
    25009     fi
    25010     if test $flink_try = yes; then
    25011       echo "$as_me:$LINENO: result: yes" >&5
    25012 echo "${ECHO_T}yes" >&6
    25013                          use_blas='-lsunperf'
    25014                          ADDLIBS="-lsunperf $ADDLIBS"
    25015                          coin_need_flibs=yes
    25016     else
    25017       if test x"$FLIBS" != x; then
    25018         flink_save_libs="$LIBS"
    25019         LIBS="$LIBS $FLIBS"
    25020         cat >conftest.$ac_ext <<_ACEOF
    25021 /* confdefs.h.  */
    25022 _ACEOF
    25023 cat confdefs.h >>conftest.$ac_ext
    25024 cat >>conftest.$ac_ext <<_ACEOF
    25025 /* end confdefs.h.  */
    25026 void $cfuncdaxpy();
    25027 #ifdef F77_DUMMY_MAIN
    25028 
    25029 #  ifdef __cplusplus
    25030      extern "C"
    25031 #  endif
    25032    int F77_DUMMY_MAIN() { return 1; }
    25033 
    25034 #endif
    25035 int
    25036 main ()
    25037 {
    25038 $cfuncdaxpy()
    25039   ;
    25040   return 0;
    25041 }
    25042 _ACEOF
    25043 rm -f conftest.$ac_objext conftest$ac_exeext
    25044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25045   (eval $ac_link) 2>conftest.er1
    25046   ac_status=$?
    25047   grep -v '^ *+' conftest.er1 >conftest.err
    25048   rm -f conftest.er1
    25049   cat conftest.err >&5
    25050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25051   (exit $ac_status); } &&
    25052          { ac_try='test -z "$ac_c_werror_flag"
    25053                          || test ! -s conftest.err'
    25054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25055   (eval $ac_try) 2>&5
    25056   ac_status=$?
    25057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25058   (exit $ac_status); }; } &&
    25059          { ac_try='test -s conftest$ac_exeext'
    25060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25061   (eval $ac_try) 2>&5
    25062   ac_status=$?
    25063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25064   (exit $ac_status); }; }; then
    25065   LIBS="$flink_save_libs"
    25066                      echo "$as_me:$LINENO: result: yes" >&5
    25067 echo "${ECHO_T}yes" >&6
    25068                          use_blas='-lsunperf'
    25069                          ADDLIBS="-lsunperf $ADDLIBS"
    25070                          coin_need_flibs=yes
    25071                      coin_need_flibs=yes
    25072 else
    25073   echo "$as_me: failed program was:" >&5
    25074 sed 's/^/| /' conftest.$ac_ext >&5
    25075 
    25076 LIBS="$flink_save_libs"
    25077                      echo "$as_me:$LINENO: result: no" >&5
    25078 echo "${ECHO_T}no" >&6
    25079                          LIBS="$SAVE_LIBS"
    25080 fi
    25081 rm -f conftest.err conftest.$ac_objext \
    25082       conftest$ac_exeext conftest.$ac_ext
    25083       else
    25084         echo "$as_me:$LINENO: result: no" >&5
    25085 echo "${ECHO_T}no" >&6
    25086                          LIBS="$SAVE_LIBS"
    25087       fi
    25088     fi
    25089     ;;
    25090   cc|cpp)
    25091     ac_ext=f
    25092 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    25093 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25094 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    25095 case $ac_cv_f77_mangling in
    25096   upper*) ac_val="DAXPY" ;;
    25097   lower*) ac_val="daxpy" ;;
    25098   *)      ac_val="unknown" ;;
    25099 esac
    25100 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    25101 
    25102 cfuncdaxpy="$ac_val"
    25103 
    25104 ac_ext=c
    25105 ac_cpp='$CPP $CPPFLAGS'
    25106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25109 
    25110     if test x"$coin_need_flibs" = xyes; then
    25111       flink_try=no;
    25112     else
    25113       cat >conftest.$ac_ext <<_ACEOF
    25114 /* confdefs.h.  */
    25115 _ACEOF
    25116 cat confdefs.h >>conftest.$ac_ext
    25117 cat >>conftest.$ac_ext <<_ACEOF
    25118 /* end confdefs.h.  */
    25119 extern "C" {void $cfuncdaxpy();}
    25120 #ifdef F77_DUMMY_MAIN
    25121 
    25122 #  ifdef __cplusplus
    25123      extern "C"
    25124 #  endif
    25125    int F77_DUMMY_MAIN() { return 1; }
    25126 
    25127 #endif
    25128 int
    25129 main ()
    25130 {
    25131 $cfuncdaxpy()
    25132   ;
    25133   return 0;
    25134 }
    25135 _ACEOF
    25136 rm -f conftest.$ac_objext conftest$ac_exeext
    25137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25138   (eval $ac_link) 2>conftest.er1
    25139   ac_status=$?
    25140   grep -v '^ *+' conftest.er1 >conftest.err
    25141   rm -f conftest.er1
    25142   cat conftest.err >&5
    25143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25144   (exit $ac_status); } &&
    25145          { ac_try='test -z "$ac_c_werror_flag"
    25146                          || test ! -s conftest.err'
    25147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25148   (eval $ac_try) 2>&5
    25149   ac_status=$?
    25150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25151   (exit $ac_status); }; } &&
    25152          { ac_try='test -s conftest$ac_exeext'
    25153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25154   (eval $ac_try) 2>&5
    25155   ac_status=$?
    25156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25157   (exit $ac_status); }; }; then
    25158   flink_try=yes
    25159 else
    25160   echo "$as_me: failed program was:" >&5
    25161 sed 's/^/| /' conftest.$ac_ext >&5
    25162 
    25163 flink_try=no
    25164 fi
    25165 rm -f conftest.err conftest.$ac_objext \
    25166       conftest$ac_exeext conftest.$ac_ext
    25167     fi
    25168     if test $flink_try = yes; then
    25169       echo "$as_me:$LINENO: result: yes" >&5
    25170 echo "${ECHO_T}yes" >&6
    25171                          use_blas='-lsunperf'
    25172                          ADDLIBS="-lsunperf $ADDLIBS"
    25173                          coin_need_flibs=yes
    25174     else
    25175       if test x"$FLIBS" != x; then
    25176         flink_save_libs="$LIBS"
    25177         LIBS="$LIBS $FLIBS"
    25178         cat >conftest.$ac_ext <<_ACEOF
    25179 /* confdefs.h.  */
    25180 _ACEOF
    25181 cat confdefs.h >>conftest.$ac_ext
    25182 cat >>conftest.$ac_ext <<_ACEOF
    25183 /* end confdefs.h.  */
    25184 extern "C" {void $cfuncdaxpy();}
    25185 #ifdef F77_DUMMY_MAIN
    25186 
    25187 #  ifdef __cplusplus
    25188      extern "C"
    25189 #  endif
    25190    int F77_DUMMY_MAIN() { return 1; }
    25191 
    25192 #endif
    25193 int
    25194 main ()
    25195 {
    25196 $cfuncdaxpy()
    25197   ;
    25198   return 0;
    25199 }
    25200 _ACEOF
    25201 rm -f conftest.$ac_objext conftest$ac_exeext
    25202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25203   (eval $ac_link) 2>conftest.er1
    25204   ac_status=$?
    25205   grep -v '^ *+' conftest.er1 >conftest.err
    25206   rm -f conftest.er1
    25207   cat conftest.err >&5
    25208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25209   (exit $ac_status); } &&
    25210          { ac_try='test -z "$ac_c_werror_flag"
    25211                          || test ! -s conftest.err'
    25212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25213   (eval $ac_try) 2>&5
    25214   ac_status=$?
    25215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25216   (exit $ac_status); }; } &&
    25217          { ac_try='test -s conftest$ac_exeext'
    25218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25219   (eval $ac_try) 2>&5
    25220   ac_status=$?
    25221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25222   (exit $ac_status); }; }; then
    25223   LIBS="$flink_save_libs"
    25224                      echo "$as_me:$LINENO: result: yes" >&5
    25225 echo "${ECHO_T}yes" >&6
    25226                          use_blas='-lsunperf'
    25227                          ADDLIBS="-lsunperf $ADDLIBS"
    25228                          coin_need_flibs=yes
    25229                      coin_need_flibs=yes
    25230 else
    25231   echo "$as_me: failed program was:" >&5
    25232 sed 's/^/| /' conftest.$ac_ext >&5
    25233 
    25234 LIBS="$flink_save_libs"
    25235                      echo "$as_me:$LINENO: result: no" >&5
    25236 echo "${ECHO_T}no" >&6
    25237                          LIBS="$SAVE_LIBS"
    25238 fi
    25239 rm -f conftest.err conftest.$ac_objext \
    25240       conftest$ac_exeext conftest.$ac_ext
    25241       else
    25242         echo "$as_me:$LINENO: result: no" >&5
    25243 echo "${ECHO_T}no" >&6
    25244                          LIBS="$SAVE_LIBS"
    25245       fi
    25246     fi
    25247     ;;
    25248 esac
    25249 
    25250       ;;
    25251     *-cygwin* | *-mingw*)
    25252 # On cygwin, consider -lblas only if doscompile is disabled. The prebuilt
    25253 # library will want to link with cygwin, hence won't run standalone in DOS.
    25254       if test "$enable_doscompile" = mingw; then
    25255         skip_lblas_check=yes
    25256       fi
    25257       case "$CC" in
    25258         cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    25259           SAVE_LIBS="$LIBS"
    25260           echo "$as_me:$LINENO: checking for BLAS in MKL" >&5
    25261 echo $ECHO_N "checking for BLAS in MKL... $ECHO_C" >&6
    25262           LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS"
    25263           case $ac_ext in
    25264   f)
    25265     cat >conftest.$ac_ext <<_ACEOF
    25266 /* confdefs.h.  */
    25267 _ACEOF
    25268 cat confdefs.h >>conftest.$ac_ext
    25269 cat >>conftest.$ac_ext <<_ACEOF
    25270 /* end confdefs.h.  */
    25271 
    25272 #ifdef F77_DUMMY_MAIN
    25273 
    25274 #  ifdef __cplusplus
    25275      extern "C"
    25276 #  endif
    25277    int F77_DUMMY_MAIN() { return 1; }
    25278 
    25279 #endif
    25280 int
    25281 main ()
    25282 {
    25283       call daxpy
    25284   ;
    25285   return 0;
    25286 }
    25287 _ACEOF
    25288 rm -f conftest.$ac_objext conftest$ac_exeext
    25289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25290   (eval $ac_link) 2>conftest.er1
    25291   ac_status=$?
    25292   grep -v '^ *+' conftest.er1 >conftest.err
    25293   rm -f conftest.er1
    25294   cat conftest.err >&5
    25295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25296   (exit $ac_status); } &&
    25297          { ac_try='test -z "$ac_c_werror_flag"
    25298                          || test ! -s conftest.err'
    25299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25300   (eval $ac_try) 2>&5
    25301   ac_status=$?
    25302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25303   (exit $ac_status); }; } &&
    25304          { ac_try='test -s conftest$ac_exeext'
    25305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25306   (eval $ac_try) 2>&5
    25307   ac_status=$?
    25308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25309   (exit $ac_status); }; }; then
    25310   echo "$as_me:$LINENO: result: yes" >&5
    25311 echo "${ECHO_T}yes" >&6
    25312                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    25313                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    25314 else
    25315   echo "$as_me: failed program was:" >&5
    25316 sed 's/^/| /' conftest.$ac_ext >&5
    25317 
    25318 echo "$as_me:$LINENO: result: no" >&5
    25319 echo "${ECHO_T}no" >&6
    25320                              LIBS="$SAVE_LIBS"
    25321 fi
    25322 rm -f conftest.err conftest.$ac_objext \
    25323       conftest$ac_exeext conftest.$ac_ext
    25324     ;;
    25325   c)
    25326     ac_ext=f
    25327 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    25328 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25329 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    25330 case $ac_cv_f77_mangling in
    25331   upper*) ac_val="DAXPY" ;;
    25332   lower*) ac_val="daxpy" ;;
    25333   *)      ac_val="unknown" ;;
    25334 esac
    25335 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    25336 
    25337 cfuncdaxpy="$ac_val"
    25338 
    25339 ac_ext=c
    25340 ac_cpp='$CPP $CPPFLAGS'
    25341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25344 
    25345     if test x"$coin_need_flibs" = xyes; then
    25346       flink_try=no;
    25347     else
    25348       cat >conftest.$ac_ext <<_ACEOF
    25349 /* confdefs.h.  */
    25350 _ACEOF
    25351 cat confdefs.h >>conftest.$ac_ext
    25352 cat >>conftest.$ac_ext <<_ACEOF
    25353 /* end confdefs.h.  */
    25354 void $cfuncdaxpy();
    25355 #ifdef F77_DUMMY_MAIN
    25356 
    25357 #  ifdef __cplusplus
    25358      extern "C"
    25359 #  endif
    25360    int F77_DUMMY_MAIN() { return 1; }
    25361 
    25362 #endif
    25363 int
    25364 main ()
    25365 {
    25366 $cfuncdaxpy()
    25367   ;
    25368   return 0;
    25369 }
    25370 _ACEOF
    25371 rm -f conftest.$ac_objext conftest$ac_exeext
    25372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25373   (eval $ac_link) 2>conftest.er1
    25374   ac_status=$?
    25375   grep -v '^ *+' conftest.er1 >conftest.err
    25376   rm -f conftest.er1
    25377   cat conftest.err >&5
    25378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25379   (exit $ac_status); } &&
    25380          { ac_try='test -z "$ac_c_werror_flag"
    25381                          || test ! -s conftest.err'
    25382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25383   (eval $ac_try) 2>&5
    25384   ac_status=$?
    25385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25386   (exit $ac_status); }; } &&
    25387          { ac_try='test -s conftest$ac_exeext'
    25388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25389   (eval $ac_try) 2>&5
    25390   ac_status=$?
    25391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25392   (exit $ac_status); }; }; then
    25393   flink_try=yes
    25394 else
    25395   echo "$as_me: failed program was:" >&5
    25396 sed 's/^/| /' conftest.$ac_ext >&5
    25397 
    25398 flink_try=no
    25399 fi
    25400 rm -f conftest.err conftest.$ac_objext \
    25401       conftest$ac_exeext conftest.$ac_ext
    25402     fi
    25403     if test $flink_try = yes; then
    25404       echo "$as_me:$LINENO: result: yes" >&5
    25405 echo "${ECHO_T}yes" >&6
    25406                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    25407                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    25408     else
    25409       if test x"$FLIBS" != x; then
    25410         flink_save_libs="$LIBS"
    25411         LIBS="$LIBS $FLIBS"
    25412         cat >conftest.$ac_ext <<_ACEOF
    25413 /* confdefs.h.  */
    25414 _ACEOF
    25415 cat confdefs.h >>conftest.$ac_ext
    25416 cat >>conftest.$ac_ext <<_ACEOF
    25417 /* end confdefs.h.  */
    25418 void $cfuncdaxpy();
    25419 #ifdef F77_DUMMY_MAIN
    25420 
    25421 #  ifdef __cplusplus
    25422      extern "C"
    25423 #  endif
    25424    int F77_DUMMY_MAIN() { return 1; }
    25425 
    25426 #endif
    25427 int
    25428 main ()
    25429 {
    25430 $cfuncdaxpy()
    25431   ;
    25432   return 0;
    25433 }
    25434 _ACEOF
    25435 rm -f conftest.$ac_objext conftest$ac_exeext
    25436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25437   (eval $ac_link) 2>conftest.er1
    25438   ac_status=$?
    25439   grep -v '^ *+' conftest.er1 >conftest.err
    25440   rm -f conftest.er1
    25441   cat conftest.err >&5
    25442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25443   (exit $ac_status); } &&
    25444          { ac_try='test -z "$ac_c_werror_flag"
    25445                          || test ! -s conftest.err'
    25446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25447   (eval $ac_try) 2>&5
    25448   ac_status=$?
    25449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25450   (exit $ac_status); }; } &&
    25451          { ac_try='test -s conftest$ac_exeext'
    25452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25453   (eval $ac_try) 2>&5
    25454   ac_status=$?
    25455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25456   (exit $ac_status); }; }; then
    25457   LIBS="$flink_save_libs"
    25458                      echo "$as_me:$LINENO: result: yes" >&5
    25459 echo "${ECHO_T}yes" >&6
    25460                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    25461                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    25462                      coin_need_flibs=yes
    25463 else
    25464   echo "$as_me: failed program was:" >&5
    25465 sed 's/^/| /' conftest.$ac_ext >&5
    25466 
    25467 LIBS="$flink_save_libs"
    25468                      echo "$as_me:$LINENO: result: no" >&5
    25469 echo "${ECHO_T}no" >&6
    25470                              LIBS="$SAVE_LIBS"
    25471 fi
    25472 rm -f conftest.err conftest.$ac_objext \
    25473       conftest$ac_exeext conftest.$ac_ext
    25474       else
    25475         echo "$as_me:$LINENO: result: no" >&5
    25476 echo "${ECHO_T}no" >&6
    25477                              LIBS="$SAVE_LIBS"
    25478       fi
    25479     fi
    25480     ;;
    25481   cc|cpp)
    25482     ac_ext=f
    25483 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    25484 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25485 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    25486 case $ac_cv_f77_mangling in
    25487   upper*) ac_val="DAXPY" ;;
    25488   lower*) ac_val="daxpy" ;;
    25489   *)      ac_val="unknown" ;;
    25490 esac
    25491 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    25492 
    25493 cfuncdaxpy="$ac_val"
    25494 
    25495 ac_ext=c
    25496 ac_cpp='$CPP $CPPFLAGS'
    25497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25500 
    25501     if test x"$coin_need_flibs" = xyes; then
    25502       flink_try=no;
    25503     else
    25504       cat >conftest.$ac_ext <<_ACEOF
    25505 /* confdefs.h.  */
    25506 _ACEOF
    25507 cat confdefs.h >>conftest.$ac_ext
    25508 cat >>conftest.$ac_ext <<_ACEOF
    25509 /* end confdefs.h.  */
    25510 extern "C" {void $cfuncdaxpy();}
    25511 #ifdef F77_DUMMY_MAIN
    25512 
    25513 #  ifdef __cplusplus
    25514      extern "C"
    25515 #  endif
    25516    int F77_DUMMY_MAIN() { return 1; }
    25517 
    25518 #endif
    25519 int
    25520 main ()
    25521 {
    25522 $cfuncdaxpy()
    25523   ;
    25524   return 0;
    25525 }
    25526 _ACEOF
    25527 rm -f conftest.$ac_objext conftest$ac_exeext
    25528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25529   (eval $ac_link) 2>conftest.er1
    25530   ac_status=$?
    25531   grep -v '^ *+' conftest.er1 >conftest.err
    25532   rm -f conftest.er1
    25533   cat conftest.err >&5
    25534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25535   (exit $ac_status); } &&
    25536          { ac_try='test -z "$ac_c_werror_flag"
    25537                          || test ! -s conftest.err'
    25538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25539   (eval $ac_try) 2>&5
    25540   ac_status=$?
    25541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25542   (exit $ac_status); }; } &&
    25543          { ac_try='test -s conftest$ac_exeext'
    25544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25545   (eval $ac_try) 2>&5
    25546   ac_status=$?
    25547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25548   (exit $ac_status); }; }; then
    25549   flink_try=yes
    25550 else
    25551   echo "$as_me: failed program was:" >&5
    25552 sed 's/^/| /' conftest.$ac_ext >&5
    25553 
    25554 flink_try=no
    25555 fi
    25556 rm -f conftest.err conftest.$ac_objext \
    25557       conftest$ac_exeext conftest.$ac_ext
    25558     fi
    25559     if test $flink_try = yes; then
    25560       echo "$as_me:$LINENO: result: yes" >&5
    25561 echo "${ECHO_T}yes" >&6
    25562                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    25563                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    25564     else
    25565       if test x"$FLIBS" != x; then
    25566         flink_save_libs="$LIBS"
    25567         LIBS="$LIBS $FLIBS"
    25568         cat >conftest.$ac_ext <<_ACEOF
    25569 /* confdefs.h.  */
    25570 _ACEOF
    25571 cat confdefs.h >>conftest.$ac_ext
    25572 cat >>conftest.$ac_ext <<_ACEOF
    25573 /* end confdefs.h.  */
    25574 extern "C" {void $cfuncdaxpy();}
    25575 #ifdef F77_DUMMY_MAIN
    25576 
    25577 #  ifdef __cplusplus
    25578      extern "C"
    25579 #  endif
    25580    int F77_DUMMY_MAIN() { return 1; }
    25581 
    25582 #endif
    25583 int
    25584 main ()
    25585 {
    25586 $cfuncdaxpy()
    25587   ;
    25588   return 0;
    25589 }
    25590 _ACEOF
    25591 rm -f conftest.$ac_objext conftest$ac_exeext
    25592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25593   (eval $ac_link) 2>conftest.er1
    25594   ac_status=$?
    25595   grep -v '^ *+' conftest.er1 >conftest.err
    25596   rm -f conftest.er1
    25597   cat conftest.err >&5
    25598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25599   (exit $ac_status); } &&
    25600          { ac_try='test -z "$ac_c_werror_flag"
    25601                          || test ! -s conftest.err'
    25602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25603   (eval $ac_try) 2>&5
    25604   ac_status=$?
    25605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25606   (exit $ac_status); }; } &&
    25607          { ac_try='test -s conftest$ac_exeext'
    25608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25609   (eval $ac_try) 2>&5
    25610   ac_status=$?
    25611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25612   (exit $ac_status); }; }; then
    25613   LIBS="$flink_save_libs"
    25614                      echo "$as_me:$LINENO: result: yes" >&5
    25615 echo "${ECHO_T}yes" >&6
    25616                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    25617                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    25618                      coin_need_flibs=yes
    25619 else
    25620   echo "$as_me: failed program was:" >&5
    25621 sed 's/^/| /' conftest.$ac_ext >&5
    25622 
    25623 LIBS="$flink_save_libs"
    25624                      echo "$as_me:$LINENO: result: no" >&5
    25625 echo "${ECHO_T}no" >&6
    25626                              LIBS="$SAVE_LIBS"
    25627 fi
    25628 rm -f conftest.err conftest.$ac_objext \
    25629       conftest$ac_exeext conftest.$ac_ext
    25630       else
    25631         echo "$as_me:$LINENO: result: no" >&5
    25632 echo "${ECHO_T}no" >&6
    25633                              LIBS="$SAVE_LIBS"
    25634       fi
    25635     fi
    25636     ;;
    25637 esac
    25638 
    25639           ;;
    25640       esac
    25641       ;;
    25642   esac
    25643 
    25644   if test -z "$use_blas" && test $skip_lblas_check = no; then
    25645     SAVE_LIBS="$LIBS"
    25646     echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5
    25647 echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6
    25648     LIBS="-lblas $LIBS"
    25649     case $ac_ext in
    25650   f)
    25651     cat >conftest.$ac_ext <<_ACEOF
    25652 /* confdefs.h.  */
    25653 _ACEOF
    25654 cat confdefs.h >>conftest.$ac_ext
    25655 cat >>conftest.$ac_ext <<_ACEOF
    25656 /* end confdefs.h.  */
    25657 
    25658 #ifdef F77_DUMMY_MAIN
    25659 
    25660 #  ifdef __cplusplus
    25661      extern "C"
    25662 #  endif
    25663    int F77_DUMMY_MAIN() { return 1; }
    25664 
    25665 #endif
    25666 int
    25667 main ()
    25668 {
    25669       call daxpy
    25670   ;
    25671   return 0;
    25672 }
    25673 _ACEOF
    25674 rm -f conftest.$ac_objext conftest$ac_exeext
    25675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25676   (eval $ac_link) 2>conftest.er1
    25677   ac_status=$?
    25678   grep -v '^ *+' conftest.er1 >conftest.err
    25679   rm -f conftest.er1
    25680   cat conftest.err >&5
    25681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25682   (exit $ac_status); } &&
    25683          { ac_try='test -z "$ac_c_werror_flag"
    25684                          || test ! -s conftest.err'
    25685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25686   (eval $ac_try) 2>&5
    25687   ac_status=$?
    25688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25689   (exit $ac_status); }; } &&
    25690          { ac_try='test -s conftest$ac_exeext'
    25691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25692   (eval $ac_try) 2>&5
    25693   ac_status=$?
    25694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25695   (exit $ac_status); }; }; then
    25696   echo "$as_me:$LINENO: result: yes" >&5
    25697 echo "${ECHO_T}yes" >&6
    25698                        ADDLIBS="-lblas $ADDLIBS"
    25699                        use_blas='-lblas'
    25700 else
    25701   echo "$as_me: failed program was:" >&5
    25702 sed 's/^/| /' conftest.$ac_ext >&5
    25703 
    25704 echo "$as_me:$LINENO: result: no" >&5
    25705 echo "${ECHO_T}no" >&6
    25706                        LIBS="$SAVE_LIBS"
    25707 fi
    25708 rm -f conftest.err conftest.$ac_objext \
    25709       conftest$ac_exeext conftest.$ac_ext
    25710     ;;
    25711   c)
    25712     ac_ext=f
    25713 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    25714 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25715 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    25716 case $ac_cv_f77_mangling in
    25717   upper*) ac_val="DAXPY" ;;
    25718   lower*) ac_val="daxpy" ;;
    25719   *)      ac_val="unknown" ;;
    25720 esac
    25721 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    25722 
    25723 cfuncdaxpy="$ac_val"
    25724 
    25725 ac_ext=c
    25726 ac_cpp='$CPP $CPPFLAGS'
    25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25730 
    25731     if test x"$coin_need_flibs" = xyes; then
    25732       flink_try=no;
    25733     else
    25734       cat >conftest.$ac_ext <<_ACEOF
    25735 /* confdefs.h.  */
    25736 _ACEOF
    25737 cat confdefs.h >>conftest.$ac_ext
    25738 cat >>conftest.$ac_ext <<_ACEOF
    25739 /* end confdefs.h.  */
    25740 void $cfuncdaxpy();
    25741 #ifdef F77_DUMMY_MAIN
    25742 
    25743 #  ifdef __cplusplus
    25744      extern "C"
    25745 #  endif
    25746    int F77_DUMMY_MAIN() { return 1; }
    25747 
    25748 #endif
    25749 int
    25750 main ()
    25751 {
    25752 $cfuncdaxpy()
    25753   ;
    25754   return 0;
    25755 }
    25756 _ACEOF
    25757 rm -f conftest.$ac_objext conftest$ac_exeext
    25758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25759   (eval $ac_link) 2>conftest.er1
    25760   ac_status=$?
    25761   grep -v '^ *+' conftest.er1 >conftest.err
    25762   rm -f conftest.er1
    25763   cat conftest.err >&5
    25764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25765   (exit $ac_status); } &&
    25766          { ac_try='test -z "$ac_c_werror_flag"
    25767                          || test ! -s conftest.err'
    25768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25769   (eval $ac_try) 2>&5
    25770   ac_status=$?
    25771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25772   (exit $ac_status); }; } &&
    25773          { ac_try='test -s conftest$ac_exeext'
    25774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25775   (eval $ac_try) 2>&5
    25776   ac_status=$?
    25777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25778   (exit $ac_status); }; }; then
    25779   flink_try=yes
    25780 else
    25781   echo "$as_me: failed program was:" >&5
    25782 sed 's/^/| /' conftest.$ac_ext >&5
    25783 
    25784 flink_try=no
    25785 fi
    25786 rm -f conftest.err conftest.$ac_objext \
    25787       conftest$ac_exeext conftest.$ac_ext
    25788     fi
    25789     if test $flink_try = yes; then
    25790       echo "$as_me:$LINENO: result: yes" >&5
    25791 echo "${ECHO_T}yes" >&6
    25792                        ADDLIBS="-lblas $ADDLIBS"
    25793                        use_blas='-lblas'
    25794     else
    25795       if test x"$FLIBS" != x; then
    25796         flink_save_libs="$LIBS"
    25797         LIBS="$LIBS $FLIBS"
    25798         cat >conftest.$ac_ext <<_ACEOF
    25799 /* confdefs.h.  */
    25800 _ACEOF
    25801 cat confdefs.h >>conftest.$ac_ext
    25802 cat >>conftest.$ac_ext <<_ACEOF
    25803 /* end confdefs.h.  */
    25804 void $cfuncdaxpy();
    25805 #ifdef F77_DUMMY_MAIN
    25806 
    25807 #  ifdef __cplusplus
    25808      extern "C"
    25809 #  endif
    25810    int F77_DUMMY_MAIN() { return 1; }
    25811 
    25812 #endif
    25813 int
    25814 main ()
    25815 {
    25816 $cfuncdaxpy()
    25817   ;
    25818   return 0;
    25819 }
    25820 _ACEOF
    25821 rm -f conftest.$ac_objext conftest$ac_exeext
    25822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25823   (eval $ac_link) 2>conftest.er1
    25824   ac_status=$?
    25825   grep -v '^ *+' conftest.er1 >conftest.err
    25826   rm -f conftest.er1
    25827   cat conftest.err >&5
    25828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25829   (exit $ac_status); } &&
    25830          { ac_try='test -z "$ac_c_werror_flag"
    25831                          || test ! -s conftest.err'
    25832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25833   (eval $ac_try) 2>&5
    25834   ac_status=$?
    25835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25836   (exit $ac_status); }; } &&
    25837          { ac_try='test -s conftest$ac_exeext'
    25838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25839   (eval $ac_try) 2>&5
    25840   ac_status=$?
    25841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25842   (exit $ac_status); }; }; then
    25843   LIBS="$flink_save_libs"
    25844                      echo "$as_me:$LINENO: result: yes" >&5
    25845 echo "${ECHO_T}yes" >&6
    25846                        ADDLIBS="-lblas $ADDLIBS"
    25847                        use_blas='-lblas'
    25848                      coin_need_flibs=yes
    25849 else
    25850   echo "$as_me: failed program was:" >&5
    25851 sed 's/^/| /' conftest.$ac_ext >&5
    25852 
    25853 LIBS="$flink_save_libs"
    25854                      echo "$as_me:$LINENO: result: no" >&5
    25855 echo "${ECHO_T}no" >&6
    25856                        LIBS="$SAVE_LIBS"
    25857 fi
    25858 rm -f conftest.err conftest.$ac_objext \
    25859       conftest$ac_exeext conftest.$ac_ext
    25860       else
    25861         echo "$as_me:$LINENO: result: no" >&5
    25862 echo "${ECHO_T}no" >&6
    25863                        LIBS="$SAVE_LIBS"
    25864       fi
    25865     fi
    25866     ;;
    25867   cc|cpp)
    25868     ac_ext=f
    25869 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    25870 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25871 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    25872 case $ac_cv_f77_mangling in
    25873   upper*) ac_val="DAXPY" ;;
    25874   lower*) ac_val="daxpy" ;;
    25875   *)      ac_val="unknown" ;;
    25876 esac
    25877 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    25878 
    25879 cfuncdaxpy="$ac_val"
    25880 
    25881 ac_ext=c
    25882 ac_cpp='$CPP $CPPFLAGS'
    25883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25886 
    25887     if test x"$coin_need_flibs" = xyes; then
    25888       flink_try=no;
    25889     else
    25890       cat >conftest.$ac_ext <<_ACEOF
    25891 /* confdefs.h.  */
    25892 _ACEOF
    25893 cat confdefs.h >>conftest.$ac_ext
    25894 cat >>conftest.$ac_ext <<_ACEOF
    25895 /* end confdefs.h.  */
    25896 extern "C" {void $cfuncdaxpy();}
    25897 #ifdef F77_DUMMY_MAIN
    25898 
    25899 #  ifdef __cplusplus
    25900      extern "C"
    25901 #  endif
    25902    int F77_DUMMY_MAIN() { return 1; }
    25903 
    25904 #endif
    25905 int
    25906 main ()
    25907 {
    25908 $cfuncdaxpy()
    25909   ;
    25910   return 0;
    25911 }
    25912 _ACEOF
    25913 rm -f conftest.$ac_objext conftest$ac_exeext
    25914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25915   (eval $ac_link) 2>conftest.er1
    25916   ac_status=$?
    25917   grep -v '^ *+' conftest.er1 >conftest.err
    25918   rm -f conftest.er1
    25919   cat conftest.err >&5
    25920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25921   (exit $ac_status); } &&
    25922          { ac_try='test -z "$ac_c_werror_flag"
    25923                          || test ! -s conftest.err'
    25924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25925   (eval $ac_try) 2>&5
    25926   ac_status=$?
    25927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25928   (exit $ac_status); }; } &&
    25929          { ac_try='test -s conftest$ac_exeext'
    25930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25931   (eval $ac_try) 2>&5
    25932   ac_status=$?
    25933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25934   (exit $ac_status); }; }; then
    25935   flink_try=yes
    25936 else
    25937   echo "$as_me: failed program was:" >&5
    25938 sed 's/^/| /' conftest.$ac_ext >&5
    25939 
    25940 flink_try=no
    25941 fi
    25942 rm -f conftest.err conftest.$ac_objext \
    25943       conftest$ac_exeext conftest.$ac_ext
    25944     fi
    25945     if test $flink_try = yes; then
    25946       echo "$as_me:$LINENO: result: yes" >&5
    25947 echo "${ECHO_T}yes" >&6
    25948                        ADDLIBS="-lblas $ADDLIBS"
    25949                        use_blas='-lblas'
    25950     else
    25951       if test x"$FLIBS" != x; then
    25952         flink_save_libs="$LIBS"
    25953         LIBS="$LIBS $FLIBS"
    25954         cat >conftest.$ac_ext <<_ACEOF
    25955 /* confdefs.h.  */
    25956 _ACEOF
    25957 cat confdefs.h >>conftest.$ac_ext
    25958 cat >>conftest.$ac_ext <<_ACEOF
    25959 /* end confdefs.h.  */
    25960 extern "C" {void $cfuncdaxpy();}
    25961 #ifdef F77_DUMMY_MAIN
    25962 
    25963 #  ifdef __cplusplus
    25964      extern "C"
    25965 #  endif
    25966    int F77_DUMMY_MAIN() { return 1; }
    25967 
    25968 #endif
    25969 int
    25970 main ()
    25971 {
    25972 $cfuncdaxpy()
    25973   ;
    25974   return 0;
    25975 }
    25976 _ACEOF
    25977 rm -f conftest.$ac_objext conftest$ac_exeext
    25978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25979   (eval $ac_link) 2>conftest.er1
    25980   ac_status=$?
    25981   grep -v '^ *+' conftest.er1 >conftest.err
    25982   rm -f conftest.er1
    25983   cat conftest.err >&5
    25984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25985   (exit $ac_status); } &&
    25986          { ac_try='test -z "$ac_c_werror_flag"
    25987                          || test ! -s conftest.err'
    25988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25989   (eval $ac_try) 2>&5
    25990   ac_status=$?
    25991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25992   (exit $ac_status); }; } &&
    25993          { ac_try='test -s conftest$ac_exeext'
    25994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25995   (eval $ac_try) 2>&5
    25996   ac_status=$?
    25997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25998   (exit $ac_status); }; }; then
    25999   LIBS="$flink_save_libs"
    26000                      echo "$as_me:$LINENO: result: yes" >&5
    26001 echo "${ECHO_T}yes" >&6
    26002                        ADDLIBS="-lblas $ADDLIBS"
    26003                        use_blas='-lblas'
    26004                      coin_need_flibs=yes
    26005 else
    26006   echo "$as_me: failed program was:" >&5
    26007 sed 's/^/| /' conftest.$ac_ext >&5
    26008 
    26009 LIBS="$flink_save_libs"
    26010                      echo "$as_me:$LINENO: result: no" >&5
    26011 echo "${ECHO_T}no" >&6
    26012                        LIBS="$SAVE_LIBS"
    26013 fi
    26014 rm -f conftest.err conftest.$ac_objext \
    26015       conftest$ac_exeext conftest.$ac_ext
    26016       else
    26017         echo "$as_me:$LINENO: result: no" >&5
    26018 echo "${ECHO_T}no" >&6
    26019                        LIBS="$SAVE_LIBS"
    26020       fi
    26021     fi
    26022     ;;
    26023 esac
    26024 
    26025   fi
    26026 
    26027 # If we have no other ideas, consider building BLAS.
    26028   if test -z "$use_blas"; then
    26029     if test "$PACKAGE_NAME" != ThirdPartyBlas; then
    26030       if test -r $coin_blasobjdir/.MakeOk; then
    26031         use_blas=BUILD
    26032       fi
    26033     fi
    26034   fi
    26035 fi
    26036 
    26037 if test "$use_blas" = BUILD; then
    26038   coin_need_flibs=yes
    26039 fi
    26040 
    26041 
    26042 
    26043 if test x"$use_blas" != x; then
    26044   COIN_HAS_BLAS_TRUE=
    26045   COIN_HAS_BLAS_FALSE='#'
    26046 else
    26047   COIN_HAS_BLAS_TRUE='#'
    26048   COIN_HAS_BLAS_FALSE=
    26049 fi
    26050 
    26051 
    26052 
    26053 if test "$use_blas" = BUILD; then
    26054   COIN_BUILD_BLAS_TRUE=
    26055   COIN_BUILD_BLAS_FALSE='#'
    26056 else
    26057   COIN_BUILD_BLAS_TRUE='#'
    26058   COIN_BUILD_BLAS_FALSE=
    26059 fi
    26060 
    26061 
    26062 if test x"$use_blas" = x || test "$use_blas" = no; then
    26063   coin_has_blas=no
    26064 else
    26065   coin_has_blas=yes
    26066 
    26067 cat >>confdefs.h <<\_ACEOF
    26068 #define COIN_HAS_BLAS 1
    26069 _ACEOF
    26070 
    26071 fi
    26072 
    26073 else
    26074   #to make configure happy, since COIN_BUILD_BLAS is defined by AC_COIN_HAS_BLAS
    26075 
    26076 
    26077 if test "$coin_has_blas" = yes; then
    26078   COIN_BUILD_BLAS_TRUE=
    26079   COIN_BUILD_BLAS_FALSE='#'
    26080 else
    26081   COIN_BUILD_BLAS_TRUE='#'
    26082   COIN_BUILD_BLAS_FALSE=
    26083 fi
    26084 
    26085 fi
    26086 
    26087 if test "$coin_has_metis" != yes ; then
    26088 
    26089 case "$PACKAGE_NAME" in
    26090   ThirdParty*)
    26091     coin_metisobjdir=../Metis
    26092     ;;
    26093   *)
    26094     coin_metisobjdir=../ThirdParty/Metis
    26095     ;;
    26096 esac
    26097 
    26098 MAKEOKFILE=.MakeOk
    26099 
    26100 #check if user provides a METIS library (that works)
    26101 ac_ext=c
    26102 ac_cpp='$CPP $CPPFLAGS'
    26103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    26104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    26105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    26106 
    26107 
    26108 # Check whether --with-metis or --without-metis was given.
    26109 if test "${with_metis+set}" = set; then
    26110   withval="$with_metis"
    26111   METISLIB="$withval"; coin_has_metis=true
    26112 else
    26113   coin_has_metis=no
    26114 fi;
    26115 
    26116 if test $coin_has_metis = true; then
    26117   coin_save_LIBS="$LIBS"
    26118   LIBS="$METISLIB $ADDLIBS"
    26119   echo "$as_me:$LINENO: checking whether symbol metis_nodend is available with " >&5
    26120 echo $ECHO_N "checking whether symbol metis_nodend is available with ... $ECHO_C" >&6
    26121   cat >conftest.$ac_ext <<_ACEOF
    26122 /* confdefs.h.  */
    26123 _ACEOF
    26124 cat confdefs.h >>conftest.$ac_ext
    26125 cat >>conftest.$ac_ext <<_ACEOF
    26126 /* end confdefs.h.  */
    26127 
    26128 #ifdef F77_DUMMY_MAIN
    26129 
    26130 #  ifdef __cplusplus
    26131      extern "C"
    26132 #  endif
    26133    int F77_DUMMY_MAIN() { return 1; }
    26134 
    26135 #endif
    26136 int
    26137 main ()
    26138 {
    26139 metis_nodend()
    26140   ;
    26141   return 0;
    26142 }
    26143 _ACEOF
    26144 rm -f conftest.$ac_objext conftest$ac_exeext
    26145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    26146   (eval $ac_link) 2>conftest.er1
    26147   ac_status=$?
    26148   grep -v '^ *+' conftest.er1 >conftest.err
    26149   rm -f conftest.er1
    26150   cat conftest.err >&5
    26151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26152   (exit $ac_status); } &&
    26153          { ac_try='test -z "$ac_c_werror_flag"
    26154                          || test ! -s conftest.err'
    26155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26156   (eval $ac_try) 2>&5
    26157   ac_status=$?
    26158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26159   (exit $ac_status); }; } &&
    26160          { ac_try='test -s conftest$ac_exeext'
    26161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26162   (eval $ac_try) 2>&5
    26163   ac_status=$?
    26164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26165   (exit $ac_status); }; }; then
    26166   echo "$as_me:$LINENO: result: yes" >&5
    26167 echo "${ECHO_T}yes" >&6
    26168 else
    26169   echo "$as_me: failed program was:" >&5
    26170 sed 's/^/| /' conftest.$ac_ext >&5
    26171 
    26172 echo "$as_me:$LINENO: result: no" >&5
    26173 echo "${ECHO_T}no" >&6
    26174       { { echo "$as_me:$LINENO: error: User-supplied METIS library does not work" >&5
    26175 echo "$as_me: error: User-supplied METIS library does not work" >&2;}
    26176    { (exit 1); exit 1; }; }
    26177 fi
    26178 rm -f conftest.err conftest.$ac_objext \
    26179       conftest$ac_exeext conftest.$ac_ext
    26180   LIBS="$coin_save_LIBS"
    26181 fi
    26182 ac_ext=c
    26183 ac_cpp='$CPP $CPPFLAGS'
    26184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    26185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    26186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    26187 
    26188 
    26189 if test "$coin_has_metis" = "true"; then  # user provided metis library
    26190   use_metis=yes
    26191   coin_has_metis=yes
    26192 
    26193   ADDLIBS="$METISLIB $ADDLIBS"
    26194 
    26195 else # no user provided library, so we try to build our own
    26196   use_metis=BUILD
    26197 
    26198   # Check if the METIS' ThirdParty project has been configured
    26199   if test "$PACKAGE_NAME" != ThirdPartyMetis; then
    26200     if test -r $coin_metisobjdir/.MakeOk; then
    26201       use_metis=BUILD
    26202     else
    26203       use_metis=
    26204     fi
    26205   fi
    26206 
    26207   if test x"$use_metis" != x; then
    26208     coin_has_metis=yes
    26209   else
    26210     coin_has_metis=no
    26211   fi
    26212   echo "$as_me:$LINENO: checking whether METIS is available" >&5
    26213 echo $ECHO_N "checking whether METIS is available... $ECHO_C" >&6
    26214   echo "$as_me:$LINENO: result: $coin_has_metis" >&5
    26215 echo "${ECHO_T}$coin_has_metis" >&6
    26216 fi
    26217 
    26218 
    26219 
    26220 if test $coin_has_metis = yes; then
    26221   COIN_HAS_METIS_TRUE=
    26222   COIN_HAS_METIS_FALSE='#'
    26223 else
    26224   COIN_HAS_METIS_TRUE='#'
    26225   COIN_HAS_METIS_FALSE=
    26226 fi
    26227 
    26228 if test $coin_has_metis = yes; then
     24143    METIS_DATA=`sed -n -e 's/datadir=//gp' ../Metis/coinmetis-uninstalled.pc`
     24144
     24145    ADDLIBS="$ADDLIBS $METIS_LIBS"
     24146
     24147    REQUIREDPACKAGES="$REQUIREDPACKAGES coinmetis"
     24148
    2622924149
    2623024150cat >>confdefs.h <<\_ACEOF
     
    2623224152_ACEOF
    2623324153
    26234 fi
    26235 
    26236 
    26237 fi
     24154
     24155
     24156    coin_has_metis=yes
     24157  fi
     24158fi
     24159
     24160#if user did not disable setting of makefile conditional, do it
     24161
     24162
     24163if test $coin_has_metis != notGiven &&
     24164                test $coin_has_metis != skipping; then
     24165  COIN_HAS_METIS_TRUE=
     24166  COIN_HAS_METIS_FALSE='#'
     24167else
     24168  COIN_HAS_METIS_TRUE='#'
     24169  COIN_HAS_METIS_FALSE=
     24170fi
     24171
     24172
     24173
     24174echo "$as_me:$LINENO: result: $coin_has_metis" >&5
     24175echo "${ECHO_T}$coin_has_metis" >&6
     24176fi
     24177
    2623824178
    2623924179if test "$coin_has_metis" = yes; then
     
    2666124601   { (exit 1); exit 1; }; }
    2666224602fi
    26663 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
    26664   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
    26665 Usually this means the macro was only invoked conditionally." >&5
    26666 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
    26667 Usually this means the macro was only invoked conditionally." >&2;}
    26668    { (exit 1); exit 1; }; }
    26669 fi
    2667024603if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
    2667124604  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
     
    2667524608   { (exit 1); exit 1; }; }
    2667624609fi
    26677 if test -z "${COIN_BUILD_BLAS_TRUE}" && test -z "${COIN_BUILD_BLAS_FALSE}"; then
    26678   { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_BLAS\" was never defined.
     24610if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
     24611  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
    2667924612Usually this means the macro was only invoked conditionally." >&5
    26680 echo "$as_me: error: conditional \"COIN_BUILD_BLAS\" was never defined.
    26681 Usually this means the macro was only invoked conditionally." >&2;}
    26682    { (exit 1); exit 1; }; }
    26683 fi
    26684 if test -z "${COIN_BUILD_BLAS_TRUE}" && test -z "${COIN_BUILD_BLAS_FALSE}"; then
    26685   { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_BLAS\" was never defined.
    26686 Usually this means the macro was only invoked conditionally." >&5
    26687 echo "$as_me: error: conditional \"COIN_BUILD_BLAS\" was never defined.
     24613echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
    2668824614Usually this means the macro was only invoked conditionally." >&2;}
    2668924615   { (exit 1); exit 1; }; }
     
    2733725263s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2733825264s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
    27339 s,@COIN_BUILD_BLAS_TRUE@,$COIN_BUILD_BLAS_TRUE,;t t
    27340 s,@COIN_BUILD_BLAS_FALSE@,$COIN_BUILD_BLAS_FALSE,;t t
    2734125265s,@MUMPSDIR@,$MUMPSDIR,;t t
    2734225266s,@MUMPSOBJDIR@,$MUMPSOBJDIR,;t t
  • ThirdParty/Mumps/branches/split/configure.ac

    r1469 r1508  
    9898AC_COIN_HAS_MODULE_BLAS
    9999AC_COIN_HAS_MODULE(Metis, [coinmetis >= 4.0])
    100 
    101 #Fallback if pkgconfig not available or projects do not have .pc files
    102 if test "$coin_has_blas" != yes ; then
    103   AC_COIN_HAS_BLAS
    104 else
    105   #to make configure happy, since COIN_BUILD_BLAS is defined by AC_COIN_HAS_BLAS
    106   AM_CONDITIONAL([COIN_BUILD_BLAS],[test "$coin_has_blas" = yes])
    107 fi
    108 
    109 if test "$coin_has_metis" != yes ; then
    110   AC_COIN_HAS_METIS
    111 fi
     100AC_COIN_HAS_MODULE_FALLBACK(Metis, [coinmetis], [../Metis])
    112101
    113102if test "$coin_has_metis" = yes; then
Note: See TracChangeset for help on using the changeset viewer.