]> git.sur5r.net Git - openldap/commitdiff
Set TMPDIR
authorKurt Zeilenga <kurt@openldap.org>
Mon, 26 Jun 2000 01:24:38 +0000 (01:24 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 26 Jun 2000 01:24:38 +0000 (01:24 +0000)
include/ldap_config.h.in

index 59b5c673f36bb72c51651fd32c672b079d8d72eb..b0167e24b2da974ee4374d96c5579d63e05064ca 100644 (file)
 
 /* 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 */