3 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms are permitted only
7 * as authorized by the OpenLDAP Public License. A copy of this
8 * license is available at http://www.OpenLDAP.org/license.html or
9 * in file LICENSE in the top-level directory of the distribution.
23 #if !defined( LDAP_SIGUSR1 ) || !defined( LDAP_SIGUSR2 )
27 # ifndef HAVE_LINUX_THREADS
28 # define LDAP_SIGUSR1 SIGUSR1
29 # define LDAP_SIGUSR2 SIGUSR2
33 LinuxThreads implemented unfortunately uses the only
34 two signals reserved for user applications. This forces
35 OpenLDAP to use, hopefullly unused, signals reserved
39 # if defined( SIGSTKFLT )
40 # define LDAP_SIGUSR1 SIGSTKFLT
41 # elif defined ( SIGSYS )
42 # define LDAP_SIGUSR1 SIGSYS
45 # if defined( SIGUNUSED )
46 # define LDAP_SIGUSR2 SIGUNUSED
47 # elif defined ( SIGINFO )
48 # define LDAP_SIGUSR2 SIGINFO
49 # elif defined ( SIGEMT )
50 # define LDAP_SIGUSR2 SIGEMT
55 #endif /* _AC_SIGNAL_H */