[MOAB-dev] r3058 - MOAB/trunk/m4
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu Jul 23 16:03:20 CDT 2009
Author: kraftche
Date: 2009-07-23 16:03:20 -0500 (Thu, 23 Jul 2009)
New Revision: 3058
Modified:
MOAB/trunk/m4/netcdf.m4
Log:
minor fix to previous checkin
Modified: MOAB/trunk/m4/netcdf.m4
===================================================================
--- MOAB/trunk/m4/netcdf.m4 2009-07-23 20:27:56 UTC (rev 3057)
+++ MOAB/trunk/m4/netcdf.m4 2009-07-23 21:03:20 UTC (rev 3058)
@@ -88,10 +88,10 @@
[AC_MSG_RESULT([yes]); NETCDF_LIBS="-lnetcdf_c++ -lnetcdf"],
[AC_MSG_RESULT([no]);
AC_MSG_CHECKING([for netcdf_c++ library requiring HDF5-high-level])
- LIBS="$LIBS -lhdf5_hl -lhdf5"
+ LIBS="$LIBS -lhdf5_hl $HDF5_LIBS"
AC_TRY_LINK(
[#include <netcdf.hh>], [NcFile ncf("foo",NcFile::ReadOnly);],
- [AC_MSG_RESULT([yes]); NETCDF_LIBS="-lnetcdf_c++ -lnetcdf -lhdf5_hl ${HDF5_LIBS}"],
+ [AC_MSG_RESULT([yes]); NETCDF_LIBS="-lnetcdf_c++ -lnetcdf -lhdf5_hl"],
[AC_MSG_RESULT([no]); HAVE_NETCDF=no] )
])
LIBS="$old_LIBS"
More information about the moab-dev
mailing list