caps for giving the build target. show it at the end
This commit is contained in:
parent
3f3f8a17e5
commit
182cfb2145
2 changed files with 7 additions and 2 deletions
|
@ -56,6 +56,11 @@ AC_MSG_RESULT
|
||||||
AC_MSG_RESULT([$PACKAGE version $VERSION configured successfully.])
|
AC_MSG_RESULT([$PACKAGE version $VERSION configured successfully.])
|
||||||
|
|
||||||
AC_MSG_RESULT
|
AC_MSG_RESULT
|
||||||
|
if test "$DEBUG" = "yes"; then
|
||||||
|
AC_MSG_RESULT([Creating a DEBUG build.])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([Creating a RELEASE build.])
|
||||||
|
fi
|
||||||
AC_MSG_RESULT([Using '$prefix' for installation.])
|
AC_MSG_RESULT([Using '$prefix' for installation.])
|
||||||
AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
|
AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
|
||||||
AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
|
AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
|
||||||
|
|
|
@ -16,10 +16,10 @@ AC_DEFUN([OB_DEBUG],
|
||||||
|
|
||||||
if test "$DEBUG" = "yes"; then
|
if test "$DEBUG" = "yes"; then
|
||||||
AC_MSG_RESULT([debug])
|
AC_MSG_RESULT([debug])
|
||||||
AC_DEFINE([DEBUG], [1], [Creating a debug build])
|
AC_DEFINE([DEBUG], [1], [Creating a DEBUG build])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([release])
|
AC_MSG_RESULT([release])
|
||||||
AC_DEFINE([NDEBUG], [1], [Creating a release build])
|
AC_DEFINE([NDEBUG], [1], [Creating a RELEASE build])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue