[MOAB-dev] r4648 - MOAB/trunk/config

tautges at mcs.anl.gov tautges at mcs.anl.gov
Fri Mar 25 12:47:36 CDT 2011


Author: tautges
Date: 2011-03-25 12:47:36 -0500 (Fri, 25 Mar 2011)
New Revision: 4648

Modified:
   MOAB/trunk/config/ccmio.m4
Log:
Getting rid of configure warning when ccmio not found.



Modified: MOAB/trunk/config/ccmio.m4
===================================================================
--- MOAB/trunk/config/ccmio.m4	2011-03-25 16:38:29 UTC (rev 4647)
+++ MOAB/trunk/config/ccmio.m4	2011-03-25 17:47:36 UTC (rev 4648)
@@ -23,6 +23,8 @@
 fi
 
  # if CCMIO support is not disabled
+AC_MSG_CHECKING([if CCMIO support available])
+AC_MSG_RESULT([])
 HAVE_CCMIO=no
 if test "xno" != "x$CCMIO_ARG"; then
   HAVE_CCMIO=yes
@@ -51,9 +53,9 @@
   LDFLAGS="$CCMIO_LDFLAGS $LDFLAGS"
   
    # Check for C library
-  AC_CHECK_HEADERS( [ccmio.h], [], [AC_MSG_WARN([[Ccmio header not found.]]); HAVE_CCMIO=no] )
-  AC_CHECK_HEADERS( [ccmioutility.h], [], [AC_MSG_WARN([[Ccmio header not found.]]); HAVE_CCMIO=no] )
-  AC_CHECK_HEADERS( [ccmiocore.h], [], [AC_MSG_WARN([[Ccmio header not found.]]); HAVE_CCMIO=no] )
+  AC_CHECK_HEADERS( [ccmio.h], [], [HAVE_CCMIO=no] )
+  AC_CHECK_HEADERS( [ccmioutility.h], [], [HAVE_CCMIO=no] )
+  AC_CHECK_HEADERS( [ccmiocore.h], [], [HAVE_CCMIO=no] )
   CPPFLAGS="$old_CPPFLAGS"
   LDFLAGS="$old_LDFLAGS"
 
@@ -61,7 +63,8 @@
     if test "x$CCMIO_ARG" != "x"; then 
       AC_MSG_ERROR("Ccmio not found or not working")
     else
-      AC_MSG_WARN("Ccmio support disabled")
+      AC_MSG_CHECKING([unsuccessful, Ccmio support disabled])
+      AC_MSG_RESULT([])
     fi
     CCMIO_CPPFLAGS=
     CCMIO_LDFLAGS=

















More information about the moab-dev mailing list