diff options
Diffstat (limited to 'gdbsupport/configure.ac')
-rw-r--r-- | gdbsupport/configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdbsupport/configure.ac b/gdbsupport/configure.ac index 1f79460..ac2ade6 100644 --- a/gdbsupport/configure.ac +++ b/gdbsupport/configure.ac @@ -63,6 +63,14 @@ GDB_AC_PTRACE AM_GDB_COMPILER_TYPE AM_GDB_WARNINGS +# Set the 'development' global. +. $srcdir/../bfd/development.sh + +if test "$development" = true ; then + AC_DEFINE(DEVELOPMENT, 1, + [Define if development-mode features are enabled.]) +fi + case ${host} in *mingw32*) AC_DEFINE(USE_WIN32API, 1, @@ -73,5 +81,7 @@ case ${host} in ;; esac +AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$srcdir/../bfd/development.sh']) + AC_CONFIG_FILES([Makefile]) AC_OUTPUT |