Commit 434d385a authored by unknown's avatar unknown

Compile all charset conversion tables if --with-extra-charsets=all

or --with-extra-charsets=complex is given.

parent 14f96b2f
......@@ -281,6 +281,9 @@
/* READLINE: */
#undef VOID_SIGHANDLER
/* Define this if you want extra character set conversion table*/
#undef DEFINE_ALL_CHARACTER_SETS
/* Leave that blank line there!! Autoheader needs it.
If you're adding to this file, keep in mind:
......
......@@ -2262,9 +2262,11 @@ elif test "$extra_charsets" = complex; then
CHARSETS=`/bin/ls -1 $srcdir/strings/ctype-*.c | \
sed -e 's;^.*/ctype-;;' -e 's;.c$;;'`
CHARSETS=`echo $CHARSETS` # get rid of line breaks
AC_DEFINE([DEFINE_ALL_CHARACTER_SETS])
else
if test "$extra_charsets" = all; then
CHARSETS="$CHARSETS_AVAILABLE $CHARSETS_DEPRECATED"
AC_DEFINE([DEFINE_ALL_CHARACTER_SETS])
else
CHARSETS=`echo $extra_charsets | sed -e 's/,/ /g'`
fi
......
......@@ -20,6 +20,9 @@
** Some of the tables are hidden behind IFDEF to reduce some space.
** One can enable them by removing the // characters from the next comment
** One must also give a name to each mapping that one wants to use...
**
** All tables are activated if --with-extra-charsets=all or
** --with-extra-charsets=complex was given to configure.
*/
/* #define DEFINE_ALL_CHARACTER_SETS */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment