From 277bee50ebf95d98034ecdab9f3cb6dc498397b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Loi=CC=88c=20Correnson?= <loic.correnson@cea.fr>
Date: Wed, 24 Apr 2019 16:17:04 +0200
Subject: [PATCH] [configure] use uname -s to detect Mac OSX

---
 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index c87bf5bac29..392853a370d 100644
--- a/configure.in
+++ b/configure.in
@@ -436,7 +436,7 @@ else
     PLATFORM=Cygwin
     EXE=.exe
   else
-    if test -x "/Applications/Mail.app"; then
+    if test $(uname -s) = "Darwin"; then
       AC_MSG_RESULT(MacOS)
       PLATFORM=MacOS
     else
-- 
GitLab