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.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
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 */
28 #define LDAP_DIRSEP "/"
30 #define LDAP_DIRSEP "\\"
34 /* directory for temporary files */
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
44 # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
49 #define LDAP_BINDIR "/usr/bin"
52 #define LDAP_SBINDIR "/usr/sbin"
55 #define LDAP_DATADIR "/usr/share/openldap"
57 #ifndef LDAP_SYSCONFDIR
58 #define LDAP_SYSCONFDIR "/etc/openldap"
60 #ifndef LDAP_LIBEXECDIR
61 #define LDAP_LIBEXECDIR "/usr/libexec"
63 #ifndef LDAP_MODULEDIR
64 #define LDAP_MODULEDIR "/usr/libexec/openldap"
67 #define LDAP_RUNDIR "/var/openldap"
69 #ifndef LDAP_LOCALEDIR
70 #define LDAP_LOCALEDIR ""
74 #endif /* _LDAP_CONFIG_H */