From c10f7a3c6456dacf45bfde5d95a9ad7a3a8bc8f4 Mon Sep 17 00:00:00 2001 From: jcalcote Date: Mon, 20 Apr 2009 22:30:58 +0000 Subject: [PATCH] Convert echo statements in configure.ac files to AC_MSG_WARN macro calls. git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1088 0109f412-320b-0410-ab79-c3e0c5ffbbe6 --- flaim/configure.ac | 9 +++++---- ftk/configure.ac | 9 +++++---- sql/configure.ac | 9 +++++---- xflaim/configure.ac | 27 +++++++++++++++------------ 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/flaim/configure.ac b/flaim/configure.ac index ff5138f..019b68d 100644 --- a/flaim/configure.ac +++ b/flaim/configure.ac @@ -32,10 +32,11 @@ AC_ARG_ENABLE([debug], # Check for doxygen program. if test -z "$DOXYGEN"; then - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD - echo " No Doxygen program found - continuing" >&AS_MESSAGE_LOG_FD - echo " without Doxygen documentation support." >&AS_MESSAGE_LOG_FD - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD + AC_MSG_WARN([ + ----------------------------------------- + No Doxygen program found - continuing + without Doxygen documentation support. + -----------------------------------------]) fi AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != x]) diff --git a/ftk/configure.ac b/ftk/configure.ac index 6e6d15f..76b0a2a 100644 --- a/ftk/configure.ac +++ b/ftk/configure.ac @@ -34,10 +34,11 @@ AC_ARG_ENABLE([openssl], # Check for doxygen program. if test -z "$DOXYGEN"; then - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD - echo " No Doxygen program found - continuing" >&AS_MESSAGE_LOG_FD - echo " without Doxygen documentation support." >&AS_MESSAGE_LOG_FD - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD + AC_MSG_WARN([ + ----------------------------------------- + No Doxygen program found - continuing + without Doxygen documentation support. + -----------------------------------------]) fi AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"]) diff --git a/sql/configure.ac b/sql/configure.ac index 684c4d5..9cd7a70 100644 --- a/sql/configure.ac +++ b/sql/configure.ac @@ -31,10 +31,11 @@ AC_ARG_ENABLE([debug], # Check for doxygen program. if test -z "$DOXYGEN"; then - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD - echo " No Doxygen program found - continuing" >&AS_MESSAGE_LOG_FD - echo " without Doxygen documentation support." >&AS_MESSAGE_LOG_FD - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD + AC_MSG_WARN([ + ----------------------------------------- + No Doxygen program found - continuing + without Doxygen documentation support. + -----------------------------------------]) fi AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != x]) diff --git a/xflaim/configure.ac b/xflaim/configure.ac index 83734c9..1b1f53b 100644 --- a/xflaim/configure.ac +++ b/xflaim/configure.ac @@ -37,28 +37,31 @@ if test -z "$JAVAC"; then have_java=no; fi if test -z "$JAVAH"; then have_java=no; fi if test -z "$JAR"; then have_java=no; fi if test "x$have_java" = xno; then - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD - echo " Some Java tools not found - continuing" >&AS_MESSAGE_LOG_FD - echo " without XFLAIM JNI support." >&AS_MESSAGE_LOG_FD - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD + AC_MSG_WARN([ + ----------------------------------------- + Some Java tools not found - continuing + without XFLAIM JNI support. + -----------------------------------------]) fi AM_CONDITIONAL([HAVE_JAVA], [test "x$have_java" = xyes]) # Check for CSharp compiler. if test -z "$CSC"; then - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD - echo " No CSharp compiler found - continuing" >&AS_MESSAGE_LOG_FD - echo " without XFLAIM CSHARP support." >&AS_MESSAGE_LOG_FD - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD + AC_MSG_WARN([ + ----------------------------------------- + No CSharp compiler found - continuing + without XFLAIM CSHARP support. + -----------------------------------------]) fi AM_CONDITIONAL([HAVE_CSHARP], [test -n "$CSC"]) # Check for doxygen program. if test -z "$DOXYGEN"; then - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD - echo " No Doxygen program found - continuing" >&AS_MESSAGE_LOG_FD - echo " without Doxygen documentation support." >&AS_MESSAGE_LOG_FD - echo "-----------------------------------------" >&AS_MESSAGE_LOG_FD + AC_MSG_WARN([ + ----------------------------------------- + No Doxygen program found - continuing + without Doxygen documentation support. + -----------------------------------------]) fi AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != x])