Better system includes usage. Remove the DEFAULT_INCLUDES and put
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 29 May 2003 21:31:34 +0000 (21:31 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 29 May 2003 21:31:34 +0000 (21:31 +0000)
\$(top_srcdir)/include instead.

git-svn-id: http://ltt.polymtl.ca/svn@38 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/configure.in
ltt/branches/poly/lttv/Makefile.am
ltt/branches/poly/lttv/module.c

index e6731008ff1b0a7dc074bcae7fdb82320a248b56..6c0b48fc1e890ea227d5032e7b63abe509c5eb6d 100644 (file)
@@ -40,6 +40,9 @@ AC_CHECK_FUNCS([select])
 lttplugindir="${libdir}/ltt/plugins"
 AC_SUBST(lttplugindir)
 
+DEFAULT_INCLUDES="-I\$(top_srcdir)/include"
+AC_SUBST(DEFAULT_INCLUDES)
+
 AC_CONFIG_FILES([Makefile
                  lttv/Makefile
                  lttv/plugins/Makefile
index 34e841ad3df9c42a5bfec04b2310d0615bac32a9..13f6de7bd1fc506de0951bd03672b526a77f487d 100644 (file)
@@ -1,7 +1,8 @@
 bin_PROGRAMS = textui
 
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/include
+#AM_CPPFLAGS = \
+#      -I$(top_srcdir)/include
+#INCLUDES=$(top_srcdir)/include
 
 # MD //FIXME add headers dependancy
 textui_SOURCES = main.c module.c option.c hook.c attribute.c
index a2ecffe23acee1c6089e3783775730557ff8a430..a966d6ca7bb73b8abca8a3c92cf4cf6dcb20b5b2 100644 (file)
@@ -7,7 +7,7 @@
  * Reworked by Mathieu Desnoyers, May 2003
  */
 
-#include <lttv/lttv.h>
+#include "lttv.h"
 #include "module.h"
 #include <popt.h>
 
This page took 0.027929 seconds and 4 git commands to generate.