1 --- hdf5_HL_REGION-1.1.5/Makefile.orig 2019-12-26 18:04:48.693066151 +0100
2 +++ hdf5_HL_REGION-1.1.5/Makefile 2019-12-26 18:15:01.509746238 +0100
4 ifeq (,$(wildcard $(HDF5_INSTALL_DIR)/bin/h5fc))
5 $(error "CONFIGURE ERROR: HDF5 library must be built with the --enable-fortran option")
7 - FC = $(HDF5_INSTALL_DIR)/bin/h5fc
8 + H5FC = $(HDF5_INSTALL_DIR)/bin/h5fc
10 # check to make sure hdf5 was built with --enable-fortran2003 (needed for versions prior to 1.10)
11 - CHCK_HDF5VER:= $(strip $(shell $(FC) -showconfig | grep -i "HDF5 Version:" | sed 's/^.* //g'))
12 + CHCK_HDF5VER:= $(strip $(shell $(H5FC) -showconfig | grep -i "HDF5 Version:" | sed 's/^.* //g'))
13 ifeq "$(shell expr $(CHCK_HDF5VER) \<1.9)" "1"
14 - CHCK_H5FC2003:= $(strip $(shell $(FC) -showconfig | grep -i 2003))
15 + CHCK_H5FC2003:= $(strip $(shell $(H5FC) -showconfig | grep -i 2003))
16 ifneq ("$(CHCK_H5FC2003)","Fortran 2003 Compiler: yes")
17 $(error "CONFIGURE ERROR: HDF5 library must be built with the --enable-fortran2003 option")