From: Kurt Zeilenga Date: Mon, 26 Jun 2000 01:24:38 +0000 (+0000) Subject: Set TMPDIR X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2524 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7f24a010a46c307f13ba11633676c49d1875e988;p=openldap Set TMPDIR --- diff --git a/include/ldap_config.h.in b/include/ldap_config.h.in index 59b5c673f3..b0167e24b2 100644 --- a/include/ldap_config.h.in +++ b/include/ldap_config.h.in @@ -28,9 +28,13 @@ /* directory for temporary files */ #if defined( _P_tmpdir ) -#define LDAP_TMPDIR _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" +# define LDAP_TMPDIR LDAP_DIRSEP "tmp" #endif /* directories */