do not use [] around tr character ranges, it is not portable and not necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
14
configure
vendored
14
configure
vendored
@@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Id: configure.in 49053 2007-10-05 20:48:00Z RD .
|
# From configure.in Id: configure.in 49605 2007-11-03 16:02:40Z PC .
|
||||||
# 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.6.
|
# Generated by GNU Autoconf 2.59 for wxWidgets 2.8.6.
|
||||||
#
|
#
|
||||||
@@ -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}"
|
||||||
|
|
||||||
@@ -46449,7 +46449,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
|
TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -46518,7 +46518,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
|
||||||
@@ -49822,7 +49822,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"`
|
||||||
|
10
configure.in
10
configure.in
@@ -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}"
|
||||||
|
|
||||||
@@ -8023,7 +8023,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)
|
||||||
@@ -8093,7 +8093,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
|
||||||
|
Reference in New Issue
Block a user