--- ../configure.in 2006-11-11 15:58:55.000000000 +0100 +++ configure.in 2006-11-11 16:10:14.000000000 +0100 @@ -81,13 +81,14 @@ AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],[build debug version without optimization [no]])], [debug=$enableval], - [debug=no]) + [debug="no"]) +AM_CONDITIONAL([ENABLE_DEBUG], [test x"$enable_debug" = x"yes"]) # does the user want to build demo applications? AC_ARG_ENABLE([apps], [AS_HELP_STRING([--enable-apps],[build demo applications [yes]])], [enable_apps=$enableval], - [enable_apps="yes"]) + [enable_apps="no"]) AM_CONDITIONAL([BUILD_APPS], [test x"$enable_apps" = x"yes"]) @@ -101,55 +102,64 @@ AC_ARG_WITH([swig], [AS_HELP_STRING([--with-swig],[use swig wrapper generator [no]])], [with_swig=$withval], - [with_swig=no]) + [with_swig="no"]) +AM_CONDITIONAL([WITH_SWIG], [test x"$with_swig" = x"yes"]) # does the user want to compile python modules as well? AC_ARG_WITH([python], [AS_HELP_STRING([--with-python],[use python for wrapping [yes]])], [with_python=$withval], - [with_python=yes]) + [with_python="no"]) +AM_CONDITIONAL([WITH_PYTHON], [test x"$with_python" = x"yes"]) # does the user want OpenCV to use xine video libraries? AC_ARG_WITH([xine], [AS_HELP_STRING([--with-xine],[use xine libraries (see LICENSE) [no]])], [with_xine=$withval], - [with_xine=no]) + [with_xine=i"no"]) +AM_CONDITIONAL([WITH_XINE], [test x"$with_xine" = x"yes"]) # does the user want OpenCV to use ffmpeg video libraries? AC_ARG_WITH([ffmpeg], [AS_HELP_STRING([--with-ffmpeg],[use ffmpeg libraries (see LICENSE) [automatic]])], [with_ffmpeg=$withval], [with_ffmpeg=auto]) +AM_CONDITIONAL([WITH_XINE], [test x"$with_xine" = x"yes"]) # does the user want OpenCV to use libraw1394/libdc1394 for video input? AC_ARG_WITH([1394libs], [AS_HELP_STRING([--with-1394libs],[use libraw1394/libdc1394 [automatic]])], [with_1394libs=$withval], - [with_1394libs=auto]) + [with_1394libs="no"]) +AM_CONDITIONAL([WITH_1394LIBS], [test x"$with_1394libs" = x"yes"]) # does the user want OpenCV to use the video4linux kernel module? AC_ARG_WITH([v4l], [AS_HELP_STRING([--with-v4l],[use video4linux [automatic]])], [with_v4l=$withval], - [with_v4l=auto]) + [with_v4l="no"]) +AM_CONDITIONAL([WITH_V4L], [test x"$with_v4l" = x"yes"]) # does the user want OpenCV to use QuickTime video libraries? AC_ARG_WITH([quicktime], [AS_HELP_STRING([--with-quicktime],[use QuickTime libraries [automatic]])], [with_quicktime=$withval], - [with_quicktime=yes]) + [with_quicktime="no"]) +AM_CONDITIONAL([WITH_QUICKTIME], [test x"$with_quicktime" = x"yes"]) # does the user want OpenCV to use the Carbon GUI of Mac OS X? AC_ARG_WITH([carbon], [AS_HELP_STRING([--with-carbon],[use Carbon windows [automatic]])], [with_carbon=$withval], - [with_carbon=yes]) + [with_carbon="no"]) +AM_CONDITIONAL([WITH_CARBON], [test x"$with_carbon" = x"yes"]) # does the user want OpenCV to use GTK+ 2.0 for the GUI? AC_ARG_WITH([gtk], [AS_HELP_STRING([--with-gtk],[use gtk+ 2.0 windows [automatic]])], [with_gtk=$withval], - [with_gtk=auto]) + [with_gtk="no"]) +AM_CONDITIONAL([WITH_GTK], [test x"$with_gtk" = x"yes"]) ###################################################################### @@ -690,7 +700,7 @@ AM_CONDITIONAL([BUILD_PYTHON_WRAPPERS], [test x"$have_python" = "xyes"]) # check for swig itself -SWIG="" +SWIG="no" if test x"$with_swig" = "xyes"; then AC_MSG_NOTICE([Checking for SWIG]) @@ -821,6 +831,7 @@ Use dc1394 & raw1394: ${have_dc1394} Use v4l: ${have_v4l} Use v4l2: ${have_v4l2} + Use gtk: ${have_gtk} Wrappers for other languages ========================================= SWIG ${SWIG}