File: ldap_config.h.in

package info (click to toggle)
openldap2 2.0.23-6.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,816 kB
  • ctags: 6,366
  • sloc: ansic: 86,391; sh: 9,816; makefile: 1,270; cpp: 1,107; sql: 838; php: 700; perl: 134; tcl: 40
file content (72 lines) | stat: -rw-r--r-- 1,740 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* $OpenLDAP: pkg/ldap/include/ldap_config.h.in,v 1.1.8.5 2002/01/04 20:38:15 kurt Exp $ */
/*
 * Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted only as authorized by the OpenLDAP
 * Public License.  A copy of this license is available at
 * http://www.OpenLDAP.org/license.html or in file LICENSE in the
 * top-level directory of the distribution.
 */

/*
 * This file works in confunction with OpenLDAP configure system.
 * If you do no like the values below, adjust your configure options.
 */

#ifndef _LDAP_CONFIG_H
#define _LDAP_CONFIG_H

/* directory separator */
#ifndef LDAP_DIRSEP
#ifndef _WIN32
#define LDAP_DIRSEP "/"
#else
#define LDAP_DIRSEP "\\"
#endif
#endif

/* directory for temporary files */
#if defined( _P_tmpdir )
# define LDAP_TMPDIR _P_tmpdir
#elif defined( P_tmpdir )
# define LDAP_TMPDIR P_tmpdir
#elif defined( _PATH_TMPDIR )
# define LDAP_TMPDIR _PATH_TMPDIR
#else
# define LDAP_TMPDIR LDAP_DIRSEP "tmp"
#endif

/* directories */
#ifndef LDAP_BINDIR
#define LDAP_BINDIR			"%BINDIR%"
#endif
#ifndef LDAP_SBINDIR
#define LDAP_SBINDIR		"%SBINDIR%"
#endif
#ifndef LDAP_DATADIR
#define LDAP_DATADIR		"%DATADIR%"
#endif
#ifndef LDAP_SYSCONFDIR
#define LDAP_SYSCONFDIR		"%SYSCONFDIR%"
#endif
#ifndef LDAP_LIBEXECDIR
#define LDAP_LIBEXECDIR		"%LIBEXECDIR%"
#endif
#ifndef LDAP_RUNDIR
#define LDAP_RUNDIR			"%RUNDIR%"
#endif

/* command locations */
#ifndef LDAP_EDITOR
#define LDAP_EDITOR			"%EDITOR%"
#endif
#ifndef LDAP_FINGER
#define LDAP_FINGER			"%FINGER%"
#endif
#ifndef LDAP_SENDMAIL
#define LDAP_SENDMAIL		"%SENDMAIL%"
#endif

#endif /* _LDAP_CONFIG_H */