]> sourceware.org Git - automake.git/commitdiff
* m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
authorAkim Demaille <akim@epita.fr>
Sat, 20 Oct 2001 11:14:35 +0000 (11:14 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 20 Oct 2001 11:14:35 +0000 (11:14 +0000)
Remove, since Autoconf 2.52 has them.
* automake.in, aclocal.in, automake.texi: Adjust.

13 files changed:
ChangeLog
NEWS
aclocal.in
automake.in
automake.texi
m4/Makefile.am
m4/Makefile.in
m4/error.m4 [deleted file]
m4/obstack.m4 [deleted file]
m4/ptrdiff.m4 [deleted file]
m4/strtod.m4 [deleted file]
stamp-vti
version.texi

index 4f424ed3e8b16cde6b8f2d7cabd52a5cc9736631..bbfaf0587d86177616af27b69d0ea021261be9e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-20  Akim Demaille  <akim@epita.fr>
+
+       * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
+       Remove, since Autoconf 2.52 has them.
+       * automake.in, aclocal.in, automake.texi: Adjust.
+
 2001-10-19  Akim Demaille  <akim@epita.fr>
 
        * automake.in (&read_main_am_file): s/generated automatically/
diff --git a/NEWS b/NEWS
index 5689aa77c96c7a3ad7aa71e035b56d05a7562917..864ed3bb8669f971a8664ead4411f1793b8f9073 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ New in 1.5a:
 * Autoconf 2.52 is required.
 * `dist' generates all the archive flavors, as did `dist-all'.
 * `dist-gzip' generates the Gzip tar file only.
+* Combining Automake Makefile conditionals no longer lead to a combinatorial
+  explosion.  Makefile.in's keep a reasonable size.
+* AM_FUNC_ERROR_AT_LINE, AM_FUNC_STRTOD, AM_FUNC_OBSTACK, AM_PTRDIFF_T
+  are no longer shipped, since Autoconf 2.52 provides them (both as AM_
+  and AC_).
 \f
 New in 1.5:
 * Support for `configure.ac'.
index 585f18bf68b0d3192e3e03c6057c91341b394ec1..ea53a0952e505f15be0b7b4b6feea58cfe646390 100644 (file)
@@ -93,12 +93,11 @@ my %obsolete_macros =
      'fp_WITH_REGEX'           => "use `AM_WITH_REGEX'",
      'gm_PROG_LIBTOOL'         => "use `AM_PROG_LIBTOOL'",
      'jm_MAINTAINER_MODE'      => "use `AM_MAINTAINER_MODE'",
-     'md_TYPE_PTRDIFF_T'       => "use `AM_TYPE_PTRDIFF_T'",
+     'md_TYPE_PTRDIFF_T'       => "add `ptrdiff_t' to `AC_CHECK_TYPES(...)'",
      'ud_PATH_LISPDIR'         => "use `AM_PATH_LISPDIR'",
      'ud_GNU_GETTEXT'          => "use `AM_GNU_GETTEXT'",
 
      # Now part of autoconf proper, under a different name.
-     'AM_FUNC_FNMATCH'         => "use `AC_FUNC_FNMATCH'",
      'fp_FUNC_FNMATCH'         => "use `AC_FUNC_FNMATCH'",
      'AM_SANITY_CHECK_CC'      => "automatically done by `AC_PROG_CC'",
      'AM_PROG_INSTALL'         => "use `AC_PROG_INSTALL'",
@@ -106,9 +105,6 @@ my %obsolete_macros =
      'AM_CYGWIN32'             => "use `AC_CYGWIN'",
      'AM_MINGW32'              => "use `AC_MINGW32'",
      'AM_FUNC_MKTIME'          => "use `AC_FUNC_MKTIME'",
-
-# These aren't quite obsolete.
-#      'md_PATH_PROG',
      );
 
 # Regexp to match the above macros.
index 38c4e3f10dd3b61ace03a4e3ecf5d21eb3a71466..f8d5c027aad9a22288a87187e067c6cd1a21da37 100755 (executable)
@@ -284,12 +284,11 @@ my %obsolete_macros =
      'fp_WITH_REGEX'           => "use `AM_WITH_REGEX'",
      'gm_PROG_LIBTOOL'         => "use `AM_PROG_LIBTOOL'",
      'jm_MAINTAINER_MODE'      => "use `AM_MAINTAINER_MODE'",
-     'md_TYPE_PTRDIFF_T'       => "use `AM_TYPE_PTRDIFF_T'",
+     'md_TYPE_PTRDIFF_T'       => "add `ptrdiff_t' to `AC_CHECK_TYPES(...)'",
      'ud_PATH_LISPDIR'         => "use `AM_PATH_LISPDIR'",
      'ud_GNU_GETTEXT'          => "use `AM_GNU_GETTEXT'",
 
      # Now part of autoconf proper, under a different name.
-     'AM_FUNC_FNMATCH'         => "use `AC_FUNC_FNMATCH'",
      'fp_FUNC_FNMATCH'         => "use `AC_FUNC_FNMATCH'",
      'AM_SANITY_CHECK_CC'      => "automatically done by `AC_PROG_CC'",
      'AM_PROG_INSTALL'         => "use `AC_PROG_INSTALL'",
@@ -297,9 +296,6 @@ my %obsolete_macros =
      'AM_CYGWIN32'             => "use `AC_CYGWIN'",
      'AM_MINGW32'              => "use `AC_MINGW32'",
      'AM_FUNC_MKTIME'          => "use `AC_FUNC_MKTIME'",
-
-# These aren't quite obsolete.
-#      'md_PATH_PROG',
      );
 
 # Regexp to match the above macros.
@@ -4555,7 +4551,7 @@ sub scan_one_autoconf_file
            $libsources{'getopt.c'} = 1;
            $libsources{'getopt1.c'} = 1;
        }
-       elsif (/AM_FUNC_STRTOD/)
+       elsif (/A[CM]_FUNC_STRTOD/)
        {
            $libsources{'strtod.c'} = 1;
        }
@@ -4570,12 +4566,12 @@ sub scan_one_autoconf_file
        {
            $libsources{'mktime.c'} = 1;
        }
-       elsif (/AM_FUNC_ERROR_AT_LINE/)
+       elsif (/A[CM]_FUNC_ERROR_AT_LINE/)
        {
            $libsources{'error.c'} = 1;
            $libsources{'error.h'} = 1;
        }
-       elsif (/AM_FUNC_OBSTACK/)
+       elsif (/A[CM]_FUNC_OBSTACK/)
        {
            $libsources{'obstack.c'} = 1;
            $libsources{'obstack.h'} = 1;
index cd7cd31a88796c9a834a15499bf0e74a56880173..6e9a4ffa1423d552e7f116b57871388e117e0a91 100644 (file)
@@ -20,7 +20,8 @@
 @ifinfo
 This file documents GNU automake @value{VERSION}
 
-Copyright 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Free Software Foundation, Inc.
 
 Permission is granted to make and distribute verbatim copies of
 this manual provided the copyright notice and this permission notice
@@ -1128,15 +1129,17 @@ Autoconf Manual}.
 @vindex build_alias
 @vindex target_alias
 
-@item AC_FUNC_ALLOCA
+@item  AC_FUNC_ALLOCA
+@itemx AC_FUNC_ERROR_AT_LINE
+@itemx AC_FUNC_FNMATCH
 @itemx AC_FUNC_GETLOADAVG
 @itemx AC_FUNC_MEMCMP
-@itemx AC_STRUCT_ST_BLOCKS
-@itemx AC_FUNC_FNMATCH
 @itemx AC_FUNC_MKTIME
-@itemx AM_FUNC_STRTOD
+@itemx AC_FUNC_OBSTACK
+@itemx AC_FUNC_STRTOD
 @itemx AC_REPLACE_FUNCS
 @itemx AC_REPLACE_GNU_GETOPT
+@itemx AC_STRUCT_ST_BLOCKS
 @itemx AM_WITH_REGEX
 Automake will ensure that the appropriate dependencies are generated for
 the objects corresponding to these macros.  Also, Automake will verify
@@ -1146,16 +1149,17 @@ these macros, so @code{automake -a} will not install the sources.
 @xref{A Library}, for more information.  Also, see @ref{Particular
 Functions, , Particular Function Checks, autoconf, The Autoconf Manual}.
 @cvindex AC_FUNC_ALLOCA
+@cvindex AC_FUNC_ERROR_AT_LINE
+@cvindex AC_FUNC_FNMATCH
 @cvindex AC_FUNC_GETLOADAVG
 @cvindex AC_FUNC_MEMCMP
-@cvindex AC_STRUCT_ST_BLOCKS
-@cvindex AC_FUNC_FNMATCH
-@cvindex AC_FUNC_FNMATCH
+@cvindex AC_FUNC_MKTIME
+@cvindex AC_FUNC_OBSTACK
+@cvindex AC_FUNC_STRTOD
 @cvindex AC_REPLACE_FUNCS
 @cvindex AC_REPLACE_GNU_GETOPT
-@cvindex AM_FUNC_STRTOD
+@cvindex AC_STRUCT_ST_BLOCKS
 @cvindex AM_WITH_REGEX
-@cvindex AC_FUNC_MKTIME
 
 @item LIBOBJS
 Automake will detect statements which put @file{.o} files into
@@ -1353,22 +1357,6 @@ These macros are used to implement automake's automatic dependency
 tracking scheme.  They are called automatically by automake when
 required, and there should be no need to invoke them manually.
 
-@item AM_FUNC_STRTOD
-If the @code{strtod} function is not available, or does not work
-correctly (like the one on SunOS 5.4), add @file{strtod.o} to output
-variable @code{LIBOBJS}.
-@cvindex AM_FUNC_STRTOD
-
-@item AM_FUNC_ERROR_AT_LINE
-If the function @code{error_at_line} is not found, then add
-@file{error.o} to @code{LIBOBJS}.
-@cvindex AM_FUNC_ERROR_AT_LINE
-
-@item AM_FUNC_OBSTACK
-Check for the GNU obstacks code; if not found, add @file{obstack.o} to
-@samp{LIBOBJS}.
-@cvindex AM_FUNC_OBSTACK
-
 @item AM_C_PROTOTYPES
 Check to see if function prototypes are understood by the compiler.  If
 so, define @samp{PROTOTYPES} and set the output variables @samp{U} and
@@ -1463,12 +1451,6 @@ Check to see if POSIX termios headers and functions are available on the
 system.  If so, set the shell variable @code{am_cv_sys_posix_termios} to
 @samp{yes}.  If not, set the variable to @samp{no}.
 
-@item AM_TYPE_PTRDIFF_T
-@cvindex HAVE_PTRDIFF_T
-@vindex ptrdiff_t
-Define @samp{HAVE_PTRDIFF_T} if the type @samp{ptrdiff_t} is defined in
-@file{<stddef.h>}.
-
 @item AM_WITH_DMALLOC
 @cvindex WITH_DMALLOC
 @cindex dmalloc, support for
index 6f12f10fb841a8c6500106231efea924c0960848..1676f47c63b9f390d0fe22a821cc15e61c629828 100644 (file)
 ## 02111-1307, USA.
 
 m4datadir = $(datadir)/aclocal
+
 m4data_DATA = as.m4 auxdir.m4 ccstdc.m4 cond.m4 depend.m4 depout.m4 \
-dmalloc.m4 error.m4 gcj.m4 header.m4 init.m4 install-sh.m4 lex.m4 \
+dmalloc.m4 gcj.m4 header.m4 init.m4 install-sh.m4 lex.m4 \
 lispdir.m4 make.m4 maintainer.m4 minuso.m4 missing.m4 multi.m4 \
-obstack.m4 protos.m4 ptrdiff.m4 python.m4 regex.m4 sanity.m4 strip.m4 \
-strtod.m4 termios.m4 winsz.m4
+protos.m4 python.m4 regex.m4 sanity.m4 strip.m4 \
+termios.m4 winsz.m4
 
 EXTRA_DIST = $(m4data_DATA)
index cc0c7f83ff736a55aaea8826bc6615c939bbc322..6b6453ae398e4343b52e0065dbba8bafce731efa 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile.in generated by automake 1.5a from Makefile.am.
-# @configure_input@
+# Generated automatically from automake.in by configure.
 
 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
 # Free Software Foundation, Inc.
@@ -73,11 +73,12 @@ am__quote = @am__quote@
 install_sh = @install_sh@
 
 m4datadir = $(datadir)/aclocal
+
 m4data_DATA = as.m4 auxdir.m4 ccstdc.m4 cond.m4 depend.m4 depout.m4 \
-dmalloc.m4 error.m4 gcj.m4 header.m4 init.m4 install-sh.m4 lex.m4 \
+dmalloc.m4 gcj.m4 header.m4 init.m4 install-sh.m4 lex.m4 \
 lispdir.m4 make.m4 maintainer.m4 minuso.m4 missing.m4 multi.m4 \
-obstack.m4 protos.m4 ptrdiff.m4 python.m4 regex.m4 sanity.m4 strip.m4 \
-strtod.m4 termios.m4 winsz.m4
+protos.m4 python.m4 regex.m4 sanity.m4 strip.m4 \
+termios.m4 winsz.m4
 
 
 EXTRA_DIST = $(m4data_DATA)
diff --git a/m4/error.m4 b/m4/error.m4
deleted file mode 100644 (file)
index 4ed9925..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-# From Jim Meyering.  Use this if you use the GNU error.[ch].
-# FIXME: Migrate into libit
-
-# Copyright 1996, 1999, 2000, 2001 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
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-AC_DEFUN([AM_FUNC_ERROR_AT_LINE],
-[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line,
- [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");],
-              am_cv_lib_error_at_line=yes,
-             am_cv_lib_error_at_line=no)])
- if test $am_cv_lib_error_at_line = no; then
-   LIBOBJS="$LIBOBJS error.$ac_objext"
- fi
- AC_SUBST(LIBOBJS)dnl
-])
diff --git a/m4/obstack.m4 b/m4/obstack.m4
deleted file mode 100644 (file)
index 5ef4a4c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# From Jim Meyering.
-# FIXME: migrate into libit.
-
-# Copyright 1996, 1998, 1999, 2000, 2001 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
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-AC_DEFUN([AM_FUNC_OBSTACK],
-[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack,
- [AC_TRY_LINK([#include "obstack.h"],
-             [struct obstack *mem;obstack_free(mem,(char *) 0)],
-             am_cv_func_obstack=yes,
-             am_cv_func_obstack=no)])
- if test $am_cv_func_obstack = yes; then
-   AC_DEFINE(HAVE_OBSTACK,1,[Define if libc includes obstacks])
- else
-   LIBOBJS="$LIBOBJS obstack.$ac_objext"
- fi
-])
diff --git a/m4/ptrdiff.m4 b/m4/ptrdiff.m4
deleted file mode 100644 (file)
index 56a4338..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-# AM_TYPE_PTRDIFF_T
-
-# Copyright 1996, 1998, 2000, 2001 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
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# From Ulrich Drepper.
-
-# serial 1
-
-AC_DEFUN([AM_TYPE_PTRDIFF_T],
-  [AC_CACHE_CHECK([for ptrdiff_t], am_cv_type_ptrdiff_t,
-     [AC_TRY_COMPILE([#include <stddef.h>], [ptrdiff_t p],
-                    am_cv_type_ptrdiff_t=yes, am_cv_type_ptrdiff_t=no)])
-   if test $am_cv_type_ptrdiff_t = yes; then
-     AC_DEFINE(HAVE_PTRDIFF_T,1,[Define if system has ptrdiff_t type])
-   fi
-])
diff --git a/m4/strtod.m4 b/m4/strtod.m4
deleted file mode 100644 (file)
index 3c38e9e..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-## Copyright 1996, 1999, 2000, 2001 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
-## the Free Software Foundation; either version 2, or (at your option)
-## any later version.
-
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-## 02111-1307, USA.
-
-## From Jim Meyering.
-
-## serial 1
-
-## @defmac AC_FUNC_STRTOD
-## @maindex FUNC_STRTOD
-## @ovindex LIBOBJS
-## If the @code{strtod} function is not available, or does not work
-## correctly (like the one on SunOS 5.4), add @samp{strtod.$ac_objext} to output
-## variable @code{LIBOBJS}.
-## @end defmac
-
-AC_DEFUN([AM_FUNC_STRTOD],
-[AC_CACHE_CHECK(for working strtod, am_cv_func_strtod,
-[AC_TRY_RUN([
-double strtod ();
-int
-main()
-{
-  {
-    /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
-    char *string = " +69";
-    char *term;
-    double value;
-    value = strtod (string, &term);
-    if (value != 69 || term != (string + 4))
-      exit (1);
-  }
-
-  {
-    /* Under Solaris 2.4, strtod returns the wrong value for the
-       terminating character under some conditions.  */
-    char *string = "NaN";
-    char *term;
-    strtod (string, &term);
-    if (term != string && *(term - 1) == 0)
-      exit (1);
-  }
-  exit (0);
-}
-], am_cv_func_strtod=yes, am_cv_func_strtod=no, am_cv_func_strtod=no)])
-test $am_cv_func_strtod = no && LIBOBJS="$LIBOBJS strtod.$ac_objext"
-AC_SUBST(LIBOBJS)dnl
-am_cv_func_strtod_needs_libm=no
-if test $am_cv_func_strtod = no; then
-  AC_CHECK_FUNCS(pow)
-  if test $ac_cv_func_pow = no; then
-    AC_CHECK_LIB(m, pow, [am_cv_func_strtod_needs_libm=yes],
-                [AC_MSG_WARN([can't find library containing definition of pow])])
-  fi
-fi
-])
index 1932f7323d877f7ee440c3cd87815c86c188951b..0b1c08ebe5376f379e4c8268f751a807951fe741 100644 (file)
--- a/stamp-vti
+++ b/stamp-vti
@@ -1,4 +1,4 @@
-@set UPDATED 27 September 2001
-@set UPDATED-MONTH September 2001
+@set UPDATED 20 October 2001
+@set UPDATED-MONTH October 2001
 @set EDITION 1.5a
 @set VERSION 1.5a
index 1932f7323d877f7ee440c3cd87815c86c188951b..0b1c08ebe5376f379e4c8268f751a807951fe741 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 27 September 2001
-@set UPDATED-MONTH September 2001
+@set UPDATED 20 October 2001
+@set UPDATED-MONTH October 2001
 @set EDITION 1.5a
 @set VERSION 1.5a
This page took 0.053571 seconds and 5 git commands to generate.