Changeset 18226
- Timestamp:
- 07/07/14 20:29:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/m4/issm_options.m4 ΒΆ
r18160 r18226 939 939 dnl Check whether tao is enabled 940 940 AC_MSG_CHECKING([for tao]) 941 if test "x$TAO_ROOT" = "xno" ; then 942 HAVE_TAO=no 943 else 944 HAVE_TAO=yes 945 if ! test -d "$TAO_ROOT"; then 946 AC_MSG_ERROR([tao directory provided ($TAO_ROOT) does not exist]); 947 fi 948 fi 949 AC_MSG_RESULT($HAVE_TAO) 950 951 dnl tao headers and libraries 952 if test "x$HAVE_TAO" == "xyes"; then 953 TAOINCL="-I$TAO_ROOT/ -I$TAO_ROOT/include -I$TAO_ROOT/bmake/ " 954 TAOLIB="-L$TAO_ROOT/lib -ltao -lpetsc" 955 AC_DEFINE([_HAVE_TAO_],[1],[with Tao in ISSM src]) 956 AC_SUBST([TAOINCL]) 957 AC_SUBST([TAOLIB]) 941 942 if test "$HAVE_PETSC" = "yes" && test "x$PETSC_MAJOR" = "x3" && test $PETSC_MINOR -ge 5; then 943 dnl in petsc >=3.5, tao is provided 944 HAVE_TAO="yes" 945 AC_DEFINE([_HAVE_TAO_],[1],[with Tao in ISSM src]) 946 AC_MSG_RESULT($HAVE_TAO) 947 else 948 949 if test "x$TAO_ROOT" = "xno" ; then 950 HAVE_TAO=no 951 else 952 HAVE_TAO=yes 953 if ! test -d "$TAO_ROOT"; then 954 AC_MSG_ERROR([tao directory provided ($TAO_ROOT) does not exist]); 955 fi 956 fi 957 AC_MSG_RESULT($HAVE_TAO) 958 959 dnl tao headers and libraries 960 if test "x$HAVE_TAO" == "xyes"; then 961 TAOINCL="-I$TAO_ROOT/ -I$TAO_ROOT/include -I$TAO_ROOT/bmake/ " 962 TAOLIB="-L$TAO_ROOT/lib -ltao -lpetsc" 963 AC_DEFINE([_HAVE_TAO_],[1],[with Tao in ISSM src]) 964 AC_SUBST([TAOINCL]) 965 AC_SUBST([TAOLIB]) 966 fi 958 967 fi 959 968 dnl }}}
Note:
See TracChangeset
for help on using the changeset viewer.