Changeset 579


Ignore:
Timestamp:
Aug 24, 2007 10:12:32 PM (13 years ago)
Author:
andreasw
Message:

using coin.m4 macros to test for HSL files

Location:
ThirdParty/HSL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/trunk/configure

    r523 r579  
    2018220182
    2018320183
    20184 
    2018520184if test -r $srcdir/ma27ad.f; then
    2018620185  hsl_files="$hsl_files ma27ad.f"
    20187   coin_has_ma27ad=yes
     20186                     coin_has_ma27ad=yes
     20187  :
    2018820188else
    2018920189  coin_has_ma27ad=no
    20190 fi
     20190  :
     20191fi
     20192
    2019120193
    2019220194
     
    2021320215  fi
    2021420216fi
    20215 
    2021620217if test -r $srcdir/mc19ad.f; then
    2021720218  hsl_files="$hsl_files mc19ad.f"
    20218   coin_has_mc19ad=yes
     20219                     coin_has_mc19ad=yes
     20220  :
    2021920221else
    2022020222  coin_has_mc19ad=no
    20221 fi
     20223  :
     20224fi
     20225
    2022220226
    2022320227
     
    2023020234fi
    2023120235
    20232 
    2023320236if test -r $srcdir/ma57ad.f; then
    2023420237  hsl_files="$hsl_files ma57ad.f"
    20235   coin_has_ma57ad=yes
     20238                     coin_has_ma57ad=yes
     20239  :
    2023620240else
    2023720241  coin_has_ma57ad=no
    20238 fi
     20242  :
     20243fi
     20244
    2023920245
    2024020246
     
    2024720253fi
    2024820254
    20249 
    2025020255if test -r $srcdir/ma28ad.f; then
    2025120256  hsl_files="$hsl_files ma28ad.f"
    20252   coin_has_ma28ad=yes
     20257                     coin_has_ma28ad=yes
     20258  :
    2025320259else
    2025420260  coin_has_ma28ad=no
    20255 fi
     20261  :
     20262fi
     20263
    2025620264
    2025720265
  • ThirdParty/HSL/trunk/configure.ac

    r523 r579  
    6666
    6767AC_DEFUN([MY_CHECK_HSLFILE],
    68 [
    69 if test -r $srcdir/$1.f; then
    70   hsl_files="$hsl_files $1.f"
    71   coin_has_$1=yes
    72 else
    73   coin_has_$1=no
    74 fi
     68[AC_COIN_CHECK_FILE([$srcdir/$1.f],
     69                    [hsl_files="$hsl_files $1.f"
     70                     coin_has_$1=yes],
     71                    [coin_has_$1=no])
    7572AM_CONDITIONAL([COIN_HAS_$2],[test $coin_has_$1 = yes])])
    7673
Note: See TracChangeset for help on using the changeset viewer.