From 518ac666cfa794d690d8785f20fb6d1c213ab466 Mon Sep 17 00:00:00 2001
From: Simon Cruanes <simon.cruanes.2007@m4x.org>
Date: Mon, 28 Jun 2010 12:19:52 +0000
Subject: [PATCH] correction of LIBINCLUDES in Makefile.in now ocamlgraph can
 be used properly in hypothesis_selection

---
 Makefile.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 918c6e921f..da1a165db2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -30,7 +30,7 @@ endif
 # install the binaries
 DESTDIR =
 
-prefix 	    = @prefix@
+prefix	    = @prefix@
 exec_prefix = @exec_prefix@
 datarootdir = @datarootdir@
 
@@ -124,7 +124,6 @@ LIBINCLUDES = $(addprefix -I src/, $(LIBDIRS))
 
 ifeq (@enable_hypothesis_selection@,yes)
 	LIB_TRANSFORM += hypothesis_selection
-	LIBINCLUDES += -I +ocamlgraph
 	INCLUDES += -I +ocamlgraph
 	EXTLIBS += ocamlgraph/graph
 endif
@@ -135,7 +134,7 @@ LIBMLI = $(addsuffix .mli, $(LIBMODULES))
 LIBCMO = $(addsuffix .cmo, $(LIBMODULES))
 LIBCMX = $(addsuffix .cmx, $(LIBMODULES))
 
-$(LIBCMO) $(LIBCMX): INCLUDES = $(LIBINCLUDES)
+$(LIBCMO) $(LIBCMX): INCLUDES += $(LIBINCLUDES)
 $(LIBCMX): OFLAGS += -for-pack Why
 
 # build targets
-- 
GitLab