summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-12-01 15:46:54 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-12-01 15:46:54 (GMT)
commitf6f5fc0c4534b847aef88e6a448b23f2c434daa3 (patch)
treee7320bbd379e0e05d8762921fe567add1220c027 /c++
parentc834f719ef5dcb6cca3bef9fb3260c22ebc2867f (diff)
downloadhdf5-f6f5fc0c4534b847aef88e6a448b23f2c434daa3.zip
hdf5-f6f5fc0c4534b847aef88e6a448b23f2c434daa3.tar.gz
hdf5-f6f5fc0c4534b847aef88e6a448b23f2c434daa3.tar.bz2
[svn-r3047] Purpose:
Bug fix Description: When building in a different directory, we weren't picking up the header files correctly. The -I flag wasn't pointing to the correct place. Solution: Changed the -I flag to point to the C++ source directory. Platforms tested: Linux
Diffstat (limited to 'c++')
-rw-r--r--c++/examples/Makefile.in2
-rw-r--r--c++/test/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index 376bd2a..d41d231 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -14,7 +14,7 @@ hdf5_builddir=$(top_builddir)/src
## Add include directory to the C++ preprocessor flags and the hdf5
## library to the library list.
LIB=../src/libhdf5_cpp.la
-CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
+CPPFLAGS=-I. -I$(srcdir) -I../src -I$(srcdir)/../src @CPPFLAGS@
LIBHDF5=$(hdf5_builddir)/libhdf5.la
## List all source files here. The list of object files will be
diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in
index de75fbe..59ad521 100644
--- a/c++/test/Makefile.in
+++ b/c++/test/Makefile.in
@@ -15,7 +15,7 @@ hdf5_builddir=$(top_builddir)/src
## libraries to the library list.
LT_LINK_LIB=$(LT) --mode=link $(CXX) -rpath $(libdir)
LIB=../src/libhdf5_cpp.la
-CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
+CPPFLAGS=-I. -I$(srcdir) -I../src -I$(srcdir)/../src @CPPFLAGS@
HDF5LIB=$(hdf5_builddir)/libhdf5.la
TEST_PROGS_SRC=