-
Notifications
You must be signed in to change notification settings - Fork 7
/
ChangeLog.2004
3578 lines (2765 loc) · 138 KB
/
ChangeLog.2004
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-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/getopt.m4sh (func_version, func_usage, func_help):
Use `$SED -n' instead of `$SED RANGE {..}; d' as AIX sed cannot
handle the latter.
(func_help): start autoconf and automake in subshells to avoid
error messages from ash or Bourne shell if not available.
2004-12-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/general.m4sh (func_quote_for_eval): Move backslash to
beginning of character class, to work around old Bash bug.
(func_quote_for_expand): Also test to avoid unnecessary fork.
2004-12-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
Gary V. Vaughan <gary@gnu.org>
* Makefile.am, bootstrap, clcommit.m4sh, libtoolize.m4sh,
config/ltmain.m4sh: Replace `set --' with `set dummy [...]; shift'
for portability.
* tests/sh.test: Test for this.
2004-12-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libtoolize.m4sh, config/ltmain.m4sh (most functions): New
variable $opt_debug is either `:' or `set -x' depending on
--debug. Execute at most function entries to cater for ksh which
resets `-x'.
* tests/defs.m4sh: Ditto for VERBOSE=debug.
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw, pw32]:
_LT_TAGVAR missing for `fix_srcfile_path'.
[sysv4, sysv5]: _LT_TAGVAR missing for
`export_dynamic_flag_spec'.
* doc/libtool.texi (all over): Use @option and @command.
Some more minor formatting updates, typos.
* m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix variable quoting;
allows lt_ECHO to match --fallback-echo again.
* config/ltmain.m4sh (func_extract_archives): Not all shells grok
`read -r' (unnecessary in this case).
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
* config/general.m4sh: New variable quote_scanset...
(func_quote_for_eval, func_quote_for_expand): ...use it to work
around SunOS ksh `case' backslash-escaping bug: protect character
class by variable expansion.
Reported by Alexander Kurz <alexander.kurz@qsc.de>.
* tests/quote.test: Restart under the correct shell (the one
$ECHO was computed for).
2004-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/lt__dirent.c: Include lt__private.h.
* libltdl/libltdl/lt__private.h: Include lt__strl.h.
2004-12-20 Peter O'Gorman <peter@pogma.com>
* config/ltmain.m4sh (func_extract_archives)
(func_extract_an_archive): On darwin, uniq can not take the flags
-cd together, thanks to Ralf for the fix, also ar does not accept
N, so we use the fact that ar x libfoo.a foo.o will always extract
the first foo.o in the archive and we then delete foo.o from the
archive, which will also delete only the first foo.o, then rinse
and repeat. Also add markers for the testuite.
* m4/libtool.m4 (_LT_CONFIG): Add a marker so that we can use a
sed expression to find the shell functions in libtool.
* tests/functests.at: Test this feature.
* tests/testsuite.at: Add the test.
* tests/Makefile.am: Add the test.
2004-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libtoolize.m4sh: Install `install-sh' as well, needed for
configure.
* Makefile.am, Makefile.maint: Install, update it.
* NEWS, doc/libtool.texi (Distributing): Document it.
Reported by Ross Boylan <ross@biostat.ucsf.edu>.
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [solaris]: Add '${wl}-z
${wl}text' to archive_cmds and archive_expsyms_cmds. I.e., do not
allow nopic in shared libraries.
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [solaris]: Change
no_undefined_flag back to ' -z defs'. Problems with linking
against libgcc.a will have to be resolved differently.
* tests/demo-nopic.test [solaris, sunos]: Skip test.
2004-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libtool.m4 [linux] (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG):
Match icpc* and ecpc* (ia64 version of icpc) instead of only icpc.
* libltdl/lt__dirent.c (opendir) [mingw]: Fix write of constant
strings past end of buffer.
(opendir, readdir): Fix read past end of buffer.
2004-12-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* HACKING: Update list of non-Libtool-owned files.
2004-12-17 Akim Demaille <akim@epita.fr>
* libtoolize.m4sh (func_copy_all_from_path): Remove spurious eval.
2004-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (trim): Return error rather than do bogus
null pointer arithmetic when parsing a malformed .la file.
2004-12-13 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libltdl/lt__strl.c, libltdl/libltdl/lt__strl.h: New files to
emulate strlcat and strlcpy, which support size-bounded string
copying and concatenation for improved security.
* libltdl/Makefile.am: Optionally build source files
libltdl/lt__strl.c and libltdl/libltdl/lt__strl.h.
* m4/ltdl.m4 (LTDL_INIT): Add checks for strlcat and strlcpy.
2004-12-13 Albert Chin-A-Young <china@thewrittenword.com>
* libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
Append -G to link command-line on AIX to honor -brtl on
command-line (runtime linking). Already done for IBM C/C++
compilers.
2004-12-12 Patrick Welche <prlw1@newn.cam.ac.uk>
* configure.ac: Fix aclocaldir to use ${datadir}, not ${prefix}.
Necessary for removal of old libtool.m4 files.
2004-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_extract_archive): Send stderr of $NM
to /dev/null.
Reported by Martin Waitz <tali@admingilde.org>.
2004-12-09 Albert Chin-A-Young <china@thewrittenword.com>
* config/ltmain.m4sh: Preserve -model [arg] option, used
with the Tru64 UNIX C++ compiler. This option selects the
layout of C++ classes, name mangling, and exception handling.
2004-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_mode_finish) [solaris]: Fix [] escaping
bug.
* config/ltmain.m4sh (all over the map): Make use of func_basename
and func_dirname in most occasions.
* m4/libtool.m4 (_LT_CHECK_XSI_SHELL, _LT_PROG_XSI_SHELLFNS): New
macros to detect at `configure' time whether the shell supports
some XSI extensions and to copy appropriate versions of new shell
functions into `libtool' through `config.status'. Copied
functions are Bourne and XSI variants of func_basename,
func_dirname (a variant of `dirname' suitable for libtool).
(_LT_SETUP): Require _LT_CHECK_XSI_SHELL.
(_LT_CONFIG): Use _LT_PROG_XSI_SHELLFNS to insert into `libtool'
at marker.
* config/ltmain.m4sh: Set marker for insertion of shell functions.
* config/general.m4sh (func_quote_for_eval): Only fork if the
substitution matches.
2004-12-03 Gary V. Vaughan <gary@gnu.org>
* TODO: Paste Peter's summary of the TODO thread starting at
http://lists.gnu.org/archive/html/libtool/2004-11/msg00130.html.
2004-12-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* config/ltmain.m4sh: Remove code which is no longer needed
now that temp_rpath only contains fully-qualified elements.
2004-11-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/general.m4sh: basename sed-subst is anchored and thus
does not need the `g' flag.
(func_quote_for_eval): Return both the possibly double-quoted
backslashified as well as only the backslashified argument.
* config/ltmain.m4sh (func_mode_link): Use both return values,
to save another sed_quote_subst application per cmdline arg.
2004-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_lalib_p): Update function
description.
(func_lalib_unsafe_p): New function with same functionality but
written without forks; this function is safe to use for cases
where the argument either does not exist or is required to be a
lalib for correct operation.
* NEWS: Mention the fact that stdin is not to be used.
* config/ltmain.m4sh (func_mode_execute, func_mode_install)
(func_mode_link): Use func_lalib_unsafe_p where appropriate.
(func_mode_execute): For the program wrapper, use
func_ltwrapper_p instead of func_lalib_p.
* m4/libtool.m4 (_LT_LINKER_SHLIBS): Treat linux-dietlibc with
the `diet' compiler wrapper (as opposed to the `diet-dyn' wrapper)
as a static-only platform.
* NEWS: Updated.
* libltdl/ltdl.c (trim): Use memcpy instead of strncpy here, to
avoid problems with non-conforming strncpy. This is safe here.
* m4/ltdl.m4 (LT_LIB_DLLOAD): Define HAVE_LIBDLLOADER if we
have a dlloader to preload.
* libltdl/ltdl.c (lt_dlinit): Only preload if HAVE_LIBDLLOADER, only
declare preloaded_symbols then. Fixes libltdl on static platforms.
* NEWS: Updated.
2004-11-29 Gary V. Vaughan <gary@gnu.org>
Add a search path option to libtoolize so that we can run it from
the testsuite without pulling in the last installed macros and
ltdl sources:
* libtoolize.m4sh: Add a -I option to change libtoolize's search
path for macro files, and libltdl master sources.
(pkgvdatadir, pkgvmacrodir): Renamed...
(pkgvdatadirs, pkgvmacrodirs): ...as they can now contain a ':'
delimited list of directories. Adjust all callers.
(func_copy_all_from_path): New function to search a ':' delimited
search path for a directory to copy.
(func_serial_update, func_ltmain_update, func_config_update): New
first parameter is a filename to search for. srcdir parameter can
now be a ':' delimited search path. Adjust all callers.
(func_copy_some_files): Ditto.
Put srcfile_spec first in parameter list for consistency with
other functions. Adjust all callers.
(func_copy_cb): func_copy adapter function to call func_copy
correctly from func_copy_some_files.
(func_filename_path_search): Return the full path to the first
occurence of a named file found in a list of directories.
* tests/testsuite.at (LIBTOOLIZE): Wrap exported LIBTOOLIZE
initialisation in PREPARE_TESTS diversion to stop it being
discarded when testsuite is generated.
(AT_LIBTOOLIZE): Factor out libtoolize calls,
and set search path to find macros and libltdl source files from
the source tree.
(AT_CHECK_LIBTOOLIZE): Test it.
(AT_BOOTSTRAP): Adjust. Split out call to make.
* tests/am-subdir.at: Call make explicitly.
(Makefile.am): Fix typo in ACLOCAL_AMFLAGS,
2004-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_mode_link): $dlsymsobj is really
$symfileobj, bug exposed only in the static preloading case
(symfileobj is created, but not linked into output).
* tests/demo-relink.test, tests/depdemo-relink.test: SKIP, don't
FAIL if no shared libs available in demo/. Do not try to access
nonexistent files.
* libltdl/loaders/loadlibrary.c: Remove unneeded
file-static variable.
2004-11-27 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* config/ltmain.m4sh: Add fully-qualified paths to temp_rpath
rather than unqualified paths in order to avoid possible errors
when computing the fully-qualified path later.
2004-11-24 Jeff Squyres <jsquyres@lam-mpi.org>
* m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [linux]: Support for Portland Group (aka
"pgi") compilers.
* NEWS, THANKS: Updated.
2004-11-24 Gary V. Vaughan <gary@gnu.org>
* Makefile.am: Move Autotest rules from here...
* tests/Makefile.am: ...to here.
* bootstrap: Adjust. Also, create temporary Makefile from
tests/Makefile.am so that bootstrap can create the Autotest
testsuite.
2004-11-23 Gary V. Vaughan <gary@gnu.org>
If the user's login shell is something crazy like, oooh,
/bin/tcsh, trying to execute bourne shell helper scripts with
the `$SHELL /path/to/helper $helper_flags' idiom incase the
execute bits were lost by say, eeer, cvs, is gonna blow up in
our faces. This changeset tries to save these people from
their shells^H^H^H^H^H^H^H^H^Hmselves :->
* tests/defs.m4sh (SHELL): Move definition from here...
* config/general.m4sh (SHELL): ...to here.
2004-11-23 Gary V. Vaughan <gary@gnu.org>
The ltdl.h header is the published interface to libltdl, and
is thus not installed to $prefix/include/libltdl. It has always
been used with `#include <ltdl.h>', so move just that one file
back to where it was before:
* libltdl/libltdl/ltdl.h: Moved from here...
* libltdl/ltdl.h: ...to here.
* libltdl/Makefile.am: Adjust.
2004-11-23 Peter O'Gorman <peter@pogma.com>
Do not require that libtoolize --ltdl=/some/path end in libltdl.
Move most libltdl headers to libltdl/libltdl to allow
`#include <libltdl/ltdl.h>' to always work:
* libltdl/Makefile.am, libltdl/loaders/Makefile.am: Look for includes
in the new location.
* libltdl/libltdl/lt__alloc.h, libltdl/libltdl/lt__dirent.h,
libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
libltdl/libltdl/lt_dlloader.h, libltdl/libltdl/lt_error.h,
libltdl/libltdl/lt_system.h, libltdl/libltdl/ltdl.h,
libltdl/libltdl/slist.h: Added files, moved from libtdl/.
* libltdl/lt__alloc.h, libltdl/lt__dirent.h, libltdl/lt__glibc.h,
libltdl/lt__private.h, libltdl/lt_dlloader.h, libltdl/lt_error.h,
libltdl/lt_system.h, libltdl/ltdl.h, libltdl/slist.h: Removed, moved
to libltdl/libltdl.
2004-11-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/libtool.texi (LT_INIT): s/libtool 1.6/libtool 2.0/.
(Invoking libtoolize): Fix typo.
2004-11-22 Gary V. Vaughan <gary@gnu.org>
* config/ltmain.m4sh (func_mode_install): Now that func_mktempdir
has been improved, the default directory template is perfectly
fine.
* doc/libtool.texi (Invoking libtoolize): Improve documentation
for use of ACLOCAL_AMFLAGS and AC_CONFIG_MACRO_DIR.
2004-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/libtool.m4 (_LT_TAG_COMPILER): Document that with_gcc is
tag-dependent.
* m4/libtool.m4, tests/demo-nopic.test: Undo bogus commit.
* config/ltmain.m4sh (func_mode_link), tests/objectlist.test:
Make sure the argument to `-objectlist' may contain spaces.
2004-11-19 Gary V. Vaughan <gary@gnu.org>
* config/m4general.m4sh, config/mailnotify.m4sh,
clcommit.m4sh: Updated from cvs-utils--tla--1.0 to allow
parallel commits, and use safer tmpfiles.
2004-11-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/libtool.texi (Libltdl interface): Typos.
* doc/libtool.texi (Libltdl interface): Document public macros
LT_PATHSEP_CHAR, LT_DIRSEP_CHAR, use in path descriptions.
2004-11-18 Daniel Reed <djr@redhat.com>
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: Interpret
`include' statements in toplevel ld.so.conf file.
2004-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw, pw32]:
tag-protect setting of ld_shlibs.
2004-11-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/libtool.texi (Libltdl interface): The path separator
is system-dependent.
* doc/libtool.texi (Linking static libraries): Typo.
* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[aix4/aix5 !ia64]: Set whole_archive_flag_spec to '$convenience'
so convenience libs are really added to the link cmdline.
2004-11-17 Mats Rynge <rynge@isi.edu>
* libtool.m4 [linux]: Use only the CC basename in case statment
when checking for icc/ecc. Allows for setting CC to the full path
to the compiler.
* libtool.m4 [solaris]: Added missing 'with linker' flags to
-z allextract ... -z defaultextract flags
2004-11-14 Gary V. Vaughan <gary@gnu.org>
* m4/libtool.m4 (_LT_LINKER_SHLIBS): Typo: s/--rpath/-rpath/g.
(_LT_LANG_CXX_CONFIG): Ditto.
* configure.ac (APIVERSION): New substituted variable.
(pkgvdatadir): Ditto. Versioned data directory.
(pkgvmacrodir): Ditto. Versioned aclocal directory.
(LN): New check for LN command.
* Makefile.am (aclocal_DATA): Replaced with...
(pkgvmacro_DATA): ...this.
(install-data-local): Remove old shared resources.
(install-exec-hook): Make versioned links to executables.
(uninstall-hook): Remove versioned files.
* libltdl/Makefile.am (ltdldatadir): Redefine in terms of
pkgvdatadir.
* libltdl/loaders/Makefile.am (ltdldatadir): Ditto.
* libtoolize.m4sh: Copy macro files from versioned macro directory
instead of shared aclocal directory.
* doc/libtool.texi: Document it.
* NEWS: Updated.
2004-11-10 Gary V. Vaughan <gary@gnu.org>
From James Henstridge <james@jamesh.id.au>:
* m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4: Added commented out
empty macro definitions to match each AU_DEFUN to help aclocal
from automake-1.4 regexps find the right libtool macro files.
2004-11-10 James E Wilson <wilson@specifixinc.com>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_mode_link), tests/Makefile.am,
Fix error message with `-objectlist' file that does not exist.
* tests/objectlist.test: New test for this.
* Makefile.am: config/ltmain.sh is generated by
config/ltmain.m4sh.
2004-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/libtool.texi (Compile mode, Link mode,
Libltdl interface, Test descriptions, libtool script
contents): Some quote cleanup, more use of texinfo types.
* doc/libtool.texi (libtool script contents):
echo is now ECHO; mention argument restriction.
* doc/libtool.texi (Multiple dependencies): Minor rewording.
* doc/libtool.texi (User defined module data, References):
indentation and word-wrap cleanup.
* doc/libtool.texi (all over): White space cleanup:
two spaces at start of sentence, no TABs.
2004-11-09 Gary V. Vaughan <gary@gnu.org>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/libtool.texi (libtool script contents): Fix description
of need_lib_prefix.
2004-11-08 Peter Ekberg <spam.protected>
* config/ltmain.m4sh (func_mode_link): forward thread
related flags to dependent applications and libraries
by adding them to `inherited_linker_flags'.
2004-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/ltoptions.m4: Change all references of LT_LIBTOOL_INIT
to LT_INIT.
2004-11-05 Peter Ekberg <spam.protected>
* ltmain.m4sh (cwrappersource): clean up other warning on MinGW.
2004-11-04 Bernhard Fischer <spam.protected>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS), m4/ltoptions.m4
(_LT_SET_OPTIONS), README, README.alpha: Typos.
2004-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (parse_dotla_file): Fix memleak.
* ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly.
2004-11-03 Peter Ekberg <spam.protected>
* ltmain.m4sh (cwrappersource): clean up warnings and
#include errors on MinGW.
2004-11-01 Peter Ekberg <spam.protected>
* config/ltmain.m4sh (cwrappersource): clean up warnings and
#include errors.
2004-11-01 Peter Ekberg <spam.protected>
Sometimes, a wrapper script is generated for an executable that,
itself, does not link against an uninstalled library. It appears
that this can happen if you are building a project where:
(1) there is a library
(2) there is an executable that does not, itself, link against
that library
In this case, notinst_deplibs is empty, and when the wrapper
script is loaded by libtool during ./libtool mode=install, there
is a check for "is notinst_deplibs empty". In this case, it is,
so libtool reports an error.
I don't think it is wrong to have a wrapper script for an exe that
*technically* doesn't need it. But instead of checking for
notinst_deplib nonempty as a proxy for "did wrapper script get
sourced into my environment properly" a different var should be
used.
* config/ltmain.m4sh (func_mode_install): set new variable
`generated_by_libtool_version' in wrapper script when using
libtool_install_magic. When verifying that wrapper script was
properly sourced, check that `generated_by_libtool_version' is
non-empty, instead of using notinst_deplibs.
2004-11-01 Charles Wilson <spam.protected>,
Peter Ekberg <spam.protected>
* config/ltmain.m4sh (func_mode_install): On Windows based hosts,
ensure that import libraries don't get stripped.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): On Windows based hosts,
use postinstall_cmds to strip DLL (not import lib!) when symbol
stripped installation was requested.
2004-10-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (loader_init_callback): Back out broken cast.
* libltdl/ltdl.c (loader_init_callback, lt_dlexit): Add casts to
target type.
* tests/defs.m4sh (func_exec): `shift'ing when there is nothing
to shift is non-portable.
2004-10-28 Patrick Welche <prlw1@newn.cam.ac.uk>,
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.am, Makefile.maint: Use path for dependencies built
in the source tree, to cater for BSD make.
2004-10-24 Noah Misch <noah@cs.caltech.edu>
* config/ltmain.m4sh (func_lalib_p, func_ltwrapper_p): New
functions that abstract .la sanity checking.
(func_mode_execute, func_mode_install, func_mode_link)
(func_mode_uninstall): Use them.
2004-10-24 Gary V. Vaughan <gary@gnu.org>
* config/ltmain.m4sh (opt_silent): Whether --silent was given.
(run, show): Deleted. All callers converted to opt_dry_run,
opt_silent or calls to func_show_eval.
* tests/mdemo-dryrun.test: Adjust.
* HACKING: Fix a typo in the gpg --verify instructions.
* Makefile.maint (cvs-dist): Generate signatures and directives
for bz2 upload.
2004-10-23 Peter O'Gorman <peter@pogma.com>
* config/ltmain.m4sh (func_mode_link): Make Gary's new tests
pass. When the output wrapper script is not in the current
directory, we can not use an rpath which is relative to the
current directory. Use an absolute path instead.
2004-10-22 Gary V. Vaughan <gary@gnu.org>
* clcommit.m4sh: Add --rcfile option.
* clcommit.m4sh: Updated again, to support file list limited
commits to CVS, and to fix another occurence of the bash bug
that was preventing non-tla users from sending a commit mail.
2004-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* TODO, libltdl/lt_error.h, libltdl/ltdl.c, libltdl/ltdl.h:
Undo accidental commit.
* Makefile.maint: Fix typo.
2004-10-22 Gary V. Vaughan <gary@gnu.org>
* clcommit.m4sh, config/mailnotify.m4sh: Updated from
cvs-utils--tla--1.0 to fix quoting of metachars in patch names.
* HACKING: Updated: `.in' files are now `.m4sh'; document some
more coding standards for these files.
* config/general.m4sh (sed_double_backslash): Undo an
over-optimisation.
2004-10-21 Gary V. Vaughan <gary@gnu.org>
* AUTHORS: Reformatted to better reflect the current state of
Libtool maintainership.
* THANKS: Reformatted to give maintainers a quick way to look
up who has supplied FSF paperwork.
2004-10-21 Noah Misch <noah@cs.caltech.edu>,
Gary V. Vaughan <gary@gnu.org>
* config/general.m4sh (sed_double_backslash): Improve this sed
expression to correct left anchored \$ input to
double_quote_subst, as well as backslash escaped $ preceded by
any odd-numbered amount of \ characters.
2004-10-20 Gary V. Vaughan <gary@gnu.org>
* config/general.m4sh (sed_double_backslash): New sed expression
to escape \$ properly in combination with double_quote_subst.
(func_quote_for_eval): Four space indent margin for functions!
(func_quote_for_expand): Use $sed_double_backslash.
(func_show_eval): New function that echos an escaped but variable
expanded command, and then evaluates it.
2004-10-20 Noah Misch <noah@cs.caltech.edu>,
Gary V. Vaughan <gary@gnu.org>
* m4/libtool.m4 (sed_quote_subst): Remove superfluous backslashes
from the match character set.
(double_quote_subst): Ditto.
* config/general.m4sh (sed_quote_subst): Ditto.
(double_quote_subst): New variable, copied from
m4/libtool.m4. Much the same as sed_quote_subst, but variable
references are not quoted.
(func_quote_for_eval): Given any $foo; $bar and
$foo must be identical after the following commands:
func_quote_for_eval "$foo"
eval "bar=$func_quote_for_eval_result"
(func_quote_for_expand): In a similar vein to to func_quote_for_eval,
except that variable expansions are not protected when quoting the
command for subsequent display.
* config/ltmain.m4sh: Factor away use of $sed_quote_subst now that
it has been subsumed into func_quote_for_eval.
(func_mode_link): Instead of `2004-10-14 Peter O'Gorman' below,
use func_quote_for_expand so that ${wl} is expanded properly in
the $show expression.
2004-10-16 Gary V. Vaughan <gary@gnu.org>
* config/ltmain.m4sh (func_mode_finish): solaris-2.6 also has
crle(1).
Reported by Albert Chin-A-Young <china@thewrittenword.com>
2004-10-16 Gary V. Vaughan <gary@gnu.org>
Add some new tests for Libtool's support of Automake
subdir-objects builds. This marks the beginning of a move to an
Autotest driven test framework, which will eventually allow us to
trim away many of the generated files in the current test demo
subdirectories:
* configure.ac (AC_CONFIG_TESTDIR): Re-enable commented out
Autotest macros.
(AUTOTEST, M4SH): Use --language long hand.
* bootstrap: Generate tests/testsuite, and by implication
tests/package.m4.
* Makefile.am (edit): Add substitutions needed to generate
tests/package.m4 from bootstrap.
(check-recursive): Add tests/testsuite.
(TESTSUITE): The new Autotest testsuite target.
(TESTSUITE_AT): The Autotest sources.
(EXTRA_DIST): Distribute the generated testsuite and sources.
(tests/package.m4): Use $(edit) to propagate package metadata to
the new tests.
(tests/testsuite): Build the testsuite.
(tests/atconfig): How to regenerate the file.
(check-local): Hook Autotest into `make check'.
(installcheck-local): Run the testsuite on the installed tree.
(clean-local): Tidy our file droppings.
* tests/Makefile.am: Remove bitrotted code from Autotest
experiments in Autoconf 2.52 era. Updated the rest and moved into
Makefile.am.
* tests/testsuite.at: New container for Autotest test groups.
* tests/am-subdir.at: New test group for compatibility with
Automake's subdir-objects builds. Currently holds two tests, one
for a C project and another similar project in C++.
* TODO: Add an entry to remind us that these new tests expose a
bug in libtool.
* NEWS: Updated.
2004-10-14 Peter O'Gorman <peter@pogma.com>
* config/ltmain.m4sh: Revert most of my last commit, only eval
\$show \"$cmds\", and only when building a library. I'm a wimp.
Thanks Gary for pointing out errors in previous commit.
2004-10-13 Gary V. Vaughan <gary@gnu.org>
* config/ltmain.m4sh (func_mode_finish): Mention crle(1) on
solaris 2.7 and higher in the finalisation notes.
Reported by Kurt J. Lidl <lidl@pix.net>
* tests/cdemo-undef.test: New test for hosts that allow shared
libraries with undefined symbols, but have no C++ compiler
installed.
* tests/Makefile.am (COMMON_TESTS): Add it.
2004-10-13 Peter O'Gorman <peter@pogma.com>
* config/ltmain.m4sh: Make sure that we $show what we will $run,
use eval $show if we do $run eval.
2004-10-13 Charles Wilson <spam.protected>
* config/ltmain.m4sh: add foo/bin for every foo/lib
in dllsearchpath when creating wrapper script. Fixes
depdemo-relink test failure.
2004-10-12 Charles Wilson <spam.protected>
* config/ltmain.m4sh (func_mode_link): don't relink
on cygwin/mingw; no need. But do ensure that wrappers
are created unless doing a purely static build.
2004-10-13 Gary V. Vaughan <gary@gnu.org>
* tests/tagdemo-undef.test: New test for hosts that allow shared
libraries with undefined symbols.
* tests/Makefile.am (CXX_TESTS): Add it.
2004-10-11 Charles Wilson <spam.protected>
* tests/link.test: Fix check for use of libnlsut.a under
Cygwin.
2004-10-11 Noah Misch <noah@cs.caltech.edu>
* tests/quote.test: Do not look for $preargs in the output,
because libtool may change them.
2004-10-10 Charles Wilson <spam.protected>
* config/ltmain.m4sh: Really don't require versions of GNU
sed newer than 3.02 for Cygwin and MinGW, and don't break
dryrun mode.
2004-10-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* config/getopt.m4sh: Under MinGW, reported paths may include ':'
so ':' should not be used as the sed delimiter. Use '*' instead
since it is very unlikely to appear in a path.
2004-10-10 Albert Chin-A-Young <china@thewrittenword.com>
* config/ltmain.m4sh: Don't require versions of GNU sed newer than
3.02 for Cygwin and MinGW.
2004-10-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* tests/pdemo-inst.test: Correction for mis-application of
Charles Wilson's earlier patch.
2004-10-09 Gary V. Vaughan <gary@gnu.org>
* m4/libtool.m4 (_LT_LANG_F77_CONFIG): Make sure the save and
restore code for CC is nested at the same depth.
(_LT_LANG_CXX_CONFIG): Ditto, but for several variables.
2004-10-08 Gary V. Vaughan <gary@gnu.org>
Update to the latest commit and mailnotify scripts from
gary@gnu.org--2004/cvs-utils--tla--1.0:
* commit, config/mailnotify: Removed. Now built from...
* clcommit.m4sh, config/mailnotify.m4sh: ...these new sources.
* Makefile.maint (commit, config/mailnotify): How to build them.
* bootstrap: If we have a checked out tree (i.e. clcommit.m4sh
is present), then build them.
2004-10-08 Gary V. Vaughan <gary@gnu.org>
Fix some issues that mangled the reexecution path to a script,
and thus prevented it from finding itself:
* config/general.m4sh (progname): Don't actually change the name
of the script if it begins with a `-', just prepend `./'.
(progpath): Add a new clause that first searches the execution
PATH, and then finally assumes this script is in the current
working directory if $progname has no directory separators (e.g
when invoked as `$SHELL progname').
2004-10-08 Gary V. Vaughan <gary@gnu.org>
* config/general.m4sh (func_verbose): Work around a bash bug in
shell functions.
2004-10-08 Charles Wilson <cygwin@cwilson.fastmail.fm>
* tests/pdemo-inst.test: pdemo-inst should depend on pdemo-make.
* config/ltmain.m4sh: Windows and Cygwin reserve the .lnk
extension to represent shortcuts. Use the extension ".lnkscript"
rather than ".lnk" for the piecewise linking ld script in order to
avoid the conflict.
2004-10-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (lt_dlexit, lt_dlpath_insertdir): Fix memleaks,
free user_search_path on lt_dlexit.
2004-10-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE
from autoconf >= 2.59.
* TODO: Remove item: no need for a libltdl without stdio.
2004-10-07 Gary V. Vaughan <gary@gnu.org>
* tests/defs.m4sh (scripts): Actually scan the generated ltmain.sh
for shell portability problems.
* m4/libtool.m4 (_LT_FORMAT_COMMENT): Shell meta-characters in
_LT_DECL descriptions were not being escaped before injection into
TAG CONFIG here documents in config.status.
2004-10-06 Peter O'Gorman <peter@pogma.com>
* m4/libtool.m4 (_LT_PROG_CXX, _LT_PROG_F77): New macros to work
around the deficiencies in AC_PROG_CXX and AC_PROG_F77.
* configure.ac: Cleaned up, having moved the checks for compilers
which do not exist to libtool.m4.
2004-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (try_dlopen): Move .la file parsing
part.. (parse_dotla_file): ..here. Adjust.
* libltdl/ltdl.c (load_deplibs, try_dlopen): Revert unnecessary casts
to int from my patch from 2004-10-01.
* AUTHORS: Add myself.
2004-10-05 Peter O'Gorman <peter@pogma.com>
* config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on
older darwins too. Reported by Christoph Egger.
2004-10-05 Gary V. Vaughan <gary@gnu.org>
* configure.ac: Bumped version to 2.1a.
2004-10-04 Gary V. Vaughan <gary@gnu.org>
* m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Don't confuse $ECHO
with $lt_ECHO, or we always get a libtool with ECHO=echo, rather
than testing for a mechanism that quotes \ properly.
* NEWS: Updated.
* config/ltmain.m4sh: Need to include getopt.m4sh earlier so that
progpath is set before it is called to --no-reexec.
* NEWS: Updated.
2004-10-04 Gary V. Vaughan <gary@gnu.org>
Without this change, the distributed libtool tarball has a
dependency on autom4te. There was some inconsistency in the
filenames: now we have foo.m4sh -> m4sh -> foo.in -> configure
-> foo[.sh]. Bootstrap runs the m4sh steps and the resulting .in
files are distributed:
* tests/Makefile.am (EXTRA_DIST): Distribute defs.m4sh.
* Makefile.am (EXTRA_DIST): Distribute libtoolize.m4sh.
(libtoolize.in, libtoolize): Split into bootstrap and runtime
stages.
($(top_srcdir)/tests/defs.in, $(top_srcdir)/tests/defs): Ditto.
($(top_srcdir)/config/ltmain.sh): Swap ltmain.m4sh and ltmain.in
names.
* bootstrap: Make libtoolize.in and tests/defs.in.
* NEWS: Updated.
2004-10-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* README, README.alpha: Update notes regarding available VERBOSE
settings.
2004-10-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* config/ltmain.in: Change $XSED to $Xsed to fix hang noticed
under MinGW.
* tests/defs.in: Support VERBOSE=debug to enable shell tracing
while running tests.
2004-10-03 Gary V. Vaughan <gary@gnu.org>
* NEWS: Updated.
* configure.ac: Bumped version to 1.9e.
GNU libtool 1.9d was released.
* configure.ac: Bumped version to 1.9d.
* NEWS: Updated.
* libltdl/lt__alloc.h (lt__alloc_die): Declare with LT_SCOPE as
per Ralf's original patch.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libltdl/Makefile.am (libltdlc_la_LIBADD): Don't use
libdlloader_la_OBJECTS, an undocumented Automake internal
variable...
(libltdlc_la_SOURCES): ...use libdlloader_la_SOURCES here
instead.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libltdl/argz_.h: Forgot to spell lt_system.h with just one `_'.
* libltdl/argz_.h: Forgot to include lt__system.h for LT_SCOPE
definition.
2004-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
Gary V. Vaughan <gary@gnu.org>
* libltdl/lt__alloc.h: Declare exported functions with LT_SCOPE
for mingw32.
* libltdl/lt__dirent.h: Ditto.
* libltdl/argz._h: Ditto. Be careful about not requiring
additional libltdl files when used outside of libltdl.
* libltdl/slist.h: Ditto.
* HACKING: Add a section on libltdl implementation layering.
2004-10-03 Gary V. Vaughan <gary@gnu.org>
* tests/quote.test: echo is called ECHO now. Make sure we extract
the value of ECHO from the libtool script.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
2004-10-02 Gary V. Vaughan <gary@gnu.org>
* m4/libtool.m4 (hardcode_shlibpath_var) [darwin7*]: Revert my
hack from 2004-09-30 now that I've removed /lib/hello.la and the
tests work properly for me again.
2004-10-02 Jim Tison <jtison@us.ibm.com>
Initial support for s390x-ibm-tpf:
* m4/libtool.m4: Correct obvious spelling errors in remarks.
(_LT_ENABLE_LOCK): Make s390x-ibm-tpf hosts adopt elf64_s390
conventions.
(_LT_SYS_DYNAMIC_LINKER): Set defaults for s390x-ibm-tpf host.
(_LT_CHECK_MAGIC_METHOD): Skip all dependency checks for
s390x-ibm-tpf hosts.
(_LT_LINKER_SHLIBS): Make s390x-ibm-tpf hosts adopt GNU/Linux OS
attributes.
* NEWS: Updated.
2004-10-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.in (func_mode_install): Need to set $tmpdir before
using it.
* config/ltmain.in (func_mode_link): Fix quoting bug. Fixes
e.g. the quoting of the -export-symbols-regex argument in .la
files' relink_command.
* libltdl/lt__alloc.c (lt__memdup): Allocation can fail, so we
need to guard against null pointer dereference here.
* libltdl/ltdl.c (lt_dlcaller_register): Ditto.
* libltdl/slist.c (slist_foreach): result was declared as
inner variable, shadowing the actually returned value.
* libltdl/ltdl.c (load_deplibs, try_dlopen): Cast argument
to isspace/isalnum to the correct range. Also, cast to int to
avoid compiler warnings.
2004-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (try_dlopen): Fix null pointer dereference in
case the name given to lt_dlopen contains no extension.
* libltdl/lt_dlloader.c (lt_dlloader_remove), libltdl/ltdl.c
(tryall_dlopen, lt_dlhandle_next): Show usage of function pointers.
* doc/libtool.texi (LT_INIT, Using libltdl)
(Module loaders for libltdl, Multiple dependencies)
(libtool script contents): Fix several typos (trivial change).
Also, libltdl consists of more than two small files.
2004-09-30 Gary V. Vaughan <gary@gnu.org>
* m4/libtool.m4 (hardcode_shlibpath_var) [darwin7]: My Panther
workstation doesn't hardcode the shared library path, although it
used to, so this is more likely a function of the binutils and/or
gcc I am using at the moment. The hardcode value setting code for
the configure script sucks at the moment though...
* TODO: ...and needs to do a test compile instead of a table
lookup before 2.0 final.
* m4/libtool.m4 (echo): Use ECHO throughout for consistency with
config/ltmain.in.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/libtool.m4 (rm): Use RM throughout for consistency with
config/ltmain.in.