diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-08-16 22:48:59 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-08-16 22:48:59 (GMT) |
commit | f69b447fab64f5cc7cdd66b6fc50a9ccc07745d6 (patch) | |
tree | 2094dbb076686bbfe20632d0a07a78bf26fe9b05 | |
parent | fdb18b7e22c656c1f8f58ec2fb4f0d2e7ff68376 (diff) | |
download | hdf5-f69b447fab64f5cc7cdd66b6fc50a9ccc07745d6.zip hdf5-f69b447fab64f5cc7cdd66b6fc50a9ccc07745d6.tar.gz hdf5-f69b447fab64f5cc7cdd66b6fc50a9ccc07745d6.tar.bz2 |
[svn-r9099] 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.in | 2 |
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 |