diff options
author | Shawn Routhier <sar@isc.org> | 2014-05-07 12:19:33 -0700 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2014-05-07 12:19:33 -0700 |
commit | 00e9af8ee0d724e5dc6d15c43d8f602909981d66 (patch) | |
tree | 744a0fc908b52d45b7ed0941afdb61e4735526b2 /configure | |
parent | d8c7c34ef64922f1b7d60c5bd5ac01d8ad5ffdca (diff) | |
download | isc-dhcp-00e9af8ee0d724e5dc6d15c43d8f602909981d66.tar.gz |
[master] Add configure option to incude PID in syslog entries
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -746,6 +746,7 @@ enable_early_chroot enable_ipv4_pktinfo enable_use_sockets enable_secs_byteorder +enable_log_pid with_atf with_srv_lease_file with_srv6_lease_file @@ -1414,6 +1415,7 @@ Optional Features: --enable-use-sockets use the standard BSD socket API (default is no) --enable-secs-byteorder Correct bad byteorders in the secs field (default is no). + --enable-log-pid Include PIDs in syslog messages (default is no). Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -5400,6 +5402,20 @@ $as_echo "#define SECS_BYTEORDER 1" >>confdefs.h fi +# Include the PID in the log messages. This is useful when there may be multiple +# instances of a program. +# This is off by default +# Check whether --enable-log_pid was given. +if test "${enable_log_pid+set}" = set; then : + enableval=$enable_log_pid; +fi + +if test "$enable_log_pid" = "yes" ; then + +$as_echo "#define USE_LOG_PID 1" >>confdefs.h + +fi + # Testing section atf_path="no" |