summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-02-05 21:27:12 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-02-05 21:27:12 (GMT)
commit66947641209890553871e69f4474b450ed502ae5 (patch)
tree71cc0e32adf4bf7ae8fce04c99b6274663410734 /configure.ac
parent57da3b7db60ab6dd29edfef4116b58dfc6f66b08 (diff)
downloadhdf5-66947641209890553871e69f4474b450ed502ae5.zip
hdf5-66947641209890553871e69f4474b450ed502ae5.tar.gz
hdf5-66947641209890553871e69f4474b450ed502ae5.tar.bz2
[svn-r29050] Setting --enable-build-mode=debug now creates an H5_DEBUG_BUILD definition.
Tested on: linux VM (minor change)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4ab4245..2fc71c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -193,6 +193,7 @@ case "X-$BUILD_MODE" in
AC_MSG_RESULT([clean])
;;
X-debug)
+ AC_DEFINE([DEBUG_BUILD], [1], [Define if this is a debug build.])
H5_CFLAGS="$H5_CFLAGS $DEBUG_CFLAGS"
H5_CPPFLAGS="$H5_CPPFLAGS $DEBUG_CPPFLAGS"
H5_CXXFLAGS="$H5_CXXFLAGS $DEBUG_CXXFLAGS"