mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
Added awk processing to remove extraneous whitespace from H5_
flags in configure.
This commit is contained in:
parent
25727c4f2c
commit
373de3f95f
@ -3352,6 +3352,14 @@ fi
|
||||
##
|
||||
AM_CONDITIONAL([HAVE_SHARED_CONDITIONAL], [test "X$enable_shared" = "Xyes"])
|
||||
|
||||
## The H5 flags go through multiple rounds of processing, which can introduce
|
||||
## extra whitespace. Trim this for nicer output in the settings file.
|
||||
H5_LDFLAGS=$(echo "$H5_LDFLAGS" | awk '$1=$1')
|
||||
H5_CPPFLAGS=$(echo "$H5_CPPFLAGS" | awk '$1=$1')
|
||||
H5_CFLAGS=$(echo "$H5_CFLAGS" | awk '$1=$1')
|
||||
H5_FCFLAGS=$(echo "$H5_FCFLAGS" | awk '$1=$1')
|
||||
H5_CXXFLAGS=$(echo "$H5_CXXFLAGS" | awk '$1=$1')
|
||||
|
||||
AC_CONFIG_FILES([src/libhdf5.settings
|
||||
Makefile
|
||||
src/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user