Changeset 901 for ThirdParty/Blas


Ignore:
Timestamp:
Jan 5, 2008 7:43:43 PM (12 years ago)
Author:
andreasw
Message:

allow Intel icl compiler; look for MKL

Location:
ThirdParty/Blas/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/trunk/Makefile.in

    r871 r901  
    1919# This file is distributed under the Common Public License.
    2020
    21 # Copyright (C) 2006 International Business Machines and others.
     21# Copyright (C) 2006, 2007 International Business Machines and others.
    2222# All Rights Reserved.
    2323# This file is distributed under the Common Public License.
     
    292292DISTCLEANFILES = $(MAKEOKFILE) $(am__append_2) $(VPATH_DISTCLEANFILES)
    293293DocFiles = README AUTHORS LICENSE
    294 DocInstallDir = $(prefix)/share/doc/$(PACKAGE_NAME)
     294DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
    295295all: all-am
    296296
     
    638638
    639639
    640 install-doc:
     640install-doc: $(DocFiles)
    641641        test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
    642642        for file in $(DocFiles); do \
  • ThirdParty/Blas/trunk/configure

    r803 r901  
    10751075  --enable-doscompile     Under Cygwin, compile so that executables run under
    10761076                          DOS. Set to mingw to use gcc/g++/ld with
    1077                           -mno-cygwin. Set to msvc to use cl/link. Default
    1078                           when mentioned: mingw. Default when not mentioned:
    1079                           disabled.
     1077                          -mno-cygwin. Set to msvc to use cl/link (or
     1078                          icl/link). Default when mentioned: mingw. Default
     1079                          when not mentioned: disabled.
    10801080  --enable-static[=PKGS]
    10811081                          build static libraries [default=no]
     
    18471847if test x"$CXX" != x; then
    18481848  case "$CXX" in
    1849     cl* | */cl* | CL* | */CL*)
     1849    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    18501850      if test x"$CC" = x; then
    18511851        CC="$CXX"
     
    18741874  *-cygwin* | *-mingw*)
    18751875             if test "$enable_doscompile" = msvc ; then
    1876                comps="cl"
     1876               comps="icl cl"
    18771877             else
    18781878               comps="gcc cl"
     
    27592759            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    27602760            coin_dbg_cflags='-MTd'
     2761            ;;
     2762          icl* | */icl* | ICL* | */ICL*)
     2763            coin_opt_cflags='-MT -Ox'
     2764            coin_add_cflags='-nologo -D_CRT_SECURE_NO_DEPRECATE'
     2765            coin_dbg_cflags='-MTd -debug'
    27612766            ;;
    27622767        esac
     
    30663071# Correct ADDLIBS initialization if we are using the MS compiler
    30673072case "$CC" in
    3068   cl* | */cl* | CL* | */CL*)
     3073  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    30693074    ADDLIBS=
    30703075    case $build in
     
    32733278
    32743279# Provide some information about the compiler.
    3275 echo "$as_me:3275:" \
     3280echo "$as_me:3280:" \
    32763281     "checking for Fortran 77 compiler version" >&5
    32773282ac_compiler=`set X $ac_compile; echo $2`
     
    54125417*-*-irix6*)
    54135418  # Find out which ABI we are using.
    5414   echo '#line 5414 "configure"' > conftest.$ac_ext
     5419  echo '#line 5419 "configure"' > conftest.$ac_ext
    54155420  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    54165421  (eval $ac_compile) 2>&5
     
    78417846   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78427847   -e 's:$: $lt_compiler_flag:'`
    7843    (eval echo "\"\$as_me:7843: $lt_compile\"" >&5)
     7848   (eval echo "\"\$as_me:7848: $lt_compile\"" >&5)
    78447849   (eval "$lt_compile" 2>conftest.err)
    78457850   ac_status=$?
    78467851   cat conftest.err >&5
    7847    echo "$as_me:7847: \$? = $ac_status" >&5
     7852   echo "$as_me:7852: \$? = $ac_status" >&5
    78487853   if (exit $ac_status) && test -s "$ac_outfile"; then
    78497854     # The compiler can only warn and ignore the option if not recognized
     
    81098114   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81108115   -e 's:$: $lt_compiler_flag:'`
    8111    (eval echo "\"\$as_me:8111: $lt_compile\"" >&5)
     8116   (eval echo "\"\$as_me:8116: $lt_compile\"" >&5)
    81128117   (eval "$lt_compile" 2>conftest.err)
    81138118   ac_status=$?
    81148119   cat conftest.err >&5
    8115    echo "$as_me:8115: \$? = $ac_status" >&5
     8120   echo "$as_me:8120: \$? = $ac_status" >&5
    81168121   if (exit $ac_status) && test -s "$ac_outfile"; then
    81178122     # The compiler can only warn and ignore the option if not recognized
     
    82138218   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82148219   -e 's:$: $lt_compiler_flag:'`
    8215    (eval echo "\"\$as_me:8215: $lt_compile\"" >&5)
     8220   (eval echo "\"\$as_me:8220: $lt_compile\"" >&5)
    82168221   (eval "$lt_compile" 2>out/conftest.err)
    82178222   ac_status=$?
    82188223   cat out/conftest.err >&5
    8219    echo "$as_me:8219: \$? = $ac_status" >&5
     8224   echo "$as_me:8224: \$? = $ac_status" >&5
    82208225   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    82218226   then
     
    1055810563  lt_status=$lt_dlunknown
    1055910564  cat > conftest.$ac_ext <<EOF
    10560 #line 10560 "configure"
     10565#line 10565 "configure"
    1056110566#include "confdefs.h"
    1056210567
     
    1065810663  lt_status=$lt_dlunknown
    1065910664  cat > conftest.$ac_ext <<EOF
    10660 #line 10660 "configure"
     10665#line 10665 "configure"
    1066110666#include "confdefs.h"
    1066210667
     
    1300213007   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1300313008   -e 's:$: $lt_compiler_flag:'`
    13004    (eval echo "\"\$as_me:13004: $lt_compile\"" >&5)
     13009   (eval echo "\"\$as_me:13009: $lt_compile\"" >&5)
    1300513010   (eval "$lt_compile" 2>conftest.err)
    1300613011   ac_status=$?
    1300713012   cat conftest.err >&5
    13008    echo "$as_me:13008: \$? = $ac_status" >&5
     13013   echo "$as_me:13013: \$? = $ac_status" >&5
    1300913014   if (exit $ac_status) && test -s "$ac_outfile"; then
    1301013015     # The compiler can only warn and ignore the option if not recognized
     
    1310613111   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1310713112   -e 's:$: $lt_compiler_flag:'`
    13108    (eval echo "\"\$as_me:13108: $lt_compile\"" >&5)
     13113   (eval echo "\"\$as_me:13113: $lt_compile\"" >&5)
    1310913114   (eval "$lt_compile" 2>out/conftest.err)
    1311013115   ac_status=$?
    1311113116   cat out/conftest.err >&5
    13112    echo "$as_me:13112: \$? = $ac_status" >&5
     13117   echo "$as_me:13117: \$? = $ac_status" >&5
    1311313118   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1311413119   then
     
    1467614681   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1467714682   -e 's:$: $lt_compiler_flag:'`
    14678    (eval echo "\"\$as_me:14678: $lt_compile\"" >&5)
     14683   (eval echo "\"\$as_me:14683: $lt_compile\"" >&5)
    1467914684   (eval "$lt_compile" 2>conftest.err)
    1468014685   ac_status=$?
    1468114686   cat conftest.err >&5
    14682    echo "$as_me:14682: \$? = $ac_status" >&5
     14687   echo "$as_me:14687: \$? = $ac_status" >&5
    1468314688   if (exit $ac_status) && test -s "$ac_outfile"; then
    1468414689     # The compiler can only warn and ignore the option if not recognized
     
    1478014785   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1478114786   -e 's:$: $lt_compiler_flag:'`
    14782    (eval echo "\"\$as_me:14782: $lt_compile\"" >&5)
     14787   (eval echo "\"\$as_me:14787: $lt_compile\"" >&5)
    1478314788   (eval "$lt_compile" 2>out/conftest.err)
    1478414789   ac_status=$?
    1478514790   cat out/conftest.err >&5
    14786    echo "$as_me:14786: \$? = $ac_status" >&5
     14791   echo "$as_me:14791: \$? = $ac_status" >&5
    1478714792   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1478814793   then
     
    1698716992   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1698816993   -e 's:$: $lt_compiler_flag:'`
    16989    (eval echo "\"\$as_me:16989: $lt_compile\"" >&5)
     16994   (eval echo "\"\$as_me:16994: $lt_compile\"" >&5)
    1699016995   (eval "$lt_compile" 2>conftest.err)
    1699116996   ac_status=$?
    1699216997   cat conftest.err >&5
    16993    echo "$as_me:16993: \$? = $ac_status" >&5
     16998   echo "$as_me:16998: \$? = $ac_status" >&5
    1699416999   if (exit $ac_status) && test -s "$ac_outfile"; then
    1699517000     # The compiler can only warn and ignore the option if not recognized
     
    1725517260   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1725617261   -e 's:$: $lt_compiler_flag:'`
    17257    (eval echo "\"\$as_me:17257: $lt_compile\"" >&5)
     17262   (eval echo "\"\$as_me:17262: $lt_compile\"" >&5)
    1725817263   (eval "$lt_compile" 2>conftest.err)
    1725917264   ac_status=$?
    1726017265   cat conftest.err >&5
    17261    echo "$as_me:17261: \$? = $ac_status" >&5
     17266   echo "$as_me:17266: \$? = $ac_status" >&5
    1726217267   if (exit $ac_status) && test -s "$ac_outfile"; then
    1726317268     # The compiler can only warn and ignore the option if not recognized
     
    1735917364   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1736017365   -e 's:$: $lt_compiler_flag:'`
    17361    (eval echo "\"\$as_me:17361: $lt_compile\"" >&5)
     17366   (eval echo "\"\$as_me:17366: $lt_compile\"" >&5)
    1736217367   (eval "$lt_compile" 2>out/conftest.err)
    1736317368   ac_status=$?
    1736417369   cat out/conftest.err >&5
    17365    echo "$as_me:17365: \$? = $ac_status" >&5
     17370   echo "$as_me:17370: \$? = $ac_status" >&5
    1736617371   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1736717372   then
     
    2009920104    *-cygwin* | *-mingw*)
    2010020105       case "$CXX" in
    20101     cl* | */cl* | CL* | */CL*)
     20106    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    2010220107      { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5
    2010320108echo "$as_me: Applying patches to libtool for cl compiler" >&6;}
     
    2029920304ac_save_FFLAGS=$FFLAGS
    2030020305FFLAGS="$FFLAGS $ac_verb"
    20301 (eval echo $as_me:20301: \"$ac_link\") >&5
     20306(eval echo $as_me:20306: \"$ac_link\") >&5
    2030220307ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2030320308echo "$ac_f77_v_output" >&5
     
    2037720382ac_save_FFLAGS=$FFLAGS
    2037820383FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    20379 (eval echo $as_me:20379: \"$ac_link\") >&5
     20384(eval echo $as_me:20384: \"$ac_link\") >&5
    2038020385ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2038120386echo "$ac_f77_v_output" >&5
     
    2215522160
    2215622161      ;;
     22162    *-cygwin* | *-mingw*)
    2215722163# On cygwin, consider -lblas only if doscompile is disabled. The prebuilt
    2215822164# library will want to link with cygwin, hence won't run standalone in DOS.
    22159     *-cygwin*)
    2216022165      if test "$enable_doscompile" = mingw; then
    2216122166        skip_lblas_check=yes
    2216222167      fi
     22168      case "$CC" in
     22169        cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     22170          SAVE_LIBS="$LIBS"
     22171          echo "$as_me:$LINENO: checking for BLAS in MKL" >&5
     22172echo $ECHO_N "checking for BLAS in MKL... $ECHO_C" >&6
     22173          LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS"
     22174          case $ac_ext in
     22175  f)
     22176    cat >conftest.$ac_ext <<_ACEOF
     22177/* confdefs.h.  */
     22178_ACEOF
     22179cat confdefs.h >>conftest.$ac_ext
     22180cat >>conftest.$ac_ext <<_ACEOF
     22181/* end confdefs.h.  */
     22182
     22183#ifdef F77_DUMMY_MAIN
     22184
     22185#  ifdef __cplusplus
     22186     extern "C"
     22187#  endif
     22188   int F77_DUMMY_MAIN() { return 1; }
     22189
     22190#endif
     22191int
     22192main ()
     22193{
     22194      call daxpy
     22195  ;
     22196  return 0;
     22197}
     22198_ACEOF
     22199rm -f conftest.$ac_objext conftest$ac_exeext
     22200if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22201  (eval $ac_link) 2>conftest.er1
     22202  ac_status=$?
     22203  grep -v '^ *+' conftest.er1 >conftest.err
     22204  rm -f conftest.er1
     22205  cat conftest.err >&5
     22206  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22207  (exit $ac_status); } &&
     22208         { ac_try='test -z "$ac_c_werror_flag"
     22209                         || test ! -s conftest.err'
     22210  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22211  (eval $ac_try) 2>&5
     22212  ac_status=$?
     22213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22214  (exit $ac_status); }; } &&
     22215         { ac_try='test -s conftest$ac_exeext'
     22216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22217  (eval $ac_try) 2>&5
     22218  ac_status=$?
     22219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22220  (exit $ac_status); }; }; then
     22221  echo "$as_me:$LINENO: result: yes" >&5
     22222echo "${ECHO_T}yes" >&6
     22223                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22224                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22225else
     22226  echo "$as_me: failed program was:" >&5
     22227sed 's/^/| /' conftest.$ac_ext >&5
     22228
     22229echo "$as_me:$LINENO: result: no" >&5
     22230echo "${ECHO_T}no" >&6
     22231                             LIBS="$SAVE_LIBS"
     22232fi
     22233rm -f conftest.err conftest.$ac_objext \
     22234      conftest$ac_exeext conftest.$ac_ext
     22235    ;;
     22236  c)
     22237    ac_ext=f
     22238ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22239ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22240ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22241case $ac_cv_f77_mangling in
     22242  upper*) ac_val="DAXPY" ;;
     22243  lower*) ac_val="daxpy" ;;
     22244  *)      ac_val="unknown" ;;
     22245esac
     22246case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22247
     22248cfuncdaxpy="$ac_val"
     22249
     22250ac_ext=c
     22251ac_cpp='$CPP $CPPFLAGS'
     22252ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22253ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22254ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22255
     22256    if test x"$coin_need_flibs" = xyes; then
     22257      flink_try=no;
     22258    else
     22259      cat >conftest.$ac_ext <<_ACEOF
     22260/* confdefs.h.  */
     22261_ACEOF
     22262cat confdefs.h >>conftest.$ac_ext
     22263cat >>conftest.$ac_ext <<_ACEOF
     22264/* end confdefs.h.  */
     22265void $cfuncdaxpy();
     22266#ifdef F77_DUMMY_MAIN
     22267
     22268#  ifdef __cplusplus
     22269     extern "C"
     22270#  endif
     22271   int F77_DUMMY_MAIN() { return 1; }
     22272
     22273#endif
     22274int
     22275main ()
     22276{
     22277$cfuncdaxpy()
     22278  ;
     22279  return 0;
     22280}
     22281_ACEOF
     22282rm -f conftest.$ac_objext conftest$ac_exeext
     22283if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22284  (eval $ac_link) 2>conftest.er1
     22285  ac_status=$?
     22286  grep -v '^ *+' conftest.er1 >conftest.err
     22287  rm -f conftest.er1
     22288  cat conftest.err >&5
     22289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22290  (exit $ac_status); } &&
     22291         { ac_try='test -z "$ac_c_werror_flag"
     22292                         || test ! -s conftest.err'
     22293  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22294  (eval $ac_try) 2>&5
     22295  ac_status=$?
     22296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22297  (exit $ac_status); }; } &&
     22298         { ac_try='test -s conftest$ac_exeext'
     22299  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22300  (eval $ac_try) 2>&5
     22301  ac_status=$?
     22302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22303  (exit $ac_status); }; }; then
     22304  flink_try=yes
     22305else
     22306  echo "$as_me: failed program was:" >&5
     22307sed 's/^/| /' conftest.$ac_ext >&5
     22308
     22309flink_try=no
     22310fi
     22311rm -f conftest.err conftest.$ac_objext \
     22312      conftest$ac_exeext conftest.$ac_ext
     22313    fi
     22314    if test $flink_try = yes; then
     22315      echo "$as_me:$LINENO: result: yes" >&5
     22316echo "${ECHO_T}yes" >&6
     22317                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22318                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22319    else
     22320      if test x"$FLIBS" != x; then
     22321        flink_save_libs="$LIBS"
     22322        LIBS="$LIBS $FLIBS"
     22323        cat >conftest.$ac_ext <<_ACEOF
     22324/* confdefs.h.  */
     22325_ACEOF
     22326cat confdefs.h >>conftest.$ac_ext
     22327cat >>conftest.$ac_ext <<_ACEOF
     22328/* end confdefs.h.  */
     22329void $cfuncdaxpy();
     22330#ifdef F77_DUMMY_MAIN
     22331
     22332#  ifdef __cplusplus
     22333     extern "C"
     22334#  endif
     22335   int F77_DUMMY_MAIN() { return 1; }
     22336
     22337#endif
     22338int
     22339main ()
     22340{
     22341$cfuncdaxpy()
     22342  ;
     22343  return 0;
     22344}
     22345_ACEOF
     22346rm -f conftest.$ac_objext conftest$ac_exeext
     22347if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22348  (eval $ac_link) 2>conftest.er1
     22349  ac_status=$?
     22350  grep -v '^ *+' conftest.er1 >conftest.err
     22351  rm -f conftest.er1
     22352  cat conftest.err >&5
     22353  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22354  (exit $ac_status); } &&
     22355         { ac_try='test -z "$ac_c_werror_flag"
     22356                         || test ! -s conftest.err'
     22357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22358  (eval $ac_try) 2>&5
     22359  ac_status=$?
     22360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22361  (exit $ac_status); }; } &&
     22362         { ac_try='test -s conftest$ac_exeext'
     22363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22364  (eval $ac_try) 2>&5
     22365  ac_status=$?
     22366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22367  (exit $ac_status); }; }; then
     22368  LIBS="$flink_save_libs"
     22369                     echo "$as_me:$LINENO: result: yes" >&5
     22370echo "${ECHO_T}yes" >&6
     22371                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22372                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22373                     coin_need_flibs=yes
     22374else
     22375  echo "$as_me: failed program was:" >&5
     22376sed 's/^/| /' conftest.$ac_ext >&5
     22377
     22378LIBS="$flink_save_libs"
     22379                     echo "$as_me:$LINENO: result: no" >&5
     22380echo "${ECHO_T}no" >&6
     22381                             LIBS="$SAVE_LIBS"
     22382fi
     22383rm -f conftest.err conftest.$ac_objext \
     22384      conftest$ac_exeext conftest.$ac_ext
     22385      else
     22386        echo "$as_me:$LINENO: result: no" >&5
     22387echo "${ECHO_T}no" >&6
     22388                             LIBS="$SAVE_LIBS"
     22389      fi
     22390    fi
     22391    ;;
     22392  cc|cpp)
     22393    ac_ext=f
     22394ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22395ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22396ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22397case $ac_cv_f77_mangling in
     22398  upper*) ac_val="DAXPY" ;;
     22399  lower*) ac_val="daxpy" ;;
     22400  *)      ac_val="unknown" ;;
     22401esac
     22402case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22403
     22404cfuncdaxpy="$ac_val"
     22405
     22406ac_ext=c
     22407ac_cpp='$CPP $CPPFLAGS'
     22408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22410ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22411
     22412    if test x"$coin_need_flibs" = xyes; then
     22413      flink_try=no;
     22414    else
     22415      cat >conftest.$ac_ext <<_ACEOF
     22416/* confdefs.h.  */
     22417_ACEOF
     22418cat confdefs.h >>conftest.$ac_ext
     22419cat >>conftest.$ac_ext <<_ACEOF
     22420/* end confdefs.h.  */
     22421extern "C" {void $cfuncdaxpy();}
     22422#ifdef F77_DUMMY_MAIN
     22423
     22424#  ifdef __cplusplus
     22425     extern "C"
     22426#  endif
     22427   int F77_DUMMY_MAIN() { return 1; }
     22428
     22429#endif
     22430int
     22431main ()
     22432{
     22433$cfuncdaxpy()
     22434  ;
     22435  return 0;
     22436}
     22437_ACEOF
     22438rm -f conftest.$ac_objext conftest$ac_exeext
     22439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22440  (eval $ac_link) 2>conftest.er1
     22441  ac_status=$?
     22442  grep -v '^ *+' conftest.er1 >conftest.err
     22443  rm -f conftest.er1
     22444  cat conftest.err >&5
     22445  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22446  (exit $ac_status); } &&
     22447         { ac_try='test -z "$ac_c_werror_flag"
     22448                         || test ! -s conftest.err'
     22449  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22450  (eval $ac_try) 2>&5
     22451  ac_status=$?
     22452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22453  (exit $ac_status); }; } &&
     22454         { ac_try='test -s conftest$ac_exeext'
     22455  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22456  (eval $ac_try) 2>&5
     22457  ac_status=$?
     22458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22459  (exit $ac_status); }; }; then
     22460  flink_try=yes
     22461else
     22462  echo "$as_me: failed program was:" >&5
     22463sed 's/^/| /' conftest.$ac_ext >&5
     22464
     22465flink_try=no
     22466fi
     22467rm -f conftest.err conftest.$ac_objext \
     22468      conftest$ac_exeext conftest.$ac_ext
     22469    fi
     22470    if test $flink_try = yes; then
     22471      echo "$as_me:$LINENO: result: yes" >&5
     22472echo "${ECHO_T}yes" >&6
     22473                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22474                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22475    else
     22476      if test x"$FLIBS" != x; then
     22477        flink_save_libs="$LIBS"
     22478        LIBS="$LIBS $FLIBS"
     22479        cat >conftest.$ac_ext <<_ACEOF
     22480/* confdefs.h.  */
     22481_ACEOF
     22482cat confdefs.h >>conftest.$ac_ext
     22483cat >>conftest.$ac_ext <<_ACEOF
     22484/* end confdefs.h.  */
     22485extern "C" {void $cfuncdaxpy();}
     22486#ifdef F77_DUMMY_MAIN
     22487
     22488#  ifdef __cplusplus
     22489     extern "C"
     22490#  endif
     22491   int F77_DUMMY_MAIN() { return 1; }
     22492
     22493#endif
     22494int
     22495main ()
     22496{
     22497$cfuncdaxpy()
     22498  ;
     22499  return 0;
     22500}
     22501_ACEOF
     22502rm -f conftest.$ac_objext conftest$ac_exeext
     22503if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22504  (eval $ac_link) 2>conftest.er1
     22505  ac_status=$?
     22506  grep -v '^ *+' conftest.er1 >conftest.err
     22507  rm -f conftest.er1
     22508  cat conftest.err >&5
     22509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22510  (exit $ac_status); } &&
     22511         { ac_try='test -z "$ac_c_werror_flag"
     22512                         || test ! -s conftest.err'
     22513  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22514  (eval $ac_try) 2>&5
     22515  ac_status=$?
     22516  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22517  (exit $ac_status); }; } &&
     22518         { ac_try='test -s conftest$ac_exeext'
     22519  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22520  (eval $ac_try) 2>&5
     22521  ac_status=$?
     22522  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22523  (exit $ac_status); }; }; then
     22524  LIBS="$flink_save_libs"
     22525                     echo "$as_me:$LINENO: result: yes" >&5
     22526echo "${ECHO_T}yes" >&6
     22527                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22528                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22529                     coin_need_flibs=yes
     22530else
     22531  echo "$as_me: failed program was:" >&5
     22532sed 's/^/| /' conftest.$ac_ext >&5
     22533
     22534LIBS="$flink_save_libs"
     22535                     echo "$as_me:$LINENO: result: no" >&5
     22536echo "${ECHO_T}no" >&6
     22537                             LIBS="$SAVE_LIBS"
     22538fi
     22539rm -f conftest.err conftest.$ac_objext \
     22540      conftest$ac_exeext conftest.$ac_ext
     22541      else
     22542        echo "$as_me:$LINENO: result: no" >&5
     22543echo "${ECHO_T}no" >&6
     22544                             LIBS="$SAVE_LIBS"
     22545      fi
     22546    fi
     22547    ;;
     22548esac
     22549
     22550          ;;
     22551      esac
    2216322552      ;;
    2216422553  esac
     
    2262823017fi
    2262923018case "$CC" in
    22630   cl* | */cl* | CL* | */CL*)
     23019  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    2263123020    coin_link_input_cmd=cp ;;
    2263223021esac
     
    2264623035
    2264723036  case "$CC" in
    22648     cl* | */cl* | CL* | */CL*)
     23037    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    2264923038         LIBEXT=lib ;;
    2265023039      *) LIBEXT=a ;;
Note: See TracChangeset for help on using the changeset viewer.