3 * Copyright 1998-2001 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 */
31 #if defined( _P_tmpdir )
32 # define LDAP_TMPDIR _P_tmpdir
33 #elif defined( P_tmpdir )
34 # define LDAP_TMPDIR P_tmpdir
35 #elif defined( _PATH_TMPDIR )
36 # define LDAP_TMPDIR _PATH_TMPDIR
38 # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
43 #define LDAP_BINDIR "%BINDIR%"
46 #define LDAP_SBINDIR "%SBINDIR%"
49 #define LDAP_DATADIR "%DATADIR%"
51 #ifndef LDAP_SYSCONFDIR
52 #define LDAP_SYSCONFDIR "%SYSCONFDIR%"
54 #ifndef LDAP_LIBEXECDIR
55 #define LDAP_LIBEXECDIR "%LIBEXECDIR%"
58 #define LDAP_RUNDIR "%RUNDIR%"
61 /* command locations */
63 #define LDAP_EDITOR "%EDITOR%"
66 #define LDAP_FINGER "%FINGER%"
69 #define LDAP_SENDMAIL "%SENDMAIL%"
72 #endif /* _LDAP_CONFIG_H */