Code

fix tcl build system
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 5 Jul 2007 15:14:02 +0000 (15:14 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 5 Jul 2007 15:14:02 +0000 (15:14 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1139 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/tcl/Makefile.am

index c73a6e2e0b1bf87a3d93becf2bcd82c376ce436d..3e183c681eb58efa04c378df5d026729639a3682 100644 (file)
@@ -12,11 +12,12 @@ TCL_SHLIB_SUFFIX = @TCL_SHLIB_SUFFIX@
 TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
 TCL_LD_SEARCH_FLAGS = @TCL_LD_SEARCH_FLAGS@
 TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@
+TCL_INC_DIR = @TCL_INC_DIR@
 
 CLEANFILES = tclrrd.o tclrrd.so
 
 SRC_DIR            = $(top_srcdir)/src
-AM_CPPFLAGS        = -I$(TCL_PREFIX)/include -I$(SRC_DIR) -DUSE_TCL_STUBS
+AM_CPPFLAGS        = -I$(TCL_INC_DIR) -I$(SRC_DIR) -DUSE_TCL_STUBS
 LIBDIRS            = -L$(top_builddir)/src/.libs -L$(top_builddir)/src -L$(libdir)
 LIB_RUNTIME_DIR    = $(libdir)