mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Added i18n support.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||
AUTOMAKE_OPTIONS = 1.4 ansi2knr
|
||||
|
||||
SUBDIRS = intl po
|
||||
|
||||
bin_PROGRAMS = bison
|
||||
|
||||
bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \
|
||||
@@ -27,4 +29,4 @@ bison.simple: bison.s1 Makefile
|
||||
sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $(srcdir)/bison.s1 > $@-tmp
|
||||
mv $@-tmp $@
|
||||
|
||||
DISTCLEANFILES = bison.simple
|
||||
DISTCLEANFILES = bison.simple intl/libintl.h
|
||||
|
||||
15
acconfig.h
15
acconfig.h
@@ -11,6 +11,21 @@
|
||||
/* Define if the compiler understands prototypes. */
|
||||
#undef PROTOTYPES
|
||||
|
||||
/* Define to 1 if NLS is requested. */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/* Define as 1 if you have catgets and don't want to use GNU gettext. */
|
||||
#undef HAVE_CATGETS
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#undef HAVE_LC_MESSAGES
|
||||
|
||||
/* Define to 1 if you have the stpcpy function. */
|
||||
#undef HAVE_STPCPY
|
||||
|
||||
/* The location of the simple parser (bison.simple). */
|
||||
#undef XPFILE
|
||||
|
||||
|
||||
10
configure.in
10
configure.in
@@ -4,6 +4,8 @@ AM_INIT_AUTOMAKE(bison,1.27)
|
||||
AM_CONFIG_HEADER(config.h:config.hin)
|
||||
AC_PREREQ(2.13)
|
||||
|
||||
ALL_LINGUAS="de es fr nl"
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_MINIX
|
||||
@@ -30,9 +32,15 @@ dnl Checks for library functions.
|
||||
AC_FUNC_ALLOCA
|
||||
AC_CHECK_FUNCS(mkstemp setlocale)
|
||||
|
||||
AM_GNU_GETTEXT
|
||||
|
||||
# This is necessary so that .o files in LIBOBJS are also built via
|
||||
# the ANSI2KNR-filtering rules.
|
||||
LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
|
||||
|
||||
PFILE="${datadir}/bison.simple"
|
||||
BISON_DEFINE_FILE(XPFILE, PFILE)
|
||||
PFILE1="${datadir}/bison.hairy"
|
||||
BISON_DEFINE_FILE(XPFILE1, PFILE1)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
AC_OUTPUT(Makefile intl/Makefile po/Makefile.in)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
*.gmo
|
||||
Makefile
|
||||
Makefile.in
|
||||
POTFILES
|
||||
|
||||
Reference in New Issue
Block a user