Salome HOME
Since there is an idl precompilation directive in SMESH_BasicHypothesis.idl
[modules/smesh.git] / adm_local / unix / config_files / check_Netgen.m4
index 24c81f03760e7a70e6bef994bb736228720558af..c2dbcb986271be5d30edaa907783c4a9c42bf8de 100644 (file)
@@ -9,7 +9,7 @@ AC_LANG_SAVE
 AC_LANG_CPLUSPLUS
 
 AC_ARG_WITH(netgen,
-           --with-netgen=DIR root directory path of NETGEN installation,
+           [  --with-netgen=DIR root directory path of NETGEN installation],
            WITHNETGEN="yes",WITHNETGEN="no")
 
 NETGEN_INCLUDES=""
@@ -111,6 +111,9 @@ if test "x$Netgen_ok" = xno ; then
 else
   AC_MSG_RESULT(yes)
   NETGEN_LIBS="-lNETGEN"
+  CPPFLAGS="${CPPFLAGS} -DHAVE_NETGEN"
+  IDLCXXFLAGS="${IDLCXXFLAGS} -DHAVE_NETGEN"
+  IDLPYFLAGS="${IDLPYFLAGS} -DHAVE_NETGEN"
 fi
 fi
 AC_SUBST(NETGEN_INCLUDES)