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