]> granicus.if.org Git - flex/commitdiff
build: Remove "-I$(top_srcdir)/intl" from CPPFLAGS.
authorExplorer09 <explorer09@gmail.com>
Mon, 2 Jan 2017 08:13:42 +0000 (16:13 +0800)
committerWill Estes <westes575@gmail.com>
Mon, 6 Feb 2017 16:44:13 +0000 (11:44 -0500)
Revert commit e02c3d27eeb6b53ec82532ab080c23ce26813fd4

("include the intl/ subdirectory when searching for include files")

Flex doesn't come with libintl source code, so inclusion of
$(top_srcdir)/intl subdirectory during compiling is unnecessary.

This flag seems to be left after "remove intl from dist"
(commit 8f45da06adbd7dbcdfdbdd5c20ff4c47fc504f35) without someone
cleaning this up.

Users who need to build with gettext functionality from libintl would
use the '--with-libintl-prefix' configure option.

src/Makefile.am

index e504861fcb312bb3a1c1b612acee75ad4a4e4efd..f7d0e09e01659a3a55487820a6edb9669aa63867 100644 (file)
@@ -1,6 +1,6 @@
 AM_YFLAGS = -d
 localedir = $(datadir)/locale
-AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl
+AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
 LIBS = @LIBS@
 
 m4 = @M4@