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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
|
-- vile:fk=utf-8
2023-12-10 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20231210.
fix warning about cast in AC_CHECK_DECL.
2023-12-03 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20231203.
spelling fixes, with codespell
fix warning about nonzero pointer in AC_FUNC_FSEEKO.
fix a few unused-variable warnings in AC_C_CONST.
use void-parameter prototype in AC_C_INLINE.
use void-parameter prototype in AC_LANG_CALL(C), to reduce strict
compiler warnings in existence-checks, noting this will break some
checks, e.g., where a built-in prototype is used by a compiler.
updated config/config.{guess,sub}
2023-09-03 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20230903.
trim mentions of automake and aclocal, since unused (Debian #1035621).
fix a sign-extension bug in AC_FUNC_MKTIME which caused the test to run
longer than necessary.
amend fixes for $EGREP and $FGREP to work with Solaris 10 /bin/sh
improve rules for generating tests and cleanup in tests/Makefile.in
omit AC_PROG_FGREP from acspecific.at, to match output from mktests.sh
(Debian #1043105).
updated config/config.{guess,sub}, install-sh
2023-01-14 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20230114.
modify AC_CHECK_DECL, AC_PROG_CC_STDC, AC_STRUCT_TM, and
AC_TYPE_SIGNAL to reduce compiler warnings.
2022-12-02 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20221202.
modify AC_TYPE_GETGROUPS to use AC_INCLUDES_DEFAULT
modify AC_FUNC_STRTOD to use stdlib.h, amend check to reduce compiler
warnings.
modify AC_FUNC_CLOSEDIR_VOID to reduce compiler warnings.
2022-10-09 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20221009.
improve workaround for GNU grep 3.8 by requiring egrep/fgrep checks
for AC_OUTPUT.
corrected shell script for passing detected egrep/fgrep into
config.status
2022-10-01 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20221001.
work around warning messages from GNU grep 3.8 for egrep and fgrep.
fix some shellcheck warnings in the generated config.status
updated config/config.{guess,sub}
2021-05-09 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20210509.
quiet a configure-time compile warning using a cast (report by Miroslav
Lichvar).
updated config/config.{guess,sub}
2021-01-05 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20210105.
Add ToD to tests/aclocal.m4 filtering for NetBSD's sh.
Corrected check when no fgrep or egrep is found.
Fix typo in generated shell-functions message-prefix.
Update tests/aclocal.m4 for g77.
2021-01-01 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20210101.
Modify mktests.sh to work with the configured egrep.
Add quotes, etc., to appease some of shellcheck's warnings; most are
false positives.
Add autoconf option "--opt-functions" to optionally generate part of
the checks for compile/link/run in shell-functions, to reduce the
number of false-positives reported by shellcheck in its advice for
the eval feature.
Fix regression in adaptation of egrep check.
2020-12-28 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20201228.
Adapt AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP from "official"
branch, to address shellcheck warnings.
Add quotes, etc., to appease some of shellcheck's warnings; most are
false positives.
updated config/config.{guess,sub}
2020-08-02 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20200802.
Unset CLICOLOR_FORCE and GREP_OPTIONS environment variables (report by
"Victor").
2020-01-11 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20200111.
Check/display m4's version in AC_PROG_GNU_M4
Add /opt/local and /opt/X11 paths for recent MacOS configurations.
Check for byacc before bison, etc., for consistency with mawk, etc.
2019-09-01 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20190901.
Correct version in generated manpages (report by Sven Joachim).
2019-08-28 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20190828.
Add X11R7 include/lib paths for some older NetBSD configurations.
Drop "fc" from Fortran77 choices, to work with modern Unix systems.
2018-10-06 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20181006.
Adapt changes from autoconf in 2002, etc., to work around optimization
in AC_LANG_FUNC_LINK_TRY. The workaround in 2012-03-03 is not needed.
2018-08-19 Thomas E. Dickey <dickey@invisible-island.net>
Version 2.52.20180819.
Recognize recent cruft "--runstatedir" which has made its way into
packager's boilerplate, notwithstanding the blatant inconsistency with
actual usage (Debian #887390).
Fix some warnings in test-packages.
2017-05-01 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20170501.
fix "make check" to work with OSX.
Modify test-program stubs to reduce compiler warnings.
updated config/config.{guess,sub}
2015-09-26 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20150926.
Workaround for splitting sed script in config.status when the script
contains multiline values.
2014-12-04 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20141204.
Minor tweak to work around breakage in one of the "dash" variants.
2012-10-02 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20121002.
Modify autoheader to discard parameter lists on the assignments to
ac_verbatim_XXX variables to work with GCC_PRINTFLIKE, similar
macros.
2012-09-29 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20120929.
Modify grep pattern used to detect variables never set to allow
matches with lines such as
: ${name:=value}
The last update used '/' in a sed command where a pathname might be
also be found; change to ','.
2012-09-23 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20120923.
improve handling of overlooked datarootdir (prompted by Adrian Bunk
comments).
2012-09-22 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20120922.
add checks for unsubstituted variables, e.g., datarootdir.
2012-08-11 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20120811.
add support for --datarootdir, which changes the default location for
infodir and mandir.
2012-03-10 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20120310.
no code change - regenerate files to ensure their versions are
consistent (report by Sven Joachim).
2012-03-03 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20120303.
modify AC_LANG_FUNC_LINK_TRY to ensure that the external function's
address is nonnull, to work around breakage in Intel compiler's use of
linker.
2010-10-02 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20101002.
add build-depends to dpkg script (report by Sven Joachim).
drop manpages for config.guess and config.sub, not provided by this
package (report by Sven Joachim).
add build-scripts for Debian and RPM packages.
add configure check for install-info, to work with Debian's renaming
of this utility.
drop mkinstalldirs, use "mkdir -p"
remove tests/foreign.at, since libtool is not a dependency of autoconf
(report by Sven Joachim).
update bug-reporting address.
remove usage of automake; it is not used to maintain this package,
and owing to automake's absence of design stability is only a nuisance.
2010-08-14 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20100814.
Modify test-cleanup to also remove conftest.dSYM, to quiet misleading
warnings with Mac OS X.
2010-05-30 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20100530.
change some ISO-8859-1 encoded comments to UTF-8 to allow this to
build with a UTF-8 locale (GNU sed chokes on the mis-encoded byte).
add check in _AC_OUTPUT_COMMANDS to ensure it does not generate an
empty case-statement, which gives a warning in NetBSD's shell.
change m4exit(-1) to m4exit(1) in autoconf.in, to work around incorrect
range check added in GNU m4 1.4.6
2010-03-20 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20100320.
Update check for lex to include "reflex".
2008-12-25 Thomas Dickey <dickey@invisible-island.net>
Version 2.52.20081225.
Extend suffixes ignored when looking for executable produced by
C compiler (based on patch from Paul Gilmartin).
2008-03-25 Thomas Dickey <dickey@invisible-island.net>
Modify _AC_PATH_X_XMKMF and _AC_PATH_X_DIRECT, adding "dylib"
(for Mac OS X) and "dll" (Cygwin) to suffix lists. These macros
depend on finding the exact filename for libX11 (if xmkmf exists
and does not return an error), otherwise one must supply explicit
paths for include- and library-directories (reported by Jeremy
Huddleston).
2006-12-16 Thomas Dickey <dickey@invisible-island.net>
Replace exit() calls in test compiles with $ac_main_return, to allow
for override in case of old platforms relying on the use of exit()
vs return.
2006-12-09 Thomas Dickey <dickey@invisible-island.net>
Disable the workaround for mis-prototyped 'exit()' in GNU libc
which made its way into autoconf's configure definitions (and thence
into the auto-generated config.h). Its include of <stdlib.h> caused
redefinition warnings on Solaris.
2003-02-08 Thomas Dickey <dickey@invisible-island.net>
Repair AC_PROG_GCC_TRADITIONAL, which is broken by the combination of a
syntactically incorrect test statement with the inclusion of
<stdlib.h>. In particular, the test fails on Mac OS X (report by
Gerben Wierda <Sherlock@rna.nl>).
2001-12-27 Thomas Dickey <dickey@invisible-island.net>
Restore behavior of autoconf 2.13 to handle trailing blanks (and
inline comments) in config.hin
2001-12-01 Thomas Dickey <dickey@invisible-island.net>
Modify version number (e.g., to the 8-character yyyymmdd 20011201) to
avoid confusion. (This version of autoconf fixes bugs and some design
defects which make it unsuitable for my use, but is compatible with
autoconf 2.50).
Improvements:
+ modify the AC_OUTPUT macro by allowing it to generate the contents
of the config.h file rather than simply substituting in a template.
(This requires adding AC_SETUP_DEFS() as well).
+ add utility macro AC_DIVERT_HELP to add text to the
enable/with options list.
Fixes:
+ Correct error in top-level Makefile.in which prevented "make
distclean" when the file was not writable (a bug in automake
causes it to regenerate some of the makefile templates).
Make sure the file is writable, as a workaround.
+ Remove the --include-deps option from automake in the top-level
Makefile.in, which also prevented builds from pristine source.
+ Tidy up the alignment in the boilerplate for --help, correct some
spelling errors.
-------------------------------------------------------------------------------
2001-07-18 Akim Demaille <akim@epita.fr>
Version 2.52.
2001-07-18 Akim Demaille <akim@epita.fr>
The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
was run, while they are needed also when it is expanded.
Reported by Nicolas Joly.
* aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
(AC_LANG_PROGRAM(C)): Use it instead of depending upon
AC_F77_DUMMY_MAIN being expanded.
2001-07-18 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.51a.
2001-07-17 Akim Demaille <akim@epita.fr>
Version 2.51.
2001-07-17 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
2001-07-17 Akim Demaille <akim@epita.fr>
The runtime test for AC_FUNC_GETPGRP fails when prototypes are
used. Well, then use the prototypes when you can, and runtime as
a last resort.
Reported by Artur Frysiak
* acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
(AC_FUNC_GETPGRP): Use it.
First try to compile with 0-ary or 1-ary calls.
2001-07-17 Akim Demaille <akim@epita.fr>
* actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
replacement type.
From Paul Eggert.
2001-07-17 Akim Demaille <akim@epita.fr>
* Makefile.maint: Sync. with cppi 1.10.
2001-07-17 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
AC_F77_DUMMY_MAIN has been run.
From Pavel Roskin and Steven G. Johnson.
2001-07-17 Akim Demaille <akim@epita.fr>
* configure.in: Rename as...
* configure.ac: this.
2001-07-17 Akim Demaille <akim@epita.fr>
* Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
rules.
From Marc Espie.
* Makefile.maint (release-archive-dir): Rename as...
(release_archive_dir): this, so that it can be specialized in
Makefile.
2001-07-14 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.50d.
2001-07-14 Akim Demaille <akim@epita.fr>
Version 2.50c.
* Makefile.maint (alpha): Typo.
2001-07-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Make): Macro names and underscore.
2001-07-14 Akim Demaille <akim@epita.fr>
* config/config.guess, config/config.sub, config/texinfo.tex
* doc/standards.texi, doc/make-stds.texi: Update.
2001-07-14 Akim Demaille <akim@epita.fr>
* Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
2001-07-14 Akim Demaille <akim@epita.fr>
* Makefile.maint (maintainer-check): Rename as...
(maintainer-distcheck): this.
(changelog-check, static-check): New.
Use them.
2001-07-14 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (C++ Compilers Characteristics): Last resort
for CXX is g++, not gcc.
2001-07-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Files): New subsection.
2001-07-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
of...
(Generic Compiler Characteristics): this.
(C++ Compiler): New subsection.
2001-07-14 Akim Demaille <akim@epita.fr>
* autoscan.in: Use IO::File.
Adjust all the routines to use it.
($log): New file (autoscan.log).
(output): Dump detailed logs into $log, and a shortened version to
stderr.
(&scan_makefile): Refine the regexp catching tokens in the code.
* doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
and the `configure.ac' checking feature.
2001-07-12 Akim Demaille <akim@epita.fr>
For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
Reported by Michael Elizabeth Chastain.
* autoconf.in: Refuse such AWK.
* configure.in: Likewise.
* Makefile.am (acversion.m4): Do not use move-if-change this file
has dependencies.
* doc/autoconf.texi (Fortran 77 Compiler): Some typos.
2001-07-10 Jens Petersen <petersen@redhat.com>
* autoscan.in (&scan_makefile): Improve programs regexp to parse
things like "g++", "file.c" and "some-conf" as tokens.
(&scan_file): Match C++ files extensions.
If the filename extension is C++ then ask for c++.
2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
AC_TRY_LINK_FUNC, to check whether defining a dummy
main-like routine is needed for linking with F77 libs.
2001-07-05 Pavel Roskin <proski@gnu.org>
* aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
after using break.
(_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
linking.
2001-07-05 Akim Demaille <akim@epita.fr>
* Makefile.am (move_if_change): New. Use it instead of `mv'.
(acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
Makes' lives.
Reported by Nicolas Joly.
2001-07-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
up.
* acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
warnings from compilers.
* aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
for all the compilers, not only GNU. Hence move from here...
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
2001-07-04 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
(AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
AC_COMPILE_IFELSE.
2001-07-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
the ``strings.h'' change claimed below.
2001-07-04 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
2001-07-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
strings.h if usable with string.h.
Suggested by Paul Eggert.
2001-07-04 Akim Demaille <akim@epita.fr>
* autoscan.in (&scan_file): Skip FILE if there is FILE.in.
From Jens Petersen.
2001-07-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
etc. in the log.
2001-07-03 Akim Demaille <akim@epita.fr>
* acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
compiler, not the preprocessor.
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
the right thing.
* Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
earlier if there are.
2001-07-03 Akim Demaille <akim@epita.fr>
* autoscan.in ($initfile): Remove.
(&find_file): Rename as...
(&scan_file): this.
Immediately scan the current file, instead of gathering them, and
later having them handled by &scan_files.
(&scan_files): Merely invoke Find::File.
Adjust.
2001-07-02 Akim Demaille <akim@epita.fr>
* autoscan.in: Formatting changes, matching the invocation order.
(File::Find): Use it instead of Perl 4's `find.pl'.
(&wanted): Rename as...
(&find_file): this.
2001-07-01 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
break in the argument to AC_TRY_LINK_FUNC.
(AC_F77_MAIN): Remove conftest* after using break in the
argument to AC_TRY_LINK.
2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
Add alternate 'main' routine detection for linking C/C++ with Fortran,
fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
* aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
dummy alternate main is required even if the user provides her own
'main'.
(AC_F77_MAIN): New macro to detect whether it is possible to
provide an alternate 'main' function name, using the 'main' from
the Fortran libraries.
(AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
cross-language link tests can be performed successfully.
(_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
after $LIBS, for consistency; this should be the general rule since
the user may want to link to Fortran libraries that require $FLIBS.
* autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
2001-06-29 Pavel Roskin <proski@gnu.org>
* atgeneral.m4 (AT_CHECK): Add a newline to the end of
at-stdout and at-stderr instead of removing the newline
from the echo output, which is not guaranteed to work.
2001-06-28 Jens Petersen <petersen@redhat.com>
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
confdefs.h when non-zero.
2001-06-28 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.50c.
2001-06-26 Akim Demaille <akim@epita.fr>
Version 2.50b.
2001-06-26 Akim Demaille <akim@epita.fr>
Version 2.50a.
2001-06-25 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
argument, AUTOCONF-FLAGS.
* tests/mktests.sh (update_exclude_list): Add
AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
* tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
AC_FUNC_WAIT3 with "-W no-obsolete".
2001-06-25 Akim Demaille <akim@epita.fr>
* tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
2001-06-25 Akim Demaille <akim@epita.fr>
* autoscan.in (%macro): Now maps from word to list of macros.
(&init_tables): Die when a word which is already handled by
explicit macros is mapped to the default macro.
(&print_unique): Remove, inlined in...
(&output_kind): here.
(File::Basename): Use it.
(&output): Sort the CONFIG_FILES.
* acheaders: Normalize.
* acfunctions: Likewise.
2001-06-25 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
characteristics in the logs.
Suggested by Mo DeJong.
2001-06-24 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
(AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
* doc/autoconf.texi (Autoconf 2.13): New section.
2001-06-24 Akim Demaille <akim@epita.fr>
* autoconf.in (Task traces): Separate the error messages from the
traces to improve robustness.
2001-06-23 Akim Demaille <akim@epita.fr>
* tests/torture.at (AC_ARG_VAR): Make it a single test instead of
three as failures are unlikely, and speed matters.
2001-06-23 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Redefined M4 Macros): New.
2001-06-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
5.3.
2001-06-23 Paolo Bonzini <bonzini@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
config.status targets to after the evaluation of the INIT-CMDS.
Double quote config.status targets (used to be single quoted).
2001-06-23 Akim Demaille <akim@epita.fr>
* tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Check the content of the created file.
Check the ./config.status command line invocation.
2001-06-23 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Reject prehistoric versions.
2001-06-23 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
preexisting files matching a.*.
2001-06-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
stderr.
* doc/autoconf.texi (AC_ARG_VAR): Update.
2001-06-21 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
precious variables have changed.
* tests/torture.at (AC_ARG_VAR): Adjust.
2001-06-21 Akim Demaille <akim@epita.fr>
./configure --program-suffix=foo produces `transform=s,$$,foo,;',
but some sed choke on multiple `;', and other tools (e.g.,
Automake), include the separator themselves.
* acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi (Functions Portability): Rename as...
(Function Portability): this.
(Function Portability): Document potential problems with unlink().
2001-06-19 Paul Eggert <eggert@twinsun.com>
* NEWS, doc/autoconf.texi: Document quadrigraphs.
2001-06-18 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_FORK): Fix typos.
2001-06-18 RĂ¼diger Kuhlmann <info@ruediger-kuhlmann.de>
* acfunctions.m4: (AC_FUNC_VFORK) rename as...
(_AC_FUNC_VFORK): this.
Remove AC_DEFINEs and don't guess cross-compilation values.
(_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
(AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
vfork doesn't work.
Guess values if cross-compiling, but warn.
* acfunctions: Add AC_FUNC_FORK.
* doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
and vfork appropriately.
2001-06-18 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Functions Portability): New section.
2001-06-18 Akim Demaille <akim@epita.fr>
* autoconf.in (M4): Pass --nesting-limit=1024, unless already set
in $M4.
Suggested by Andreas Schwab.
2001-06-18 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
(AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
(AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
(AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
(AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
the converse).
2001-06-18 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (ms): New index.
(Macro Index): Rename as...
(Autoconf Macro Index): this.
(M4 Macro Index): New appendix.
(Programming in M4): New chapter.
Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
(Quoting): Rename as...
(M$ Quotation): this.
Be part of `Programming in M4).
2001-06-18 Nicolas Joly <njoly@pasteur.fr>
* tests/torture.at (AC_ARG_VAR): Set variables and export them
in separate statements for compatibility with Tru64 v5.1.
2001-06-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
current values of the precious variables, not the previously
cached values.
Pass precious variables which are set to config.status.
* doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
* tests/torture.at (AC_ARG_VAR): New.
2001-06-15 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Move AC_FUNC_WAIT3 and
AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
and explain why and how to replace them.
* acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
* acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2001-06-15 Akim Demaille <akim@epita.fr>
`build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
Reported by Bruno Haible.
* acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
(_AC_ARG_VAR_PRECIOUS): to here.
2001-06-15 Pavel Roskin <proski@gnu.org>
* acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
an unused pointer use cast to this type and `if' statement to
avoid warnings from the compiler.
(AC_HEADER_TIME): Likewise.
* actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
in `if' statement to avoid warnings from the compiler. Declare
ac_aggr static to avoid the need to initialize it.
2001-06-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Portable Shell): Move to follow `Writing
Macros'.
2001-06-13 Akim Demaille <akim@epita.fr>
* m4/missing.m4, config/missing: Updated to Automake 1.4g's.
Suggested by Alexander Mai.
2001-06-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
sys/types.h and sys/stat.h, and check for them.
2001-06-13 Akim Demaille <akim@epita.fr>
* acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
INCLUDES.
2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
succeeds and only try adding libdnet upon a failure.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (&output_kind): Output the comment only if it exists.
(%kind_comment): Add entry for `programs'.
(&output_programs): Use &output_kind.
(&output_functions, &output_identifiers, &output_headers)
(&output_programs): Inline, and remove.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (%kind_comment): New.
(output_kind): New.
(output_functions, output_identifiers, output_headers): Use it.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (&print_unique): Take `$kind' and `$word' as
arguments, to factor indirections into `%macro' and `%used'.
(%generic_macro): Fix a typo.
2001-06-12 Akim Demaille <akim@epita.fr>
* aclibraries: New.
* autoscan.in (@kinds): Add `libraries'.
Use `@kinds' instead of hard coded lists.
(%programs, %headers, %identifiers, %makevars, %libraries, %functions):
Remove, replaced by...
(%used): this.
2001-06-12 Akim Demaille <akim@epita.fr>
* autoscan.in (%functions_macros %headers_macros)
(%identifiers_macros %programs_macros %makevars_macros): Remove,
replaced by...
(%macro): New.
2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
* aclang.m4 (AC_NO_EXECUTABLES): Override
_AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
2001-06-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
trailing new line.
Reported by Andreas Schwab.
2001-06-11 Akim Demaille <akim@epita.fr>
* Makefile.am, Makefile.maint: Typos.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Here-Documents): New section, gathering
documentation about here-documents.
Use `href', not `uref', and other changes.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Portable Shell Programming): Promoted as a
chapter.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Complete the
description of the here-docs penalties with Alexandre Oliva's
explanations.
2001-06-01 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Talk about here documents and speedups.
Do not use "echo" on arbitrary strings.
Spell "here-documents" consistently with the standard.
2001-06-09 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Concept Index): Introduce it.
Regenerate the menus.
2001-06-09 Akim Demaille <akim@epita.fr>
* Makefile.maint, GNUmakefile: New, from Jim Meyering.
* config/prev-version.txt: New.
* config/move-if-change: New, for GNU libc.
2001-06-06 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
2001-06-06 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
properly when $1 is not a literal.
Fixes PR Autoconf/187, reported by Bram Moolenaar.
2001-06-06 Akim Demaille <akim@epita.fr>
Invoking AC_COPYRIGHT before AC_INIT fails.
* Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
* acgeneral.m4 (_m4_divert(VERSION_FSF))
(_m4_divert(VERSION_USER)): New.
(AC_COPYRIGHT): $2 is the diversion to use.
(_AC_INIT_COPYRIGHT): Use the FSF diversion.
(AC_INIT): Remove dead comments as now it's commutative.
2001-06-06 Akim Demaille <akim@epita.fr>
* tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
PR autoconf/187.
2001-06-05 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
can be empty.
`*dir' variables cannot be NONE.
Reported by Mark Kettenis.
2001-06-05 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi: Fix references to Solaris and SunOS versions.
2001-06-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
(AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
(AC_TR_SH): Move as...
* m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
(AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
(AS_TR_SH): these.
(_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
(_AS_TR_SH_PREPARE): New.
(AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
* tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
2001-06-02 Akim Demaille <akim@epita.fr>
* Makefile.am (.m4.m4f): Pass the options first.
Fixes PR autoconf/182.
2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
GNU getopt, when POSIXLY_CORRECT does not permute options and
arguments. So pass the options first.
Fixes PR autoconf/184.
* autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
(run_m4): Remove files.
(run_m4f): Remove.
Update remainder of script to use them.
(for warning in): Do not use a literal comma as it will not be
split by IFS.
2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
* aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
Fortran compilers to check.
(_AC_PROG_F77_V): Add '-###' as a possible option to print
information on library and object files.
(AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
to check.
2001-06-02 Akim Demaille <akim@epita.fr>
* autom4te.in (Request::@request): Declare with `vars', not `my',
as it prevents updates via `do FILENAME'.
2001-06-02 Akim Demaille <akim@epita.fr>
* configure.in (standards_texi): Remove, dead code.
2001-06-02 Akim Demaille <akim@epita.fr>
* autom4te.in: New.
2001-06-02 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
for signals other than 0 - exit with code 1.
* m4sh.m4 (AS_TMPDIR): Likewise.
* autoconf.in: Likewise. Also don't rely on exit == exit $?.
* autoheader.in: Likewise.
* autoreconf.in: Likewise.
* tests/torture.at (Signal handling): New test for the above.
2001-06-01 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
message.
2001-05-31 Akim Demaille <akim@epita.fr>
* acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
Add copyright and comments.
* acheaders: Add stdint.h.
Suggested by Paul Eggert.
2001-05-31 Akim Demaille <akim@epita.fr>
* atgeneral.m4 (AT_INIT): Use $SHELL.
* atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
2001-05-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
stdint.h.
From Paul Eggert and Lars Hecking.
2001-05-31 Akim Demaille <akim@epita.fr>
* tests/base.at: Adjust line numbers in error messages.
2001-05-31 Akim Demaille <akim@epita.fr>
* tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
to emit the bangshe line.
Reported by David Carter.
2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
Fortran (95) compilers to check.
2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
* doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
Macro Archive URL.
2001-05-23 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
_AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
(AC_PROG_CXXCPP): Likewise.
2001-05-22 Akim Demaille <akim@epita.fr>
* config: New directory.
* configure.in: AC_CONFIG_AUX_DIR it.
* tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
2001-05-22 Akim Demaille <akim@epita.fr>
* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
* autoupdate.in: Specify the Emacs mode.
* acversion.m4.in: Rename as...
* acversion.m4: this.
* tests/Makefile.am (CLEANFILES): More garbage.
2001-05-22 Akim Demaille <akim@epita.fr>
* autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
Rename as...
* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
these.
2001-05-21 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.50a.
|