3 * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
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.
13 * This file works in confunction with OpenLDAP configure system.
14 * If you do no like the values below, adjust your configure options.
17 #ifndef _LDAP_CONFIG_H
18 #define _LDAP_CONFIG_H
20 /* directory separator */
23 #define LDAP_DIRSEP "/"
25 #define LDAP_DIRSEP "\\"
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
37 # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
42 #define LDAP_BINDIR "%BINDIR%"
45 #define LDAP_SBINDIR "%SBINDIR%"
48 #define LDAP_DATADIR "%DATADIR%"
50 #ifndef LDAP_SYSCONFDIR
51 #define LDAP_SYSCONFDIR "%SYSCONFDIR%"
53 #ifndef LDAP_LIBEXECDIR
54 #define LDAP_LIBEXECDIR "%LIBEXECDIR%"
57 #define LDAP_RUNDIR "%RUNDIR%"
60 /* command locations */
62 #define LDAP_EDITOR "%EDITOR%"
65 #define LDAP_FINGER "%FINGER%"
68 #define LDAP_SENDMAIL "%SENDMAIL%"
71 #endif /* _LDAP_CONFIG_H */