1 1999-11-07 Tom Tromey <tromey@cygnus.com>
3 Fix for PR automake/18:
4 * automake.in (handle_dist): Add contents of dist.am to the output
6 * Makefile.am (amfiles): Added dist.am.
8 (distcheck): Added uninstall and distclean checks.
10 * automake.in (PATH_PATTERN): Added `-' as allowable character.
11 Fixes PR automake/20. From Matthew D. Langston.
13 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
14 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
16 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18 * m4/lispdir.m4: -batch must come before -q.
19 * elisp-comp: Likewise.
20 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
23 1999-08-15 Tom Tromey <tromey@cygnus.com>
25 * automake.in (get_object_extension): Fixed quoting bug. Fixes
28 1999-07-27 Tom Tromey <tromey@cygnus.com>
30 * config.guess, config.sub: New versions from autoconf.
32 1999-07-13 Tom Tromey <tromey@cygnus.com>
34 Work around losing `awk'. Report from Harlan Stenn.
35 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
36 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
38 * automake.in (handle_source_transform): Mark prefix as seen if
39 corresponding _SOURCES variable exists. Fixes empty2.test.
41 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
43 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
45 (AUTOMAKE): Set --amdir to current directory.
47 1999-06-20 Tom Tromey <tromey@cygnus.com>
49 * Makefile.am (TAGS_FILES): New macro.
50 (ETAGS_ARGS): Moved files into TAGS_FILES.
51 (TAGS_DEPENDENCIES): Likewise.
52 (ETAGS_ARGS): Removed.
53 (TAGS_DEPENDENCIES): Removed duplicate definition.
55 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
56 from Ganesan Rajagopal.
59 1999-06-18 Thomas Tanner <tanner@ffii.org>
61 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
64 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
66 * ylwrap: Handle filenames output by the DOS version of Bison.
68 1999-06-20 Tom Tromey <tromey@cygnus.com>
70 * ylwrap: Be less strict when recognizing DOS paths. From Mark
73 1999-06-19 Tom Tromey <tromey@cygnus.com>
75 * automake.in (handle_dist_worker): Remove redundant entries from
78 * automake.in (handle_lib_objects_cond): Better error message when
79 unrecognized option passed in LDADD.
81 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
83 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
84 appropriate --acdir and --amdir arguments.
86 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
88 * automake.in (dist_header): Avoid changing permissions of files
89 in the source tree, trying a complex `find/chmod' command before
90 falling back to plain chmod.
91 (handle_dist_worker): Do not create directories with mode 777, the
92 find above will take care of that.
93 * m4/init.m4: Set install_sh for find/chmod above.
95 * THANKS: Added Shuhei Amakawa.
97 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
99 * mans.am: Strip dirname from given filename.
101 1999-06-07 Jim Meyering <meyering@ascend.com>
103 * automake.in (handle_dist): Change emitted rules so that a failure
104 in `$(MAKE) distcheck-hook' propagates to the outer make.
106 1999-05-27 Tom Tromey <tromey@cygnus.com>
108 * automake.in (handle_single_transform_list): Replace AM_FLAG and
109 not FLAG in compilation rule.
110 (add_depend2): Likewise.
112 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
115 * m4/dmalloc.m4: Updated dmalloc site information.
117 1999-05-19 Tom Tromey <tromey@cygnus.com>
119 * automake.in (handle_single_transform_list): Push object name
120 without extension onto lang_specific_files. Fixes
123 * automake.in (handle_single_transform_list): Added missing
124 space. Fixes specflags.test.
126 1999-05-05 Tom Tromey <tromey@cygnus.com>
128 * automake.in: Disabled dependency tracking for Java.
130 1999-05-04 Tom Tromey <tromey@cygnus.com>
132 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
133 * automake.in (handle_libraries): Recognize _AR variable.
135 1999-04-30 Tom Tromey <tromey@cygnus.com>
137 * automake.in (finish_languages): Always use `-o $@' with
138 libtool. Define ltcompile and ltlink at outermost scope in
140 * libtool.am (.c.lo): Removed.
142 * automake.in (finish_languages): Put `.' before extension in
143 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
144 `-flag'. From Pavel Roskin.
146 1999-04-28 Tom Tromey <tromey@cygnus.com>
148 * automake.in (finish_languages): Fixed scoping of ltcompile and
149 ltlink. From Pavel Roskin.
151 1999-04-27 Tom Tromey <tromey@cygnus.com>
153 * automake.in (read_main_am_file): Don't start macro definition
154 with backslash-newline. Instead, append newline at the end if
157 * automake.in (read_am_file): Insert a backslash before a trailing
158 newline. Fixes pluseq8.test.
160 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
162 (check_canonical_spelling): Don't insert `AM' before macro name
163 (reverts Alexandre's 1999-04-27 patch).
164 * automake.texi: Reverted documentation change for `AM' patch.
166 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
167 Minor rewrite for clarity.
168 (check_canonical_spelling): Prefer `$1' over `\1'.
170 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
173 * automake.in (handle_single_transform_list): Don't print rule if
174 doing dependency tracking and the file's language supports it.
175 (initialize_per_input): Initialize lang_specific_files.
176 (add_depend2): New function.
177 (handle_dependencies): Use it.
179 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
180 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
181 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
183 (lang_ratfor_finish): Use lang_f77_finish.
185 * compile.am (NOTDEPEND.c.o): Removed.
186 (OBJEXT.c.obj): Likewise.
187 * automake.in: Added `flags' attribute to all relevant languages.
188 (handle_single_transform_list): Handle per-derived-object flags.
189 Changed interface and all callers.
190 (handle_built_sources): Don't call handle_single_transform_list.
191 Added `compile' and `compiler-name' attribute to all relevant
193 (finish_languages): Define compiler variables here.
194 (lang_cxx_finish): Don't call define_compiler_variable. Don't
195 define flag variable or .o rules. Don't add to @suffixes.
196 (lang_f77_finish): Likewise.
197 (lang_ppf77_finish): Likewise.
198 (lang_objc_finish): Likewise.
199 (lang_java_finish): Likewise.
200 (finish_languages): Define flag variable here.
201 Added `output-arg' attribute to all relevant languages.
202 (finish_languages): Define `.o' rules here.
203 (finish_languages): Put extension on @suffixes.
204 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
206 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
208 * automake.in (initialize_global_constants): Invoke gzip for
209 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
211 * automake.in (initialize_global_constants): Remove zip file
212 before re-creating it.
213 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
215 * texinfos.am (uninstall-info): Look for info file in srcdir, just
216 like in install-info-am.
217 Reported by Tudor Hulubei <tudor@cs.unh.edu>
219 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
220 Let's use the good ol' substitution, then.
221 Reported by Russ Allbery <rra@stanford.edu>
223 * automake.in (check_canonical_spelling): Insert AM before names
224 starting with non-letters.
226 * automake.texi: Document it.
228 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
230 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
231 doesn't work on perl4. Maybe \Q and \E do.
233 1999-04-24 Tom Tromey <tromey@cygnus.com>
235 * automake.in: Treat `.zip' and `.jar' files as Java.
237 * automake.in (generate_makefile): Define `subdir' after reading
239 (read_main_am_file): Give programming error if variable defined
242 1999-04-22 Tom Tromey <tromey@cygnus.com>
244 * automake.in (generate_makefile): Define `subdir' variable.
245 (handle_dist): Don't define `subdir'.
247 * automake.in (handle_texinfo): Change numbering scheme for
248 stamp-vti files, to avoid problems with DOS.
249 From Michel de Ruiter.
251 * automake.texi: Don't mention AM_FUNC_MKTIME.
252 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
253 * automake.in (scan_one_configure_file): Recognize
254 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
255 (obsolete_macros): Mention AM_FUNC_MKTIME.
256 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
257 * m4/mktime.m4: Removed.
259 1999-04-20 Tom Tromey <tromey@cygnus.com>
261 * automake.texi (Top level): Don't recommend substing SUBDIRS.
263 1999-04-20 Brian Ford <ford@vss.fsi.com>
265 * scripts.am: Change else if's to elif.
267 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
269 * automake.in (handle_lib_objects_cond): Only require the source
270 of a LIBOBJ if it's not in BUILT_SOURCES.
271 Reported by Erez Zadok.
273 1999-04-19 Tom Tromey <tromey@cygnus.com>
275 * automake.in: Treat `.class' files as Java source.
276 (lang_java_finish): Handle `.class' files.
278 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
280 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
282 * m4/lispdir.m4: Do not override lispdir if it's already defined.
283 Run some emacs-lisp to find out the site-lisp directory, but
284 relocate it into prefix.
286 1999-04-17 Paul Eggert <eggert@twinsun.com>
288 * m4/mktime.m4 (bigtime_test, main): Move alarm from
289 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
290 even outside of bigtime_test. Use a time limit of 60 seconds
291 for the whole test, not 10 seconds per iteration.
293 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
295 * automake.in: Create stamps for headers in appropriate
296 directories, even if the input file lives in a different place.
297 * remake-hdr.am: Likewise.
299 1999-04-16 Tom Tromey <tromey@cygnus.com>
302 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
303 Invoke `sed' only once per program.
304 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
305 Invoke `sed' only once per program.
307 1999-04-13 Tom Tromey <tromey@cygnus.com>
309 * automake.in (handle_subdirs): Make `install-recursive' phony.
310 From Michel de Ruiter.
312 * automake.in (handle_ltlibraries): Added missing `check'.
314 1999-04-12 Tom Tromey <tromey@cygnus.com>
316 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
319 1999-04-11 Tom Tromey <tromey@cygnus.com>
321 * automake.in (handle_dist): Use AMTAR.
322 (initialize_global_constants): Likewise.
323 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
325 * automake.in (lang_sub_obj): New function.
326 (lang_cxx_rewrite): Use it.
327 (lang_asm_rewrite): Likewise.
328 (lang_objc_rewrite): Likewise.
329 (lang_cxx_finish): Add `-o $@' to all C++ rules.
330 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
331 (lang_objc_finish): Add `-o $@' to all ObjC rules.
332 (lang_java_finish): Likewise.
334 * automake.in: Only register `asm' once.
335 (lang_asm_finish): Put assembly suffixes on @suffixes.
337 * libtool.am (.s.lo): Removed.
339 * automake.in (lang_asm_finish): Handle libtool.
341 * libtool.am (.c.o): Always pass -c to libtool.
343 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
344 (lang_yaccxx_rewrite): Likewise.
345 (lang_lex_rewrite): Likewise.
346 (lang_lexxx_rewrite): Likewise.
348 Assembly code no longer included by default:
349 * compile.am (.s.o): Removed.
351 * automake.in: Register `asm' language.
352 (lang_asm_finish): Generate suffix rules for assembly.
353 (get_object_extension): Don't add `.s' or `.S' to suffix list.
355 * automake.in (get_object_extension): Substitute @MINUSO@ when
356 including compile.am.
357 * compile.am (.c.o): Added @MINUSO@.
360 First cut at allowing objects in subdirectories:
361 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
362 * Makefile.am (dist_script_DATA): Added compile.
363 * m4/minuso.m4: New file.
364 * automake.in (initialize_global_constants): Added compile to
366 (seen_cc_c_o): New global.
367 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
368 (handle_options): Recognize `subdir-objects' option.
369 (lang_c_rewrite): Added directory argument.
370 (lang_yacc_rewrite): Likewise.
371 (lang_yaccxx_rewrite): Likewise.
372 (lang_lex_rewrite): Likewise.
373 (lang_lexxx_rewrite): Likewise.
374 (handle_single_transform_list): Pass directory to _rewrite
375 function. Generate dependencies for dirstamp files for each .o;
376 it is just the rules we want to create once.
377 (lang_c_rewrite): Handle `subdir-objects' option.
378 (lang_c_rewrite): Require `compile' program.
381 * automake.in (initialize_per_input): Initialize %directory_map.
382 (handle_single_transform_list): Only create .dirstamp rules once
385 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
388 * automake.in (configure_input_files): New global.
389 (scan_configure): Set it.
390 (handle_configure): Use configure_input_files when determining
391 which subdirs have a Makefile.am. Fixes confh.test.
392 (handle_configure): Only recognize acconfig.h in top srcdir.
394 1999-04-10 Tom Tromey <tromey@cygnus.com>
396 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
399 * automake.in (am_install_var): Remove redundancies from the
400 result. Fixes test cond8.test.
402 * automake.in (handle_single_transform_list): Handle dependency
403 tracking when files are created in subdirs. Error if object in
404 subdir has `..' component.
406 * automake.in (initialize_global_constants): Use $(TAR), not tar.
408 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
410 * automake.in (lang_yacc_finish): Added missing `&'.
412 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
414 * automake.in (handle_configure): Replace multiple occurrences of
415 @STAMP@ in the same line; completes the patch for remake-hdr.am
418 * automake.in (handle_dependencies): Fix test for `autodep'
421 * automake.in (handle_source_transform): Add a pfx to used_pfx
422 only if it's conditional or non-empty, to reduce the number of
423 empty variables. Emit _OBJECS variable based on program name if
424 no SOURCES were explicitly specified.
426 * remake-hdr.am: Create the stamp file before the header file,
427 and just rename it after, so that the timestamps will be correct.
428 Reported by Marc Horowitz <marc@mit.edu>
430 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
431 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
432 Reported by Jim Meyering <meyering@ascend.com>
434 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
436 1999-04-10 Tom Tromey <tromey@cygnus.com>
438 * Makefile.am (EXTRA_DIST): New macro.
439 * ChangeLog.1996, ChangeLog.1998: New files.
441 1999-04-09 Tom Tromey <tromey@cygnus.com>
443 * automake.in (handle_source_transform): Handle dist and nodist
445 (initialize_per_input): Initialize dist_sources.
446 (check_libobjs_sources): Handle dist and nodist prefixes.
447 (generate_makefile): Define DIST_SOURCES.
448 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
450 * automake.texi (Macros): Mention AM_PROG_GCJ.
451 (Java Support): New node.
452 (Dist): Documented dist_ and nodist_ prefixes.
454 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
456 * automake.in (lang_java_finish): Generate .lo rule for `.java'
457 files, not `.gcj' files.
459 * m4/gcj.m4: New file.
460 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
462 * automake.in: Register the `java' language.
463 (resolve_linker): Handle GCJLINK.
464 (lang_java_rewrite): New function.
465 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
466 (lang_c_rewrite): Use new constants.
467 (lang_cxx_rewrite): Likewise.
468 (lang_header_rewrite): Likewise.
469 (lang_yacc_rewrite): Likewise.
470 (lang_yaccxx_rewrite): Likewise.
471 (lang_lex_rewrite): Likewise.
472 (lang_lexxx_rewrite): Likewise.
473 (lang_asm_rewrite): Likewise.
474 (lang_f77_rewrite): Likewise.
475 (lang_ppf77_rewrite): Likewise.
476 (lang_ratfor_rewrite): Likewise.
477 (lang_objc_rewrite): Likewise.
478 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
479 return from rewrite function.
480 (lang_java_finish): New function.
481 (register_language): Changed interface and all calls. Added
482 `autodep' settings to various languages.
483 (handle_dependencies): Use `autodep' property of language when
484 including dependency-tracking code.
486 1999-04-07 Tom Tromey <tromey@cygnus.com>
488 * automake.in (handle_texinfo): Indentation fixes.
490 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
492 * automake.in (value_to_list): Skip *only* trailing backslashes.
494 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
496 * automake.in (value_to_list): Skip trailing backslashes.
498 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
500 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
502 Reported by Per Cederqvist <ceder@lysator.liu.se>
503 (handle_texinfo): Do not define texinfo_tex='.', use
504 '$(srcdir)/texinfo.tex' instead; the directory name will be
506 (require_conf_file_with_line): Fixed typo.
508 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
510 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
511 we do not depend on PATH starting with `.'.
513 1999-03-31 Tom Tromey <tromey@cygnus.com>
515 * automake.in (quote_cond_val): Quote \n.
516 (unquote_cond_val): Unquote \n.
517 (read_am_file): If line ends with `\', preserve it and add a
519 (read_main_am_file): In conditional case, put conditional text at
520 beginning of each generated line.
522 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
524 * automake.in (handle_tests): support XFAIL_TEST
525 * automake.texi: document it
527 1999-03-27 Tom Tromey <tromey@cygnus.com>
529 * automake.in (saw_sources_p): Correctly count header extensions
531 (handle_headers): Fixed order of arguments to am_install_var.
533 * automake.in (am_install_var): Don't error if EXTRA_foo is
536 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
537 (uninstall-@DIR@SCRIPTS): Likewise.
538 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
539 (uninstall-@DIR@PROGRAMS): Likewise.
540 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
541 (uninstall-@DIR@LTLIBRARIES): Likewise.
542 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
543 (uninstall-@DIR@LISP): Likewise.
544 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
545 (uninstall-@DIR@LIBRARIES): Likewise.
546 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
547 (uninstall-@DIR@JAVA): Likewise.
548 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
549 (uninstall-@DIR@HEADERS): Likewise.
550 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
551 (uninstall-@DIR@DATA): Likewise.
552 * Makefile.in: Rebuilt.
553 * Makefile.am (dist_pkgdata_DATA): Renamed.
554 (EXTRA_DIST): Removed.
555 (install-data-hook): Added POST_INSTALL; print commands as they
556 are run; respect DESTDIR.
557 * dist-vars.am (DISTFILES): Removed $(HEADERS).
558 * automake.in (am_install_var): Accept `-candist' and
559 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
560 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
561 and `nodist_' prefixes.
562 (handle_scripts): Pass -candist to am_install_var.
563 (handle_data): Pass -defaultdist to am_install_var.
564 (handle_headers): Likewise.
565 (handle_emacs_lisp): Pass -candist to am_install_var.
566 (handle_java): Pass -candist to am_install_var.
568 1999-03-26 Tom Tromey <tromey@cygnus.com>
570 * m4/init.m4: Fixed typo when invoking SHELL.
572 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
573 yacc header file. From Ralf Corsepius.
575 * Makefile.in: Rebuilt.
576 * Makefile.am: Updated to reflect removal of TAR subst.
577 * automake.texi (Options): Document dist-bzip2.
578 * automake.in (TAR): Removed global.
579 (initialize_global_constants): Changed `dist' to use pipe with
580 gzip; work with non-GNU tar.
581 (handle_dist): Handle non-GNU tar. Don't define TAR.
582 (initialize_global_constants): Added `dist-bzip2' entry.
583 (handle_options): Recognize dist-bzip2 option.
584 (handle_dist): Likewise.
585 * configure: Rebuilt.
586 * configure.in: Don't check for tar.
587 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
590 * automake.in (am_install_var): Removed obsolete comment.
592 * texinfos.am (uninstall-info): Don't print loop but instead print
593 commands. Simplified pre-uninstall loop.
594 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
595 instead print commands.
596 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
598 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
599 instead print commands.
600 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
601 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
602 instead print commands.
603 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
605 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
607 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
608 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
609 instead print commands.
610 * data.am (install-@DIR@DATA): Strip subdir from file name.
611 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
612 instead print commands.
614 * automake.in (handle_merge_targets): `install-strip' is a phony
615 target. From Michel de Ruiter.
617 1999-03-25 Tom Tromey <tromey@cygnus.com>
619 * automake.in (define_compiler_variable): Don't define variable
622 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
624 * automake.in (LDADD): accept -dlopen and -dlpreopen here
625 * automake.texi: ditto
627 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
629 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
630 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
632 1999-03-24 Tom Tromey <tromey@cygnus.com>
634 * automake.in (define_compiler_variable): New sub.
635 (finish_languages): Use it.
636 (lang_cxx_finish): Likewise.
637 (lang_f77_finish): Likewise.
638 (lang_ppf77_finish): Likewise.
639 (lang_ratfor_finish): Likewise.
640 (lang_objc_finish): Likewise.
642 1999-03-23 Tom Tromey <tromey@cygnus.com>
644 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
645 sed invocations. From Elrond.
646 (uninstall-@DIR@PROGRAMS): Likewise.
648 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
651 1999-02-01 Thomas Tanner <tanner@gmx.de>
653 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
654 warning when AM_PROG_LIBTOOL was found
655 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
657 1999-03-22 Tom Tromey <tromey@cygnus.com>
659 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
660 * automake.in (define_standard_variables): New sub.
661 (read_main_am_file): Use two passes to scan standard variables.
662 (read_am_file): Don't special-case configure variables with `+='.
663 (initialize_per_input): Initialize %var_was_plus_eq.
664 (read_am_file): Set var_was_plus_eq element correctly.
665 (define_variable): Give error if variable assigned with `+=' is
667 (initialize_per_input): Initialize %am_var_defs.
668 (file_contents_with_transform): Set element in %am_var_defs.
669 (read_am_file): Use %am_var_defs.
671 1999-03-21 Tom Tromey <tromey@cygnus.com>
673 * automake.in (initialize_per_input): Initialize %object_map.
674 (handle_single_transform_list): Allow source files in
677 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
679 * automake.in (handle_dist): Add missing newline after the first
682 1999-03-11 Tom Tromey <tromey@cygnus.com>
684 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
685 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
688 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
690 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
691 legitimate ending. Fixes libobj9.test.
693 From Ralf Corsepius. Fixes lex3.test.
694 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
695 maintainer-clean list.
696 (lang_lex_finish): Likewise.
698 1999-03-02 Tom Tromey <tromey@cygnus.com>
700 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
701 construct to work around FreeBSD make/sh problem. From Rich Wales.
703 1999-03-01 Tom Tromey <tromey@cygnus.com>
705 Fixes from Pavel Roskin:
706 * automake.in (variable_conditions_sub): Sort list passed to
707 variable_conditions_permutations.
708 (variable_conditions): Sort list before returning.
710 1999-02-27 Tom Tromey <tromey@cygnus.com>
712 * automake.in (lang_extensions): New sub.
713 (handle_dependencies): Use it.
714 (cxx_extensions): Removed.
715 (lang_cxx_finish): Use lang_extensions.
716 (f77_extensions): Removed.
717 (lang_f77_finish): Use lang_extensions.
718 (objc_extensions): Removed.
719 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
720 Report from Dave Morrison.
721 (lang_ratfor_finish): Likewise.
723 1999-02-26 Tom Tromey <tromey@cygnus.com>
725 * automake.in (finish_languages): Added AM_LDFLAGS.
726 (lang_cxx_finish): Likewise.
727 (lang_f77_finish): Likewise.
728 (lang_ppf77_finish): Likewise.
729 (lang_ratfor_finish): Likewise.
730 (lang_objc_finish): Likewise.
732 1999-02-11 Tom Tromey <tromey@cygnus.com>
734 * aclocal.in (obsolete_macros): Copied from automake.in.
735 (obsolete_rx): Use only keys of obsolete_macros.
736 (scan_configure): Report replacement macro for an obsolete macro.
737 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
739 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
740 entry. Fixes obsolete2.test.
742 * automake.in (obsolete_macros): Use empty string to indicate no
744 (scan_one_configure_file): Likewise.
746 1999-02-07 Paul Eggert <eggert@twinsun.com>
748 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
749 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
750 needed by some programs.
752 1999-02-10 Tom Tromey <tromey@cygnus.com>
754 * automake.in (handle_texinfo): Added `pgs' to list of
755 extensions. From NISHIDA Keisuke.
757 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
759 * automake.in (handle_texinfo): remove texinfo.tex from
762 1999-02-02 Tom Tromey <tromey@cygnus.com>
764 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
765 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
766 * header-vars.am (INSTALL_PROGRAM): Removed
767 AM_INSTALL_PROGRAM_FLAGS.
768 (INSTALL_STRIP_FLAG): New macro.
770 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
772 (lang_yacc_finish): Likewise.
773 (lang_lex_finish): Likewise.
775 1999-02-01 Tom Tromey <tromey@cygnus.com>
777 * automake.in (handle_dist_worker): Correctly find find in $$d,
778 not $$. From Bill Davidson.
780 * automake.in (finish_languages): Use "&", not "do". From Pavel
782 (handle_single_transform_list): Likewise.
784 1999-01-29 Tom Tromey <tromey@cygnus.com>
786 * automake.in (handle_configure): Removed unused variable. From
789 * ansi2knr.c: New version from L. Peter Deutsch.
791 1999-01-22 Tom Tromey <tromey@cygnus.com>
793 * automake.in (require_file_internal): Correctly examine return
794 value of `system'. From Andris Pavenis. Fixes copy.test.
796 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
798 * automake.in (lang_ppf77_rewrite): New function. From Jochen
799 Kuepper. Fixes ppf77.test.
800 (lang_ratfor_rewrite): New function
802 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
803 fix). From Erez Zadok.
805 1999-01-15 Tom Tromey <tromey@cygnus.com>
807 * configure.in: Version 1.4a (oops).
809 * configure.in: Updated version to 1.5a.
811 1999-01-14 Tom Tromey <tromey@cygnus.com>
813 * automake.in (handle_configure): Compute $header_dir based on
814 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
816 (handle_configure): Compute relative path to input header
817 correctly in all cases.
819 * automake.in (handle_tests): Avoid error messages from dejagnu
820 test rules. From Karl Heuer.
822 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
824 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
826 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
827 From Alexandre Oliva and Erez Zadok.
829 * automake.in (create): Renamed from touch.
830 (handle_configure): Use create, not touch.
832 * config.sub, config.guess: New versions from autoconf.
834 * mkinstalldirs: New version from autoconf.
836 1999-01-12 Tom Tromey <tromey@cygnus.com>
838 * config.sub, config.guess, COPYING, texinfo.tex: New versions
841 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
843 * automake.in (PATH_PATTERN): New variable:
844 (INCLUDE_PATTERN): Use it. Ignore all include commands using
845 symbols besides $(top_srcdir) and $(srcdir).
847 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
849 * automake.in (handle_dist_worker): avoid failure in `make dist'
850 if last file is a builddir-only file
852 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
854 * missing (autoheader): `s' was missing from sed script; grr
856 1999-01-11 Tom Tromey <tromey@cygnus.com>
858 * remake-hdr.am (@STAMP@): Reverted timestamp change.
859 ($(srcdir)/@STAMP@.in): Likewise.
861 1999-01-10 Tom Tromey <tromey@cygnus.com>
863 * Makefile.am (scriptdir): New macro.
864 (script_DATA): Likewise.
865 (install-data-hook): Use them.
866 (EXTRA_DIST): Added script_DATA.
867 (installcheck-local): Use script_DATA.
869 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
871 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
873 * missing (autoheader): accept multiple header files
874 (automake): simplify sed processing
876 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
878 * automake.in (handle_configure, stamp_dir): create only one stamp
879 file per header, instead of one in the top-level directory and one
880 in the directory that contains the header.
882 1999-01-10 Tom Tromey <tromey@cygnus.com>
884 * automake.in (lang_objc_finish): Formatting fix.
886 * automake.in (objc_extensions): New sub.
887 (handle_dependencies): Only generate dependency-tracking code for
888 ObjC when ObjC source seen.