diff --git a/configure.ac b/configure.ac
index 6a8e7300928ee27bfa2ea0b701c5fd5116a117b8..3bd656950d3c61f15d10d4f13aa7d216b16f83c1 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