From: Akim Demaille Date: Wed, 12 Dec 2001 11:55:56 +0000 (+0000) Subject: Some hosts don't like `/' in includes. X-Git-Tag: BISON-1_30g~10 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/88f06d2beb389060ef707a44225dbad8c45e0046 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 4240599d..b6cb5baf 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-10 Akim Demaille Bison dumps core on bash.y. diff --git a/src/Makefile.am b/src/Makefile.am index 4f83590f..e9bf9ae2 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/Makefile.in b/src/Makefile.in index 147dd4f1..0155c279 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -115,8 +115,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 70605c49..04412d56 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)