--- ax_lib_hdf5.m4.orig 2014-10-23 17:44:48.581899734 +0800 +++ ax_lib_hdf5.m4 2014-10-23 17:34:23.885322446 +0800 @@ -206,7 +206,7 @@ dnl Find the installation directory and append include/ HDF5_tmp_inst=$(eval $H5CC -showconfig \ | $GREP 'Installation point:' \ - | $AWK -F: '{print $[]2}' ) + | $AWK '{print $[]NF}' ) dnl Add this to the CPPFLAGS HDF5_CPPFLAGS="-I${HDF5_tmp_inst}/include"