4 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
7 * Redistribution and use in source and binary forms are permitted only
8 * as authorized by the OpenLDAP Public License. A copy of this
9 * license is available at http://www.OpenLDAP.org/license.html or
10 * in file LICENSE in the top-level directory of the distribution.
15 #if defined( HAVE_SYSLOG_H )
17 #elif defined ( HAVE_SYS_SYSLOG_H )
18 #include <sys/syslog.h>
21 #if defined( LOG_NDELAY ) && defined( LOG_NOWAIT )
22 # define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY | LOG_NOWAIT )
23 #elif defined( LOG_NDELAY )
24 # define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY )
25 #elif defined( LOG_NOWAIT )
26 # define OPENLOG_OPTIONS ( LOG_PID | LOG_NOWAIT )
27 #elif defined( LOG_PID )
28 # define OPENLOG_OPTIONS ( LOG_PID )
30 # define OPENLOG_OPTIONS ( 0 )
33 #endif /* _AC_SYSLOG_H_ */