bk: 4d367f7cs5p-lshAb4KJQO7EKpL45w
[Is there a problem using PARENB and IGNPAR?])
esac
-AC_MSG_CHECKING([if we're including ntpd 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 ntpd debugging code?])
-esac
-AC_MSG_RESULT([$ntp_ok])
-
AC_MSG_CHECKING([if we're including processing time debugging code])
AC_ARG_ENABLE(
[debug-timing],
dnl ######################################################################
-dnl Common m4sh code for libntp clients
+dnl Common m4sh code for debug and libntp clients
AC_DEFUN([NTP_LIBNTP], [
+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])
+
# Expose a cross-compilation indicator to makefiles
AM_CONDITIONAL([NTP_CROSSCOMPILE], [test $build != $host])