From 6758d3d3a3e414c88fbf8587f35ac334cf9d6029 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Sat, 3 Sep 2005 06:28:23 +0000 Subject: [PATCH] Add --selected_config option for reporting to secondary build configration. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx-config.in | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/wx-config.in b/wx-config.in index 7d5d2ecdd4..1da0e8a1ae 100755 --- a/wx-config.in +++ b/wx-config.in @@ -17,7 +17,7 @@ # Licence: wxWindows licence ############################################################################ -# Extra^2 debug mode, for if things ever get really wierd. +# Extra^2 debug mode, for if things ever get really weird. [ -z "$WXDEBUG_X" ] || set -x # We expect a posix shell, so if this is a Bourne shell, @@ -145,7 +145,7 @@ wxconfig_input_options="prefix exec_prefix utility $wxconfig_schema" wxconfig_yesno_options="universal unicode debug static" # Boolean options that do something or not. -wxconfig_flag_options="$wxconfig_yesno_options no_rpath inplace" +wxconfig_flag_options="$wxconfig_yesno_options selected_config no_rpath inplace" @@ -874,16 +874,17 @@ libdir="@libdir@" bindir="@bindir@" # Trivial queries we can answer now. -[ -z "$output_option_prefix" ] || echo $prefix -[ -z "$output_option_exec_prefix" ] || echo $exec_prefix -[ -z "$output_option_release" ] || echo "@WX_RELEASE@" -[ -z "$output_option_version" ] || echo "@WX_VERSION@" -[ -z "$output_option_version_full" ] || echo "@WX_SUBVERSION@" -[ -z "$output_option_basename" ] || echo "@WX_LIBRARY_BASENAME_GUI@" -[ -z "$output_option_rezflags" ] || echo $(eval echo "@MACRESWXCONFIG@") -[ -z "$output_option_cc" ] || echo "@CC@" -[ -z "$output_option_cxx" ] || echo "@CXX@" -[ -z "$output_option_ld" ] || echo "@EXE_LINKER@" +[ -z "$output_option_prefix" ] || echo $prefix +[ -z "$output_option_exec_prefix" ] || echo $exec_prefix +[ -z "$output_option_release" ] || echo "@WX_RELEASE@" +[ -z "$output_option_version" ] || echo "@WX_VERSION@" +[ -z "$output_option_version_full" ] || echo "@WX_SUBVERSION@" +[ -z "$output_option_basename" ] || echo "@WX_LIBRARY_BASENAME_GUI@" +[ -z "$output_option_rezflags" ] || echo $(eval echo "@MACRESWXCONFIG@") +[ -z "$output_option_cc" ] || echo "@CC@" +[ -z "$output_option_cxx" ] || echo "@CXX@" +[ -z "$output_option_ld" ] || echo "@EXE_LINKER@" +[ -z "$flag_option_selected_config" ] || echo "$this_config" # The rest are going to need a little more work.