]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Format warning and error messages to match GCS.
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 22 Aug 2008 06:51:53 +0000 (08:51 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 22 Aug 2008 06:51:53 +0000 (08:51 +0200)
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK)
(_AC_INIT_PARSE_ARGS, _AC_CACHE_DUMP): Start warning and error
messages with a lowercase letter, end them without punctuation.
* lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Likewise.
* lib/autoconf/libs.m4 (AC_PATH_X): Likewise.
* lib/autoconf/status.m4 (AC_OUTPUT, _AC_OUTPUT_MAIN_LOOP):
Likewise.
* tests/fortran.at (GNU Fortran): Likewise.
* tests/torture.at (Deep Package): Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/autoconf/general.m4
lib/autoconf/lang.m4
lib/autoconf/libs.m4
lib/autoconf/status.m4
tests/fortran.at
tests/torture.at

index 99a0e0584d48572f649a0a1c8a6b271d85364d25..6ddc9f5526bf3e8defc7fb8f91f155fb26c98b27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2008-08-22  Peter Eisentraut  <peter_e@gmx.net>  (tiny change)
+
+       Format warning and error messages to match GCS.
+       * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK)
+       (_AC_INIT_PARSE_ARGS, _AC_CACHE_DUMP): Start warning and error
+       messages with a lowercase letter, end them without punctuation.
+       * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Likewise.
+       * lib/autoconf/libs.m4 (AC_PATH_X): Likewise.
+       * lib/autoconf/status.m4 (AC_OUTPUT, _AC_OUTPUT_MAIN_LOOP):
+       Likewise.
+       * tests/fortran.at (GNU Fortran): Likewise.
+       * tests/torture.at (Deep Package): Likewise.
+
 2008-08-21  Eric Blake  <ebb9@byu.net>
 
        Avoid extra side effects in m4sugar list expansion.
index 265d78bf4d4b4f659f8863dc035f0b42a43f1918..c94e0484b1123924a1735c9810191d053d0aea0f 100644 (file)
@@ -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) ;; #(
index f00479ba74312cd76c8a69b4a135adb2d6822b27..c48f1de78ff85006547505607437a25bda104925 100644 (file)
@@ -1,7 +1,7 @@
 # This file is part of Autoconf.                       -*- Autoconf -*-
 # Programming languages support.
-# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007 Free Software
-# Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008 Free
+# Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -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@&t@_NO_EXECUTABLES.])
+  AC_MSG_ERROR([link tests are not allowed after AC@&t@_NO_EXECUTABLES])
 fi
 ]m4_defn([AC_LINK_IFELSE]))
 
index a1b8cfe2313370c9abb3bbfcb3d2d408b5084c65..4e62040db9a60f5c972b65f2b1afa9232a88b9ea 100644 (file)
@@ -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
index af16f79701bdd4f6961a3f584c05528264e57b36..d9729a3a495f5de845f65fddb07d2cb89ad587ba 100644 (file)
@@ -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
index 807724dd41c2c75430eda9c631184e70c46dd88c..e8faf94ffbb7ae11d93009521d57a7e2ab869314 100644 (file)
@@ -2,7 +2,7 @@
 
 AT_BANNER([Fortran low level compiling/preprocessing macros.])
 
-# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003, 2008 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -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
 ]])
index 44fdcd5ed68d521613d2845617664681872f1088..b79ff895f84fb845e1a61570dd29bbdc89e97911 100644 (file)
@@ -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
 ]])