[svn-r17571] Purpose:

Makefile Bug Fix

Description:

    Added $(EXEEXT) extension to H5detect when it's executed to generate
    H5Tinit.c so it works correctly on platforms that require the full
    extension when running executables.

Tested:

    h5committest, mingw, and user-verified (via submitted patch).
This commit is contained in:
Mike McGreevy 2009-10-01 14:51:57 -05:00
parent 9a1a404e5a
commit 1abb6b133b
3 changed files with 6 additions and 2 deletions

View File

@ -313,6 +313,10 @@ Bug Fixes since HDF5-1.8.0 release
Configuration
-------------
- Added $(EXEEXT) extension to H5detect when it's executed in the
src/Makfile to generate H5Tinit.c so it works correctly on platforms
that require the full extension when running executables.
MAM - 2009/10/01 - BZ #1613
- Configure will now set FC and CXX to "no" when fortran and c++
are not being compiled, respectively, so configure will not run
some of the compiler tests for these languages when they are not

View File

@ -127,7 +127,7 @@ settings_DATA=libhdf5.settings
H5Tinit.c: H5detect$(EXEEXT)
LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
sed -e 's/-L/:/g' -e 's/ //g'`" \
$(RUNSERIAL) ./H5detect > H5Tinit.c || \
$(RUNSERIAL) ./H5detect$(EXEEXT) > H5Tinit.c || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
($(RM) $@ ; exit 1)

View File

@ -1222,7 +1222,7 @@ help:
H5Tinit.c: H5detect$(EXEEXT)
LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
sed -e 's/-L/:/g' -e 's/ //g'`" \
$(RUNSERIAL) ./H5detect > H5Tinit.c || \
$(RUNSERIAL) ./H5detect$(EXEEXT) > H5Tinit.c || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
($(RM) $@ ; exit 1)