diff --git a/src/Rules.LXgfortran.mk b/src/Rules.LXgfortran.mk index 6be97fa9e6e6213011a988b0b9716a6eb3fffbed..43b62b2a7bce0220d98f6c7aa6179d193a47ae50 100644 --- a/src/Rules.LXgfortran.mk +++ b/src/Rules.LXgfortran.mk @@ -94,8 +94,10 @@ HDF_CONF= CFLAGS=-std=c99 # # LIBTOOLS flags # -#if MNH_TOOLS exists => compile the tools +#if MNH_TOOLS exists => compile the tools if gfortran >= 5.X +ifeq ($(shell test $$( gfortran -dumpversion | cut -b1 ) -ge 5 ; echo $$?),0) MNH_TOOLS = yes +endif # ########################################################## # #