home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ldapsdk.zip / include / ldap_config.h.in < prev    next >
Text File  |  2001-06-02  |  2KB  |  73 lines

  1. /* $OpenLDAP: pkg/ldap/include/ldap_config.h.in,v 1.1.8.4 2001/06/02 00:33:03 kurt Exp $ */
  2. /*
  3.  * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
  4.  * All rights reserved.
  5.  *
  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.
  11.  */
  12.  
  13. /*
  14.  * This file works in confunction with OpenLDAP configure system.
  15.  * If you do no like the values below, adjust your configure options.
  16.  */
  17.  
  18. #ifndef _LDAP_CONFIG_H
  19. #define _LDAP_CONFIG_H
  20.  
  21. /* directory separator */
  22. #ifndef LDAP_DIRSEP
  23. #ifndef _WIN32
  24. #define LDAP_DIRSEP "/"
  25. #else
  26. #define LDAP_DIRSEP "\\"
  27. #endif
  28. #endif
  29.  
  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
  37. #else
  38. # define LDAP_TMPDIR LDAP_DIRSEP "tmp"
  39. #endif
  40.  
  41. /* directories */
  42. #ifndef LDAP_BINDIR
  43. #define LDAP_BINDIR            "%BINDIR%"
  44. #endif
  45. #ifndef LDAP_SBINDIR
  46. #define LDAP_SBINDIR        "%SBINDIR%"
  47. #endif
  48. #ifndef LDAP_DATADIR
  49. #define LDAP_DATADIR        "%DATADIR%"
  50. #endif
  51. #ifndef LDAP_SYSCONFDIR
  52. #define LDAP_SYSCONFDIR        "%SYSCONFDIR%"
  53. #endif
  54. #ifndef LDAP_LIBEXECDIR
  55. #define LDAP_LIBEXECDIR        "%LIBEXECDIR%"
  56. #endif
  57. #ifndef LDAP_RUNDIR
  58. #define LDAP_RUNDIR            "%RUNDIR%"
  59. #endif
  60.  
  61. /* command locations */
  62. #ifndef LDAP_EDITOR
  63. #define LDAP_EDITOR            "%EDITOR%"
  64. #endif
  65. #ifndef LDAP_FINGER
  66. #define LDAP_FINGER            "%FINGER%"
  67. #endif
  68. #ifndef LDAP_SENDMAIL
  69. #define LDAP_SENDMAIL        "%SENDMAIL%"
  70. #endif
  71.  
  72. #endif /* _LDAP_CONFIG_H */
  73.