Ignore:
Timestamp:
Sep 13, 2010 3:38:18 AM (10 years ago)
Author:
stefan
Message:

change from COIN_HAS_MODULE to COIN_HAS_PACKAGE

File:
1 edited

Legend:

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

    r1657 r1684  
    5757AC_COIN_F77_WRAPPERS
    5858
    59 # Tell FINALIZE to add FLIBS to ADDLIBS, so that they get into the .pc files
    60 coin_need_flibs=yes
     59# Add FLIBS to MUMPS_PCLIBS, so that they get into the .pc files
     60MUMPS_PCLIBS="$FLIBS"
    6161
    6262# We need to translate the result from autoconf to what MUMPS wants
     
    9696AC_COIN_INIT_AUTO_TOOLS
    9797
    98 AC_COIN_HAS_MODULE_BLAS
    99 AC_COIN_HAS_MODULE(Metis, [coinmetis >= 4.0])
     98AC_COIN_HAS_PACKAGE_BLAS(MUMPS)
     99AC_COIN_HAS_PACKAGE(Metis, [coinmetis >= 4.0], MUMPS)
    100100
    101101if test "$coin_has_metis" = yes; then
     
    104104fi
    105105
    106 #Mumps needs pthreads
    107 AC_CHECK_LIB([pthread],[pthread_create],[ADDLIBS="-lpthread $ADDLIBS"])
     106# Mumps can make use of pthreads
     107AC_CHECK_LIB([pthread],[pthread_create],[MUMPS_PCLIBS="-lpthread $MUMPS_PCLIBS"])
    108108
    109109# Verify that we can compile Fortran 90 code
Note: See TracChangeset for help on using the changeset viewer.