Changeset 840


Ignore:
Timestamp:
Nov 29, 2008, 10:23:14 PM (13 years ago)
Author:
Peter Johansson
Message:

added ACTION-IF-NOT-FOUND in AC_SEARCH_LIBS, in other words, configure fails if math, cblas and gsl are not found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base1/se.lu.thep.wenni/trunk/configure.ac

    r839 r840  
    124124             LDFLAGS="-L$withval/lib $LDFLAGS"], [])
    125125
    126 AC_SEARCH_LIBS(sqrt, m)
    127 AC_SEARCH_LIBS(ATL_ctrsv, atlas, [LIBS="-lcblas $LIBS"],
    128                AC_SEARCH_LIBS(cblas_sdsdot, gslcblas))
    129 AC_SEARCH_LIBS(gsl_vector_alloc, gsl)
     126AC_SEARCH_LIBS([sqrt], [m],, AC_MSG_FAILURE([cannot find math library]))
     127AC_SEARCH_LIBS([ATL_ctrsv], [atlas],,
     128               AC_SEARCH_LIBS(cblas_sdsdot, gslcblas,,
     129                        AC_MSG_FAILURE([cannot find cblas library])))
     130AC_SEARCH_LIBS([gsl_vector_alloc], [gsl],,
     131               AC_MSG_FAILURE([cannot find library GSL]))
    130132
    131133CPP_TOOLS_LIBPATH="lib/c++_tools"
Note: See TracChangeset for help on using the changeset viewer.