From 7f24a010a46c307f13ba11633676c49d1875e988 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 26 Jun 2000 01:24:38 +0000 Subject: [PATCH] Set TMPDIR --- include/ldap_config.h.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 */ -- 2.39.5