1 AC_DEFUN([CHECK_GHS3D],[
3 AC_REQUIRE([AC_PROG_CXX])dnl
4 AC_REQUIRE([AC_PROG_CXXCPP])dnl
6 AC_CHECKING(for GHS3D executable)
11 [ --with-ghs3d=DIR root directory path of GHS33D installation],
12 GHS3D_HOME=$withval,GHS3D_HOME="")
15 GHS3D_HOME="/dn05/salome/GHS3D/"
16 GHS3D="/misc/dn05/salome/GHS3D/ghs3d3.1-1/bin/Linux/ghs3dV3.1-1"
18 #if test "x$GHS3D_HOME" == "x" ; then
20 ## no --with-ghs3d option used
21 # if test "x$GHS3DHOME" != "x" ; then
23 # # GHS3DHOME environment variable defined
24 # GHS3D_HOME=$GHS3DHOME
30 if test "x$GHS3D_ok" == xno ; then
32 AC_MSG_WARN(GHS3D libraries not found or not properly installed)