Changeset 4112


Ignore:
Timestamp:
Jan 31, 2020 9:44:33 AM (2 months ago)
Author:
stefan
Message:

sync with trunk

Location:
ThirdParty/HSL/stable/2.0
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/stable/2.0

  • ThirdParty/HSL/stable/2.0/Makefile.in

    r4023 r4112  
    280280AM_RECURSIVE_TARGETS = cscope
    281281ACLOCAL = @ACLOCAL@
     282ADD_CFLAGS = @ADD_CFLAGS@
     283ADD_FCFLAGS = @ADD_FCFLAGS@
     284ADD_FFLAGS = @ADD_FFLAGS@
    282285AMTAR = @AMTAR@
    283286AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  • ThirdParty/HSL/stable/2.0/coinhsl.pc.in

    r4023 r4112  
    1 prefix=@prefix@
     1@COIN_RELOCATABLE_FALSE@prefix=@prefix@
     2@COIN_RELOCATABLE_TRUE@prefix=${pcfiledir}/../..
    23exec_prefix=@exec_prefix@
    34libdir=@libdir@
  • ThirdParty/HSL/stable/2.0/configure

    r4030 r4112  
    651651COIN_HAS_LAPACK_FALSE
    652652COIN_HAS_LAPACK_TRUE
    653 COIN_PKG_CONFIG_PATH
    654 COIN_HAS_PKGCONFIG_FALSE
    655 COIN_HAS_PKGCONFIG_TRUE
    656 ac_ct_PKG_CONFIG
    657 PKG_CONFIG
    658653HSL_PCFILES
    659654HSL_LFLAGS
     
    677672COIN_HAS_MC19_FALSE
    678673COIN_HAS_MC19_TRUE
     674COIN_PKG_CONFIG_PATH
     675COIN_HAS_PKGCONFIG_FALSE
     676COIN_HAS_PKGCONFIG_TRUE
     677ac_ct_PKG_CONFIG
     678PKG_CONFIG
    679679LT_LDFLAGS
    680680CPP
     
    701701SED
    702702LIBTOOL
     703ADD_FCFLAGS
    703704ac_ct_FC
    704705FCFLAGS
    705706FC
    706707FLIBS
     708ADD_FFLAGS
    707709COIN_HAS_F77_FALSE
    708710COIN_HAS_F77_TRUE
     
    710712FFLAGS
    711713F77
     714ADD_CFLAGS
    712715am__fastdepCC_FALSE
    713716am__fastdepCC_TRUE
     
    725728LDFLAGS
    726729CFLAGS
     730COIN_RELOCATABLE_FALSE
     731COIN_RELOCATABLE_TRUE
    727732MAINT
    728733MAINTAINER_MODE_FALSE
     
    812817enable_silent_rules
    813818enable_maintainer_mode
     819enable_relocatable
    814820enable_dependency_tracking
    815821enable_f77
     
    838844LIBS
    839845CPPFLAGS
     846ADD_CFLAGS
    840847F77
    841848FFLAGS
     849ADD_FFLAGS
    842850FC
    843851FCFLAGS
     852ADD_FCFLAGS
    844853LT_SYS_LIBRARY_PATH
    845854CPP
     855LT_LDFLAGS
    846856PKG_CONFIG'
    847857
     
    14721482                          enable make rules and dependencies not useful (and
    14731483                          sometimes confusing) to the casual installer
     1484  --enable-relocatable    whether prefix in installed .pc files should be
     1485                          setup relative to pcfiledir
    14741486  --enable-dependency-tracking
    14751487                          do not reject slow dependency extractors
     
    15231535  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    15241536              you have headers in a nonstandard directory <include dir>
     1537  ADD_CFLAGS  Additional C compiler options (if not overwriting CFLAGS)
    15251538  F77         Fortran 77 compiler command
    15261539  FFLAGS      Fortran 77 compiler flags
     1540  ADD_FFLAGS  Additional Fortran 77 compiler options (if not overwriting
     1541              FFLAGS)
    15271542  FC          Fortran compiler command
    15281543  FCFLAGS     Fortran compiler flags
     1544  ADD_FCFLAGS Additional Fortran compiler options (if not overwriting FCFLAGS)
    15291545  LT_SYS_LIBRARY_PATH
    15301546              User-defined run-time library search path.
    15311547  CPP         C preprocessor
     1548  LT_LDFLAGS  Flags passed to libtool when building libraries or executables
     1549              that are installed
    15321550  PKG_CONFIG  path to pkg-config utility
    15331551
     
    25662584  if test "$enable_debug" = yes ; then
    25672585    if test "$enable_msvc" = yes ; then
    2568       : ${FFLAGS:="-nologo -fpp -Z7 -MDd"}
    2569       : ${FCFLAGS:="-nologo -fpp -Z7 -MDd"}
    2570       : ${CFLAGS:="-nologo -Z7 -MDd"}
    2571       : ${CXXFLAGS:="-nologo -EHs -Z7 -MDd"}
     2586      : ${FFLAGS:="-nologo -fpp -Z7 -MDd $ADD_FFLAGS"}
     2587      : ${FCFLAGS:="-nologo -fpp -Z7 -MDd $ADD_FCFLAGS"}
     2588      : ${CFLAGS:="-nologo -Z7 -MDd $ADD_CFLAGS"}
     2589      : ${CXXFLAGS:="-nologo -EHs -Z7 -MDd $ADD_CXXFLAGS"}
    25722590      : ${AR:="lib"}
    25732591      : ${AR_FLAGS:="-nologo -out:"}
    25742592    else
    2575       : ${FFLAGS:="-g"}
    2576       : ${FCFLAGS:="-g"}
    2577       : ${CFLAGS:="-g"}
    2578       : ${CXXFLAGS:="-g"}
     2593      : ${FFLAGS:="-g $ADD_FFLAGS"}
     2594      : ${FCFLAGS:="-g $ADD_FCFLAGS"}
     2595      : ${CFLAGS:="-g $ADD_CFLAGS"}
     2596      : ${CXXFLAGS:="-g $ADD_CXXFLAGS"}
    25792597    fi
    25802598  else
    25812599    if test "$enable_msvc" = yes ; then
    2582       : ${FFLAGS:="-nologo -fpp -O2 -MD"}
    2583       : ${FCFLAGS:="-nologo -fpp -O2 -MD"}
    2584       : ${CFLAGS:="-nologo -DNDEBUG -O2 -MD"}
    2585       : ${CXXFLAGS:="-nologo -EHs -DNDEBUG -O2 -MD"}
     2600      : ${FFLAGS:="-nologo -fpp -O2 -MD $ADD_FFLAGS"}
     2601      : ${FCFLAGS:="-nologo -fpp -O2 -MD $ADD_FCFLAGS"}
     2602      : ${CFLAGS:="-nologo -DNDEBUG -O2 -MD $ADD_CFLAGS"}
     2603      : ${CXXFLAGS:="-nologo -EHs -DNDEBUG -O2 -MD $ADD_CXXFLAGS"}
    25862604      : ${AR:="lib"}
    25872605      : ${AR_FLAGS:="-nologo -out:"}
    25882606    else
    2589       : ${FFLAGS:="-O2"}
    2590       : ${FCFLAGS:="-O2"}
    2591       : ${CFLAGS:="-O2 -DNDEBUG"}
    2592       : ${CXXFLAGS:="-O2 -DNDEBUG"}
     2607      : ${FFLAGS:="-O2 $ADD_FFLAGS"}
     2608      : ${FCFLAGS:="-O2 $ADD_FCFLAGS"}
     2609      : ${CFLAGS:="-O2 -DNDEBUG $ADD_CFLAGS"}
     2610      : ${CXXFLAGS:="-O2 -DNDEBUG $ADD_CXXFLAGS"}
    25932611    fi
    25942612  fi
     
    33303348  exec_prefix=$save_exec_prefix
    33313349
     3350# add a configure flag to indicate whether .pc files should be made relocatable
     3351# off by default, as it creates libtool warnings
     3352  # Check whether --enable-relocatable was given.
     3353if test "${enable_relocatable+set}" = set; then :
     3354  enableval=$enable_relocatable; coin_enable_relocatable=$enableval
     3355else
     3356  coin_enable_relocatable=no
     3357fi
     3358
     3359   if test $coin_enable_relocatable = yes; then
     3360  COIN_RELOCATABLE_TRUE=
     3361  COIN_RELOCATABLE_FALSE='#'
     3362else
     3363  COIN_RELOCATABLE_TRUE='#'
     3364  COIN_RELOCATABLE_FALSE=
     3365fi
     3366
     3367
    33323368
    33333369#############################################################################
     
    34073443
    34083444  # If enable-msvc, then test for Intel (on Windows) and MS C compiler
    3409   # explicitly and add compile-wrapper before AC_PROG_CC, because
    3410   # the compile-wrapper work around issues when having the wrong link.exe
    3411   # in the PATH first, which would upset tests in AC_PROG_CC.
    3412   # Further, if CC unset and not set by user, then stop with error.
     3445  # explicitly and add the compile wrapper before AC_PROG_CC. The compile
     3446  # wrapper works around issues related to finding MS link.exe. (Unix link.exe
     3447  # occurs first in PATH, which causes compile and link checks to fail.) For
     3448  # the same reason, set LD to use the compile wrapper. If CC remains unset
     3449  # (neither icl or cl was found, and CC was not set by the user), stop with
     3450  # an error.
     3451
    34133452  if test $enable_msvc = yes ; then
    34143453    for ac_prog in icl cl
     
    34563495    if test -n "$CC" ; then
    34573496      CC="$am_aux_dir/compile $CC"
     3497      ac_cv_prog_CC="$CC"
     3498      LD="$CC"
    34583499    else
    34593500      as_fn_error $? "Neither MS nor Intel C compiler found in PATH and CC is unset." "$LINENO" 5
     
    34613502  fi
    34623503
    3463   # look for some C compiler and check whether it works
    3464   # if user has set CC or we found icl/cl above, this shouldn't overwrite CC
    3465   # other than CXX of F77, this macro also takes care of adding the compile-wrapper
     3504  # Look for some C compiler and check that it works. If the user has set CC
     3505  # or we found icl/cl above, this shouldn't overwrite CC. Unlike the macros
     3506  # that establish C++ or Fortran compilers, PROG_CC also takes care of adding
     3507  # the compile wrapper if needed.
     3508
    34663509  ac_ext=c
    34673510ac_cpp='$CPP $CPPFLAGS'
     
    42494292
    42504293
     4294  # Declare precious variable for additional compiler flags
     4295
     4296
    42514297
    42524298# Get the name of the Fortran 77 compiler and appropriate compiler options
     
    42684314  else
    42694315    # If enable-msvc, then test for Intel Fortran compiler for Windows
    4270     # explicitly and add compile-wrapper before AC_PROG_F77, because
    4271     # the compile-wrapper work around issues when having the wrong link.exe
    4272     # in the PATH first, which could upset tests in AC_PROG_F77.
     4316    # explicitly and add the compile wrapper before AC_PROG_F77. The compile
     4317    # wrapper works around issues related to finding MS link.exe. (Unix
     4318    # link.exe occurs first in PATH, which causes compile and link checks to
     4319    # fail.) For the same reason, set LD to use the compile wrapper.
    42734320    if test $enable_msvc = yes ; then
    42744321      for ac_prog in ifort
     
    43164363      if test -n "$F77" ; then
    43174364        F77="$am_aux_dir/compile $F77"
     4365        ac_cv_prog_F77="$F77"
     4366        LD="$F77"
    43184367      fi
    43194368    fi
    43204369
    4321     # if not msvc-enabled, then look for some Fortran compiler and check whether it works
    4322     # if F77 is set, then this only checks whether it works
     4370    # If not msvc-enabled, then look for some Fortran compiler and check
     4371    # whether it works. If F77 is set, this simply checks whether it works.
    43234372    if test $enable_msvc = no || test -n "$F77" ; then
    43244373      ac_ext=f
     
    45484597  COIN_HAS_F77_FALSE=
    45494598fi
     4599
     4600
     4601  # Declare precious variable for additional compiler flags
     4602
    45504603
    45514604  # AC_MSG_NOTICE([Leaving COIN_PROG_F77])
     
    56515704    fi
    56525705  fi
     5706
     5707  # Declare precious variable for additional compiler flags
     5708
    56535709
    56545710
     
    1982519881#    regarding those that are properly marked for dll-export in the source.
    1982619882#
    19827 # Patch libtool also to circumbent some issues when using MinGW (Msys+GCC).
     19883# Patch libtool also to circumvent some issues when using MinGW (Msys+GCC).
    1982819884# 1. Relax check which libraries can be used when linking a DLL.
    1982919885#    libtool's func_mode_link() would reject linking MinGW system libraries,
     
    1984819904  esac
    1984919905
    19850   # Set up LT_LDFLAGS.
     19906  # Set up LT_LDFLAGS, user can initialize and we augment below
    1985119907
    1985219908
     
    1987019926#############################################################################
    1987119927
    19872 
    19873 
    19874 
    19875 
    19876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MC19" >&5
    19877 $as_echo_n "checking for MC19... " >&6; }
    19878 if test -r "$srcdir/coinhsl/mc19/mc19d.f" ; then
    19879 
    19880 $as_echo "#define COINHSL_HAS_MC19 1" >>confdefs.h
    19881 
    19882   coin_has_mc19=yes
    19883 else
    19884   coin_has_mc19=no
    19885 fi
    19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_mc19" >&5
    19887 $as_echo "$coin_has_mc19" >&6; }
    19888  if test $coin_has_mc19 = yes; then
    19889   COIN_HAS_MC19_TRUE=
    19890   COIN_HAS_MC19_FALSE='#'
    19891 else
    19892   COIN_HAS_MC19_TRUE='#'
    19893   COIN_HAS_MC19_FALSE=
    19894 fi
    19895 
    19896 
    19897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA27" >&5
    19898 $as_echo_n "checking for MA27... " >&6; }
    19899 if test -r "$srcdir/coinhsl/ma27/ma27d.f" ; then
    19900 
    19901 $as_echo "#define COINHSL_HAS_MA27 1" >>confdefs.h
    19902 
    19903   coin_has_ma27=yes
    19904 else
    19905   coin_has_ma27=no
    19906 fi
    19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_ma27" >&5
    19908 $as_echo "$coin_has_ma27" >&6; }
    19909  if test $coin_has_ma27 = yes; then
    19910   COIN_HAS_MA27_TRUE=
    19911   COIN_HAS_MA27_FALSE='#'
    19912 else
    19913   COIN_HAS_MA27_TRUE='#'
    19914   COIN_HAS_MA27_FALSE=
    19915 fi
    19916 
    19917 
    19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA28" >&5
    19919 $as_echo_n "checking for MA28... " >&6; }
    19920 if test -r "$srcdir/coinhsl/ma28/ma28d.f" ; then
    19921 
    19922 $as_echo "#define COINHSL_HAS_MA28 1" >>confdefs.h
    19923 
    19924   coin_has_ma28=yes
    19925 else
    19926   coin_has_ma28=no
    19927 fi
    19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_ma28" >&5
    19929 $as_echo "$coin_has_ma28" >&6; }
    19930  if test $coin_has_ma28 = yes; then
    19931   COIN_HAS_MA28_TRUE=
    19932   COIN_HAS_MA28_FALSE='#'
    19933 else
    19934   COIN_HAS_MA28_TRUE='#'
    19935   COIN_HAS_MA28_FALSE=
    19936 fi
    19937 
    19938 
    19939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA57" >&5
    19940 $as_echo_n "checking for MA57... " >&6; }
    19941 if test -r "$srcdir/coinhsl/ma57/ma57d.f" ; then
    19942 
    19943 $as_echo "#define COINHSL_HAS_MA57 1" >>confdefs.h
    19944 
    19945   coin_has_ma57=yes
    19946 else
    19947   coin_has_ma57=no
    19948 fi
    19949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_ma57" >&5
    19950 $as_echo "$coin_has_ma57" >&6; }
    19951  if test $coin_has_ma57 = yes; then
    19952   COIN_HAS_MA57_TRUE=
    19953   COIN_HAS_MA57_FALSE='#'
    19954 else
    19955   COIN_HAS_MA57_TRUE='#'
    19956   COIN_HAS_MA57_FALSE=
    19957 fi
    19958 
    19959 
    19960 if test -n "$FC" ; then
    19961    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA77" >&5
    19962 $as_echo_n "checking for MA77... " >&6; }
    19963    if test -r "$srcdir/coinhsl/hsl_ma77/hsl_ma77d.f90" ; then
    19964 
    19965 $as_echo "#define COINHSL_HAS_MA77 1" >>confdefs.h
    19966 
    19967      coin_has_hsl_ma77=yes
    19968    else
    19969      coin_has_hsl_ma77=no
    19970    fi
    19971    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_ma77" >&5
    19972 $as_echo "$coin_has_hsl_ma77" >&6; }
    19973 else
    19974   coin_has_hsl_ma77=no
    19975 fi
    19976  if test $coin_has_hsl_ma77 = yes; then
    19977   COIN_HAS_HSL_MA77_TRUE=
    19978   COIN_HAS_HSL_MA77_FALSE='#'
    19979 else
    19980   COIN_HAS_HSL_MA77_TRUE='#'
    19981   COIN_HAS_HSL_MA77_FALSE=
    19982 fi
    19983 
    19984 
    19985 if test -n "$FC" ; then
    19986    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA86" >&5
    19987 $as_echo_n "checking for MA86... " >&6; }
    19988    if test -r "$srcdir/coinhsl/hsl_ma86/hsl_ma86d.f90" ; then
    19989 
    19990 $as_echo "#define COINHSL_HAS_MA86 1" >>confdefs.h
    19991 
    19992      coin_has_hsl_ma86=yes
    19993    else
    19994      coin_has_hsl_ma86=no
    19995    fi
    19996    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_ma86" >&5
    19997 $as_echo "$coin_has_hsl_ma86" >&6; }
    19998 else
    19999   coin_has_hsl_ma86=no
    20000 fi
    20001  if test $coin_has_hsl_ma86 = yes; then
    20002   COIN_HAS_HSL_MA86_TRUE=
    20003   COIN_HAS_HSL_MA86_FALSE='#'
    20004 else
    20005   COIN_HAS_HSL_MA86_TRUE='#'
    20006   COIN_HAS_HSL_MA86_FALSE=
    20007 fi
    20008 
    20009 
    20010 if test -n "$FC" ; then
    20011    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA97" >&5
    20012 $as_echo_n "checking for MA97... " >&6; }
    20013    if test -r "$srcdir/coinhsl/hsl_ma97/hsl_ma97d.f90" ; then
    20014 
    20015 $as_echo "#define COINHSL_HAS_MA97 1" >>confdefs.h
    20016 
    20017      coin_has_hsl_ma97=yes
    20018    else
    20019      coin_has_hsl_ma97=no
    20020    fi
    20021    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_ma97" >&5
    20022 $as_echo "$coin_has_hsl_ma97" >&6; }
    20023 else
    20024   coin_has_hsl_ma97=no
    20025 fi
    20026  if test $coin_has_hsl_ma97 = yes; then
    20027   COIN_HAS_HSL_MA97_TRUE=
    20028   COIN_HAS_HSL_MA97_FALSE='#'
    20029 else
    20030   COIN_HAS_HSL_MA97_TRUE='#'
    20031   COIN_HAS_HSL_MA97_FALSE=
    20032 fi
    20033 
    20034 
    20035 
    20036 coin_has_hsl_mc68=no
    20037 if test -n "$F90"; then
    20038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C interface to MC68" >&5
    20039 $as_echo_n "checking for C interface to MC68... " >&6; }
    20040   if test -r "$srcdir/coinhsl/hsl_mc68/C/hsl_mc68i_ciface.f90" ; then
    20041 
    20042 $as_echo "#define COINHSL_HAS_MC68 1" >>confdefs.h
    20043 
    20044     coin_has_hsl_mc68=yes
    20045   fi
    20046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_mc68" >&5
    20047 $as_echo "$coin_has_hsl_mc68" >&6; }
    20048 fi
    20049  if test $coin_has_hsl_mc68 = yes; then
    20050   COIN_HAS_HSL_MC68_TRUE=
    20051   COIN_HAS_HSL_MC68_FALSE='#'
    20052 else
    20053   COIN_HAS_HSL_MC68_TRUE='#'
    20054   COIN_HAS_HSL_MC68_FALSE=
    20055 fi
    20056 
    20057 
    20058 # the F90 codes depend on deps90.f90
    20059 coin_has_depsf90=no
    20060 if test $coin_has_hsl_mc68$coin_has_hsl_ma77$coin_has_hsl_ma86$coin_has_hsl_ma97 != nononono ; then
    20061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deps90.f90" >&5
    20062 $as_echo_n "checking for deps90.f90... " >&6; }
    20063   if test -r "$srcdir/coinhsl/common/deps90.f90" ; then
    20064     coin_has_depsf90=yes
    20065   fi
    20066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_depsf90" >&5
    20067 $as_echo "$coin_has_depsf90" >&6; }
    20068   if test $coin_has_depsf90 = no; then
    20069     as_fn_error $? "Required file common/deps90.f90 not found" "$LINENO" 5
    20070   fi
    20071 fi
    20072  if test $coin_has_depsf90 = yes; then
    20073   COIN_HAS_DEPSF90_TRUE=
    20074   COIN_HAS_DEPSF90_FALSE='#'
    20075 else
    20076   COIN_HAS_DEPSF90_TRUE='#'
    20077   COIN_HAS_DEPSF90_FALSE=
    20078 fi
    20079 
    20080 
    20081 # MA57, MA77, and MA86 require BLAS, MA97 requires LAPACK
    20082 if test $coin_has_ma57$coin_has_hsl_ma77$coin_has_hsl_ma86$coin_has_hsl_ma97 != nononono ; then
     19928# do this unconditionally to make sure COIN_HAS_PKGCONFIG is also defined if no >= MA57
    2008319929
    2008419930
     
    2024320089
    2024420090
     20091
     20092
     20093
     20094
     20095
     20096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MC19" >&5
     20097$as_echo_n "checking for MC19... " >&6; }
     20098if test -r "$srcdir/coinhsl/mc19/mc19d.f" ; then
     20099
     20100$as_echo "#define COINHSL_HAS_MC19 1" >>confdefs.h
     20101
     20102  coin_has_mc19=yes
     20103else
     20104  coin_has_mc19=no
     20105fi
     20106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_mc19" >&5
     20107$as_echo "$coin_has_mc19" >&6; }
     20108 if test $coin_has_mc19 = yes; then
     20109  COIN_HAS_MC19_TRUE=
     20110  COIN_HAS_MC19_FALSE='#'
     20111else
     20112  COIN_HAS_MC19_TRUE='#'
     20113  COIN_HAS_MC19_FALSE=
     20114fi
     20115
     20116
     20117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA27" >&5
     20118$as_echo_n "checking for MA27... " >&6; }
     20119if test -r "$srcdir/coinhsl/ma27/ma27d.f" ; then
     20120
     20121$as_echo "#define COINHSL_HAS_MA27 1" >>confdefs.h
     20122
     20123  coin_has_ma27=yes
     20124else
     20125  coin_has_ma27=no
     20126fi
     20127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_ma27" >&5
     20128$as_echo "$coin_has_ma27" >&6; }
     20129 if test $coin_has_ma27 = yes; then
     20130  COIN_HAS_MA27_TRUE=
     20131  COIN_HAS_MA27_FALSE='#'
     20132else
     20133  COIN_HAS_MA27_TRUE='#'
     20134  COIN_HAS_MA27_FALSE=
     20135fi
     20136
     20137
     20138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA28" >&5
     20139$as_echo_n "checking for MA28... " >&6; }
     20140if test -r "$srcdir/coinhsl/ma28/ma28d.f" ; then
     20141
     20142$as_echo "#define COINHSL_HAS_MA28 1" >>confdefs.h
     20143
     20144  coin_has_ma28=yes
     20145else
     20146  coin_has_ma28=no
     20147fi
     20148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_ma28" >&5
     20149$as_echo "$coin_has_ma28" >&6; }
     20150 if test $coin_has_ma28 = yes; then
     20151  COIN_HAS_MA28_TRUE=
     20152  COIN_HAS_MA28_FALSE='#'
     20153else
     20154  COIN_HAS_MA28_TRUE='#'
     20155  COIN_HAS_MA28_FALSE=
     20156fi
     20157
     20158
     20159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA57" >&5
     20160$as_echo_n "checking for MA57... " >&6; }
     20161if test -r "$srcdir/coinhsl/ma57/ma57d.f" ; then
     20162
     20163$as_echo "#define COINHSL_HAS_MA57 1" >>confdefs.h
     20164
     20165  coin_has_ma57=yes
     20166else
     20167  coin_has_ma57=no
     20168fi
     20169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_ma57" >&5
     20170$as_echo "$coin_has_ma57" >&6; }
     20171 if test $coin_has_ma57 = yes; then
     20172  COIN_HAS_MA57_TRUE=
     20173  COIN_HAS_MA57_FALSE='#'
     20174else
     20175  COIN_HAS_MA57_TRUE='#'
     20176  COIN_HAS_MA57_FALSE=
     20177fi
     20178
     20179
     20180if test -n "$FC" ; then
     20181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA77" >&5
     20182$as_echo_n "checking for MA77... " >&6; }
     20183   if test -r "$srcdir/coinhsl/hsl_ma77/hsl_ma77d.f90" ; then
     20184
     20185$as_echo "#define COINHSL_HAS_MA77 1" >>confdefs.h
     20186
     20187     coin_has_hsl_ma77=yes
     20188   else
     20189     coin_has_hsl_ma77=no
     20190   fi
     20191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_ma77" >&5
     20192$as_echo "$coin_has_hsl_ma77" >&6; }
     20193else
     20194  coin_has_hsl_ma77=no
     20195fi
     20196 if test $coin_has_hsl_ma77 = yes; then
     20197  COIN_HAS_HSL_MA77_TRUE=
     20198  COIN_HAS_HSL_MA77_FALSE='#'
     20199else
     20200  COIN_HAS_HSL_MA77_TRUE='#'
     20201  COIN_HAS_HSL_MA77_FALSE=
     20202fi
     20203
     20204
     20205if test -n "$FC" ; then
     20206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA86" >&5
     20207$as_echo_n "checking for MA86... " >&6; }
     20208   if test -r "$srcdir/coinhsl/hsl_ma86/hsl_ma86d.f90" ; then
     20209
     20210$as_echo "#define COINHSL_HAS_MA86 1" >>confdefs.h
     20211
     20212     coin_has_hsl_ma86=yes
     20213   else
     20214     coin_has_hsl_ma86=no
     20215   fi
     20216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_ma86" >&5
     20217$as_echo "$coin_has_hsl_ma86" >&6; }
     20218else
     20219  coin_has_hsl_ma86=no
     20220fi
     20221 if test $coin_has_hsl_ma86 = yes; then
     20222  COIN_HAS_HSL_MA86_TRUE=
     20223  COIN_HAS_HSL_MA86_FALSE='#'
     20224else
     20225  COIN_HAS_HSL_MA86_TRUE='#'
     20226  COIN_HAS_HSL_MA86_FALSE=
     20227fi
     20228
     20229
     20230if test -n "$FC" ; then
     20231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MA97" >&5
     20232$as_echo_n "checking for MA97... " >&6; }
     20233   if test -r "$srcdir/coinhsl/hsl_ma97/hsl_ma97d.f90" ; then
     20234
     20235$as_echo "#define COINHSL_HAS_MA97 1" >>confdefs.h
     20236
     20237     coin_has_hsl_ma97=yes
     20238   else
     20239     coin_has_hsl_ma97=no
     20240   fi
     20241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_ma97" >&5
     20242$as_echo "$coin_has_hsl_ma97" >&6; }
     20243else
     20244  coin_has_hsl_ma97=no
     20245fi
     20246 if test $coin_has_hsl_ma97 = yes; then
     20247  COIN_HAS_HSL_MA97_TRUE=
     20248  COIN_HAS_HSL_MA97_FALSE='#'
     20249else
     20250  COIN_HAS_HSL_MA97_TRUE='#'
     20251  COIN_HAS_HSL_MA97_FALSE=
     20252fi
     20253
     20254
     20255
     20256coin_has_hsl_mc68=no
     20257if test -n "$F90"; then
     20258  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C interface to MC68" >&5
     20259$as_echo_n "checking for C interface to MC68... " >&6; }
     20260  if test -r "$srcdir/coinhsl/hsl_mc68/C/hsl_mc68i_ciface.f90" ; then
     20261
     20262$as_echo "#define COINHSL_HAS_MC68 1" >>confdefs.h
     20263
     20264    coin_has_hsl_mc68=yes
     20265  fi
     20266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_hsl_mc68" >&5
     20267$as_echo "$coin_has_hsl_mc68" >&6; }
     20268fi
     20269 if test $coin_has_hsl_mc68 = yes; then
     20270  COIN_HAS_HSL_MC68_TRUE=
     20271  COIN_HAS_HSL_MC68_FALSE='#'
     20272else
     20273  COIN_HAS_HSL_MC68_TRUE='#'
     20274  COIN_HAS_HSL_MC68_FALSE=
     20275fi
     20276
     20277
     20278# the F90 codes depend on deps90.f90
     20279coin_has_depsf90=no
     20280if test $coin_has_hsl_mc68$coin_has_hsl_ma77$coin_has_hsl_ma86$coin_has_hsl_ma97 != nononono ; then
     20281  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deps90.f90" >&5
     20282$as_echo_n "checking for deps90.f90... " >&6; }
     20283  if test -r "$srcdir/coinhsl/common/deps90.f90" ; then
     20284    coin_has_depsf90=yes
     20285  fi
     20286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coin_has_depsf90" >&5
     20287$as_echo "$coin_has_depsf90" >&6; }
     20288  if test $coin_has_depsf90 = no; then
     20289    as_fn_error $? "Required file common/deps90.f90 not found" "$LINENO" 5
     20290  fi
     20291fi
     20292 if test $coin_has_depsf90 = yes; then
     20293  COIN_HAS_DEPSF90_TRUE=
     20294  COIN_HAS_DEPSF90_FALSE='#'
     20295else
     20296  COIN_HAS_DEPSF90_TRUE='#'
     20297  COIN_HAS_DEPSF90_FALSE=
     20298fi
     20299
     20300
     20301# MA57, MA77, and MA86 require BLAS, MA97 requires LAPACK
     20302if test $coin_has_ma57$coin_has_hsl_ma77$coin_has_hsl_ma86$coin_has_hsl_ma97 != nononono ; then
    2024520303
    2024620304# Make sure the necessary variables exist for each client package.
     
    2189721955Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2189821956fi
     21957if test -z "${COIN_RELOCATABLE_TRUE}" && test -z "${COIN_RELOCATABLE_FALSE}"; then
     21958  as_fn_error $? "conditional \"COIN_RELOCATABLE\" was never defined.
     21959Usually this means the macro was only invoked conditionally." "$LINENO" 5
     21960fi
    2189921961if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    2190021962  as_fn_error $? "conditional \"AMDEP\" was never defined.
     
    2190921971Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2191021972fi
     21973if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
     21974  as_fn_error $? "conditional \"COIN_HAS_PKGCONFIG\" was never defined.
     21975Usually this means the macro was only invoked conditionally." "$LINENO" 5
     21976fi
    2191121977if test -z "${COIN_HAS_MC19_TRUE}" && test -z "${COIN_HAS_MC19_FALSE}"; then
    2191221978  as_fn_error $? "conditional \"COIN_HAS_MC19\" was never defined.
     
    2194322009if test -z "${COIN_HAS_DEPSF90_TRUE}" && test -z "${COIN_HAS_DEPSF90_FALSE}"; then
    2194422010  as_fn_error $? "conditional \"COIN_HAS_DEPSF90\" was never defined.
    21945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    21946 fi
    21947 if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
    21948   as_fn_error $? "conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2194922011Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2195022012fi
  • ThirdParty/HSL/stable/2.0/configure.ac

    r4030 r4112  
    5151#                    Find out which files are available                     #
    5252#############################################################################
     53
     54# do this unconditionally to make sure COIN_HAS_PKGCONFIG is also defined if no >= MA57
     55AC_COIN_HAS_PKGCONFIG
    5356
    5457AC_DEFUN([MY_CHECK_HSLFILE],
Note: See TracChangeset for help on using the changeset viewer.