From 8a278a045da60a9caa739541e15fabb8a2902a34 Mon Sep 17 00:00:00 2001 From: Jesse Thilo Date: Sun, 30 May 1999 11:41:51 +0000 Subject: [PATCH] I18n fixes. --- acconfig.h | 3 +++ src/Makefile.am | 3 ++- src/system.h | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/acconfig.h b/acconfig.h index ccbb40c8..d8b432aa 100644 --- a/acconfig.h +++ b/acconfig.h @@ -32,6 +32,9 @@ /* The location of the semantic parser (bison.hairy). */ #undef XPFILE1 +/* The location of the local directory. */ +#undef LOCALEDIR + /* Define as 1 if realloc must be declared even if is included. */ #undef NEED_DECLARATION_REALLOC diff --git a/src/Makefile.am b/src/Makefile.am index 260846b1..2284284a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,7 +10,8 @@ bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \ EXTRA_bison_SOURCES = vmsgetargs.c -bison_LDADD = @ALLOCA@ +bison_LDADD = @INTLLIBS@ @ALLOCA@ +INCLUDES = -I../intl -I$(top_srcdir)/intl noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \ symtab.h system.h types.h getopt.h diff --git a/src/system.h b/src/system.h index 56c4ef3a..9469cea3 100644 --- a/src/system.h +++ b/src/system.h @@ -62,7 +62,8 @@ #endif #define N_(Text) Text -/* In the meantime, waiting for Automake. */ +#ifndef LOCALEDIR #define LOCALEDIR "/usr/local/share/locale" +#endif #endif /* BISON_SYSTEM_H */ -- 2.47.2