summaryrefslogtreecommitdiffstats
path: root/c++/test/H5srcdir_str.h.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-03-18 12:23:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-03-18 12:23:04 (GMT)
commit1809f040c928269cde2784e76dbcf4a72e02e930 (patch)
tree0aeeb10d37c008ec61a52b6841d2b39afe2eb176 /c++/test/H5srcdir_str.h.in
parentcd2534d9bad3151c5fda97c3a0f910e78f43a2df (diff)
downloadhdf5-1809f040c928269cde2784e76dbcf4a72e02e930.zip
hdf5-1809f040c928269cde2784e76dbcf4a72e02e930.tar.gz
hdf5-1809f040c928269cde2784e76dbcf4a72e02e930.tar.bz2
[svn-r18419] Description:
Clean up srcdir querying code more, extracting it into single header file, to avoid compiler warnings. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & prod Linux/32 2.6 (jam)
Diffstat (limited to 'c++/test/H5srcdir_str.h.in')
-rw-r--r--c++/test/H5srcdir_str.h.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/c++/test/H5srcdir_str.h.in b/c++/test/H5srcdir_str.h.in
new file mode 100644
index 0000000..d472124
--- /dev/null
+++ b/c++/test/H5srcdir_str.h.in
@@ -0,0 +1,22 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * Copyright by the Board of Trustees of the University of Illinois. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the files COPYING and Copyright.html. COPYING can be found at the root *
+ * of the source code distribution tree; Copyright.html can be found at the *
+ * root level of an installed copy of the electronic HDF5 document set and *
+ * is linked from the top-level documents page. It can also be found at *
+ * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
+ * access to either file, you may request a copy from help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+/* If you are reading this file and it has a '.h' suffix, it was automatically
+ * generated from the '.in' version. Make changes there.
+ */
+
+/* Set the 'srcdir' path from configure time */
+static const char *config_srcdir = "@srcdir@";
+