summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-08-16 22:49:03 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-08-16 22:49:03 (GMT)
commit3646a3f83dc32b46c18fe2bfde9a2acdc70680f4 (patch)
tree529e3dd8a489c6461486e6d1388746bd155402ca
parent3710e39396c8c573c73dffb704ec557e05d2850b (diff)
downloadhdf5-3646a3f83dc32b46c18fe2bfde9a2acdc70680f4.zip
hdf5-3646a3f83dc32b46c18fe2bfde9a2acdc70680f4.tar.gz
hdf5-3646a3f83dc32b46c18fe2bfde9a2acdc70680f4.tar.bz2
[svn-r9100] Purpose:
Bug fix Description: The examples would compile even if some header file were not installed. That was because the CPPFLAGS has -I... components that included the src directories. Solution: The h5cc or h5pcc commands should have all the necessarily library include directories covered. Changed CPPFLAGS to search only the examples source directory for local header files. Platforms tested: No h5committest tests which do not check examples. Hand tested it in sol.
-rw-r--r--examples/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile.in b/examples/Makefile.in
index 5fb9c8b..8895cb4 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -21,7 +21,7 @@ srcdir=@srcdir@
## Replace building CC with the just installed h5cc
H5CC=$(bindir)/h5cc
H5CC_PP=$(bindir)/h5pcc
-CPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/src -I$(top_srcdir)/src @CPPFLAGS@
+CPPFLAGS=-I. -I$(srcdir)
CFLAGS=
## These are the programs that `make all' or `make tests' will build and which