[svn-r29050] Setting --enable-build-mode=debug now creates an H5_DEBUG_BUILD definition.

Tested on: linux VM (minor change)
This commit is contained in:
Dana Robinson 2016-02-05 16:27:12 -05:00
parent 57da3b7db6
commit 6694764120

View File

@ -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"