1/* Generated from /net/quasar/src-5/NetBSD/src/external/bsd/openldap/dist/include/ldap_config.hin */ 2/* $OpenLDAP$ */ 3/* This work is part of OpenLDAP Software <http://www.openldap.org/>. 4 * 5 * Copyright 1998-2020 The OpenLDAP Foundation. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted only as authorized by the OpenLDAP 10 * Public License. 11 * 12 * A copy of this license is available in file LICENSE in the 13 * top-level directory of the distribution or, alternatively, at 14 * <http://www.OpenLDAP.org/license.html>. 15 */ 16 17/* 18 * This file works in confunction with OpenLDAP configure system. 19 * If you do no like the values below, adjust your configure options. 20 */ 21 22#ifndef _LDAP_CONFIG_H 23#define _LDAP_CONFIG_H 24 25/* directory separator */ 26#ifndef LDAP_DIRSEP 27#ifndef _WIN32 28#define LDAP_DIRSEP "/" 29#else 30#define LDAP_DIRSEP "\\" 31#endif 32#endif 33 34/* directory for temporary files */ 35#if defined(_WIN32) 36# define LDAP_TMPDIR "C:\\." /* we don't have much of a choice */ 37#elif defined( _P_tmpdir ) 38# define LDAP_TMPDIR _P_tmpdir 39#elif defined( P_tmpdir ) 40# define LDAP_TMPDIR P_tmpdir 41#elif defined( _PATH_TMPDIR ) 42# define LDAP_TMPDIR _PATH_TMPDIR 43#else 44# define LDAP_TMPDIR LDAP_DIRSEP "tmp" 45#endif 46 47/* directories */ 48#ifndef LDAP_BINDIR 49#define LDAP_BINDIR "/usr/bin" 50#endif 51#ifndef LDAP_SBINDIR 52#define LDAP_SBINDIR "/usr/sbin" 53#endif 54#ifndef LDAP_DATADIR 55#define LDAP_DATADIR "/usr/share/openldap" 56#endif 57#ifndef LDAP_SYSCONFDIR 58#define LDAP_SYSCONFDIR "/etc/openldap" 59#endif 60#ifndef LDAP_LIBEXECDIR 61#define LDAP_LIBEXECDIR "/usr/libexec" 62#endif 63#ifndef LDAP_MODULEDIR 64#define LDAP_MODULEDIR "/usr/libexec/openldap" 65#endif 66#ifndef LDAP_RUNDIR 67#define LDAP_RUNDIR "/var/openldap" 68#endif 69#ifndef LDAP_LOCALEDIR 70#define LDAP_LOCALEDIR "" 71#endif 72 73 74#endif /* _LDAP_CONFIG_H */ 75