Remove, since Autoconf 2.52 has them.
* automake.in, aclocal.in, automake.texi: Adjust.
+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/
* 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'.
'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'",
'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.
'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'",
'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.
$libsources{'getopt.c'} = 1;
$libsources{'getopt1.c'} = 1;
}
- elsif (/AM_FUNC_STRTOD/)
+ elsif (/A[CM]_FUNC_STRTOD/)
{
$libsources{'strtod.c'} = 1;
}
{
$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;
@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
@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
@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
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
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
## 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)
# 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.
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)
+++ /dev/null
-# 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
-])
+++ /dev/null
-# 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
-])
+++ /dev/null
-# 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
-])
+++ /dev/null
-## 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
-])
-@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
-@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