[MOAB-dev] r3393 - MOAB/trunk/m4
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Wed Dec 2 16:29:00 CST 2009
Author: kraftche
Date: 2009-12-02 16:29:00 -0600 (Wed, 02 Dec 2009)
New Revision: 3393
Modified:
MOAB/trunk/m4/hdf5.m4
Log:
use GNU-specific flag only if both C++ *and* C compilers are GNU
Modified: MOAB/trunk/m4/hdf5.m4
===================================================================
--- MOAB/trunk/m4/hdf5.m4 2009-12-01 16:52:36 UTC (rev 3392)
+++ MOAB/trunk/m4/hdf5.m4 2009-12-02 22:29:00 UTC (rev 3393)
@@ -116,7 +116,7 @@
fi
if test -d "${HDF5_ARG}/include"; then
HDF5_CPPFLAGS="$HDF5_CPPFLAGS -I${HDF5_ARG}/include"
- if test "x$GXX" = "xyes"; then
+ if test "x$GXX" = "xyes" && test "x$GCC" = "xyes"; then
HDF5_CPPFLAGS="$HDF5_CPPFLAGS -isystem ${HDF5_ARG}/include"
fi
else
More information about the moab-dev
mailing list