Solaris /usr/bin/tr requires [] around character ranges
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7fc641aff9
commit
435a5ad0ee
16
configure
vendored
16
configure
vendored
@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Id: configure.in 50205 2007-11-24 01:56:13Z VZ .
|
# From configure.in Id: configure.in 50226 2007-11-24 19:11:19Z PC .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
|
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
|
||||||
#
|
#
|
||||||
@ -13729,7 +13729,7 @@ echo "$as_me: error: Please specify at most one toolkit" >&2;}
|
|||||||
var=wxUSE_$toolkit
|
var=wxUSE_$toolkit
|
||||||
eval "value=\$${var}"
|
eval "value=\$${var}"
|
||||||
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
|
||||||
@ -32202,7 +32202,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
|
||||||
@ -33457,7 +33457,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}"
|
||||||
|
|
||||||
@ -46372,7 +46372,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
|
||||||
@ -46440,7 +46440,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
|
TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -46512,7 +46512,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
|
||||||
@ -49959,7 +49959,7 @@ for subdir in $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"`
|
||||||
|
14
configure.in
14
configure.in
@ -990,7 +990,7 @@ if test "$wxUSE_GUI" = "yes"; then
|
|||||||
var=wxUSE_$toolkit
|
var=wxUSE_$toolkit
|
||||||
eval "value=\$${var}"
|
eval "value=\$${var}"
|
||||||
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
|
||||||
done
|
done
|
||||||
@ -3379,7 +3379,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
|
||||||
@ -3769,7 +3769,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}"
|
||||||
|
|
||||||
@ -7345,7 +7345,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
|
||||||
@ -7410,7 +7410,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)
|
||||||
@ -7483,7 +7483,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
|
||||||
@ -7833,7 +7833,7 @@ for subdir in $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_DEMOS
|
dnl DISABLED_UTILS, 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"`
|
||||||
|
Loading…
Reference in New Issue
Block a user