From 25ccd3c8c6706c00a4fe7ee7956b56c592000aa3 Mon Sep 17 00:00:00 2001
From: nash169 <bernardo.fichera@gmail.com>
Date: Sat, 19 Nov 2016 16:36:34 +0100
Subject: [PATCH] Add conditional to check the OS

Conditional name DARWIN checks if you are compiling on a macOS/OSX system.
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 6a8e730..3bd6569 100644
--- a/configure.ac
+++ b/configure.ac
@@ -393,6 +393,8 @@ AC_SUBST(LAUNCHSTYLE)
 AM_CONDITIONAL([LAUNCHSTYLE_SET], [test ! -z "$LAUNCHSTYLE"])
 #AC_SUBST([TEST_SH_LIST])
 
+AM_CONDITIONAL([DARWIN], [test $(uname) = Darwin])
+
 AC_CONFIG_FILES([
   Makefile
   mpidep/Makefile
-- 
GitLab