]> SALOME platform Git repositories - modules/adao.git/blob - adm_local/check_aster.m4
Salome HOME
gestion de la duplication
[modules/adao.git] / adm_local / check_aster.m4
1
2 #
3 # Check availability of Aster binary distribution
4 #
5
6 AC_DEFUN([AC_CHECK_ASTER],[
7
8 AC_CHECKING(for Aster)
9
10 Aster_ok=no
11
12 AC_ARG_WITH(aster,
13       [AC_HELP_STRING([--with-aster=DIR],[root directory path of Aster installation])],
14       [ASTER_DIR="$withval"],[ASTER_DIR=""])
15
16 if test -f ${ASTER_DIR}/asteru ; then
17    Aster_ok=yes
18    AC_MSG_RESULT(Using Aster distribution in ${ASTER_DIR})
19
20    ASTER_INCLUDES=-I$ASTER_DIR/bibc/include
21
22    AC_SUBST(ASTER_DIR)
23    AC_SUBST(ASTER_INCLUDES)
24
25 else
26    AC_MSG_WARN("Cannot find Aster distribution")
27 fi
28
29 AC_MSG_RESULT(for Aster: $Aster_ok)
30
31 ])dnl