1999-08-30 21:17:01 -04:00
|
|
|
/* $OpenLDAP$ */
|
2003-11-26 02:16:36 -05:00
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
|
*
|
2019-01-14 13:46:16 -05:00
|
|
|
* Copyright 1998-2019 The OpenLDAP Foundation.
|
1999-06-16 23:54:25 -04:00
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
2001-05-28 23:29:53 -04:00
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
|
* modification, are permitted only as authorized by the OpenLDAP
|
2003-11-26 02:16:36 -05:00
|
|
|
* Public License.
|
|
|
|
|
*
|
|
|
|
|
* A copy of this license is available in file LICENSE in the
|
|
|
|
|
* top-level directory of the distribution or, alternatively, at
|
|
|
|
|
* <http://www.OpenLDAP.org/license.html>.
|
1999-06-16 23:54:25 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
2017-02-26 02:49:31 -05:00
|
|
|
* This file works in conjunction with OpenLDAP configure system.
|
1999-06-16 23:54:25 -04:00
|
|
|
* 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
|
1999-10-28 03:26:44 -04:00
|
|
|
#ifndef _WIN32
|
1999-06-16 23:54:25 -04:00
|
|
|
#define LDAP_DIRSEP "/"
|
1999-10-28 03:26:44 -04:00
|
|
|
#else
|
|
|
|
|
#define LDAP_DIRSEP "\\"
|
|
|
|
|
#endif
|
1999-06-16 23:54:25 -04:00
|
|
|
#endif
|
|
|
|
|
|
2000-06-24 20:35:17 -04:00
|
|
|
/* directory for temporary files */
|
2001-12-06 21:22:07 -05:00
|
|
|
#if defined(_WIN32)
|
|
|
|
|
# define LDAP_TMPDIR "C:\\." /* we don't have much of a choice */
|
|
|
|
|
#elif defined( _P_tmpdir )
|
2000-06-25 21:24:38 -04:00
|
|
|
# define LDAP_TMPDIR _P_tmpdir
|
|
|
|
|
#elif defined( P_tmpdir )
|
|
|
|
|
# define LDAP_TMPDIR P_tmpdir
|
|
|
|
|
#elif defined( _PATH_TMPDIR )
|
|
|
|
|
# define LDAP_TMPDIR _PATH_TMPDIR
|
2000-06-24 20:35:17 -04:00
|
|
|
#else
|
2000-06-25 21:24:38 -04:00
|
|
|
# define LDAP_TMPDIR LDAP_DIRSEP "tmp"
|
2000-06-24 20:35:17 -04:00
|
|
|
#endif
|
|
|
|
|
|
1999-06-16 23:54:25 -04:00
|
|
|
/* 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
|
2007-06-10 17:55:39 -04:00
|
|
|
#ifndef LDAP_MODULEDIR
|
|
|
|
|
#define LDAP_MODULEDIR "%MODULEDIR%"
|
|
|
|
|
#endif
|
1999-06-16 23:54:25 -04:00
|
|
|
#ifndef LDAP_RUNDIR
|
|
|
|
|
#define LDAP_RUNDIR "%RUNDIR%"
|
|
|
|
|
#endif
|
2003-04-05 15:49:16 -05:00
|
|
|
#ifndef LDAP_LOCALEDIR
|
|
|
|
|
#define LDAP_LOCALEDIR "%LOCALEDIR%"
|
|
|
|
|
#endif
|
|
|
|
|
|
1999-06-16 23:54:25 -04:00
|
|
|
|
|
|
|
|
#endif /* _LDAP_CONFIG_H */
|