diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-07-10 18:44:08 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-07-10 18:44:08 (GMT) |
commit | 800f93f7c994f88dfa716746153ded4b1e690e3a (patch) | |
tree | c55044bdfe69c6297c416a11956b2a50100e1520 /configure.ac | |
parent | 0f3fd8d53d9af7e024668c1cfae0780cb9f424dd (diff) | |
parent | f5da9b1befeb81aa9f4d97df3ec606f801807420 (diff) | |
download | hdf5-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.ac | 7 |
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 |