+Thu Oct 10 16:12:38 1996 Tom Tromey <tromey@cygnus.com>
+
+ * remake.am (Makefile): Depend on BUILT_SOURCES.
+ * remake-subd.am (Makefile): Depend on BUILT_SOURCES.
+ * depend.am (.deps/.P): Don't depend on BUILT_SOURCES.
+
+ * automake.in (handle_yacc_lex_cxx): Handle y.tab.h in non-ylwrap
+ case.
+
+ * ylwrap: Bug fix. From Jim Meyering.
+
+Wed Oct 9 22:51:16 1996 Tom Tromey <tromey@cygnus.com>
+
+ * m4/mktime.m4: Don't define AC_HEADER_SYS_TIME_H; instead just
+ check directly for header.
+
Mon Oct 7 13:08:15 1996 Tom Tromey <tromey@cygnus.com>
* automake.in (scan_configure): fp_WITH_DMALLOC and fp_WITH_REGEX
Jason Molenda <crash@cygnus.co.jp>
Jerome Santini <santini@chambord.univ-orleans.fr>
Jim Meyering <meyering@na-net.ornl.gov>
-Joel N. Weber II" <nemo@koa.iolani.honolulu.hi.us>
+Joel N. Weber II <nemo@koa.iolani.honolulu.hi.us>
Joerg-Martin Schwarz <jms@jms.prima.ruhr.de>
Josh MacDonald <jmacd@cs.berkeley.edu>
Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>
* `missing' program
* copyrights on m4 files, aclocal output
+* BUILT_SOURCES should be examined by automake, %dep_files should be
+ updated to handle it.
+
Further:
- texinfo/info changes
- Per's suggestion
certain part of the standards apply. saw idea in message from
Craig Burley.
-* patch from Joel Weber about fixing yacc; in particular generating .h file
-
!! should write autoconf-style doc entries for each m4 macro
Jim's idea: should look for @setfilename and warn if filenames too long
}
else
{
- $output_rules .= '$(YACC) $(YFLAGS) $< && mv y.tab.c $@';
+ $output_rules .= ('$(YACC) $(YFLAGS) $< && mv y.tab.c $@' . "\n\t"
+ . 'if test -f y.tab.h; then mv y.tab.h $*.h; else :; fi');
}
$output_rules .= "\n";
## duplicated by any C source file. (Well, there could be ".c", but
## no one does that in practice)
-include .deps/.P
-.deps/.P: $(BUILT_SOURCES)
+.deps/.P:
test -d .deps || mkdir .deps
## Use ":" here and not "echo timestamp". Otherwise GNU Make barfs:
## .deps/.P:1: *** missing separator. Stop.
## duplicated by any C source file. (Well, there could be ".c", but
## no one does that in practice)
-include .deps/.P
-.deps/.P: $(BUILT_SOURCES)
+.deps/.P:
test -d .deps || mkdir .deps
## Use ":" here and not "echo timestamp". Otherwise GNU Make barfs:
## .deps/.P:1: *** missing separator. Stop.
shift
status=0
first=yes
-while "$#" -ne 0; do
+while test "$#" -ne 0; do
if test -f "$1"; then
mv "$1" "$2" || status=$?
else
dnl From Jim Meyering.
dnl FIXME: this should migrate into libit.
-dnl This little macro is solely so AM_FUNC_MKTIME can require
-dnl that AC_CHECK_HEADERS(sys/time.h) has been run.
-AC_DEFUN(AC_HEADER_SYS_TIME_H,
- [AC_CHECK_HEADERS(sys/time.h)])
-
AC_DEFUN(AM_FUNC_MKTIME,
[AC_REQUIRE([AC_HEADER_TIME])dnl
- AC_REQUIRE([AC_HEADER_SYS_TIME_H])dnl
+ AC_CHECK_HEADERS(sys/time.h)
AC_CACHE_CHECK([for working mktime], am_cv_func_working_mktime,
[AC_TRY_RUN([/* Test program from Tony Leneis (tony@plaza.ds.adp.com). */
#if TIME_WITH_SYS_TIME
$(srcdir)/Makefile.in: @MAINT@Makefile.am $(top_srcdir)/configure.in
cd $(top_srcdir) && automake $(subdir)/Makefile
-Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
+Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in $(BUILT_SOURCES)
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
# For an explanation of the following Makefile rules, see node
# `Automatic Remaking' in GNU Autoconf documentation.
-Makefile: $(srcdir)/Makefile.in config.status
+Makefile: $(srcdir)/Makefile.in config.status $(BUILT_SOURCES)
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
config.status: configure
./config.status --recheck
shift
status=0
first=yes
-while "$#" -ne 0; do
+while test "$#" -ne 0; do
if test -f "$1"; then
mv "$1" "$2" || status=$?
else