1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-11 07:05:47 +01:00

Enabling --with-wx-version parameter to facilitate wx3 testing

This commit is contained in:
lllucius@gmail.com
2015-01-04 20:02:52 +00:00
parent b9647586af
commit 22d3719db5
4 changed files with 30 additions and 10 deletions

View File

@@ -774,6 +774,7 @@ enable_libtool_lock
enable_static_wx
enable_unicode
enable_debug
with_wx_version
'
ac_precious_vars='build_alias
host_alias
@@ -1432,6 +1433,7 @@ Optional Packages:
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot=DIR Search for dependent libraries within DIR
(or the compiler's sysroot if not specified).
--with-wx-version select wxWidgets version (if both installed) [2.8,]
Some influential environment variables:
CC C compiler command
@@ -16232,6 +16234,14 @@ fi
# Check whether --with-wx-version was given.
if test "${with_wx_version+set}" = set; then :
withval=$with_wx_version; wx_preference="--version=$withval"
else
wx_preference=""
fi
if test "$debug_preference" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Adding -g for debugging to CFLAGS and CXXFLAGS ..." >&5

View File

@@ -63,11 +63,11 @@ AC_ARG_ENABLE(debug,
debug_preference="$enableval",
debug_preference="no")
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="")
AC_ARG_WITH(wx-version,
[AS_HELP_STRING([--with-wx-version],
[select wxWidgets version (if both installed) [2.8,]])],
wx_preference="--version=$withval",
wx_preference="")
dnl Right now only support wx 2.8
dnl ----------------------------------------------------