Ignore:
Timestamp:
Jan 15, 2011 7:37:45 AM (10 years ago)
Author:
stefan
Message:

lapack depends on Blas, so check for blas and add into dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Lapack/trunk/configure.ac

    r2026 r2088  
    5050AC_COIN_PROG_F77
    5151
    52 # Get the linker flags (FLIBS) that are required for linking against this blas library
     52# Get the linker flags (FLIBS) that are required for linking against this library
    5353AC_COIN_F77_WRAPPERS
    5454
    55 # Check if pkg-config is available (to setup addlibs file)
    56 AC_COIN_HAS_PKGCONFIG
     55# Check for Blas
     56AC_COIN_CHECK_PACKAGE_BLAS(LapackLib)
     57if test $coin_has_blas != yes; then
     58  AC_MSG_ERROR([Required package BLAS not found.])
     59fi
    5760
    58 # Add FLIBS to LAPACK_PCLIBS, so that they get into the .pc files
    59 LAPACK_PCLIBS="$FLIBS"
    60 AC_SUBST(LAPACK_PCLIBS)
     61# FLIBS will be needed to link against this library, so add them to LAPACKLIB_PCLIBS
     62LAPACKLIB_PCLIBS="$LAPACKLIB_PCLIBS $FLIBS"
    6163
    6264# Take care that optimization is disbled for DLAMCH.F
Note: See TracChangeset for help on using the changeset viewer.