Salome HOME
Join modifications from branch OCC_development_for_3_2_0a2
[modules/gui.git] / adm_local / unix / config_files / check_SalomeObject.m4
1 #
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
5 #
6 # Author : Edawrd AGAPOV (OCC, 2005)
7 #
8
9 AC_DEFUN([CHECK_SALOMEOBJECT],[
10
11 AC_ARG_WITH(salomeObject,
12             [  --disable-salomeObject default=no ],
13             disable_salomeObject="$withval",disable_salomeObject="${DISABLE_SALOMEOBJECT}")
14
15 case $disable_salomeObject in
16   yes)
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)
22 esac
23
24  
25 ])dnl