Commit 11dadbc7 authored by Adam Mercer's avatar Adam Mercer
Browse files

move LAL_ENABLE_DEBUG to top-level

Original: 5b0b2f1cea544edd9050f0190c8d2a87fac82af3
parent 703742b1
# lalsuite_build.m4 - top level build macros
#
# serial 16
# serial 17
AC_DEFUN([LALSUITE_USE_LIBTOOL],
[## $0: Generate a libtool script for use in configure tests
......@@ -129,6 +129,18 @@ AC_DEFUN([LALSUITE_ENABLE_NIGHTLY],
AC_SUBST(NIGHTLY_VERSION)
])
AC_DEFUN([LALSUITE_ENABLE_DEBUG],
[AC_ARG_ENABLE(
[debug],
AC_HELP_STRING([--enable-debug],[include standard LAL debugging code [default=yes]]),
[ case "${enableval}" in
yes) ;;
no) AC_DEFINE(LAL_NDEBUG, 1, Suppress debugging code) ;;
*) AC_MSG_ERROR(bad value for ${enableval} for --enable-debug) ;;
esac
], )
])
AC_DEFUN([LALSUITE_ENABLE_ALL_LAL],
[AC_ARG_ENABLE(
[all_lal],
......
......@@ -147,7 +147,7 @@ LALSUITE_WITH_CUDA
LALSUITE_ENABLE_BOINC
LALSUITE_ENABLE_GCC_FLAGS
LAL_ENABLE_DEBUG
LALSUITE_ENABLE_DEBUG
LAL_ENABLE_MACROS
LAL_ENABLE_PTHREAD_LOCK
LALSUITE_ENABLE_NIGHTLY
......
# lal.m4 - lal specific macros
#
# serial 8
# serial 9
AC_DEFUN([LAL_WITH_EXTRA_CPPFLAGS],
[AC_ARG_WITH(
......@@ -81,18 +81,6 @@ AC_DEFUN([LAL_ENABLE_INTELFFT],
], [ intelfft=false ] )
])
AC_DEFUN([LAL_ENABLE_DEBUG],
[AC_ARG_ENABLE(
[debug],
AC_HELP_STRING([--enable-debug],[include standard LAL debugging code [default=yes]]),
[ case "${enableval}" in
yes) ;;
no) AC_DEFINE(LAL_NDEBUG, 1, Suppress debugging code) ;;
*) AC_MSG_ERROR(bad value for ${enableval} for --enable-debug) ;;
esac
], )
])
AC_DEFUN([LAL_ENABLE_MACROS],
[AC_ARG_ENABLE(
[macros],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment