From 1f62e93200d3307b0c777c27f3fe35cbd4d308b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
Date: Sun, 16 Nov 2014 14:50:17 +0100
Subject: configure.ac: Haiku does have a thread-safe getenv

Also force HAVE_PTHREAD.

diff --git a/configure.ac b/configure.ac
index 628e5ff..b9d4410 100644
--- a/configure.ac
+++ b/configure.ac
@@ -230,6 +230,9 @@ case "${host}" in
     *-apple-darwin*)
         have_macos_system=yes
         ;;
+    *-haiku*)
+        have_thread_safe_getenv=yes
+        ;;
 esac
 case "${host}" in
     *-mingw32*)
-- 
2.30.0

