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
6 # Author : Edawrd AGAPOV (OCC, 2005)
9 AC_DEFUN([CHECK_GLVIEWER],[
12 [ --disable-glViewer default=no ],
13 disable_glViewer="$withval",disable_glViewer="${DISABLE_GLVIEWER}")
15 case $disable_glViewer in
17 # AC_MSG_RESULT(************************************************)
18 # AC_MSG_RESULT(******* DISABLE GLViewer configuration *****)
19 # AC_MSG_RESULT(************************************************)
20 DISABLE_GLVIEWER="yes"
21 AC_SUBST(DISABLE_GLVIEWER)