From ae113383fe0eb948c6b9755206ec9e3253b3d88d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Feb 2001 23:00:02 +0000 Subject: Update. 2001-02-05 Ulrich Drepper * configure.in: Add check for bison. * config.make.in: Define BISON variable. * intl/Makefile: Use BISON instead of YACC when generating plural.c. Rename YFLAGS to BISONFLAGS. --- intl/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'intl') diff --git a/intl/Makefile b/intl/Makefile index fd24fcfe2a..78f34089f7 100644 --- a/intl/Makefile +++ b/intl/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. +# Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -38,10 +38,14 @@ install-others = $(inst_msgcatdir)/locale.alias generated = msgs.h mtrace-tst-gettext tst-gettext.mtrace generated-dirs := domaindir localedir +include ../Makeconfig + +ifneq (no,$(BISON)) plural.c: plural.y - $(YACC) $(YFLAGS) $@ $^ + $(BISON) $(BISONFLAGS) $@ $^ +endif ifeq ($(with-cvs),yes) - test ! -d CVS || cvs $(CVSOPTS) commit -m'$(YACC) $(YFLAGS) $@ $^' $@ + test ! -d CVS || cvs $(CVSOPTS) commit -m'$(BISON) $(BISONFLAGS) $@ $^' $@ endif $(objpfx)plural.o: plural.c @@ -77,7 +81,7 @@ $(objpfx)tst-translit.out: $(objpfx)tst-gettext.out CPPFLAGS += -D'GNULOCALEDIR="$(msgcatdir)"' \ -D'LOCALE_ALIAS_PATH="$(msgcatdir)"' -YFLAGS = --name-prefix=__gettext --output +BISONFLAGS = --yacc --name-prefix=__gettext --output $(inst_msgcatdir)/locale.alias: locale.alias $(+force) $(do-install) -- cgit v1.2.3