+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.
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])
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
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) ;; #(
# 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
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]))
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
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
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
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
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
]])
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
]])