diff options
author | tim@localhost.polyesthetic.msg <> | 2000-08-22 16:09:27 -0400 |
---|---|---|
committer | tim@localhost.polyesthetic.msg <> | 2000-08-22 16:09:27 -0400 |
commit | 4ab50f1db3100a6669400555779ad5bb603d42d9 (patch) | |
tree | 0033103c62fb7ee4a3104232ccd035bc6be1275c /configure.in | |
parent | 7ef8d67d6b7c422aaf57b10b13e80fdcadd69882 (diff) | |
parent | 7443483369501dfd884002b3a46808da814108e0 (diff) | |
download | mariadb-git-4ab50f1db3100a6669400555779ad5bb603d42d9.tar.gz |
Merge tim@work:/home/bk/mysql
into localhost.polyesthetic.msg:/usr/local/src/my/work
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/configure.in b/configure.in index d2f7b0486ee..a65580c9699 100644 --- a/configure.in +++ b/configure.in @@ -1577,15 +1577,6 @@ do See the Installation chapter in the Reference Manual.]); fi done - -default_charset_has_source=0 -for cs in $COMPILED_CHARSETS -do - if test $cs = $default_charset - then - default_charset_has_source=1 - fi -done CHARSET_SRCS="" CHARSETS_NEED_SOURCE="" @@ -1600,8 +1591,10 @@ index_file="$srcdir/sql/share/charsets/Index" for c in $CHARSETS do # get the charset number from $index_file - subpat='^'"${c}"'[[\t ]]*#' - number=`$AWK 'sub("'"$subpat"'", "") { print }' $index_file` +changequote(,)dnl + subpat='^'"${c}"'[ ][ ]*\([0-9][0-9]*\)[^0-9]*$' + number=`sed -e "/$subpat/!d" -e 's//\1/' $index_file` +changequote([,])dnl # some sanity checking.... if test X"$number" = X then |