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