summaryrefslogtreecommitdiffstats
path: root/watchquagga
diff options
context:
space:
mode:
authorVincent Bernat <bernat@luffy.cx>2012-05-22 14:32:22 +0200
committerVincent Bernat <bernat@luffy.cx>2012-06-25 19:03:23 +0200
commit9e7a548ce421660b0d22bfeb90c2b2b53742aac7 (patch)
tree4c962403808f98806781fb4ad15594152bc1effa /watchquagga
parentisisd: fix typo in topology generator (BZ#731) (diff)
downloadfrr-9e7a548ce421660b0d22bfeb90c2b2b53742aac7.tar.xz
frr-9e7a548ce421660b0d22bfeb90c2b2b53742aac7.zip
build: allow configure and build in a separate directory
Some .h files in lib/ are autogenerated. The search path should include the build directory and the source directory. They usually match but sometimes, they may be different. For example: $ mkdir build $ cd build $ ../configure $ make
Diffstat (limited to 'watchquagga')
-rw-r--r--watchquagga/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/watchquagga/Makefile.am b/watchquagga/Makefile.am
index a49f62e8f..badaa5b5d 100644
--- a/watchquagga/Makefile.am
+++ b/watchquagga/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with Automake to create Makefile.in
-INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_srcdir)/lib
+INCLUDES = @INCLUDES@ -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
DEFS = @DEFS@ -DSTATEDIR=\"$(localstatedir)/\"
AM_CFLAGS = $(PICFLAGS)