Ignore:
Timestamp:
Apr 22, 2009 8:03:27 PM (12 years ago)
Author:
andreasw
Message:

added support for Metis

File:
1 edited

Legend:

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

    r1251 r1267  
    9090AC_SUBST(MY_DEFS)
    9191
    92 AC_MSG_CHECKING([for additional preprocessor C flags])
    93 AC_MSG_RESULT([$MY_DEFS])
    94 
    9592# Initialize automake
    9693AC_COIN_INIT_AUTO_TOOLS
     
    9895# Check for user-provided BLAS library
    9996AC_COIN_HAS_BLAS
     97
     98# Check if Metis is available
     99AC_COIN_HAS_METIS
     100if test "$coin_has_metis" = yes; then
     101  MY_DEFS="$MY_DEFS -Dmetis"
     102  MY_FDEFS="$MY_FDEFS -Dmetis"
     103fi
    100104
    101105## Check if Mumps is already provided by user
     
    130134AC_SUBST(MUMPSDIR)
    131135
     136# Fix Fortran preprocessor flags
     137case $F77 in
     138  *xlf*)
     139    fdefs=
     140    for flag in "$MY_FDEFS"; do
     141      fdefs="$fdefs -WF,$flag"
     142    done
     143    MY_FDEFS="$fdefs"
     144    ;;
     145esac
     146AC_SUBST(MY_FDEFS)
     147
     148AC_MSG_CHECKING([for additional preprocessor C flags])
     149AC_MSG_RESULT([$MY_DEFS])
     150AC_MSG_CHECKING([for additional preprocessor Fortran flags])
     151AC_MSG_RESULT([$MY_FDEFS])
     152
    132153AC_CONFIG_FILES([Makefile])
    133154
Note: See TracChangeset for help on using the changeset viewer.