1 AC_DEFUN([CHECK_HEXOTIC],[
3 AC_REQUIRE([AC_PROG_CXX])dnl
4 AC_REQUIRE([AC_PROG_CXXCPP])dnl
6 AC_CHECKING(for Hexotic comercial product)
12 [ --with-Hexotic=DIR root directory path of Hexotic installation],
13 Hexotic_HOME=$withval,Hexotic_HOME="")
17 if test "x$Hexotic_HOME" == "x" ; then
19 # no --with-Hexotic option used
20 if test "x$HexoticHOME" != "x" ; then
22 # HexoticHOME environment variable defined
23 Hexotic_HOME=$HexoticHOME
29 if test "x$Hexotic_HOME" != "x"; then
32 echo -------------------------------------------------
33 echo You are about to choose to use somehow the
34 echo Hexotic commercial product to generate 3D hexahedral mesh.
37 AC_MSG_CHECKING(for Hexotic executable)
39 AC_CHECK_PROG(HEXOTIC, hexotic,found)
41 if test "x$HEXOTIC" == x ; then
43 AC_MSG_WARN(Hexotic program not found in PATH variable)
50 AC_MSG_RESULT(for Hexotic: $Hexotic_ok)