Changeset 15682


Ignore:
Timestamp:
08/02/13 08:11:01 (12 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added some checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r15681 r15682  
    119119
    120120                AC_DEFINE([_HAVE_MATLAB_],[1],[with matlab in ISSM src])
    121                 AC_MSG_CHECKING(for matlab headers and libraries in $MATLAB_ROOT)
    122121                MATLABINCL="-I$MATLAB_ROOT/extern/include/"
     122                AC_CHECK_FILE($MATLAB_ROOT/extern/include/mex.h,[],[AC_MSG_ERROR([Couldn't find mex.h... check your installation of matlab])])
    123123               
    124124                dnl 4. get MEXLIB MEXLINK and MEXEXT (experimental) except for windows
     
    141141                        ;;
    142142      esac
    143            AC_MSG_RESULT(done)
    144143                AC_SUBST([MATLABINCL])
    145144                AC_SUBST([MEX])
     
    171170        if test "x$HAVE_TRIANGLE" = "xyes"; then
    172171                TRIANGLEINCL=-I$TRIANGLE_ROOT/
     172                AC_CHECK_HEADER($TRIANGLE_ROOT/triangle.h,[],[AC_MSG_ERROR([Couldn't find triangle.h... check your installation of triangle])])
    173173                case "${host_os}" in
    174174                                *cygwin*)
Note: See TracChangeset for help on using the changeset viewer.