From: Akim Demaille Date: Wed, 12 Dec 2001 11:58:19 +0000 (+0000) Subject: Some hosts don't like `/' in includes. X-Git-Tag: before-m4-back-end~148 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/dbfb6dcd339f9aa3bf2a7ed43521319aaf66f7a5 Some hosts don't like `/' in includes. * src/system.h: Include libgettext.h without qualifying the path. * src/Makefile.am (INCLUDES): Add $(top_srcdir)/intl, remove $(top_srcdir). --- diff --git a/ChangeLog b/ChangeLog index 0ca5b112..2513cb67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2001-12-12 Akim Demaille + + Some hosts don't like `/' in includes. + + * src/system.h: Include libgettext.h without qualifying the path. + * src/Makefile.am (INCLUDES): Add $(top_srcdir)/intl, remove + $(top_srcdir). + 2001-12-11 Marc Autret * src/output.c (output_parser): Remove useless muscle. diff --git a/src/Makefile.am b/src/Makefile.am index 067bc110..05a89fe8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,8 +28,8 @@ CFLAGS = @CFLAGS@ $(WARNING_CFLAGS) # config.h in build/. INCLUDES = -I$(top_builddir)/intl \ -I$(top_builddir) \ - -I$(top_srcdir)/lib \ - -I$(top_srcdir) + -I$(top_srcdir)/intl \ + -I$(top_srcdir)/lib LDADD = $(INTLLIBS) ../lib/libbison.a diff --git a/src/system.h b/src/system.h index ff05bc82..850c5a7f 100644 --- a/src/system.h +++ b/src/system.h @@ -149,7 +149,7 @@ size_t strnlen PARAMS ((const char *s, size_t maxlen)); # define setlocale(Category, Locale) #endif -#include "intl/libgettext.h" +#include "libgettext.h" #define _(Msgid) gettext (Msgid) #define N_(Msgid) (Msgid)