]> git.sur5r.net Git - openldap/blob - include/ldap_config.h.in
ITS#619: TLS PRNG initialization code
[openldap] / include / ldap_config.h.in
1 /* $OpenLDAP$ */
2 /*
3  * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
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.
10  */
11
12 /*
13  * This file works in confunction with OpenLDAP configure system.
14  * If you do no like the values below, adjust your configure options.
15  */
16
17 #ifndef _LDAP_CONFIG_H
18 #define _LDAP_CONFIG_H
19
20 /* directory separator */
21 #ifndef LDAP_DIRSEP
22 #ifndef _WIN32
23 #define LDAP_DIRSEP "/"
24 #else
25 #define LDAP_DIRSEP "\\"
26 #endif
27 #endif
28
29 /* directory for temporary files */
30 #if defined( _P_tmpdir )
31 # define LDAP_TMPDIR _P_tmpdir
32 #elif defined( P_tmpdir )
33 # define LDAP_TMPDIR P_tmpdir
34 #elif defined( _PATH_TMPDIR )
35 # define LDAP_TMPDIR _PATH_TMPDIR
36 #else
37 # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
38 #endif
39
40 /* directories */
41 #ifndef LDAP_BINDIR
42 #define LDAP_BINDIR                     "%BINDIR%"
43 #endif
44 #ifndef LDAP_SBINDIR
45 #define LDAP_SBINDIR            "%SBINDIR%"
46 #endif
47 #ifndef LDAP_DATADIR
48 #define LDAP_DATADIR            "%DATADIR%"
49 #endif
50 #ifndef LDAP_SYSCONFDIR
51 #define LDAP_SYSCONFDIR         "%SYSCONFDIR%"
52 #endif
53 #ifndef LDAP_LIBEXECDIR
54 #define LDAP_LIBEXECDIR         "%LIBEXECDIR%"
55 #endif
56 #ifndef LDAP_RUNDIR
57 #define LDAP_RUNDIR                     "%RUNDIR%"
58 #endif
59
60 /* command locations */
61 #ifndef LDAP_EDITOR
62 #define LDAP_EDITOR                     "%EDITOR%"
63 #endif
64 #ifndef LDAP_FINGER
65 #define LDAP_FINGER                     "%FINGER%"
66 #endif
67 #ifndef LDAP_SENDMAIL
68 #define LDAP_SENDMAIL           "%SENDMAIL%"
69 #endif
70
71 #endif /* _LDAP_CONFIG_H */