3 * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted only as authorized by the OpenLDAP
8 * Public License. A copy of this license is available at
9 * http://www.OpenLDAP.org/license.html or in file LICENSE in the
10 * top-level directory of the distribution.
14 * This file works in confunction with OpenLDAP configure system.
15 * If you do no like the values below, adjust your configure options.
18 #ifndef _LDAP_CONFIG_H
19 #define _LDAP_CONFIG_H
21 /* directory separator */
24 #define LDAP_DIRSEP "/"
26 #define LDAP_DIRSEP "\\"
30 /* directory for temporary files */
32 # define LDAP_TMPDIR "C:\\." /* we don't have much of a choice */
33 #elif defined( _P_tmpdir )
34 # define LDAP_TMPDIR _P_tmpdir
35 #elif defined( P_tmpdir )
36 # define LDAP_TMPDIR P_tmpdir
37 #elif defined( _PATH_TMPDIR )
38 # define LDAP_TMPDIR _PATH_TMPDIR
40 # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
45 #define LDAP_BINDIR "%BINDIR%"
48 #define LDAP_SBINDIR "%SBINDIR%"
51 #define LDAP_DATADIR "%DATADIR%"
53 #ifndef LDAP_SYSCONFDIR
54 #define LDAP_SYSCONFDIR "%SYSCONFDIR%"
56 #ifndef LDAP_LIBEXECDIR
57 #define LDAP_LIBEXECDIR "%LIBEXECDIR%"
60 #define LDAP_RUNDIR "%RUNDIR%"
63 /* command locations */
65 #define LDAP_EDITOR "%EDITOR%"
68 #define LDAP_SENDMAIL "%SENDMAIL%"
71 #endif /* _LDAP_CONFIG_H */