summaryrefslogtreecommitdiffstats
path: root/build/linux/configure.ac
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-02-03 16:57:54 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-03-20 15:50:22 +0100
commit99718ef1734c0db06034127da703f70a1c30f1a3 (patch)
tree00e8b8553c6acfd48be8e597786e39ddc0257880 /build/linux/configure.ac
parentb51e404d3be18b9b1e39e6e3548eed9ddb586ea7 (diff)
downloadastra-99718ef1734c0db06034127da703f70a1c30f1a3.tar.gz
astra-99718ef1734c0db06034127da703f70a1c30f1a3.tar.bz2
astra-99718ef1734c0db06034127da703f70a1c30f1a3.tar.xz
astra-99718ef1734c0db06034127da703f70a1c30f1a3.zip
Disable openmp on macOS
Diffstat (limited to 'build/linux/configure.ac')
-rw-r--r--build/linux/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/linux/configure.ac b/build/linux/configure.ac
index 43cb1a8..813b462 100644
--- a/build/linux/configure.ac
+++ b/build/linux/configure.ac
@@ -251,13 +251,16 @@ AC_CANONICAL_HOST
case $host_os in
darwin* )
CPPFLAGS_OS="-stdlib=libstdc++ -mmacosx-version-min=10.6"
+ IS_MACOS=yes
;;
*)
CPPFLAGS_OS=""
+ IS_MACOS=no
;;
esac
AC_SUBST(CPPFLAGS_OS)
+AC_SUBST(IS_MACOS)
# For some reason, some older versions of autoconf produce a config.status
# that disables all lines looking like VPATH=@srcdir@