autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Message fixes


From: Peter Eisentraut
Subject: Message fixes
Date: Thu, 21 Aug 2008 15:54:26 +0300
User-agent: KMail/1.9.9

Please consider the included patch.  It fixes the warning and error messages'
capitalization and punctuation as per the GNU Coding Standards.

diff --git a/ChangeLog b/ChangeLog
index 7fdd897..20a2e01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-08-21  Peter Eisentraut <address@hidden>
+
+       * lib/autoconf/general.m4, lib/autoconf/lang.m4,
+       lib/autoconf/libs.m4, lib/autoconf/status.m4, tests/fortran.at,
+       tests/torture.at: Start warning and error messages with a
+       lowercase letter.
+
 2008-08-20  Ralf Wildenhues  <address@hidden>
 
        Avoid timestamp races for updated input.
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 265d78b..c94e048 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -479,7 +479,7 @@ AC_DEFUN([_AC_INIT_DIRCHECK],
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  AC_MSG_ERROR([Working directory cannot be determined])
+  AC_MSG_ERROR([working directory cannot be determined])
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   AC_MSG_ERROR([pwd does not report name of working directory])
 
@@ -894,8 +894,8 @@ fi
 if test -n "$ac_unrecognized_opts"; then
   case $enable_option_checking in
     no) ;;
-    fatal) AC_MSG_ERROR([Unrecognized options: $ac_unrecognized_opts]) ;;
-    *)     AC_MSG_WARN( [Unrecognized options: $ac_unrecognized_opts]) ;;
+    fatal) AC_MSG_ERROR([unrecognized options: $ac_unrecognized_opts]) ;;
+    *)     AC_MSG_WARN( [unrecognized options: $ac_unrecognized_opts]) ;;
   esac
 fi
 
@@ -1895,7 +1895,7 @@ m4_define([_AC_CACHE_DUMP],
     case $ac_val in #(
     *${as_nl}*)
       case $ac_var in #(
-      *_cv_*) AC_MSG_WARN([Cache variable $ac_var contains a newline.]) ;;
+      *_cv_*) AC_MSG_WARN([cache variable $ac_var contains a newline]) ;;
       esac
       case $ac_var in #(
       _ | IFS | as_nl) ;; #(
diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4
index f00479b..d199b60 100644
--- a/lib/autoconf/lang.m4
+++ b/lib/autoconf/lang.m4
@@ -371,7 +371,7 @@ fi
 
 m4_define([AC_LINK_IFELSE],
 [if test x$ac_no_link = xyes; then
-  AC_MSG_ERROR([Link tests are not allowed after AC@&address@hidden)
+  AC_MSG_ERROR([link tests are not allowed after AC@&address@hidden)
 fi
 ]m4_defn([AC_LINK_IFELSE]))
 
diff --git a/lib/autoconf/libs.m4 b/lib/autoconf/libs.m4
index a1b8cfe..4e62040 100644
--- a/lib/autoconf/libs.m4
+++ b/lib/autoconf/libs.m4
@@ -353,7 +353,7 @@ if test "x$with_x" = xno; then
   have_x=disabled
 else
   case $x_includes,$x_libraries in #(
-    *\'*) AC_MSG_ERROR([Cannot use X directory names containing ']);; #(
+    *\'*) AC_MSG_ERROR([cannot use X directory names containing ']);; #(
     *,NONE | NONE,*) _AC_PATH_X;; #(
     *) have_x=yes;;
   esac
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index af16f79..d9729a3 100644
--- a/lib/autoconf/status.m4
+++ b/lib/autoconf/status.m4
@@ -1304,7 +1304,7 @@ fi
 dnl config.status should not do recursion.
 AC_PROVIDE_IFELSE([AC_CONFIG_SUBDIRS], [_AC_OUTPUT_SUBDIRS()])dnl
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; 
then
-  AC_MSG_WARN([Unrecognized options: $ac_unrecognized_opts])
+  AC_MSG_WARN([unrecognized options: $ac_unrecognized_opts])
 fi
 ])# AC_OUTPUT
 
@@ -1643,7 +1643,7 @@ do
   esac
   case $ac_mode$ac_tag in
   :[[FHL]]*:*);;
-  :L* | :C*:*) AC_MSG_ERROR([Invalid tag $ac_tag.]);;
+  :L* | :C*:*) AC_MSG_ERROR([invalid tag $ac_tag]);;
   :[[FH]]-) ac_tag=-:-;;
   :[[FH]]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac
diff --git a/tests/fortran.at b/tests/fortran.at
index 807724d..36978cc 100644
--- a/tests/fortran.at
+++ b/tests/fortran.at
@@ -71,7 +71,7 @@ AC_FC_FREEFORM([],
 if test "$ac_compiler_gnu" = yes; then
   case $FCFLAGS in
    *-ffree-form*) ;;
-   *) AC_MSG_ERROR([failed to recognize GNU Fortran's -ffree-form option.]);;
+   *) AC_MSG_ERROR([failed to recognize GNU Fortran's -ffree-form option]);;
   esac
 fi
 ]])
diff --git a/tests/torture.at b/tests/torture.at
index 44fdcd5..b79ff89 100644
--- a/tests/torture.at
+++ b/tests/torture.at
@@ -1297,7 +1297,7 @@ AC_ARG_VAR([INNERMOST], [an innermost variable])
 AC_CONFIG_HEADERS(config.h:config.hin)
 AC_DEFINE_UNQUOTED([INNERMOST], [$INNERMOST], [an innermost variable])
 if test -n "$innermost_error"; then
-  AC_MSG_FAILURE([Error in $PACKAGE_NAME])
+  AC_MSG_FAILURE([error in $PACKAGE_NAME])
 fi
 AC_OUTPUT
 ]])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]