Add --with-klogd-delay=SEC configure option
This enables the same functionality as the old build system, only slightly more flexible since you don't need to edit the Makefile. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
2b1dd66f0f
commit
38651d9322
10
configure.ac
10
configure.ac
@ -28,4 +28,14 @@ AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
AC_HEADER_STDC
|
||||
|
||||
AC_ARG_WITH(klogd-delay,
|
||||
AS_HELP_STRING([--with-klogd-delay=SEC], [when started at the same time as syslogd, default: 0]),
|
||||
[klogd_delay=$withval], [klogd_delay='no'])
|
||||
|
||||
AS_IF([test "x$klogd_delay" != "xno"],[
|
||||
AS_IF([test "x$klogd_delay" = "xyes"],[
|
||||
AC_MSG_ERROR([Must supply argument])])
|
||||
]
|
||||
AC_DEFINE_UNQUOTED(KLOGD_DELAY, $klogd_delay, [Delay klogd startup N seconds, default: 0]))
|
||||
|
||||
AC_OUTPUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user