2 # Check configure option --disable-salomeObject=[yes|no|DIR] taking into account that
3 # DISABLE_SALOMEOBJECT may be already set during build_configure,
4 # Set DISABLE_SALOMEOBJECT to yes|no
6 # Author : Edawrd AGAPOV (OCC, 2005)
9 AC_DEFUN([CHECK_SALOMEOBJECT],[
11 AC_ARG_WITH(salomeObject,
12 [ --disable-salomeObject default=no ],
13 disable_salomeObject="$withval",disable_salomeObject="${DISABLE_SALOMEOBJECT}")
15 case $disable_salomeObject in
17 # AC_MSG_RESULT(************************************************)
18 # AC_MSG_RESULT(*** DISABLE Salome object configuration ****)
19 # AC_MSG_RESULT(************************************************)
20 DISABLE_SALOMEOBJECT="yes"
21 AC_SUBST(DISABLE_SALOMEOBJECT)