Solaris /usr/bin/tr requires [] around character ranges

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-11-28 06:46:25 +00:00
parent 6676642577
commit 685238a900
2 changed files with 15 additions and 15 deletions

16
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Id: configure.in 50114 2007-11-20 22:03:01Z VZ . # From configure.in Id: configure.in 50258 2007-11-26 19:44:17Z RD .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for wxWidgets 2.8.7. # Generated by GNU Autoconf 2.59 for wxWidgets 2.8.7.
# #
@@ -12122,7 +12122,7 @@ echo "$as_me: error: Please specify at most one toolkit (maybe some are cached i
fi fi
fi fi
if test "$value" = 1; then if test "$value" = 1; then
toolkit_echo=`echo $toolkit | tr A-Z a-z` toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
echo "$as_me:$LINENO: result: $toolkit_echo" >&5 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
echo "${ECHO_T}$toolkit_echo" >&6 echo "${ECHO_T}$toolkit_echo" >&6
fi fi
@@ -31455,7 +31455,7 @@ _ACEOF
if test "$TOOLKIT" = "PM" ; then if test "$TOOLKIT" = "PM" ; then
TOOLKIT_DIR="os2" TOOLKIT_DIR="os2"
else else
TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z` TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
fi fi
if test "$wxUSE_UNIVERSAL" = "yes"; then if test "$wxUSE_UNIVERSAL" = "yes"; then
@@ -32835,7 +32835,7 @@ if test "$wxUSE_DEBUG_INFO" = "yes"; then
DEBUG_INFO=1 DEBUG_INFO=1
fi fi
WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z` WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}" TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
@@ -46377,7 +46377,7 @@ _ACEOF
;; ;;
*) *)
for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define wxUSE_THEME_$t 1 #define wxUSE_THEME_$t 1
_ACEOF _ACEOF
@@ -46451,7 +46451,7 @@ fi
TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z` TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
@@ -46520,7 +46520,7 @@ else
if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
then then
if tr -dc a-z < conftest$PROGRAM_EXT | if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
grep awidetest >/dev/null grep awidetest >/dev/null
then then
wx_cv_gcc_pch_bug=no wx_cv_gcc_pch_bug=no
@@ -49824,7 +49824,7 @@ for subdir in `echo $SUBDIRS`; do
fi fi
done done
else else
disabled_var=DISABLED_`echo $subdir | tr a-z A-Z` disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
eval "disabled=\$$disabled_var" eval "disabled=\$$disabled_var"
disabled=/`echo X $disabled | sed 's@ @/|/@g'`/ disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"` makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`

View File

@@ -1465,7 +1465,7 @@ if test "$wxUSE_GUI" = "yes"; then
fi fi
fi fi
if test "$value" = 1; then if test "$value" = 1; then
toolkit_echo=`echo $toolkit | tr A-Z a-z` toolkit_echo=`echo $toolkit | tr '[[A-Z]]' '[[a-z]]'`
AC_MSG_RESULT($toolkit_echo) AC_MSG_RESULT($toolkit_echo)
fi fi
fi fi
@@ -4000,7 +4000,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
if test "$TOOLKIT" = "PM" ; then if test "$TOOLKIT" = "PM" ; then
TOOLKIT_DIR="os2" TOOLKIT_DIR="os2"
else else
TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z` TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[[A-Z]]' '[[a-z]]'`
fi fi
if test "$wxUSE_UNIVERSAL" = "yes"; then if test "$wxUSE_UNIVERSAL" = "yes"; then
@@ -4409,7 +4409,7 @@ if test "$wxUSE_DEBUG_INFO" = "yes"; then
DEBUG_INFO=1 DEBUG_INFO=1
fi fi
WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z` WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[[a-z]]' '[[A-Z]]'`
TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}" TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
@@ -7954,7 +7954,7 @@ if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
;; ;;
*) *)
for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[[a-z]]' '[[A-Z]]'`; do
AC_DEFINE_UNQUOTED(wxUSE_THEME_$t) AC_DEFINE_UNQUOTED(wxUSE_THEME_$t)
done done
esac esac
@@ -8025,7 +8025,7 @@ AC_SUBST(UNICODE)
AC_SUBST(BUILD) AC_SUBST(BUILD)
AC_SUBST(DEBUG_INFO) AC_SUBST(DEBUG_INFO)
AC_SUBST(DEBUG_FLAG) AC_SUBST(DEBUG_FLAG)
TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z` TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[[A-Z]]' '[[a-z]]'`
AC_SUBST(TOOLKIT_LOWERCASE) AC_SUBST(TOOLKIT_LOWERCASE)
AC_SUBST(TOOLKIT_VERSION) AC_SUBST(TOOLKIT_VERSION)
AC_SUBST(SAMPLES_RPATH_FLAG) AC_SUBST(SAMPLES_RPATH_FLAG)
@@ -8095,7 +8095,7 @@ then
if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
then then
if tr -dc a-z < conftest$PROGRAM_EXT | if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
grep awidetest >/dev/null grep awidetest >/dev/null
then then
wx_cv_gcc_pch_bug=no wx_cv_gcc_pch_bug=no
@@ -8363,7 +8363,7 @@ for subdir in `echo $SUBDIRS`; do
dnl assume that everything compiles for utils &c dnl assume that everything compiles for utils &c
dnl any that shouldn't be built can be added to dnl any that shouldn't be built can be added to
dnl DISABLED_UTILS, DISABLED_CONTRIB or DISABLED_DEMOS dnl DISABLED_UTILS, DISABLED_CONTRIB or DISABLED_DEMOS
disabled_var=DISABLED_`echo $subdir | tr a-z A-Z` disabled_var=DISABLED_`echo $subdir | tr '[[a-z]]' '[[A-Z]]'`
eval "disabled=\$$disabled_var" eval "disabled=\$$disabled_var"
disabled=/`echo X $disabled | sed 's@ @/|/@g'`/ disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"` makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`