summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-07-10 18:44:08 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-07-10 18:44:08 (GMT)
commit800f93f7c994f88dfa716746153ded4b1e690e3a (patch)
treec55044bdfe69c6297c416a11956b2a50100e1520 /configure.ac
parent0f3fd8d53d9af7e024668c1cfae0780cb9f424dd (diff)
parentf5da9b1befeb81aa9f4d97df3ec606f801807420 (diff)
downloadhdf5-800f93f7c994f88dfa716746153ded4b1e690e3a.zip
hdf5-800f93f7c994f88dfa716746153ded4b1e690e3a.tar.gz
hdf5-800f93f7c994f88dfa716746153ded4b1e690e3a.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fb50f94..670b0eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1249,6 +1249,13 @@ case "$host_cpu-$host_vendor-$host_os" in
## VFD on Linux systems.
H5_CPPFLAGS="-D_GNU_SOURCE $H5_CPPFLAGS"
;;
+
+ *solaris*)
+ ## Solaris also needs _POSIX_C_SOURCE set correctly to pick up
+ ## clock_gettime().
+ H5_CPPFLAGS="-D_POSIX_C_SOURCE=200112L $H5_CPPFLAGS"
+ H5_CPPFLAGS="-D_GNU_SOURCE $H5_CPPFLAGS"
+ ;;
esac
## Need to add the AM_ and H5_ into CFLAGS/CPPFLAGS to make them visible