freebsd-dev/contrib/ntp/sntp/m4/ntp_debug.m4
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

23 lines
549 B
Plaintext

dnl ######################################################################
dnl Common m4sh code for debug
AC_DEFUN([NTP_DEBUG], [
AC_MSG_CHECKING([if we're including debugging code])
AC_ARG_ENABLE(
[debugging],
[AS_HELP_STRING(
[--enable-debugging],
[+ include ntpd debugging code]
)],
[ntp_ok=$enableval],
[ntp_ok=yes]
)
case "$ntp_ok" in
yes)
AC_DEFINE([DEBUG], [1], [Enable debugging code?])
esac
AC_MSG_RESULT([$ntp_ok])
])dnl
dnl ======================================================================