[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: make autoupdate warnings more consistent
From: |
Paolo Bonzini |
Subject: |
FYI: make autoupdate warnings more consistent |
Date: |
Mon, 24 Nov 2003 11:42:30 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031020 Debian/1.5-1 |
Committed as obvious.
Paolo
2003-11-24 Paolo Bonzini <address@hidden>
* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
AC_DIR_HEADER): Make wording more consistent
* lib/autoconf/headers.m4 (AC_CYGWIN, AC_EMXOS2,
AC_MINGW32): Explain the transition better.
* lib/autoconf/types.m4 (AC_INT_16_BITS,
AC_LONG_64_BITS): Explain the transition better.
diff -rNU3 autoconf-2.59-as-foreach-old/lib/autoconf/headers.m4
autoconf-2.59-as-foreach/lib/autoconf/headers.m4
--- autoconf-2.59-as-foreach-old/lib/autoconf/headers.m4 2003-11-23
13:48:30.000000000 +0100
+++ autoconf-2.59-as-foreach/lib/autoconf/headers.m4 2003-11-23
16:03:41.000000000 +0100
@@ -730,7 +730,7 @@
# Define `USG' if string functions are in strings.h.
AU_DEFUN([AC_USG],
[AC_DIAGNOSE([obsolete],
-[$0: Remove `AC_MSG_CHECKING', `AC_LINK_IFELSE' and this `AC_WARNING'
+[$0: Remove `AC_MSG_CHECKING', `AC_LINK_IFELSE' and this `AC_DIAGNOSE'
when you adjust your code to use HAVE_STRING_H.])dnl
AC_MSG_CHECKING([for BSD string and memory functions])
AC_LINK_IFELSE([AC_LANG_PROGRAM(address@hidden:@include <strings.h>]],
@@ -759,7 +759,7 @@
# But it is better to check for both headers, and alias NEED_MEMORY_H to
# HAVE_MEMORY_H.
AU_DEFUN([AC_MEMORY_H],
-[AC_DIAGNOSE([obsolete], [$0: Remove this warning and
+[AC_DIAGNOSE([obsolete], [$0: Remove this `AC_DIAGNOSE' and
`AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you adjust your code to
use and HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.])dnl
AC_CHECK_HEADER(memory.h,
@@ -778,7 +778,7 @@
[AC_HEADER_DIRENT
AC_FUNC_CLOSEDIR_VOID
AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the four `AC_DEFINE' when you
+[$0: Remove this `AC_DIAGNOSE' and the four `AC_DEFINE' when you
adjust your code to use `AC_HEADER_DIRENT'.])
test ac_cv_header_dirent_dirent_h &&
AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.])
diff -rNU3 autoconf-2.59-as-foreach-old/lib/autoconf/specific.m4
autoconf-2.59-as-foreach/lib/autoconf/specific.m4
--- autoconf-2.59-as-foreach-old/lib/autoconf/specific.m4 2003-11-23
13:48:30.000000000 +0100
+++ autoconf-2.59-as-foreach/lib/autoconf/specific.m4 2003-11-23
15:02:56.000000000 +0100
@@ -355,7 +355,7 @@
AU_DEFUN([AC_CYGWIN],
[AC_CANONICAL_HOST
AC_DIAGNOSE([obsolete],
- [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
+ [$0 is obsolete: use AC_CANONICAL_HOST and check if $host_os
matches *cygwin*])dnl
case $host_os in
*cygwin* ) CYGWIN=yes;;
* ) CYGWIN=no;;
@@ -370,7 +370,7 @@
AU_DEFUN([AC_EMXOS2],
[AC_CANONICAL_HOST
AC_DIAGNOSE([obsolete],
- [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
+ [$0 is obsolete: use AC_CANONICAL_HOST and check if $host_os
matches *emx*])dnl
case $host_os in
*emx* ) EMXOS2=yes;;
* ) EMXOS2=no;;
@@ -385,7 +385,7 @@
AU_DEFUN([AC_MINGW32],
[AC_CANONICAL_HOST
AC_DIAGNOSE([obsolete],
- [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
+ [$0 is obsolete: use AC_CANONICAL_HOST and check if $host_os
matches *mingw32*])dnl
case $host_os in
*mingw32* ) MINGW32=yes;;
* ) MINGW32=no;;
diff -rNU3 autoconf-2.59-as-foreach-old/lib/autoconf/types.m4
autoconf-2.59-as-foreach/lib/autoconf/types.m4
--- autoconf-2.59-as-foreach-old/lib/autoconf/types.m4 2003-11-23
13:48:30.000000000 +0100
+++ autoconf-2.59-as-foreach/lib/autoconf/types.m4 2003-11-23
15:09:03.000000000 +0100
@@ -417,7 +417,7 @@
[AC_CHECK_SIZEOF([int])
AC_DIAGNOSE([obsolete], [$0:
your code should no longer depend upon `INT_16_BITS', but upon
- `SIZEOF_INT'. Remove this warning and the `AC_DEFINE' when you
+ `SIZEOF_INT == 2'. Remove this warning and the `AC_DEFINE' when you
adjust the code.])dnl
test $ac_cv_sizeof_int = 2 &&
AC_DEFINE(INT_16_BITS, 1,
@@ -431,7 +431,7 @@
[AC_CHECK_SIZEOF([long int])
AC_DIAGNOSE([obsolete], [$0:
your code should no longer depend upon `LONG_64_BITS', but upon
- `SIZEOF_LONG_INT'. Remove this warning and the `AC_DEFINE' when
+ `SIZEOF_LONG_INT == 8'. Remove this warning and the `AC_DEFINE' when
you adjust the code.])dnl
test $ac_cv_sizeof_long_int = 8 &&
AC_DEFINE(LONG_64_BITS, 1,
- FYI: make autoupdate warnings more consistent,
Paolo Bonzini <=