mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
now that gnulib strcase has been fixed. * bootstrap.conf (gnulib_modules): Remove c-strcase. Add strcase. * lib/.cvsignore: Remove c-ctype.c, c-ctype.h, c-strcase.h, c-strcasecomp.c, c-strncasecmp.c. Add strcasecmp.c, strncasecmp.c * m4/.cvsignore: Add strcase.m4. * src/getargs.c: Revert 2007-02-03 change, as follows. Don't include c-strcase.h. (language_argmatch): Use strcasecmp rather than c_strcasecmp. strcasecmp has "unspecified behavior" outside the POSIX locale, but it works fine in practice if at least one argument is ASCII, as is the case in Bison.
70 lines
2.1 KiB
Plaintext
70 lines
2.1 KiB
Plaintext
# Bootstrap configuration.
|
|
|
|
# Copyright (C) 2006, 2007 Free Software Foundation, Inc.
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
# 02110-1301, USA.
|
|
|
|
|
|
# gnulib modules used by this package.
|
|
gnulib_modules='
|
|
argmatch config-h configmake dirname error extensions fopen-safer
|
|
getopt gettext hash inttypes javacomp-script javaexec-script malloc
|
|
mbswidth obstack quote quotearg stdbool stpcpy strcase strerror strtoul
|
|
strverscmp unistd unistd-safer unlocked-io verify xalloc xalloc-die
|
|
xstrndup
|
|
'
|
|
|
|
# Any gnulib files needed that are not in modules.
|
|
gnulib_files='
|
|
m4/warning.m4
|
|
'
|
|
|
|
# Additional xgettext options to use. Use "\\\newline" to break lines.
|
|
XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
|
|
--from-code=UTF-8\\\
|
|
--flag=asprintf:2:c-format\\\
|
|
--flag=complain:1:c-format --flag=complain_at:2:c-format\\\
|
|
--flag=fatal:1:c-format --flag=fatal_at:2:c-format\\\
|
|
--flag=warn:1:c-format --flag=warn_at:2:c-format\\\
|
|
--flag=unexpected_end:2:c-format\\\
|
|
'
|
|
XGETTEXT_OPTIONS_RUNTIME=$XGETTEXT_OPTIONS'\\\
|
|
--keyword=YY_ \\\
|
|
'
|
|
|
|
# Gettext supplies these files, but we don't need them since
|
|
# we don't have an intl subdirectory.
|
|
excluded_files='
|
|
m4/codeset.m4
|
|
m4/glibc2.m4
|
|
m4/glibc21.m4
|
|
m4/intdiv0.m4
|
|
m4/intl.m4
|
|
m4/intldir.m4
|
|
m4/intmax.m4
|
|
m4/inttypes_h.m4
|
|
m4/lcmessage.m4
|
|
m4/lock.m4
|
|
m4/longdouble.m4
|
|
m4/printf-posix.m4
|
|
m4/signed.m4
|
|
m4/size_max.m4
|
|
m4/uintmax_t.m4
|
|
m4/ulonglong.m4
|
|
m4/visibility.m4
|
|
m4/xsize.m4
|
|
'
|