Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / bsd / openldap / include / ldap_config.h
blobd90eb9172f925a6347b30dff343f13d5c964abf9
1 /* Generated from /usr/src/external/bsd/openldap/dist/include/ldap_config.hin */
2 /* $OpenLDAP: pkg/ldap/include/ldap_config.hin,v 1.3.2.3 2008/02/11 23:26:40 kurt Exp $ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 1998-2008 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 confunction 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 "/usr/bin"
50 #endif
51 #ifndef LDAP_SBINDIR
52 #define LDAP_SBINDIR "/usr/sbin"
53 #endif
54 #ifndef LDAP_DATADIR
55 #define LDAP_DATADIR "/usr/share/openldap"
56 #endif
57 #ifndef LDAP_SYSCONFDIR
58 #define LDAP_SYSCONFDIR "/etc/openldap"
59 #endif
60 #ifndef LDAP_LIBEXECDIR
61 #define LDAP_LIBEXECDIR "/usr/libexec"
62 #endif
63 #ifndef LDAP_MODULEDIR
64 #define LDAP_MODULEDIR "/usr/libexec/openldap"
65 #endif
66 #ifndef LDAP_RUNDIR
67 #define LDAP_RUNDIR "/var/openldap"
68 #endif
69 #ifndef LDAP_LOCALEDIR
70 #define LDAP_LOCALEDIR ""
71 #endif
74 #endif /* _LDAP_CONFIG_H */