Salome HOME
Join modifications from branch OCC_development_for_3_2_0a2
[modules/gui.git] / adm_local / unix / config_files / check_GLViewer.m4
1 #
2 # Check configure option --disable-glViewer=[yes|no|DIR] taking into account that
3 # DISABLE_GLVIEWER may be already set during build_configure,
4 # Set DISABLE_GLVIEWER to yes|no
5 #
6 # Author : Edawrd AGAPOV (OCC, 2005)
7 #
8
9 AC_DEFUN([CHECK_GLVIEWER],[
10
11 AC_ARG_WITH(glViewer,
12             [  --disable-glViewer default=no ],
13             disable_glViewer="$withval",disable_glViewer="${DISABLE_GLVIEWER}")
14
15 case $disable_glViewer in
16   yes)
17 #         AC_MSG_RESULT(************************************************)
18 #         AC_MSG_RESULT(*******   DISABLE GLViewer configuration   *****)
19 #         AC_MSG_RESULT(************************************************)
20         DISABLE_GLVIEWER="yes"
21         AC_SUBST(DISABLE_GLVIEWER)
22 esac
23
24  
25 ])dnl