Changeset 1600


Ignore:
Timestamp:
Jul 10, 2010 10:34:19 AM (9 years ago)
Author:
stefan
Message:

correct RPATH_FLAGS (forgot coin); add cludge to COIN_MAIN_PROJECTDIR to recognize --with-blas and --with-lapack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r1594 r1600  
    18071807  # set RPATH_FLAGS to the compiler link flags required to hardcode location
    18081808  # of the shared objects
    1809   AC_COIN_RPATH_FLAGS([$abs_lib_dir $abs_lib_dir/ThirdParty])
     1809  AC_COIN_RPATH_FLAGS([$abs_lib_dir/coin $abs_lib_dir/coin/ThirdParty])
    18101810
    18111811else
     
    36533653    [m4_tolower(coin_has_$1)=installed],
    36543654    [])
     3655
     3656  m4_if(m4_tolower($1), blas, [
     3657    #--with-blas can overwrite --with-blas-lib, and can be set to BUILD to enforce building blas
     3658    AC_ARG_WITH([blas],
     3659      AC_HELP_STRING([--with-blas], [specify BLAS library (or BUILD for compilation)]),
     3660        [if test x$withval = "xBUILD" ; then
     3661           coin_has_blas=notGiven
     3662         else
     3663           coin_has_blas=installed
     3664         fi],
     3665        [])])
     3666
     3667  m4_if(m4_tolower($1), lapack, [
     3668    #--with-lapack can overwrite --with-lapack-lib, and can be set to BUILD to enforce building lapack
     3669    AC_ARG_WITH([lapack],
     3670      AC_HELP_STRING([--with-lapack], [specify LAPACK library (or BUILD for compilation)]),
     3671        [if test x$withval = "xBUILD" ; then
     3672           coin_has_lapack=notGiven
     3673         else
     3674           coin_has_lapack=installed
     3675         fi],
     3676        [])])
     3677
    36553678fi
    36563679
Note: See TracChangeset for help on using the changeset viewer.