From 8335808c36e4de621a4d6bb95adaf72103d7ff2a Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Wed, 29 Mar 2006 17:15:16 +0000 Subject: [PATCH] test for netcdf failed git-svn-id: https://svn.dealii.org/trunk@12755 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 3 ++- deal.II/configure | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index b9f2da61d5..267f28ca61 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -4775,7 +4775,8 @@ AC_DEFUN(DEAL_II_CONFIGURE_NETCDF, dnl dnl If the C library was found, but not the C++ library dnl abort configure with an error message - if test "x$HAVE_LIBNETCDF" == "x1" ; then + AC_MSG_NOTICE("HAVE_LIBNETCDF = $LIBS) + if expr "x$LIBS : netcdf" ; then LIBS="-lnetcdf_c++ $LIBS" AC_LINK_IFELSE( [ AC_LANG_PROGRAM([[#include diff --git a/deal.II/configure b/deal.II/configure index 3f0c139d5c..be93674754 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -11268,7 +11268,9 @@ fi - if test "x$HAVE_LIBNETCDF" == "x1" ; then + { echo "$as_me:$LINENO: \"HAVE_LIBNETCDF = $LIBS" >&5 +echo "$as_me: \"HAVE_LIBNETCDF = $LIBS" >&6;} + if expr "x$LIBS : netcdf" ; then LIBS="-lnetcdf_c++ $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ -- 2.39.5