-
Notifications
You must be signed in to change notification settings - Fork 7
/
ChangeLog.04
1623 lines (1230 loc) · 59.9 KB
/
ChangeLog.04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2004-12-31 Alexandre Duret-Lutz <[email protected]>
* tests/man2.test, tests/transform.test: Specify --mandir, in order
not to fail when Autoconf changes its $mandir default.
2004-12-30 Alexandre Duret-Lutz <[email protected]>
Support for `install-dvi', `install-html', `install-ps', and
`install-pdf', as recently introduced into the GNU Coding
Standard.
* automake.in (handle_factored_dependencies): Reject
uninstall-dvi-local, uninstall-html-local, uninstall-info-local,
uninstall-ps-local, and uninstall-pdf-local. Allow
install-info-local even when no-installinfo is not used.
(handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir.
(%standard_prefix): Declare these new standard directory variables.
* doc/automake.texi (Texinfo, Third-Party Makefiles): Document
install-dvi, install-html, install-pdf, and install-ps.
(Extending): Document install-local-dvi, install-local-html,
install-local-info, install-local-pdf, and install-local-ps.
* lib/Automake/Rule.pm (%dependencies): Add new install rules,
and remove uninstall-info.
* /cvs/automake/automake/lib/am/texinfos.am (install-dvi,
install-dvi-am, install-dvi-recursive, install-html,
install-html-am, install-html-recursive, install-pdf,
install-pdf-am, install-pdf-recursive, install-ps, install-ps-am,
install-ps-recursive, uninstall-dvi-am, uninstall-html-am,
uninstall-pdf-am, uninstall-ps-am): New rules.
(uninstall-info): Delete.
* tests/txinfo21.test: Augment to check for these new rules.
* tests/exdir2.test: Do not use `htmldir' as example of
undefined directory.
* tests/overrid.test: Do not be fooled by install-ps and
install-html.
* tests/txinfo10.test: Do not grep for uninstall-info-recursive.
2004-12-27 Alexandre Duret-Lutz <[email protected]>
* automake.in (Preprocessed Fortran): Fix the definition of FCLINK.
* Makefile.am (maintainer-check): Refine check for @_ in scalar
context. Check for correct use of PRE_INSTALL, NORMAL_INSTALL,
POST_INSTALL, PRE_UNINSTALL, NORMAL_UNINSTALL, and POST_UNINSTALL.
* lib/am/texinfos.am (uninstall-info-am): Hide the invocation of
$(PRE_UNINSTALL).
2004-12-27 Ralf Wildenhues <[email protected]>
* lib/am/texinfos.am (uninstall-info-am): Show change of
directory while uninstalling DJGPP-style info files.
2004-12-27 Alexandre Duret-Lutz <[email protected]>
Declare recursive install targets as dependencies of `.MAKE', so
that `make -n install' works with BSD Make too.
* lib/Automake/Rule.pm (reset) <%dependencies>: Add `.MAKE'.
* automake.in (target_cmp): Move all `.XYZ' target last, not
only `.PHONY'.
(handle_factored_dependencies): Add target with hooks to `.MAKE'.
Do not let a user definition of .MAKE override ours.
* lib/am/install.am (install-am, install-strip): Mark as `.MAKE'.
* lib/am/multilib.am (all-multi, install-multi, mostlyclean-multi,
clean-multi, distclean-multi, maintainer-clean-multi): Likewise.
* lib/am/subdirs.am (mostlyclean-recursive, clean-recursive,
distclean-recursive, maintainer-clean-recursive): Likewise.
2004-12-18 Alexandre Duret-Lutz <[email protected]>
* lib/config-ml.in, lib/config.guess, lib/config.sub,
lib/texinfo.tex: New upstream versions.
* doc/automake.texi (gettext): Move the paragraph about
dist_list_LISP...
(Emacs Lisp): ... here.
Report from Bruno Haible.
* doc/automake.texi: Bump GFDL version to 1.2, since that is
what we distribute.
* doc/automake.texi: Fix more misuses of @ref, @xref and @pxref,
including some of the "corrections" below. Thanks to Karl Berry.
* doc/automake.texi: Correct several misuses of @xref and @pxref.
2004-12-17 Jim Meyering <[email protected]>
* install-sh: Use `(exit N); exit N', not `(exit N); exit'.
Otherwise, install-sh could exit with improper exit status when
exiting via a trapped interrupt. Thanks to a report from Bob Proulx.
2004-12-14 Akim Demaille <[email protected]>
* doc/automake.texi (Options): Englishoes.
(Options): And another.
2004-12-13 Alexandre Duret-Lutz <[email protected]>
* ChangeLog.03: New file, extracted from ChangeLog.
* Makefile.am (EXTRA_DIST): Add it.
2004-12-12 Alexandre Duret-Lutz <[email protected]>
* automake.in (check_user_variables): New function, extracted
from ...
(handle_languages): ... here.
(handle_languages, define_compiler_variable, define_link_variable):
Honore LIBTOOLFLAGS.
(handle_single_transform): Check _LIBTOOLFLAGS in
addition to other per-target flags for Libtool objects.
(handle_libtool): Warn if LIBTOOLFLAGS is defined.
* doc/automake.texi (Libtool Flags, Program and Library Variables,
Flag Variables Ordering): Document LIBTOOLFLAGS.
* tests/libtool7.test: Check basic support for LIBTOOLFLAGS.
* tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS
definitions.
* tests/subobj9.test: Adjust.
2004-12-11 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Per-Object Flags): New node.
2004-12-09 Alexandre Duret-Lutz <[email protected]>
Fix PR automake/441:
* lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do
not install *.class if "$(%DIR%_JAVA)" is empty.
* tests/java3.test: New file.
* tests/Makefile.am (TESTS): Add it.
Report from Johannes Nicolai.
* doc/automake.texi (Java): Mention dist_ and add an example.
* tests/java.test: Do actually compile java files and run distcheck.
2004-12-08 Peter O'Gorman <[email protected]>
Alexandre Duret-Lutz <[email protected]>
* lib/Automake/FileUtils.pm (dir_has_case_matching_file,
reset_dir_cache): New functions.
* automake.in (handle_dist, require_file_internal): Use them, so
that CHANGELOG is not confused with ChangeLog on case-insensitive
case-preserving file systems.
* tests/hfs.test: New file.
* tests/Makefile.am (TESTS): Add hfs.test.
2004-12-08 Paul Eggert <[email protected]>
* lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
the spaces inside $ls_command. Problem reported by Loulou Pouchet in
<http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
2004-12-05 Toshio Kuratomi <[email protected]>
* lib/py-compile: Add --destdir switch to py-compile that takes a
path argument that is not compiled into the file when byte compiling.
* lib/am/python.am: Use the new py-compile arguments to not include
DESTDIR in the byte compiled files.
* tests/python12.test: Test that DESTDIR won't be byte compiled into
python files.
2004-12-05 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Clean): Typo.
* doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
for variables (@cvindex was previously used for both). Separate
these two indices in the output. Use @code, @file, and @command
in @cindex lines wherever appropriate so they render nicely.
2004-12-05 Stepan Kasal <[email protected]>
* doc/automake.texi (renamed objects, CVS): Typos.
2004-12-05 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Flag Variables Ordering): New section.
(User Variables, Program and Library Variables): @xref it.
2004-11-24 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Conditional Subdirectories): More comments
about non-distributed subdirectories.
* Makefile.am (maintainer-clean): Check for unescaped @ in manual.
2004-11-24 Ralf Wildenhues <[email protected]>
* doc/automake.texi (Built sources example): Fix typo.
2004-11-22 Alexandre Duret-Lutz <[email protected]>
* aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with
--help or --version.
* automake.in (parse_arguments): Likewise.
* tests/aclocal.test, tests/automake.test: Check this.
Report from Eric Blake.
2004-11-21 Alexandre Duret-Lutz <[email protected]>
* automake.in (parse_arguments): Diagnose empty arguments, options
with missing argument, and support `--'.
* aclocal.in (parse_arguments): Diagnose options with missing
argument.
* tests/aclocal.test: More checks.
* tests/automake.test: New file.
* tests/postprog.test: Use `--' for fun.
* tests/Makefile.am (TESTS): Add automake.test.
Report from Eric Blake.
* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
/dev/null as input, so we do not hang on programs that read their
input without supporting --help and --version.
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts.
* tests/gnits2.test: Change scriptnok.sh to cat its input.
Report and fix from James Youngman.
2004-11-17 Alexandre Duret-Lutz <[email protected]>
* aclocal.in (%file_seen): Rename as ...
(%file_added): ... this, and move it close to add_file(), the only
function that uses it.
* aclocal.in (version): Remove initial blank line and reproduce
the layout of automake --version. From Art Haas.
* aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables.
(scan_m4_dirs): New function, extracted from ...
(scan_m4_files): ... here. Call scan_m4_files three times, for each
FT_ constant.
(scan_file): Take a file type argument to update %file_type.
(write_aclocal): Do not m4_include files that are not of type FT_USER.
* tests/dirlist.test: Make sure m4_include is not used for --acdir
files.
* tests/defs.in (testaclocaldir): New variable.
* tests/aclocal.test: Use it to fix the test. Report from
Patrick Welche.
2004-11-10 Alexandre Duret-Lutz <[email protected]>
* m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter
is found (this worked correctly only when a minimal version was
passed to AM_PATH_PYTHON). Report from Stepan Kasal.
(_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default,
so we can easily override the list from the test suite.
* tests/python11.test: New file.
* tests/Makefile.am (TESTS): Add python11.test.
* doc/automake.texi (Libtool Modules): Make clearer that -module
should appear explicitly in _LDFLAGS.
2004-11-09 Alexandre Duret-Lutz <[email protected]>
* aclocal.in (parse_arguments): Correctly recognize --print-ac-dir.
* tests/aclocal.test: Check --print-ac-dir and a unknown option.
* aclocal.in (parse_arguments): Fix detection of unexisting default
$(datadir)/aclocal. Report from Akim.
2004-11-07 Alexandre Duret-Lutz <[email protected]>
* aclocal.in ($acdir): Rename as ...
(@system_includes): ... this.
(@user_includes, @automake_includes): New variables.
($default_acdir, $default_dirlist): Remove.
(parse_arguments): Populate @user_includes, @automake_includes, and
@system_includes instead of filling a unique @dirlist array.
("MAIN"): Adjust to scan m4 files in @user_includes,
@automake_includes, and @system_includes.
2004-11-06 Alexandre Duret-Lutz <[email protected]>
* aclocal.in (parse_arguments): Correct comment. From Akim.
2004-11-04 Alexandre Duret-Lutz <[email protected]>
* aclocal.in: Use Automake::ChannelDefs, and adjust all output
to be done via `fatal', `msg', `verb', or `prog_error'.
(version): New function.
(parse_arguments): Rewrite using Getopt::Long, call &version, and
honor -W and --warning.
($verbose): Remove.
(trace_used_macros): Do not trace the first arguments of macros
for which we do not need it. This caused failures because of
unexpected newlines in the output.
* doc/automake.texi (aclocal options): Document -W and --warning.
* tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl
warnings about uninitialized variables.
2004-11-03 Alexandre Duret-Lutz <[email protected]>
* tests/defs.in: Do not distinguish VERBOSE=x from
VERBOSE=anything_but_x, always turn on shell traces.
* aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
before using it. Suppress a warning observable in test/acloca16.test.
Report from Ralf Wildenhues.
2004-11-01 Alexandre Duret-Lutz <[email protected]>
* lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
before inspecting it; this fixes "uninitialized value in
concatenation" diagnostics when flock fails.
Report from Gary V. Vaughan.
* aclocal.in: Use strict and -w. Declare local variables with `my',
and get rid of `local'.
(scan_m4_files, add_macro): Reindent these functions while we are
at it.
* lib/config.guess, lib/texinfo.tex: New upstream versions.
* doc/automake.texi (LIBOBJS): Spelling and grammar corrections
from Ralf Wildenhues.
2004-10-31 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (LIBOBJS): Augment with an example setup.
(LTLIBOBJ): Rename as ...
(LTLIBOBJS): ... this. Link to LIBOBJS, and mention LTALLOCA.
2004-10-25 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi: Untabify, tabs in the examples are poorly
rendered.
* Makefile.am (maintainer-check): Grep tabs in the manual.
* tests/comment8.test: Use $MAKE, not make.
2004-10-24 Alexandre Duret-Lutz <[email protected]>
* tests/distcom3.test: Typo.
2004-10-22 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Libtool Convenience Libraries): Explain how
to force the linker selection.
* lib/install-sh: Fix the dirname emulation to ignore trailing
slashes, i.e., the direname of `a/b/' is `a', not `a/b/'. This
caused `install-sh a/b/' to fail.
* tests/instsh2.test: Augment.
Report from Пухальский Юрий Андреевич.
2004-10-21 Alexandre Duret-Lutz <[email protected]>
* automake.in (get_object_extension): The extension to use is know
by the caller, and cannot be selected by looking only at the
target name. Simplify this function to simply conditionally
prepend $U to the given extension.
(handle_programs, handle_libraries, handle_ltlibraries): Hard-code
the extension to use. This way Automake won't mistake a program
named `foo.la' as a libtool library.
* tests/primary3.test: New file.
* tests/Makefile.am (TESTS): Add primary3.test.
2004-10-12 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Install): Link to node Extending for examples.
(Extending): More comments about install-data-hook vs
install-exec-hook, and link to Install.
* configure.ac: Export @am_AUTOCONF@.
* tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@,
so the test suite runs `autoconf' and not `missing --run autoconf'.
* tests/missing.test, tests/missing2.test: Arrange for missing
to be used in front of autoconf even if the user has exported
AUTOCONF. This fixes two spurious failures reported by
Mark D. Baushke.
* lib/compile: Handle output.obj in addition to output.o.
* tests/compile.test: Check for this.
2004-10-11 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Sources): Typo, reported by Karl Berry.
2004-10-10 Kelley Cook <[email protected]> (tiny change)
Alexandre Duret-Lutz <[email protected]>
* aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
(trace_used_macros): Trace AC_DEFUN_ONCE.
* tests/aclocal5.test: Use AC_DEFUN_ONCE.
2004-10-10 Stepan Kasal <[email protected]> (tiny change)
* doc/automake.texi (Extending): Typo.
2004-10-10 Martin Waitz <[email protected]> (tiny change)
* m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
* automake.in (cppasm): Use the dependency tracking more for CCAS.
* doc/automake.texi (Assembly Support): Note that *.S are
preprocessed with CPPFLAGS.
2004-10-10 Ralf Corsepius <[email protected]>
* automake.in (Languages): Split .s (asm) and .S (cppasm) into
separate languages. Make cppasm (Preprocessed Assembler) aware
of CPPFLAGS, AM_CPPFLAGS.
(handle_languages): Fix typo.
(lang_cppasm_rewrite): New function.
2004-09-29 Alexandre Duret-Lutz <[email protected]>
* tests/subobj9.test: Adjust regexes after previous patch.
2004-09-28 Alexandre Duret-Lutz <[email protected]>
* automake.in (handle_languages, define_compiler_variable): Output
Libtool's --tag= option before --mode=compile, because depcomp use
--mode=compile as end marker for libtool arguments.
(define_linker_variable): Likewise before --mode=link, for
uniformity.
* tests/pr307.test: Make sure dependency files are updated. That
was not the case because depcomp thought `--tag=CC' was the
compiler to get dependencies from.
Report from Пухальский Юрий Андреевич.
2004-09-26 Alexandre Duret-Lutz <[email protected]>
* configure.ac: Require Perl 5.6.
* lib/Automake/Config.in: Require Perl 5.6 (not done in
lib/Automake/General.pm because it is shared with Autoconf),
and use `our' instead of `use vars'.
* aclocal.in (rel2abs): Remove.
(scan_configure_dep): Use File::Spec->rel2abs instead.
* tests/compile.test, tests/instsh2.test, tests/instspc.test: Use
two consecutive spaces in filename instead of one, to catch mistake
like `echo $val | ...`.
* tests/README: Suggest this.
Suggested by Ralf Wildenhues.
2004-09-25 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Clean): Document -local targets.
2004-09-25 Ralf Wildenhues <[email protected]>
* doc/automake.texi: Typos.
2004-09-21 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Timeline): Typos and other English mistakes
reported by Jim and Gary.
* lib/Automake/VarDef.pm (append): Strip comments from augmented
variables.
* tests/comment8.test: New file.
* tests/Makefile.am (TESTS): Add comment8.test.
Report from Stepan Kasal.
2004-09-19 Alexandre Duret-Lutz <[email protected]>
* tests/compile.test: Fix rm usage.
* INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
lib/texinfo.tex: New upstream versions.
* doc/automake.texi (Timeline): New node. Thanks to Karl and Tom
for their comments on a preliminary version of this, Akim for
digging out some old mails, and Jason Molenda for sending the note
about Automake in Alias to Tom.
(Releases): Rename `ac' to `acl', suggested by Akim.
2004-09-19 Akim Demaille <[email protected]>
* AUTHORS, automake.in, aclocal.in: Add Alexandre Duret-Lutz as
author.
2004-09-15 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Releases): New node.
* doc/automake.texi (Dependencies): Link to Dependency Tracking
Evolution.
(Dependency Tracking Evolution): Link to GNU make, Sources (for
BUILT_SOURCES), and update the paragraph about the "plan" to
inline dependency tracking with gcc3.
* doc/automake.texi (History): New node.
(Dependency Tracking Evolution): New node, filled with a Texinfo
version of Tom Tromey's ``Dependency Tracking in Automake''
document, initially published on the Automake homepage on
2001-06-29.
2004-09-10 Alexandre Duret-Lutz <[email protected]>
* m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never
called after this macro.
* tests/distname.test, tests/subdir5.test, tests/subdir8.test,
tests/subobj.test, tests/subobj4.test, tests/subobj5.test,
tests/subobj6.test: Adjust.
Report from Ralf Wildenhues.
* lib/Automake/Channels.pm (_print_message): Handle uniq_part with
arbitrary string.
* automake.in (lang_c_rewrite): Set uniq_part so that the
AM_PROG_CC_C_O diagnostic is output only once for subdir objects
and only once for objects with per-target flags.
* automake.in (lang_c_rewrite): Print files and locations
for AM_PROG_CC_C_O errors.
(handle_single_transform): Pass $var to &$subr so it can
print locations.
* lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
instead of $status which is read-only in Zsh.
2004-09-10 Ralf Wildenhues <[email protected]>
Alexandre Duret-Lutz <[email protected]>
* lib/compile: Preserve spaces in arguments (for example
-DPACKAGE_STRING="foo 0.1").
* tests/compile.test: New file.
* tests/Makefile.am (TESTS): Add compile.test.
2004-09-07 Alexandre Duret-Lutz <[email protected]>
* automake.in (handle_clean): Sort rm commands output for
mostlyclean-generic, clean-generic, distclean-generic, and
maintainer-clean-generic.
Report from Bob Friesenhahn.
* automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
libtool objects.
(handle_single_transform): Pass nonansi_obj to &$subr so
lang_c_rewrite can distinguish libtool objects.
* tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O.
Report from Gary V. Vaughan and Patrick Welche.
2004-09-07 Andreas Schwab <[email protected]>
* automake.in ($PATH_PATTERN): Add `+'.
2004-09-07 Alexandre Duret-Lutz <[email protected]>
* tests/missing3.test: New file (check for Paolo's change below).
* tests/Makefile.am (TESTS): Add missing3.test.
2004-09-07 Paolo Bonzini <[email protected]>
* missing: Handle all command line options together. Add a
separate case statement to detect failed runs, and fail
silently there if --help or --version is passed to the program.
2004-08-11 Alexandre Duret-Lutz <[email protected]>
* lib/config.guess, lib/texinfo.tex: New upstream versions.
For PR automake/433:
* configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake".
Fix PR automake/432:
* lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too.
* tests/yacc7.test: Check this.
2004-08-08 Alexandre Duret-Lutz <[email protected]>
* lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'
in place instead of as a side-effect of calling ->string and ->conds.
This saves method-lookup time, simplify ->string and ->conds, and
allows to create the object only when necessary.
(string, conds): Simplify, now that the result is precomputed.
* automake.in (%am_file_cache): New hash.
(make_paragraphs): Cache .am files with comments stripped to save
some useless input and substitutions.
* lib/Automake/Variable.pm (%_primary_dict): New hash.
(_new, variable_delete): Update %_primary_dict.
(variables): Accept an optional $suffix argument.
* automake.in (check_typos, am_primary_prefixes): Use that
optional argument to restrict the loops over the variables we are
interested in.
2004-08-06 Alexandre Duret-Lutz <[email protected]>
* lib/Automake/Item.pm (def): Rewrite more concisely, it's faster
this way.
2004-08-05 Alexandre Duret-Lutz <[email protected]>
Speed up make_paragraphs.
* automake.in (handle_languages): Always define SUBDIROBJ,
DERIVED-EXT, and DIST_SOURCE, because the new transform() will
abort on unknown tokens.
(transform): Rewrite with different semantics.
(make_paragraphs): Make a single pass over the paragraph to
transform all template tokens instead of doing as much passes as
possible token.
* automake.in ($libtool_new_api): New variable.
(handle_libtool): Do not libtool's aux files if $libtool_new_api.
(scan_autoconf_traces) <LT_SUPPORTED_TAG>: Set $libtool_new_api.
(scan_autoconf_traces) <AC_REQUIRE_AUX_FILE>: Remember only the
first location for required files.
2004-08-04 Alexandre Duret-Lutz <[email protected]>
Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
* automake.in (%required_aux_file): New hash.
(handle_single_transform, lang_c_rewrite): Do not explicitly
require 'compile', this is now an internal detail of
AM_PROG_CC_C_O.
(scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill
%required_aux_file.
(scan_autoconf_files): Require all %required_aux_file instead
of explicitly requiring install-sh and missing.
(generate_makefile): Do not require config.sub and config.guess.
(handle_single_transform): Pass $have_per_exec_flags to
&lang_c_rewrite.
* configure.ac, m4/init.m4: Require Autoconf 2.59a.
* doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE.
(Program and Library Variables, Options, Public macros):
AM_PROG_CC_C_O is required when per-target flags or subdir-objects
are used with C sources.
* m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE.
* m4/missing.m4: Require `missing' similarly.
* tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test,
tests/specflg.test, tests/specflg2.test, tests/specflg3.test,
tests/specflg6.test, tests/specflg7.test, tests/specflg8.test,
tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test,
tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
2004-08-03 Alexandre Duret-Lutz <[email protected]>
* automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
when ylwrap is installed in a default aux dir found in a parent
package.
* tests/subpkg.test: Augment to check that YLWRAP is installed
properly.
* doc/automake.texi (Yacc and Lex): ylwrap is not sought is the
current directory.
Report from Norman Gray.
2004-08-02 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Optional): Update documentation for
AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_TARGET.
* automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
(AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): ... these.
(scan_autoconf_traces): Scan for the latter three macros instead of
the former two.
(make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%.
* tests/hosts.test: New file.
* tests/Makefile.am (TESTS): Add hosts.test.
Report and test case from Norman Gray.
2004-08-01 Alexandre Duret-Lutz <[email protected]>
* aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
4.7 now outputs "#Extending-aclocal".
2004-08-01 Alexandre Duret-Lutz <[email protected]>
Derek R. Price <[email protected]>
Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE
is used and maintainer-mode disabled.
* automake.in (Automake::struct): Define nodist_specific.
Set it in languages yacc, yaccxx, lex, and lexxx.
(register_language): Default nodist_specific to 0.
(handle_single_transform): Honor nodist_specific.
* lib/am/yacc.am (am__skipyacc): Define this in maintainer mode.
(%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these
rules when needed.
* lib/am/lex.am (am__skiplex): Define this in maintainer mode.
(%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these
rules when needed.
* tests/mmodely.test: New file.
* tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_
parsers.
* tests/Makefile.am (TESTS): ADd mmodely.test.
* doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
2004-07-28 Alexandre Duret-Lutz <[email protected]>
* configure.ac, NEWS: Bump version to 1.9a.
* configure.ac, NEWS: Bump version to 1.9.
* automake.in (generate_makefile): Update misleading comment about
libtool scripts.
* lib/texinfo.tex: New upstream version.
2004-07-25 Alexandre Duret-Lutz <[email protected]>
* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
definition, it causes `make install' to fails for user with no
right to write in the source-tree.
* automake.in (handle_configure): Do not use mkdir_p in the
definition for $(mkdir_p).
Report from Harlan Stenn.
* lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
2004-07-22 Alexandre Duret-Lutz <[email protected]>
* doc/automake.texi (Libtool Modules): Typo in example.
Report from Ulrich Eckhardt.
2004-07-21 Andreas Schwab <[email protected]> (tiny change)
* automake.in (check_directory): Quote $dir in regexp.
2004-07-17 Alexandre Duret-Lutz <[email protected]>
* configure.ac, NEWS: Bump version to 1.8e.
* configure.ac, NEWS: Bump version to 1.8d.
* lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
New upstream versions.
* lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
* tests/installdir.test: installdirs-local should appear three times,
since the change from 2004-07-11 will make it PHONY.
* lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
that it is always defined. This is less confusing for users
reading the generated Makefiles.
* automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.
* lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html
on success. In case the target is a directory, this ensures its
time stamp is updated and the no files are left over inside.
* tests/txinfo21.test: Augment to test missing timestamp update
reported by Akim Demaille.
* doc/automake.texi (Top level): Rename as ...
(Directories): ... this, and split into ...
(Subdirectories, Conditional Subdirectories): ... these.
(Subdirectories): Illustrate the use of `.'.
(Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS
before the example. Append a discussion about non-configured
conditional directories.
(Alternative): Move as a child of Directories.
(Subpackages): New section.
(Dist): Adjust links to Subdirectories, a Subpackages.
(Third-Party Makefiles): Link to Conditional Subdirectories.
2004-07-14 Alexandre Duret-Lutz <[email protected]>
* automake.in (target_hook): Accept %transform as last argument.
(handle_single_transform): Pass %transform to target_hook.
(handle_source_transform): Define DIST_SOURCE to tell whether
a the source of a file is distributed or not.
(lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute
the generated header if the .y source is not distributed.
* tests/pr204.test: Use AM_YFLAGS = -d and make sure generated
headers are not distributed.
2004-07-12 Simon Josefsson <[email protected]> (tiny change)
* doc/automake.texi (Options): Improve ustar file name length
discussion. Reference tar manual.
2004-07-12 Ray Simard <[email protected]> (tiny change)
* lib/Automake/Variable.pm (define): Fix precondition check.
2004-07-11 Alexandre Duret-Lutz <[email protected]>
For PR automake/428:
Support for conditionally defined -hook and -local rules.
* automake.in (user_phony_rule): New function.
(handle_dist, handle_install, handle_all, do_check_merge_target,
handle_factored_dependencies): Use user_phony_rule before
adding a user -hook or -local rule as a dependency to ensure
it is always defined an phony.
* tests/cond37.test, tests/condhook.test: New files.
* tests/Makefile.am (TESTS): Add them.
Report from Simon Josefsson and Nik A. Melchior.
2004-07-05 Paul Eggert <[email protected]>
* doc/automake.texi (Install): Warn that you should create
/tmp/staging before installing into it, to avoid security problems.
* lib/install-sh: Remove support for -b= and -t= options; this
has been moribund for a decade.
Add support for -t and -T options (new in coreutils install).
-c option now does nothing (the default is to copy), for
compatibility with BSD and coreutils 'install'.
Fix usage message; it referred to nonexistent variables.
Don't assume 'lasterr' is unset in environment.
* tests/instsh2.test: Don't assume that install-sh without -c
moves (it now copies). Add tests for new -t and -T options.
2004-06-16 Alexandre Duret-Lutz <[email protected]>
For Debian Bug#254372:
* doc/automake.texi (Invoking aclocal): Rewrite the paragraph
explaining m4_include is used for relative files.
2004-06-10 Alexandre Duret-Lutz <[email protected]>
For Debian Bug #251820:
* aclocal.in (scan_file): Keep track of the location where each
file is included, and display it when reporting a missing file.
Pass this location to scan_file as a second argument.
(scan_m4_files): Adjust calls to scan_file.
* tests/acloca14.test: Add a test for this diagnostic.
2004-06-07 Alexandre Duret-Lutz <[email protected]>
* m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
so it works with Solaris and Tru64 /bin/sh.
Report from Nicolas Joly.
2004-06-06 Alexandre Duret-Lutz <[email protected]>
* m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
bug in NetBSD /bin/sh.
Report from Nicolas Joly.
2004-06-03 Alexandre Duret-Lutz <[email protected]>
* tests/defs.in (required=icc): Use `-V -help' instead of
`-V -dryrun'. icc 8.0 fails on the latter.
* tests/depcomp5.test: Require depmode=icc for icc 7.x, and
depmod=gcc otherwise.
Report from Ralf Wildenhues.
* lib/am/clean.am (distclean-generic): Do no
`rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
Report from Nicolas Joly.
2004-05-31 Alexandre Duret-Lutz <[email protected]>
* NEWS: Make clearer that we do not output partial Makefile.ins on
error.
Suggested by Akim Demaille.
* lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output,
and we will clean the second automatically during distclean.
Using the latter and leaving the former as we did before cause
"files left in build directory" failures during distcheck.
Suggested by Nicolas Joly.
* doc/automake.texi (Built sources example): Explain what
nodist_foo_SOURCES is (not) useful to, and use it in all the
examples.
(Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES.
Suggested by Akim Demaille.
2004-05-23 Alexandre Duret-Lutz <[email protected]>
* configure.ac, NEWS: Bump version to 1.8c.
* configure.ac, NEWS: Bump version to 1.8b.
* m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
by POSIX; and use option -d in am_untar.
* tests/defs.in (PATH): Export it.
* lib/am/multilib.am: Add $(MAKE) comments to multido and
multiclean lines, to enable parallel make. Based on a patch
by Alexandre Oliva applied to newlib on 2003-10-15.
2004-05-22 Alexandre Duret-Lutz <[email protected]>
* automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been
changed.
* tests/libtool3.test: Do not grep for --tag=CC, since CVS
Libtool (unlike Libtool 1.5) does not has any CC tag.
* tests/tar2.test: Skip the test if no pax archiver were found.
* NEWS: Sync with branch-1-8, and reorganize current entry.
* automake.in (handle_libraries): Make the diagnostic about
non standard libraries a warning in foreign packages. This
is already the case in handle_ltlibraries.
(handle_libraries, handle_ltlibraries): Suggest a standard
library name in the diagnostic, to help newcomers.
* tests/stdlib.test, tests/stdlib2.test: Check for these
suggestions.
Check directory names for unportable names. Shaking the code
to check this also led to the removal of the no-"/"-in-SUBDIRS
restriction, and a fix to _do_recursive_traversal.
* automake.in (check_directory): New function extracted from
handle_subdirs, and augmented to check for reserved W32/DOS name.
(check_directories_in_var): New function.
(handle_subdirs): Call check_directories_in_var. Doing so also
suppress the restriction that SUBDIRS should not contain slashes.
(scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory
to ensure the argument exists and is safe.
* doc/automake.texi (Top level): Do not say that src/subdir
cannot be put in SUBDIRS.
(Dist): Mention that distdir and top_distdir can be absolute.
* lib/Automake/Variable.pm (_do_recursive_traversal) Support
undefined $fun_collect, and fix two bugs introduced with
skip_ac_subst on 2004-03-07.
* lib/am/distdir.am (distdir): Use absolute distdir and
top_distdir when recursing, because we can no longer prepend only
`..' in case of SUBDIRS with `/'.
* tests/auxdir4.test, tests/subdir9.test: New files.
* tests/Makefile.am (TESTS): Add auxdir4.test.
* tests/cond2.test, tests/subdir7.test: Augment to check location
in diagnostics.
2004-05-21 Eric Blake <[email protected]> (tiny changes)
* tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
cygwin compatibility.
* tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
* tests/conflnk3.test: Isolate checking for working `test -e' into
a subshell, to skip this test on broken /bin/sh of solaris.
2004-05-17 Alexandre Duret-Lutz <[email protected]>
* m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
* tests/condd.test: Define a macro with the same name as a
conditional.
* tests/pr220.test: Modernize, and make sure the diagnostics
contains the macro name.
Report from Volker Boerchers.
2004-05-16 Alexandre Duret-Lutz <[email protected]>
* lib/texinfo.tex: New upstream version.
2004-05-15 Alexandre Duret-Lutz <[email protected]>
* automake.in (handle_dist): Always define DIST_SUBDIRS, even when
the no-dist or cygnus options are used.
* tests/clean2.test: New file.
* tests/Makefile.am (TESTS): Add clean2.test.
Report from Daniel Jacobowitz.
* aclocal.in (add_macro): Do not error out on undefined required
macros. We are not sure they are really used, and Autoconf
already diagnoses them.
(scan_configure_dep): Diagnose missing AM_ macros as warnings rather
than errors.
* tests/aclocal3.test, tests/ammissing.test: Adjust to expect a
warning instead of an error.
* tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused
macro, and ensure aclocal works anyway.
* tests/acloca17.test: New file.
* tests/error.test: Delete, superseded by tests/acloca17.test.
* tests/Makefile.am (TESTS): Add acloca17.test and remove error.test.
Report from Jim Meyering.
* lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
Fold a few lines to reduce the output by 5 lines.
Suggested by Karl Berry.
* automake.in (parse_arguments, MAIN): Give more precise
diagnostics when no input file is found.
* tests/output5.test: Adjust.
Suggested by Jens Petersen.
2004-05-14 Alexandre Duret-Lutz <[email protected]>
* lib/am/libs.am (AR, ARFLAGS): Move these definition ...
* automake.in (handle_libraries): ... here, so that they are
output even for EXTRA_LIBRARIES.
* tests/ar2.test: New file.
* tests/Makefile.am (TESTS): Add it.
Report from Kevin Ryde.
2004-05-13 Alexandre Duret-Lutz <[email protected]>
* automake.in (generate_makefile): Do not output Makefile.in on
errors.
* tests/werror2.test: New file.
* tests/Makefile.am (TESTS): Add werror2.test.
* tests/substtarg.test, tests/cond36.test, tests/backsl4.test:
Adjust to run automake with -Wno-error when the output is expected
in spite of the error.
Report from Harlan Stenn.
* doc/automake.texi (Program and Library Variables): Remove
doubled word in footnote.
* automake.in (handle_source_transform): Also check for a
$(srcdir)/old_source rule when computing the default source name.
Propagate this $(srcdir) prefix in Automake variables.
* tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
$(srcdir)/zoo_d_old2_la.c. This fixes another failure with BSD Make.
2004-05-13 Paul Eggert <[email protected]>
* Makefile.am (fetch): Work even with FreeBSD "make", which
uses sh -e and thus errors-out if a simple-command fails.