]> SALOME platform Git repositories - plugins/ghs3dplugin.git/blob - adm_local/unix/config_files/check_GHS3D.m4
Salome HOME
661c407897798ebf7585110819990d96e1bb80f9
[plugins/ghs3dplugin.git] / adm_local / unix / config_files / check_GHS3D.m4
1 AC_DEFUN([CHECK_GHS3D],[
2
3 AC_REQUIRE([AC_PROG_CXX])dnl
4 AC_REQUIRE([AC_PROG_CXXCPP])dnl
5
6 AC_CHECKING(for GHS3D executable)
7
8 AC_LANG_SAVE
9
10 AC_ARG_WITH(ghs3d,
11             [  --with-ghs3d=DIR root directory path of GHS33D installation],
12             GHS3D_HOME=$withval,GHS3D_HOME="")
13
14 GHS3D_ok=yes
15 GHS3D_HOME="/dn05/salome/GHS3D/"
16 GHS3D="/misc/dn05/salome/GHS3D/ghs3d3.1-1/bin/Linux/ghs3dV3.1-1"
17
18 #if test "x$GHS3D_HOME" == "x" ; then
19 #
20 ## no --with-ghs3d option used
21 #   if test "x$GHS3DHOME" != "x" ; then
22 #
23 #    # GHS3DHOME environment variable defined
24 #      GHS3D_HOME=$GHS3DHOME
25 #
26 #   fi
27 #fi
28
29
30   if test "x$GHS3D_ok" == xno ; then
31     AC_MSG_RESULT(no)
32     AC_MSG_WARN(GHS3D libraries not found or not properly installed)
33   else
34     AC_MSG_RESULT(yes)
35   fi
36 #fi
37
38 ])dnl