Changeset 1914 for trunk/m4/yat_gsl.m4


Ignore:
Timestamp:
Apr 24, 2009, 7:52:09 PM (14 years ago)
Author:
Peter
Message:

Using ACX_BLAS macro for blas detection. The behavior will likely be a
bit different from before. The major difference is that there are no
-m64 flags in the atlas tests, which implies you might need to add
-m64 to LDFLAGS (and possibly CXXFLAGS) at configure time. It also
implies that you might detect atlas on your 32bit machine, which
previously was not possible. fixes #349

There is a new configure option: '--with-blas' that can be used to
specify which blas should be used. fixes #524

refs #518

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_gsl.m4

    r1895 r1914  
    3838        ])
    3939
    40   # check if failure was due to too old gsl
    41   AS_IF([test "x$yat_gsl_status" = "xno" && \
    42          test -f "$GSL_CONFIG" && $GSL_CONFIG --help >/dev/null 2>&1],
    43         [yat_gsl_status="old"
    44         ])
    45      
    46   # if everything is fine, append to gsl variables to LIBS and friends
    4740  AS_IF([test "x$yat_gsl_status" = "xok"],
    48         [LIBS="-lgsl $LIBS"
    49          # grep words starting with '-L' in other words LDFLAGS
     41        [# grep words startinging with '-L' in other words LDFLAGS
    5042         for i in $GSL_LIBS; do
    5143           AS_IF([test ${i:0:2} = "-L"],
    5244                 [YAT_LD_ADD_FLAG([LDFLAGS], [$i])])
    53          done
     45         done         
    5446        ])
     47
     48
    5549
    5650]) # YAT_CHECK_GSL
Note: See TracChangeset for help on using the changeset viewer.