Update of /cvsroot/audacity/lib-src/lib-widget-extra
In directory 
sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv10621/lib-src/lib-widget-extra

Modified Files:
        configure.in 
Log Message:
Only accept wx 2.8 and not wx 2.6, as decided for new releases


Index: configure.in
===================================================================
RCS file: /cvsroot/audacity/lib-src/lib-widget-extra/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- configure.in        22 May 2008 18:07:59 -0000      1.2
+++ configure.in        15 Jun 2008 15:24:05 -0000      1.3
@@ -64,11 +64,12 @@
             debug_preference="$enableval",
             debug_preference="no")
 
-AC_ARG_WITH(wx-version,
-            [AS_HELP_STRING([--with-wx-version],
-                            [select wxWidgets version (if both installed) 
[2.6,2.8]])],
-            wx_preference="--version=$withval",
-            wx_preference="")
+dnl AC_ARG_WITH(wx-version,
+dnl             [AS_HELP_STRING([--with-wx-version],
+dnl                            [select wxWidgets version (if both installed) 
[2.8,]])],
+dnl            wx_preference="--version=$withval",
+dnl            wx_preference="")
+dnl Right now only support wx 2.8
 
 dnl ----------------------------------------------------
 dnl If user asked for debug, put debug in compiler flags
@@ -113,7 +114,7 @@
    AC_MSG_ERROR("Could not find wx-config: is wxWidgets installed? is 
wx-config in your path?")
 fi
 
-dnl --- Check that the wx version is at least 2.6.x ---
+dnl --- Check that the wx version is at least 2.8.x ---
 
 if test "x$debug_preference" = "xyes"; then
    dnl want debug wx as well
@@ -128,15 +129,15 @@
 
 wx_version=`${WX_CONFIG} $wxconfigargs --version`
 
-AC_MSG_NOTICE([Checking that the chosen version of wxWidgets is 2.6.x or 
2.8.x])
+AC_MSG_NOTICE([Checking that the chosen version of wxWidgets is 2.8.x])
 
 case "${wx_version}" in
-  2.6.*|2.8.*)
+  2.8.*)
     echo "Great, you're using wxWidgets ${wx_version}!"
     ;;
   *)
   wx_list=`${WX_CONFIG} --list`
-  AC_MSG_ERROR([Unable to locate a suitable configuration of wxWidgets v2.6.x 
or higher.
+  AC_MSG_ERROR([Unable to locate a suitable configuration of wxWidgets v2.8.x 
or higher.
 The currently available configurations are listed below.  If necessary, either
 install the package for your distribution or download the latest version of
 wxWidgets


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to