libs: Import code from upstream openldap 2.5.13.
[wine.git] / libs / ldap / include / ldap_config.h
blobd092849d7a4104980b131150901f988790f66579
1 /* Generated from ./ldap_config.hin on Wed 22 Dec 2021 05:22:52 PM CET */
2 /* $OpenLDAP$ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 1998-2022 The OpenLDAP Foundation.
6 * All rights reserved.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
10 * Public License.
12 * A copy of this license is available in file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
18 * This file works in conjunction with OpenLDAP configure system.
19 * If you do no like the values below, adjust your configure options.
22 #ifndef _LDAP_CONFIG_H
23 #define _LDAP_CONFIG_H
25 /* directory separator */
26 #ifndef LDAP_DIRSEP
27 #ifndef _WIN32
28 #define LDAP_DIRSEP "/"
29 #else
30 #define LDAP_DIRSEP "\\"
31 #endif
32 #endif
34 /* directory for temporary files */
35 #if defined(_WIN32)
36 # define LDAP_TMPDIR "C:\\." /* we don't have much of a choice */
37 #elif defined( _P_tmpdir )
38 # define LDAP_TMPDIR _P_tmpdir
39 #elif defined( P_tmpdir )
40 # define LDAP_TMPDIR P_tmpdir
41 #elif defined( _PATH_TMPDIR )
42 # define LDAP_TMPDIR _PATH_TMPDIR
43 #else
44 # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
45 #endif
47 /* directories */
48 #ifndef LDAP_BINDIR
49 #define LDAP_BINDIR ""
50 #endif
51 #ifndef LDAP_SBINDIR
52 #define LDAP_SBINDIR ""
53 #endif
54 #ifndef LDAP_DATADIR
55 #define LDAP_DATADIR ""
56 #endif
57 #ifndef LDAP_SYSCONFDIR
58 #define LDAP_SYSCONFDIR ""
59 #endif
60 #ifndef LDAP_LIBEXECDIR
61 #define LDAP_LIBEXECDIR ""
62 #endif
63 #ifndef LDAP_MODULEDIR
64 #define LDAP_MODULEDIR ""
65 #endif
66 #ifndef LDAP_RUNDIR
67 #define LDAP_RUNDIR ""
68 #endif
69 #ifndef LDAP_LOCALEDIR
70 #define LDAP_LOCALEDIR ""
71 #endif
74 #endif /* _LDAP_CONFIG_H */