* automake.in (dist_header): Avoid changing permissions of files
[automake.git] / ChangeLog
blob585c28da9f99a79e7dbb6d9a1c6efe8587695384
1 1999-06-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
3         * automake.in (dist_header): Avoid changing permissions of files
4         in the source tree, trying a complex `find/chmod' command before
5         falling back to plain chmod.
6         (handle_dist_worker): Do not create directories with mode 777, the 
7         find above will take care of that.
8         * m4/init.m4: Set install_sh for find/chmod above.
10         * THANKS: Added Shuhei Amakawa.
12 1999-06-07  Shuhei Amakawa <sa264@cam.ac.uk>
14         * mans.am: Strip dirname from given filename.
16 1999-06-07  Jim Meyering  <meyering@ascend.com>
18         * automake.in (handle_dist): Change emitted rules so that a failure
19         in `$(MAKE) distcheck-hook' propagates to the outer make.
21 1999-05-27  Tom Tromey  <tromey@cygnus.com>
23         * automake.in (handle_single_transform_list): Replace AM_FLAG and
24         not FLAG in compilation rule.
25         (add_depend2): Likewise.
27         * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
28         libtool.
30         * m4/dmalloc.m4: Updated dmalloc site information.
32 1999-05-19  Tom Tromey  <tromey@cygnus.com>
34         * automake.in (handle_single_transform_list): Push object name
35         without extension onto lang_specific_files.  Fixes
36         specflags4.test.
38         * automake.in (handle_single_transform_list): Added missing
39         space.  Fixes specflags.test.
41 1999-05-05  Tom Tromey  <tromey@cygnus.com>
43         * automake.in: Disabled dependency tracking for Java.
45 1999-05-04  Tom Tromey  <tromey@cygnus.com>
47         * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
48         * automake.in (handle_libraries): Recognize _AR variable.
50 1999-04-30  Tom Tromey  <tromey@cygnus.com>
52         * automake.in (finish_languages): Always use `-o $@' with
53         libtool.  Define ltcompile and ltlink at outermost scope in
54         function.
55         * libtool.am (.c.lo): Removed.
57         * automake.in (finish_languages): Put `.' before extension in
58         suffix list, `.obj' rule, and `.lo' rule.  Look at `-flags', not
59         `-flag'.  From Pavel Roskin.
61 1999-04-28  Tom Tromey  <tromey@cygnus.com>
63         * automake.in (finish_languages): Fixed scoping of ltcompile and
64         ltlink.  From Pavel Roskin.
66 1999-04-27  Tom Tromey  <tromey@cygnus.com>
68         * automake.in (read_main_am_file): Don't start macro definition
69         with backslash-newline.  Instead, append newline at the end if
70         required.
72         * automake.in (read_am_file): Insert a backslash before a trailing
73         newline.  Fixes pluseq8.test.
75         * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
76         macro name.
77         (check_canonical_spelling): Don't insert `AM' before macro name
78         (reverts Alexandre's 1999-04-27 patch).
79         * automake.texi: Reverted documentation change for `AM' patch.
81         * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
82         Minor rewrite for clarity.
83         (check_canonical_spelling): Prefer `$1' over `\1'.
85         * depend2.am (@OBJ@): Renamed.  Use @SOURCE@, @COMPILE@.  Always
86         use `-o $@'.
87         (@LTOBJ@): Likewise.
88         * automake.in (handle_single_transform_list): Don't print rule if
89         doing dependency tracking and the file's language supports it.
90         (initialize_per_input): Initialize lang_specific_files.
91         (add_depend2): New function.
92         (handle_dependencies): Use it.
94         * automake.in (lang_ppf77_finish): Use lang_f77_finish.
95         ratfor compiler name is `RCOMPILE'.  ppf77 compiler name changed
96         to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
97         directory.
98         (lang_ratfor_finish): Use lang_f77_finish.
100         * compile.am (NOTDEPEND.c.o): Removed.
101         (OBJEXT.c.obj): Likewise.
102         * automake.in: Added `flags' attribute to all relevant languages.
103         (handle_single_transform_list): Handle per-derived-object flags.
104         Changed interface and all callers.
105         (handle_built_sources): Don't call handle_single_transform_list.
106         Added `compile' and `compiler-name' attribute to all relevant
107         languages.
108         (finish_languages): Define compiler variables here.
109         (lang_cxx_finish): Don't call define_compiler_variable.  Don't
110         define flag variable or .o rules.  Don't add to @suffixes.
111         (lang_f77_finish): Likewise.
112         (lang_ppf77_finish): Likewise.
113         (lang_objc_finish): Likewise.
114         (lang_java_finish): Likewise.
115         (finish_languages): Define flag variable here.
116         Added `output-arg' attribute to all relevant languages.
117         (finish_languages): Define `.o' rules here.
118         (finish_languages): Put extension on @suffixes.
119         (get_object_extension): Don't transform NOTDEPEND or MINUSO.
121 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
123         * automake.in (initialize_global_constants): Invoke gzip for
124         dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
126         * automake.in (initialize_global_constants): Remove zip file
127         before re-creating it.
128         Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
130         * texinfos.am (uninstall-info): Look for info file in srcdir, just 
131         like in install-info-am.
132         Reported by Tudor Hulubei <tudor@cs.unh.edu>
134         * automake.in (handle_lib_objects_cond): \Q doesn't work either.
135         Let's use the good ol' substitution, then.
136         Reported by Russ Allbery <rra@stanford.edu>
138         * automake.in (check_canonical_spelling): Insert AM before names
139         starting with non-letters.
141         * automake.texi: Document it.
143 1999-04-26  Alexandre Oliva  <oliva@dcc.unicamp.br>
145         * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
146         doesn't work on perl4.  Maybe \Q and \E do.
148 1999-04-24  Tom Tromey  <tromey@cygnus.com>
150         * automake.in: Treat `.zip' and `.jar' files as Java.
152         * automake.in (generate_makefile): Define `subdir' after reading
153         .am file.
154         (read_main_am_file): Give programming error if variable defined
155         before invocation.
157 1999-04-22  Tom Tromey  <tromey@cygnus.com>
159         * automake.in (generate_makefile): Define `subdir' variable.
160         (handle_dist): Don't define `subdir'.
162         * automake.in (handle_texinfo): Change numbering scheme for
163         stamp-vti files, to avoid problems with DOS.
164         From Michel de Ruiter.
166         * automake.texi: Don't mention AM_FUNC_MKTIME.
167         * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
168         * automake.in (scan_one_configure_file): Recognize
169         AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
170         (obsolete_macros): Mention AM_FUNC_MKTIME.
171         * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
172         * m4/mktime.m4: Removed.
174 1999-04-20  Tom Tromey  <tromey@cygnus.com>
176         * automake.texi (Top level): Don't recommend substing SUBDIRS.
178 1999-04-20  Brian Ford <ford@vss.fsi.com>
180         * scripts.am: Change else if's to elif.
182 1999-04-20  Alexandre Oliva  <oliva@dcc.unicamp.br>
184         * automake.in (handle_lib_objects_cond): Only require the source
185         of a LIBOBJ if it's not in BUILT_SOURCES.
186         Reported by Erez Zadok.
188 1999-04-19  Tom Tromey  <tromey@cygnus.com>
190         * automake.in: Treat `.class' files as Java source.
191         (lang_java_finish): Handle `.class' files.
193 1999-04-18  Alexandre Oliva  <oliva@dcc.unicamp.br>
195         * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
197         * m4/lispdir.m4: Do not override lispdir if it's already defined.
198         Run some emacs-lisp to find out the site-lisp directory, but
199         relocate it into prefix.
201 1999-04-17  Paul Eggert  <eggert@twinsun.com>
203         * m4/mktime.m4 (bigtime_test, main): Move alarm from
204         bigtime_test to main, since Solaris 7 (64-bit) mktime loops
205         even outside of bigtime_test.  Use a time limit of 60 seconds
206         for the whole test, not 10 seconds per iteration.
208 1999-04-17  Erez Zadok  <ezk@cs.columbia.edu>
210         * automake.in: Create stamps for headers in appropriate
211         directories, even if the input file lives in a different place.
212         * remake-hdr.am: Likewise.
214 1999-04-16  Tom Tromey  <tromey@cygnus.com>
216         From Brian Ford:
217         * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
218         Invoke `sed' only once per program.
219         * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
220         Invoke `sed' only once per program.
222 1999-04-13  Tom Tromey  <tromey@cygnus.com>
224         * automake.in (handle_subdirs): Make `install-recursive' phony.
225         From Michel de Ruiter.
227         * automake.in (handle_ltlibraries): Added missing `check'.
229 1999-04-12  Tom Tromey  <tromey@cygnus.com>
231         * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
232         maintainer).
234 1999-04-11  Tom Tromey  <tromey@cygnus.com>
236         * automake.in (handle_dist): Use AMTAR.
237         (initialize_global_constants): Likewise.
238         * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
240         * automake.in (lang_sub_obj): New function.
241         (lang_cxx_rewrite): Use it.
242         (lang_asm_rewrite): Likewise.
243         (lang_objc_rewrite): Likewise.
244         (lang_cxx_finish): Add `-o $@' to all C++ rules.
245         (lang_asm_finish): Add `-o' to suffix rules when appropriate.
246         (lang_objc_finish): Add `-o $@' to all ObjC rules.
247         (lang_java_finish): Likewise.
249         * automake.in: Only register `asm' once.
250         (lang_asm_finish): Put assembly suffixes on @suffixes.
252         * libtool.am (.s.lo): Removed.
253         (.S.lo): Likewise.
254         * automake.in (lang_asm_finish): Handle libtool.
256         * libtool.am (.c.o): Always pass -c to libtool.
258         * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
259         (lang_yaccxx_rewrite): Likewise.
260         (lang_lex_rewrite): Likewise.
261         (lang_lexxx_rewrite): Likewise.
263         Assembly code no longer included by default:
264         * compile.am (.s.o): Removed.
265         (.S.o): Likewise.
266         * automake.in: Register `asm' language.
267         (lang_asm_finish): Generate suffix rules for assembly.
268         (get_object_extension): Don't add `.s' or `.S' to suffix list.
270         * automake.in (get_object_extension): Substitute @MINUSO@ when
271         including compile.am.
272         * compile.am (.c.o): Added @MINUSO@.
273         (.c.obj): Likewise.
275         First cut at allowing objects in subdirectories:
276         * m4/Makefile.am (m4data_DATA): Added minuso.m4.
277         * Makefile.am (dist_script_DATA): Added compile.
278         * m4/minuso.m4: New file.
279         * automake.in (initialize_global_constants): Added compile to
280         common_files.
281         (seen_cc_c_o): New global.
282         (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
283         (handle_options): Recognize `subdir-objects' option.
284         (lang_c_rewrite): Added directory argument.
285         (lang_yacc_rewrite): Likewise.
286         (lang_yaccxx_rewrite): Likewise.
287         (lang_lex_rewrite): Likewise.
288         (lang_lexxx_rewrite): Likewise.
289         (handle_single_transform_list): Pass directory to _rewrite
290         function.  Generate dependencies for dirstamp files for each .o;
291         it is just the rules we want to create once.
292         (lang_c_rewrite): Handle `subdir-objects' option.
293         (lang_c_rewrite): Require `compile' program.
294         * compile: New file.
296         * automake.in (initialize_per_input): Initialize %directory_map.
297         (handle_single_transform_list): Only create .dirstamp rules once
298         per directory.
300         * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
302         Fix for confh.test:
303         * automake.in (configure_input_files): New global.
304         (scan_configure): Set it.
305         (handle_configure): Use configure_input_files when determining
306         which subdirs have a Makefile.am.  Fixes confh.test.
307         (handle_configure): Only recognize acconfig.h in top srcdir.
309 1999-04-10  Tom Tromey  <tromey@cygnus.com>
311         * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
312         (%.lo): Likewise.
314         * automake.in (am_install_var): Remove redundancies from the
315         result.  Fixes test cond8.test.
317         * automake.in (handle_single_transform_list): Handle dependency
318         tracking when files are created in subdirs.  Error if object in
319         subdir has `..' component.
321         * automake.in (initialize_global_constants): Use $(TAR), not tar.
323         * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
325         * automake.in (lang_yacc_finish): Added missing `&'.
327 1999-04-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
329         * automake.in (handle_configure): Replace multiple occurrences of
330         @STAMP@ in the same line; completes the patch for remake-hdr.am
331         below.
333         * automake.in (handle_dependencies): Fix test for `autodep'
334         support.
336         * automake.in (handle_source_transform): Add a pfx to used_pfx
337         only if it's conditional or non-empty, to reduce the number of
338         empty variables.  Emit _OBJECS variable based on program name if
339         no SOURCES were explicitly specified.
341         * remake-hdr.am: Create the stamp file before the header file,
342         and just rename it after, so that the timestamps will be correct.
343         Reported by Marc Horowitz <marc@mit.edu>
345         * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
346         `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
347         Reported by Jim Meyering <meyering@ascend.com>
349         * automake.in (lang_yacc_finish): $hname must not contain a `.'.
351 1999-04-10  Tom Tromey  <tromey@cygnus.com>
353         * Makefile.am (EXTRA_DIST): New macro.
354         * ChangeLog.1996, ChangeLog.1998: New files.
356 1999-04-09  Tom Tromey  <tromey@cygnus.com>
358         * automake.in (handle_source_transform): Handle dist and nodist
359         prefixes.
360         (initialize_per_input): Initialize dist_sources.
361         (check_libobjs_sources): Handle dist and nodist prefixes.
362         (generate_makefile): Define DIST_SOURCES.
363         * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
365         * automake.texi (Macros): Mention AM_PROG_GCJ.
366         (Java Support): New node.
367         (Dist): Documented dist_ and nodist_ prefixes.
369         * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
371         * automake.in (lang_java_finish): Generate .lo rule for `.java'
372         files, not `.gcj' files.
374         * m4/gcj.m4: New file.
375         * m4/Makefile.am (m4data_DATA): Added gcj.m4.
377         * automake.in: Register the `java' language.
378         (resolve_linker): Handle GCJLINK.
379         (lang_java_rewrite): New function.
380         (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
381         (lang_c_rewrite): Use new constants.
382         (lang_cxx_rewrite): Likewise.
383         (lang_header_rewrite): Likewise.
384         (lang_yacc_rewrite): Likewise.
385         (lang_yaccxx_rewrite): Likewise.
386         (lang_lex_rewrite): Likewise.
387         (lang_lexxx_rewrite): Likewise.
388         (lang_asm_rewrite): Likewise.
389         (lang_f77_rewrite): Likewise.
390         (lang_ppf77_rewrite): Likewise.
391         (lang_ratfor_rewrite): Likewise.
392         (lang_objc_rewrite): Likewise.
393         (handle_single_transform_list): Likewise.  Handle LANG_SUBDIR
394         return from rewrite function.
395         (lang_java_finish): New function.
396         (register_language): Changed interface and all calls.  Added
397         `autodep' settings to various languages.
398         (handle_dependencies): Use `autodep' property of language when
399         including dependency-tracking code.
401 1999-04-07  Tom Tromey  <tromey@cygnus.com>
403         * automake.in (handle_texinfo): Indentation fixes.
405 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
407         * automake.in (value_to_list): Skip *only* trailing backslashes.
409 1999-04-07  Pavel Roskin  <pavel_roskin@geocities.com>
411         * automake.in (value_to_list): Skip trailing backslashes.
413 1999-04-07  Alexandre Oliva  <oliva@dcc.unicamp.br>
415         * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
416         when appropriate.
417         Reported by Per Cederqvist <ceder@lysator.liu.se>
418         (handle_texinfo): Do not define texinfo_tex='.', use
419         '$(srcdir)/texinfo.tex' instead; the directory name will be
420         properly extracted.
421         (require_conf_file_with_line): Fixed typo.
423 1999-04-03  Raja R Harinath  <harinath@cs.umn.edu>
425         * automake.in (handle_tests): Test `dir=./' before `dir=', so that 
426         we do not depend on PATH starting with `.'.
428 1999-03-31  Tom Tromey  <tromey@cygnus.com>
430         * automake.in (quote_cond_val): Quote \n.
431         (unquote_cond_val): Unquote \n.
432         (read_am_file): If line ends with `\', preserve it and add a
433         newline.
434         (read_main_am_file): In conditional case, put conditional text at
435         beginning of each generated line.
437 1999-03-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
439         * automake.in (handle_tests): support XFAIL_TEST
440         * automake.texi: document it
442 1999-03-27  Tom Tromey  <tromey@cygnus.com>
444         * automake.in (saw_sources_p): Correctly count header extensions
445         seen.
446         (handle_headers): Fixed order of arguments to am_install_var.
448         * automake.in (am_install_var): Don't error if EXTRA_foo is
449         defined uselessly.
451         * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
452         (uninstall-@DIR@SCRIPTS): Likewise.
453         * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
454         (uninstall-@DIR@PROGRAMS): Likewise.
455         * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
456         (uninstall-@DIR@LTLIBRARIES): Likewise.
457         * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
458         (uninstall-@DIR@LISP): Likewise.
459         * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
460         (uninstall-@DIR@LIBRARIES): Likewise.
461         * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
462         (uninstall-@DIR@JAVA): Likewise.
463         * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
464         (uninstall-@DIR@HEADERS): Likewise.
465         * data.am (install-@DIR@DATA): Use NDIR when appropriate.
466         (uninstall-@DIR@DATA): Likewise.
467         * Makefile.in: Rebuilt.
468         * Makefile.am (dist_pkgdata_DATA): Renamed.
469         (EXTRA_DIST): Removed.
470         (install-data-hook): Added POST_INSTALL; print commands as they
471         are run; respect DESTDIR.
472         * dist-vars.am (DISTFILES): Removed $(HEADERS).
473         * automake.in (am_install_var): Accept `-candist' and
474         `-defaultdist' options.  Handle `dist_' and `nodist_' prefixes.
475         (am_primary_prefixes): Added can_dist argument.  Recognize `dist_'
476         and `nodist_' prefixes.
477         (handle_scripts): Pass -candist to am_install_var.
478         (handle_data): Pass -defaultdist to am_install_var.
479         (handle_headers): Likewise.
480         (handle_emacs_lisp): Pass -candist to am_install_var.
481         (handle_java): Pass -candist to am_install_var.
483 1999-03-26  Tom Tromey  <tromey@cygnus.com>
485         * m4/init.m4: Fixed typo when invoking SHELL.
487         * automake.in (lang_yacc_finish): Always use `.h' as suffix for
488         yacc header file.  From Ralf Corsepius.
490         * Makefile.in: Rebuilt.
491         * Makefile.am: Updated to reflect removal of TAR subst.
492         * automake.texi (Options): Document dist-bzip2.
493         * automake.in (TAR): Removed global.
494         (initialize_global_constants): Changed `dist' to use pipe with
495         gzip; work with non-GNU tar.
496         (handle_dist): Handle non-GNU tar.  Don't define TAR.
497         (initialize_global_constants): Added `dist-bzip2' entry.
498         (handle_options): Recognize dist-bzip2 option.
499         (handle_dist): Likewise.
500         * configure: Rebuilt.
501         * configure.in: Don't check for tar.
502         * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'.  Substitute
503         AMTARFLAGS.
505         * automake.in (am_install_var): Removed obsolete comment.
507         * texinfos.am (uninstall-info): Don't print loop but instead print
508         commands.  Simplified pre-uninstall loop.
509         * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
510         instead print commands.
511         * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
512         print commands.
513         * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
514         instead print commands.
515         * lisp.am (install-@DIR@LISP): Strip subdir from file name.
516         (uninstall-@DIR@LISP): Likewise.  Also, don't print loop but
517         instead print commands.
518         * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
519         print commands.
520         * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
521         print commands.
522         * header.am (install-@DIR@HEADERS): Strip subdir from file name.
523         (uninstall-@DIR@HEADERS): Likewise.  Also, don't print loop but
524         instead print commands.
525         * data.am (install-@DIR@DATA): Strip subdir from file name.
526         (uninstall-@DIR@DATA): Likewise.  Also, don't print loop but
527         instead print commands.
529         * automake.in (handle_merge_targets): `install-strip' is a phony
530         target.  From Michel de Ruiter.
532 1999-03-25  Tom Tromey  <tromey@cygnus.com>
534         * automake.in (define_compiler_variable): Don't define variable
535         with trailing `_'.
537 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
539         * automake.in (LDADD): accept -dlopen and -dlpreopen here
540         * automake.texi: ditto
542 1999-03-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
544         * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
545         is absolute and != objdir.  dir="" or "$(srcdir)/" fixes it
547 1999-03-24  Tom Tromey  <tromey@cygnus.com>
549         * automake.in (define_compiler_variable): New sub.
550         (finish_languages): Use it.
551         (lang_cxx_finish): Likewise.
552         (lang_f77_finish): Likewise.
553         (lang_ppf77_finish): Likewise.
554         (lang_ratfor_finish): Likewise.
555         (lang_objc_finish): Likewise.
557 1999-03-23  Tom Tromey  <tromey@cygnus.com>
559         * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
560         sed invocations.  From Elrond.
561         (uninstall-@DIR@PROGRAMS): Likewise.
563         * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
564         From Ralf Corsepius.
566 1999-02-01  Thomas Tanner  <tanner@gmx.de>
568         * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
569         warning when AM_PROG_LIBTOOL was found
570         * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
572 1999-03-22  Tom Tromey  <tromey@cygnus.com>
574         Made `+=' more robust.  Fixes pluseq6.test and pluseq7.test.
575         * automake.in (define_standard_variables): New sub.
576         (read_main_am_file): Use two passes to scan standard variables.
577         (read_am_file): Don't special-case configure variables with `+='.
578         (initialize_per_input): Initialize %var_was_plus_eq.
579         (read_am_file): Set var_was_plus_eq element correctly.
580         (define_variable): Give error if variable assigned with `+=' is
581         internally defined.
582         (initialize_per_input): Initialize %am_var_defs.
583         (file_contents_with_transform): Set element in %am_var_defs.
584         (read_am_file): Use %am_var_defs.
586 1999-03-21  Tom Tromey  <tromey@cygnus.com>
588         * automake.in (initialize_per_input): Initialize %object_map.
589         (handle_single_transform_list): Allow source files in
590         subdirectories.
592 1999-03-21  Jim Meyering  <meyering@na-net.ornl.gov>
594         * automake.in (handle_dist): Add missing newline after the first
595         semicolon.
597 1999-03-11  Tom Tromey  <tromey@cygnus.com>
599         * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
600         m4/strtod.m4: Use $ac_objext, not `.o'.  From Jim Meyering.
602         From Jim Meyering:
603         * automake.in (handle_dist): Add `;\' to end of distcheck-hook
604         line.
605         (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
606         legitimate ending.  Fixes libobj9.test.
608         From Ralf Corsepius.  Fixes lex3.test.
609         * automake.in (lang_yacc_finish): Include `.' in name pushed onto
610         maintainer-clean list.
611         (lang_lex_finish): Likewise.
613 1999-03-02  Tom Tromey  <tromey@cygnus.com>
615         * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
616         construct to work around FreeBSD make/sh problem.  From Rich Wales.
618 1999-03-01  Tom Tromey  <tromey@cygnus.com>
620         Fixes from Pavel Roskin:
621         * automake.in (variable_conditions_sub): Sort list passed to
622         variable_conditions_permutations.
623         (variable_conditions): Sort list before returning.
625 1999-02-27  Tom Tromey  <tromey@cygnus.com>
627         * automake.in (lang_extensions): New sub.
628         (handle_dependencies): Use it.
629         (cxx_extensions): Removed.
630         (lang_cxx_finish): Use lang_extensions.
631         (f77_extensions): Removed.
632         (lang_f77_finish): Use lang_extensions.
633         (objc_extensions): Removed.
634         (lang_ppf77_finish): Put `.' before extension.  Fixes ext.test.
635         Report from Dave Morrison.
636         (lang_ratfor_finish): Likewise.
638 1999-02-26  Tom Tromey  <tromey@cygnus.com>
640         * automake.in (finish_languages): Added AM_LDFLAGS.
641         (lang_cxx_finish): Likewise.
642         (lang_f77_finish): Likewise.
643         (lang_ppf77_finish): Likewise.
644         (lang_ratfor_finish): Likewise.
645         (lang_objc_finish): Likewise.
647 1999-02-11  Tom Tromey  <tromey@cygnus.com>
649         * aclocal.in (obsolete_macros): Copied from automake.in.
650         (obsolete_rx): Use only keys of obsolete_macros.
651         (scan_configure): Report replacement macro for an obsolete macro.
652         * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
654         * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
655         entry.  Fixes obsolete2.test.
657         * automake.in (obsolete_macros): Use empty string to indicate no
658         substitution.
659         (scan_one_configure_file): Likewise.
661 1999-02-07  Paul Eggert  <eggert@twinsun.com>
663         * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
664         -D_HPUX_SOURCE, since -Ae allows `long long' and this is
665         needed by some programs.
667 1999-02-10  Tom Tromey  <tromey@cygnus.com>
669         * automake.in (handle_texinfo): Added `pgs' to list of
670         extensions.  From NISHIDA Keisuke.
672 1999-02-04  Akim Demaille  <demaille@inf.enst.fr>
674         * automake.in (handle_texinfo): remove texinfo.tex from
675         TEXINFODIR.
677 1999-02-02  Tom Tromey  <tromey@cygnus.com>
679         * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
680         * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
681         * header-vars.am (INSTALL_PROGRAM): Removed
682         AM_INSTALL_PROGRAM_FLAGS.
683         (INSTALL_STRIP_FLAG): New macro.
685         * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
686         lex source.
687         (lang_yacc_finish): Likewise.
688         (lang_lex_finish): Likewise.
690 1999-02-01  Tom Tromey  <tromey@cygnus.com>
692         * automake.in (handle_dist_worker): Correctly find find in $$d,
693         not $$.  From Bill Davidson.
695         * automake.in (finish_languages): Use "&", not "do".  From Pavel
696         Roskin.
697         (handle_single_transform_list): Likewise.
699 1999-01-29  Tom Tromey  <tromey@cygnus.com>
701         * automake.in (handle_configure): Removed unused variable.  From
702         Pavel Roskin.
704         * ansi2knr.c: New version from L. Peter Deutsch.
706 1999-01-22  Tom Tromey  <tromey@cygnus.com>
708         * automake.in (require_file_internal): Correctly examine return
709         value of `system'.  From Andris Pavenis.  Fixes copy.test.
711         * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
713         * automake.in (lang_ppf77_rewrite): New function.  From Jochen
714         Kuepper.  Fixes ppf77.test.
715         (lang_ratfor_rewrite): New function
717         * automake.in (handle_configure): Use `&' before sub calls (Perl 4
718         fix).  From Erez Zadok.
720 1999-01-15  Tom Tromey  <tromey@cygnus.com>
722         * configure.in: Version 1.4a (oops).
724         * configure.in: Updated version to 1.5a.
726 1999-01-14  Tom Tromey  <tromey@cygnus.com>
728         * automake.in (handle_configure): Compute $header_dir based on
729         $one_name, not $one_hdr.  Reported by Erez Zadok.  Fixes
730         confh2.test.
731         (handle_configure): Compute relative path to input header
732         correctly in all cases.
734         * automake.in (handle_tests): Avoid error messages from dejagnu
735         test rules.  From Karl Heuer.
737         * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
739         * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
741         * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
742         From Alexandre Oliva and Erez Zadok.
744         * automake.in (create): Renamed from touch.
745         (handle_configure): Use create, not touch.
747         * config.sub, config.guess: New versions from autoconf.
749         * mkinstalldirs: New version from autoconf.
751 1999-01-12  Tom Tromey  <tromey@cygnus.com>
753         * config.sub, config.guess, COPYING, texinfo.tex: New versions
754         from FSF.
756 1999-01-11  Marcus G. Daniels  <mgd@chama.santafe.edu>
758         * automake.in (PATH_PATTERN): New variable:
759         (INCLUDE_PATTERN): Use it.  Ignore all include commands using 
760         symbols besides $(top_srcdir) and $(srcdir).
762 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
764         * automake.in (handle_dist_worker): avoid failure in `make dist'
765         if last file is a builddir-only file
767 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
769         * missing (autoheader): `s' was missing from sed script; grr
771 1999-01-11  Tom Tromey  <tromey@cygnus.com>
773         * remake-hdr.am (@STAMP@): Reverted timestamp change.
774         ($(srcdir)/@STAMP@.in): Likewise.
776 1999-01-10  Tom Tromey  <tromey@cygnus.com>
778         * Makefile.am (scriptdir): New macro.
779         (script_DATA): Likewise.
780         (install-data-hook): Use them.
781         (EXTRA_DIST): Added script_DATA.
782         (installcheck-local): Use script_DATA.
784         * Makefile.am (pkgdata_DATA): Removed duplicate definition.
786 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
788         * missing (autoheader): accept multiple header files
789         (automake): simplify sed processing
791 1999-01-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
793         * automake.in (handle_configure, stamp_dir): create only one stamp
794         file per header, instead of one in the top-level directory and one
795         in the directory that contains the header.
797 1999-01-10  Tom Tromey  <tromey@cygnus.com>
799         * automake.in (lang_objc_finish): Formatting fix.
801         * automake.in (objc_extensions): New sub.
802         (handle_dependencies): Only generate dependency-tracking code for
803         ObjC when ObjC source seen.