mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Round 5 of wx3 changes
FileDialog now complete on Linux. Needs some fine tuning on Windows and OSX. Builds with wx3 and gtk2 or gtk3. Still more effect work to do.
This commit is contained in:
40
lib-src/FileDialog/configure
vendored
40
lib-src/FileDialog/configure
vendored
@@ -641,8 +641,6 @@ MAC_FALSE
|
||||
MAC_TRUE
|
||||
GTK_FALSE
|
||||
GTK_TRUE
|
||||
GENERIC_FALSE
|
||||
GENERIC_TRUE
|
||||
GTK_LIBS
|
||||
GTK_CFLAGS
|
||||
PKG_CONFIG_LIBDIR
|
||||
@@ -2324,7 +2322,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
||||
|
||||
|
||||
|
||||
am__api_version='1.14'
|
||||
am__api_version='1.15'
|
||||
|
||||
# Find a good install program. We prefer a C program (faster),
|
||||
# so one script is as good as another. But avoid the broken or
|
||||
@@ -2496,8 +2494,8 @@ test "$program_suffix" != NONE &&
|
||||
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
||||
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
||||
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
# Expand $ac_aux_dir to an absolute path.
|
||||
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
||||
|
||||
if test x"${MISSING+set}" != xset; then
|
||||
case $am_aux_dir in
|
||||
@@ -2516,7 +2514,7 @@ else
|
||||
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
||||
fi
|
||||
|
||||
if test x"${install_sh}" != xset; then
|
||||
if test x"${install_sh+set}" != xset; then
|
||||
case $am_aux_dir in
|
||||
*\ * | *\ *)
|
||||
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
||||
@@ -2844,8 +2842,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
||||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
||||
mkdir_p='$(MKDIR_P)'
|
||||
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
# We need awk for the "check" target (and possibly the TAP driver). The
|
||||
# system "awk" is bad on some platforms.
|
||||
# Always define AMTAR for backward compatibility. Yes, it's still used
|
||||
# in the wild :-( We should find a proper way to deprecate it ...
|
||||
AMTAR='$${TAR-tar}'
|
||||
@@ -2903,6 +2901,7 @@ END
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
||||
# Check whether --enable-maintainer-mode was given.
|
||||
@@ -15486,8 +15485,10 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# Extract the first word of "wx-config", so it can be a program name with args.
|
||||
set dummy wx-config; ac_word=$2
|
||||
for ac_prog in wx-config wx-config-3.0
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if ${ac_cv_path_WX_CONFIG+:} false; then :
|
||||
@@ -15514,7 +15515,6 @@ done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
test -z "$ac_cv_path_WX_CONFIG" && ac_cv_path_WX_CONFIG="no"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@@ -15528,6 +15528,10 @@ $as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
test -n "$WX_CONFIG" && break
|
||||
done
|
||||
test -n "$WX_CONFIG" || WX_CONFIG="no"
|
||||
|
||||
if [ "$WX_CONFIG" = "no" ] ; then
|
||||
as_fn_error $? "\"Could not find wx-config: is wxWidgets installed? is wx-config in your path?\"" "$LINENO" 5
|
||||
fi
|
||||
@@ -15740,7 +15744,7 @@ fi
|
||||
|
||||
|
||||
|
||||
IMPLEMENTATION="generic"
|
||||
IMPLEMENTATION=""
|
||||
case "${host_os}" in
|
||||
darwin*)
|
||||
IMPLEMENTATION="mac"
|
||||
@@ -15763,14 +15767,6 @@ $as_echo "#define HAVE_GTK 1" >>confdefs.h
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "$IMPLEMENTATION" = "generic"; then
|
||||
GENERIC_TRUE=
|
||||
GENERIC_FALSE='#'
|
||||
else
|
||||
GENERIC_TRUE='#'
|
||||
GENERIC_FALSE=
|
||||
fi
|
||||
|
||||
if test "$IMPLEMENTATION" = "gtk"; then
|
||||
GTK_TRUE=
|
||||
GTK_FALSE='#'
|
||||
@@ -15981,10 +15977,6 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
||||
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${GENERIC_TRUE}" && test -z "${GENERIC_FALSE}"; then
|
||||
as_fn_error $? "conditional \"GENERIC\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
|
||||
as_fn_error $? "conditional \"GTK\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
|
Reference in New Issue
Block a user