diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-09-10 04:20:13 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-09-10 04:20:13 (GMT) |
commit | 9541338eb3074637abfb6a11514d0116da94fffd (patch) | |
tree | 8cf70835f088184ae54604699be822c27961311a /configure | |
parent | b6a34fb182be882f2f494a86cd23d0e732d656e7 (diff) | |
download | hdf5-9541338eb3074637abfb6a11514d0116da94fffd.zip hdf5-9541338eb3074637abfb6a11514d0116da94fffd.tar.gz hdf5-9541338eb3074637abfb6a11514d0116da94fffd.tar.bz2 |
[svn-r27738] Merge of r27686 from the trunk
Removes _BSD_SOURCE and _DEFAULT_SOURCE from configure.ac. They
are no longer needed by the library.
Fixes HDFFV-9079
Tested on: h5committest
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Id: configure.ac 27736 2015-09-10 03:23:40Z derobins . +# From configure.ac Id: configure.ac 27737 2015-09-10 03:47:01Z derobins . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for HDF5 1.8.16-snap16. # @@ -22292,21 +22292,6 @@ case "$host_cpu-$host_vendor-$host_os" in ## Need to add this so that O_DIRECT is visible for the direct ## VFD on Linux systems. H5_CPPFLAGS="-D_GNU_SOURCE $H5_CPPFLAGS" - - ## Also add BSD support on Linux systems, so <features.h> defines - ## __USE_BSD, which is required to get the prototype for strdup - ## defined correctly in <string.h> and snprintf & vsnprintf defined - ## correctly in <stdio.h> - ## Linking to the bsd-compat library is required as per the gcc manual: - ## http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html - ## however, we do not do this since it breaks the big test on some - ## older platforms. - H5_CPPFLAGS="-D_BSD_SOURCE $H5_CPPFLAGS" - - ## _BSD_SOURCE is deprecated as of glibc 2.20, in favor of _DEFAULT_SOURCE. - ## To avoid warnings, we define _DEFAULT_SOURCE in addition to _BSD_SOURCE, - ## which should work for all versions of glibc. - H5_CPPFLAGS="-D_DEFAULT_SOURCE $H5_CPPFLAGS" ;; esac |