ldap_config.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /* Generated from ./ldap_config.hin on */
  2. /* $OpenLDAP$ */
  3. /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  4. *
  5. * Copyright 1998-2022 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. * This file works in conjunction with OpenLDAP configure system.
  18. * If you do no like the values below, adjust your configure options.
  19. */
  20. #ifndef _LDAP_CONFIG_H
  21. #define _LDAP_CONFIG_H
  22. /* directory separator */
  23. #ifndef LDAP_DIRSEP
  24. #ifndef _WIN32
  25. #define LDAP_DIRSEP "/"
  26. #else
  27. #define LDAP_DIRSEP "\\"
  28. #endif
  29. #endif
  30. /* directory for temporary files */
  31. #if defined(_WIN32)
  32. # define LDAP_TMPDIR "C:\\." /* we don't have much of a choice */
  33. #elif defined( _P_tmpdir )
  34. # define LDAP_TMPDIR _P_tmpdir
  35. #elif defined( P_tmpdir )
  36. # define LDAP_TMPDIR P_tmpdir
  37. #elif defined( _PATH_TMPDIR )
  38. # define LDAP_TMPDIR _PATH_TMPDIR
  39. #else
  40. # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
  41. #endif
  42. /* directories */
  43. #ifndef LDAP_BINDIR
  44. #define LDAP_BINDIR "/var/empty/tmp/out/bin"
  45. #endif
  46. #ifndef LDAP_SBINDIR
  47. #define LDAP_SBINDIR "/var/empty/tmp/out/sbin"
  48. #endif
  49. #ifndef LDAP_DATADIR
  50. #define LDAP_DATADIR "/var/empty/openldap-2.6.7/share/openldap"
  51. #endif
  52. #ifndef LDAP_SYSCONFDIR
  53. #define LDAP_SYSCONFDIR "/var/empty/openldap-2.6.7/etc/openldap"
  54. #endif
  55. #ifndef LDAP_LIBEXECDIR
  56. #define LDAP_LIBEXECDIR "/var/empty/tmp/out/libexec"
  57. #endif
  58. #ifndef LDAP_MODULEDIR
  59. #define LDAP_MODULEDIR "/var/empty/tmp/out/libexec/openldap"
  60. #endif
  61. #ifndef LDAP_RUNDIR
  62. #define LDAP_RUNDIR "/var/empty/openldap-2.6.7/var"
  63. #endif
  64. #ifndef LDAP_LOCALEDIR
  65. #define LDAP_LOCALEDIR ""
  66. #endif
  67. #endif /* _LDAP_CONFIG_H */