Changeset 2877


Ignore:
Timestamp:
Nov 15, 2012, 1:20:31 AM (9 years ago)
Author:
Peter
Message:

prepend LIBS to achieve recommended -lgsl -lcblas -lm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2876 r2877  
    205205AC_MSG_NOTICE([checking for libraries])
    206206AC_CHECK_LIBM
    207 LIBS="$LIBS $LIBM"
     207LIBS="$LIBM $LIBS"
    208208
    209209# find library implementing BLAS C API, or use gslcblas
    210210YAT_LIB_CBLAS([YAT_CBLAS_LIB=$CBLAS_LIB], [YAT_CBLAS_LIB=-lgslcblas])
    211 LIBS="$LIBS $YAT_CBLAS_LIB"
     211LIBS="$YAT_CBLAS_LIB $LIBS"
    212212
    213213# GNU Scientific Library, GSL http://www.gnu.org/software/gsl/, checks
     
    215215gsl_version="1.8"
    216216AC_SUBST(gsl_version)
    217 YAT_CHECK_GSL([$gsl_version],[LIBS="$LIBS -lgsl"],[YAT_MSG_ERROR([dnl
     217YAT_CHECK_GSL([$gsl_version],[LIBS="-lgsl $LIBS"],[YAT_MSG_ERROR([dnl
    218218GSL $gsl_version (or newer) not found. The GNU Scientific Library
    219219(GSL) library cannot be found. Please make sure GSL is
Note: See TracChangeset for help on using the changeset viewer.