12000-06-04 Mark Mitchell <mark@codesourcery.com> 2 3 * ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris, 4 with_gcc]: Use `gcc -shared' to build a shared library. 5 62001-06-04 John David Anglin <dave@hiauly1.hia.nrc.ca> 7 8 * ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared 9 archives. 10 112001-05-28 Simon Patarin <simon.patarin@inria.fr> 12 13 * ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared 14 libraries when using g++ with native linker. 15 162001-05-28 Albert Chin <china@thewrittenword.com> 17 18 * ltconfig.in (version_type, soname_spec) [aix4* | aix5*]: Use 19 linux-style versioning, and remove trailing .o from soname_spec. 20 212001-05-22 Alexandre Oliva <aoliva@redhat.com> 22 23 * ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag) 24 [aix4*|aix5*]: Prepend blank. 25 262001-05-20 Alexandre Oliva <aoliva@redhat.com> 27 28 * configure.in: Reverted to 1.4, to avoid confusion with MLB. 29 Mainline is the release snapshot, except for the ChangeLog version 30 number, until the multi-language branch is merged into it. 31 32 * ltconfig.in: Fix sh.test regression introduced in previous patch. 33 34 * ltconfig.in (lt_cv_sys_max_cmd_len): Improve test to work better 35 in case of non-built-in echo. Set bounds correctly. 36 37 * ltcf-cxx.sh (allow_undefined_flag) [aix4* | aix5*]: Fix quote 38 error. 39 40 * ltmain.in (exec_cmd): New variable. Don't exec programs within 41 the big `case'; set the variable instead, and exec the cmd 42 afterwards, so that the shell gets a chance to clean up here-doc 43 files. 44 * NEWS: Update. 45 462001-05-16 Alan Modra <amodra@one.net.au> 47 48 * libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux. 49 502001-05-03 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de> 51 52 * ltmain.in (relink_command): Arrange for wrapper script to save 53 output to a variable and display it only if relinking fails. 54 552001-04-25 Gary V. Vaughan <gvv@techie.com> 56 57 * configure.in: bumped version to 1.4a. 58 59 GNU libtool 1.4 was released. 60 61 * configure.in: Bumped version to 1.4. 62 * config.sub, config.guess: Synchronised from ftp.gnu.org. 63 * NEWS: updated. 64 652001-04-24 Peter Eisentraut <peter_e@gmx.net> 66 67 * libtool.m4: Support $host_os as /sysv5uw7*/ from newer 68 config.guess in addition to older /unixware*/. Use compiler 69 driver, not linker, for linking shared libraries. 70 712001-04-24 Gary V. Vaughan <gvv@techie.com> 72 73 * libtool.m4, ltmain.in, libltdl/configure.in, 74 tests/quote.test: Remove stale references to ltconfig. 75 76 * ltdl.m4 (AC_C_INLINE): No longer required. 77 * libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim, 78 free_vars): Revoke inline keyword from declarations. `static 79 inline' is not very portable, and in addition Unixware 7.1.1's 80 compiler says you can't access static variables from inline 81 functions. 82 Reported by Peter Eisentraut <peter_e@gmx.net> 83 842001-04-24 Albert Chin-A-Young <china@thewrittenword.com> 85 86 * libtool.m4: Handle case where /bin/nm -p outputs multiple 87 symbol types (like under HP-UX 11.00). 88 892001-04-24 Thomas Tanner <tanner@ffii.org> 90 91 * TODO: describe problems with libltdl 92 * ltmain.in (ILD): tidy up, add comments, remove dead code, 93 merge duplicate code 94 * ltmain.in (ILD): don't touch newdependency_libs after scan or 95 dlopen pass 96 * ltmain.in (ILD): don't dlpreopen dependency_libs of a dlopened 97 module (remove absolutely wrong quick hack) 98 * ltmain.in (ILD): remove wrong comments about duplicate removal 99 * ltmain.in (ILD): build a static-only module if it has 100 static libraries in its dependencies (so that libltdl can 101 safely load dependency_libs) 102 * ltmain.in (argument parsing): prefix comparsions of -l args with X, 103 replace -lc with `-framework System' _after_ the ILD passes 104 * ltmain.in (argument parsing): support dl[pre]open 105 for both .o and .lo files 106 * ltmain.in (deplibs_check): use portable test syntax 107 * ltmain.in (help): document -prefer-[non-]pic flags 108 * ltmain.in: improve readablity by adding some comments, 109 rename uninst_* to notinst_* (more adequate name) 110 1112001-04-24 Gary V. Vaughan <gvv@techie.com> 112 113 * doc/PLATFORMS: More updates from subscribers to 114 libtool@gnu.org. 115 116 From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> 117 * tests/Makefile.am (TESTS_ENVIRONMENT): Make sure the *.test 118 scripts get the same make that was used in the top level 119 directory. 120 1212001-04-23 Gary V. Vaughan <gvv@techie.com> 122 123 * doc/PLATFORMS: Updated with more platforms successfully 124 tested by members of libtool@gnu.org. 125 1262001-04-23 Peter Eisentraut <peter_e@gmx.net> 127 128 * doc/PLATFORMS: With this patch, freebsd4.3 passes the test 129 suite. 130 * libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules 131 are left. 132 1332001-04-23 Gary V. Vaughan <gvv@techie.com> 134 135 * doc/PLATFORMS: With this patch, my Solaris boxes now pass the 136 test suite, Yay! 137 From Albert Chin-A-Young <china@thewrittenword.com> 138 * ltmain.in: `test -L' is not portable, and infact breaks uninstall 139 mode on Solaris. Fallback to `test -h' and finally `test -f', 140 but be careful not to let the failure status cause libtool to 141 stop. 142 143 From Simon Spero <ses@ibiblio.org> 144 * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while 145 checking for dlsym _. 146 147 From Simon Spero <ses@ibiblio.org> 148 * libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it! 149 150 * TODO: Make a note to undo this later. 151 From Christoph Pfisterer <cp@chrisp.de> 152 * libtool.m4: Use $() execution substitution quotation to work 153 around zsh builtin echo \ escape removal. 154 1552001-04-22 Peter Eisentraut <peter_e@gmx.net> 156 157 * bootstrap: Allow overriding the location aclocal, automake, 158 autoconf, autoheader from the environment. 159 160 * demo/Makefile.am: Automake 1.4e does not allow `+=' assignments 161 if the variable was not set with `=' earlier. `+=' was not useful 162 here anyway. 163 1642001-04-22 Gary V. Vaughan <gvv@techie.com> 165 166 * ltdl.m4 (AC_CHECK_HEADERS): UW7 has sys/dl.h, so we must 167 check for that here. 168 * libltdl/ltdl.c (HAVE_SYS_DL_H): Include it if necessary for 169 the dlopen loader. 170 Reported by Matthew Schalit <mschalit@pacbell.net> 171 172 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for 173 various releases of UnixWare and OpenServer that support it. 174 Reported by Matthew Schalit <mschalit@pacbell.net> 175 176 * doc/PLATFORMS: Updated with various platforms successfully 177 tested by members of libtool@gnu.org. 178 1792001-04-21 Gary V. Vaughan <gvv@techie.com> 180 181 * TODO: propose pkg-config merge. 182 1832001-04-21 Nick Hudson <skrll@netbsd.org> 184 185 * ltmain.in: Correct an error in yesterday's patch. 186 1872001-04-20 Nick Hudson <skrll@netbsd.org> 188 189 * libtool.m4: Improve NetBSD support. 190 * ltmain.in: ditto. 191 1922001-04-19 Dan McNichol <mcnichol@austin.ibm.com> 193 194 * libtool.m4: Build standard shared libraries on AIX POWER 195 more like AIX does, with a shared object archived into lib<xxx>.a. 196 On AIX -bexpall flag does strange things... Don't use it. 197 Fix quotes around -berok flag. Add support for AIX 5. 198 Add support for run time linking on AIX POWER. (should work 199 on AIX 4.2 and up). Turn this feature on by adding -brtl flag 200 to LD_FLAGS. Add support for AIX on IA64. Note: AIX on IA64 201 uses a SYSV type linker. Add a comment telling what to do if the 202 TOC starts getting too large on AIX. 203 * NEWS: mention aix5 support. 204 2052001-04-18 Alexandre Oliva <aoliva@redhat.com> 206 207 * TODO: Add -L- flag. 208 2092001-04-11 Alexandre Oliva <aoliva@redhat.com> 210 211 * libtool.m4 (no_undefined_flag) [Solaris ld]: Change to -zdefs. 212 2132001-04-11 Ossama Othman <ossama@uci.edu> 214 215 * AUTHORS: Added myself to the list of maintainers. 216 2172001-04-08 Gary V. Vaughan <gvv@techie.com> 218 219 * libtool.m4 (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl} 220 to pass -rpath when compiling with gcc. 221 Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> 222 223 * libltdl/ltdl.c (sys_shl_open): Cache a handle for the `self' 224 module, since HPUX adds module symbols into the `self' pool if 225 it is opened later. Return the cached pointer if the caller 226 subsequently tries to open `self'. 227 (sys_shl_sym): Diagnose NULL modules. 228 229 From Peter Eisentraut <peter_e@gmx.net> 230 * ltmain.in (clean,uninstall): test -e is not portable. Well, 231 neither is -L, but I'm hoping that redirecting error messages 232 to /dev/null and relying on non-zero exit status will work okay 233 on the few hosts that don't support -L. 234 2352001-04-08 Nick Hudson <skrll@netbsd.org> 236 237 * ltmain.in: Improve check for valid -version-info parameter. 238 2392001-04-08 Gary V. Vaughan <gvv@techie.com> 240 241 From Nick Hudson <skrll@netbsd.org> 242 * doc/Makefile.am (libtool_TEXINFOS): Add fdl.texi so that it 243 is included in the distribution. 244 2452001-04-07 Peter Eisentraut <peter_e@gmx.net> 246 247 * ltmain.in (clean,uninstall): Do not error if the file doesn't 248 exist and 'rm -f' was used. Exit with status 1 on error. 249 2502001-04-06 Nick Hudson <skrll@netbsd.org> 251 252 * ltmain.in: Implement a new deplibs_check_method called 253 match_pattern that does pattern matching on filenames... 254 * libtool.m4: ...use it with NetBSD 255 2562001-04-05 Gary V. Vaughan <gvv@techie.com> 257 258 * doc/libtool.texi (Multiple dependencies): A note about the 259 problems I've reintroduced by reverting the my patch of 2001-03-31. 260 261 From Edward Lee <tailbert@yahoo.com> 262 * libtool.m4: Typos. 263 264 * tests/Makefile.am (TESTS): Delete references to depdemo-dups.test. 265 * tests/depdemo-dups.test: Removed, as part of the patch 266 reversion below. 267 * ltmain.in: Revert my change from 2001-03-31. Although it 268 was technically correct, it opens a whole can of worms we don't 269 want to deal with right now. 270 271 From Ahmed Masud <masud@googgun.com> 272 * libltdl/ltdl.c (sys_shl_open): Return a NULL module handle 273 for self opening. 274 (sys_shl_close): Be careful not to close a NULL module handle. 275 (sys_shl_sym): Allow shl_findsym() to open NULL modules, but 276 discard the modified module address it returns. 277 278 * libltdl/ltdl.c (lt_dlopen): When reading the .la file, 279 reallocate the line buffer size if the line overflows the 280 original buffer. 281 Reported by Nick Hudson <skrll@netbsd.org> 282 283 * NEWS (1.3d) Removed bogus ltconfig reference. 284 2852001-04-03 Gary V. Vaughan <gvv@techie.com> 286 287 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Remove the spurious 288 `dnl' from the help text of --with-pic. 289 Reported by stefan <stefan@lkcc.org> 290 2912001-04-02 Gary V. Vaughan <gvv@techie.com> 292 293 * configure.in: bumped version to 1.3e. 294 295 GNU libtool 1.3d was released. 296 297 * NEWS: inserted todays date. 298 2992001-04-01 Christoph Pfisterer <cp@chrisp.de> 300 301 * libtool.m4: Fixed support for Darwin and Rhapsody. Now correctly 302 hardcodes the library path and adds versioning. Other small 303 fixes. 304 * ltmain.in: Fixed special cases for libc and libm on Rhapsody and 305 Darwin. One of them was misplaced. Added version_type case for 306 Rhapsody and Darwin, named "darwin". 307 3082001-03-31 Gary V. Vaughan <gvv@techie.com> 309 310 * ltmain.in: Remove the code for stripping duplicate deplibs 311 from libtool link lines -- duplicates are somtimes necessary 312 to satisfy inter-library dependencies, and never cause link to 313 fail even if they are spurious. 314 * tests/depdemo-dups.test: New file. Make sure this bug doesn't 315 creep back in again! 316 * tests/Makefile.am (TESTS): Use the new test above. 317 3182001-03-29 Edward M. Lee <tailbert@yahoo.com> 319 320 * libtoolize.in: Check configure.ac and prefer configure.ac to 321 configure.in. 322 323 * libtoolize.in: change recommendation from AM_PROG_LIBTOOL to 324 AC_PROG_LIBTOOL. 325 326 * libtool.m4: Generate dll/import libraries for cygwin according 327 to the following: libFOO.a (static lib), libFOO.dll.a (import 328 lib), cygFOO-version.dll (dll). Update postinstall_cmds and 329 postuninstall_cmds to reflect this. 330 * ltmain.in: Generate installed .la files with dlnames set to 331 ../bin/cygFOO-version.dll for normal dlls. dlls for modules 332 remain with the .la file. 333 334 * libltdl/ltdl.c: Use windows paths while calling LoadLibrary. 335 3362001-03-16 Albert Chin <china@thewrittenword.com> 337 338 * libtool.m4 (save_CPPFLAGS): Fix typo. 339 3402001-03-13 Alexandre Oliva <aoliva@redhat.com> 341 342 * libtool.m4 (lt_cv_compiler_c_o): Cache it. 343 (lt_cv_compiler_o_lo): Likewise. 344 3452001-03-09 Peter Eisentraut <peter_e@gmx.net> 346 347 * ltmain.in (clean): Automatically remove $objdir (usually '.libs'). 348 3492001-03-08 Gary V. Vaughan <gvv@techie.com> 350 351 * ltconfig.in (library_names_spec): Undo latin-1 spaces I pasted 352 in yesterday by mistake. 353 3542001-03-07 Gary V. Vaughan <gvv@techie.com> 355 356 From Tor Lillqvist <tml@iki.fi> 357 * libtool.m4 (export_symbols): On Windows, if the export_symbols 358 file (which has been passed to libtool with the -export-symbols 359 command line switch) already is a .def file, use it as is. 360 361 * libtool.m4 (library_names_spec): Using m4 quotes correctly this 362 time around! 363 364 From Tor Lillqvist <tml@iki.fi> 365 * libtool.m4 (library_names_spec): Use an appropriate filename 366 prefix for dlls -- lib for mingw; cyg for cygwin; pw for pw32. 367 3682001-03-06 Alexandre Oliva <aoliva@redhat.com> 369 370 * libtool.m4 (can_build_shared) [AIX 4.[01], GCC]: GCC up to 371 2.96 can't build shared libraries reliably. Disable them. 372 373 * ltmain.in: When dropping dependencies of a -no-undefined 374 library, give up on building a shared library. 375 3762001-03-05 Akim Demaille <akim@epita.fr> 377 378 * ltmain.sh: Don't quote the argument of case/esac and 379 assignments. 380 * libtool.m4: Likewise. 381 3822001-03-03 Markus F.X.J. Oberhumer <markus@oberhumer.com>, 383 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 384 385 * libtool.m4: Added explicit return type to all C functions. 386 3872001-02-22 Gary Vaughan <gvv@techie.com> 388 389 * NEWS: Updated. 390 * doc/libtool.texi (Thread Safety in libltdl): New node describing 391 the application the new MT API. 392 * libltdl/ltdl.h: Prototypes. 393 * libltdl/ltdl.c: Use these functions throughout the rest of 394 the file to provide thread locking. 395 (lt_dlmutex_register): New function to set callbacks for 396 multi-threaded calls into libltdl. 397 (lt_dl_mutex_lock): Type of a locking callback function. 398 (lt_dl_mutex_lock): Type of an unlocking callback function. 399 (lt_dl_mutex_seterror): Type of a callback function to save the 400 last libltdl error message in thread local storage. 401 (lt_dl_mutex_geterror): Type of a callback function to retrieve 402 the last saved error message from thread local storage. 403 4042001-02-20 Gary Vaughan <gvv@techie.com> 405 406 * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned 407 type to a negative number. 408 Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE> 409 4102001-02-05 Gary V. Vaughan <gvv@techie.com> 411 412 From Nick Hudson <skrll@netbsd.org> 413 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): netbsd* is able to 414 automatically load module deplibs without assistance from 415 libltdl. 416 4172001-02-02 Gary V. Vaughan <gvv@techie.com> 418 419 * libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset, 420 even when deplibs are not used because of the patch below. 421 422 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): If we know that the host 423 architecture automatically loads deplibs, then... 424 * libltdl/ltdl.c (load_deplibs): ...don't manually load each one. 425 4262001-01-31 Gary V. Vaughan <gvv@techie.com> 427 428 * TODO: Updated. 429 430 * libltdl/ltdl.c (load_deplibs): If loading a deplib fails, 431 don't sweat -- it may be a lib that is already statically linked 432 into the loading application. 433 434 * libltdl/ltdl.c: Clean up the shadowing of the global handles 435 variable. 436 (LT_DLRESIDENT_FLAGS): Add extra parens to satisfy -Wall. 437 (load_deplibs): Cast isspace() argument to an int to satisfy 438 -Wall. 439 4402001-01-30 Robert Boehne <rboehne@ricardo-us.com> 441 442 * AUTHORS: added myself to the list of maintainers. 443 4442001-01-28 Alexandre Oliva <aoliva@redhat.com> 445 446 * libltdl/Makefile.am (CLEANFILES): Clean conditionally-built 447 libraries. 448 4492001-01-27 Alexandre Oliva <aoliva@redhat.com> 450 451 * libtool.m4 (ld_shlibs) [aix4*]: Disable on unknown CPU types. 452 4532001-01-07 Gary V. Vaughan <gvv@techie.com> 454 455 * NEWS: Updated. 456 * doc/libtool.texi (User defined module data): Updated. 457 * libltdl/ltdl.c (lt_dlhandle_next): New function. 458 * libltdl/ltdl.h (lt_dlhandle_next): Prototypes. 459 4602001-01-05 Gary V. Vaughan <gvv@techie.com> 461 462 * NEWS: Updated. 463 * doc/libtool.texi (User defined module data): Document it all. 464 * ltdl.m4: Check for memcpy, or else bcopy. 465 * ltdl.c (lt_caller_data): New type. 466 (lt_dl_handle_struct): Add an lt_caller_data field. 467 (lt_dlcaller_register, lt_dlcaller_set_data, 468 lt_dlcaller_get_data): New functions. 469 (rpl_memcpy): A minimal fallback implementation. 470 (rpl_realloc): A realloc implemented with lt_dlmalloc and 471 lt_dlfree. 472 (LT_DLMALLOC, LT_DLFREE, LT_DLREALLOC, LT_DLMEM_REASSIGN): 473 New memory handling convenience macros. Use them 474 appropriately throughout the rest of this file. 475 * ltdl.h (lt_dlcaller_register, lt_dlcaller_set_data, 476 lt_dlcaller_get_data): Prototyped. 477 4782001-01-04 Gary V. Vaughan <gvv@techie.com> 479 480 * libltdl/ltdl.h: formatting change. 481 4822000-12-23 Gary V. Vaughan <gvv@techie.com> 483 484 From vvv@vsu.ru: 485 * doc/fdl.texi (GNU Free Documentation License): contained @bye 486 command which prevented part of document to be generated (indices, 487 etc). 488 * doc/libtool.texi (Dlpreopening): the @deftypevar did not contain 489 a space after a type. 490 4912000-12-22 Akim Demaille <akim@epita.fr> 492 493 * libtool.m4: s/[ \t]*$// 494 4952000-12-22 Aneesh Kumar K.V <kvaneesh@hotmail.com> 496 497 * libtool.m4 (OSF/1): Revert my patch of 2000-12-16. 498 4992000-12-20 Gary V. Vaughan <gvv@techie.com> 500 501 * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the 502 wrong module. 503 Reported by Robert Boehne <rboehne@ricardo-us.com> 504 505 * ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch 506 below can detect preopened library deplibs correctly in libltdl, 507 we need to ensure that libtool library deplibs are also preloaded 508 into the binary for that phase to work. 509 5102000-12-16 Aneesh Kumar K.V <kvaneesh@hotmail.com> 511 512 * libtool.m4 (OSF/1): Change the way to pass linker flags through 513 compiler on a Tru64 machine. 514 5152000-12-16 Gary V. Vaughan <gvv@techie.com> 516 517 * libtool.m4 (sys_lib_search_path_spec): Use test instead of 518 `['. 519 (archive_cmds): And another one. 520 521 * libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the 522 last patch. 523 524 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): moved rogue settings from 525 sequent, ncr and newos6 back into here from other macros. 526 5272000-12-16 Wilfredo Sanchez <wsanchez@apple.com> 528 529 * libtool.m4: (dyld/darwin*) Much improved port. 530 * ltmain.in: (dyld/darwin*) Much improved port. 531 5322000-12-16 Sascha Schumann <sascha@schumann.cx> 533 534 * libtool.m4: Accept darwin as an alias for rhapsody. 535 * ltmain.in: ditto. 536 537 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use the HPUX 10.20 538 methods to check for library dependencies on HPUX 11. 539 5402000-12-16 Nick Hudson <skrll@netbsd.org> 541 542 * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support 543 for NetBSD a.out. 544 5452000-12-15 Akim Demaille <akim@epita.fr> 546 547 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename 548 `ac_cv_sys_global_symbol_pipe' as `lt_cv_sys_global_symbol_pipe'. 549 Similarly with `lt_cv_global_symbol_to_cdecl 550 (_LT_AC_LTCONFIG_HACK): Similarly with `ac_cv_prog_cc_pic', 551 `ac_cv_prog_cc_shlib', `ac_cv_prog_cc_wl', `ac_cv_prog_cc_static', 552 `ac_cv_prog_cc_no_builtin', `ac_cv_prog_cc_can_build_shared', 553 `ac_cv_prog_cc_static_works', `ac_cv_archive_cmds_need_lc'. 554 (AC_PATH_TOOL_PREFIX): Similarly with `ac_cv_path_MAGIC_CMD' 555 (AC_PROG_LD) <ac_cv_path_LD>: Likewise. 556 (AC_PROG_LD_GNU) <ac_cv_prog_gnu_ld>: Likewise. 557 (AC_PROG_NM) <ac_cv_path_NM>: Likewise. 558 5592000-12-15 Utz-Uwe Haus <haus@mail.math.uni-magdeburg.de> 560 561 * libltdl/ltdl.c (lt_dlopen): Changed "dl_dependency_libs" keyword 562 to "dependency_libs". 563 5642000-12-14 Tod Milam <tmilam@traclabs.com> 565 566 * libltdl/ltdl.c (lt_dlexit): Reset the loaders value to zero when 567 the last module has been unloaded. 568 5692000-12-14 Michael Schmitz <mschmitz@iname.com> 570 571 * libtool.m4: Port to *-sni-sysv4 (Reliant Unix) 572 * README: added Reliant Unix to hte list of supported platforms 573 * doc/PLATFORMS: added note on tests on Reliant Unix 574 5752000-12-14 Masahiro Nobori <nobori@ss.titech.ac.jp> 576 577 * README: Updated. 578 * NEWS: Updated. 579 * libtool.m4: New port to NEWS-OS Release 6. 580 5812000-12-14 Nick Hudson <skrll@netbsd.org> 582 583 * libtool.m4 (hardcode_libdir_flag_spec): Remove linker 584 specification for netbsd. 585 5862000-12-14 Akim Demaille <akim@epita.fr> 587 588 * libtool.m4: Don't depend on Autoconf internals: 589 s/ac_cv_prog_gcc/GCC/. 590 5912000-12-14 Gary V. Vaughan <gvv@techie.com> 592 593 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't empty 594 out ac_cv_global_symbol_to_cdecl inside the loop, incase we 595 need to go around again and try with underscore prefix. 596 (_LT_AC_TRY_DLOPEN_SELF): On some hosts (cygwin for instance) 597 self dlclosing unloads the main program and causes a SIGSEGV. So 598 don't do it for now. 599 6002000-12-05 Gary V. Vaughan <gvv@techie.com> 601 602 Oh My! Cygwin support has bitrotted while I was looking the other 603 way. This should fix it some: 604 * libtool.m4 (extract_expsyms_cmds): There is a quoting problem 605 with autoconf-2.13 that prevents [$]0 from expanding. Use shell 606 quotes instead to delay eval of $0. 607 (impgen.c) The '# ' sequence stripped by sed works again. 608 6092000-12-01 Gary V. Vaughan <gvv@techie.com> 610 611 * doc/libtool.texi (Libltdl interface): Add documentation. 612 * libltdl/ltdl.h (lt_dlmakeresident, lt_dlisresident): Add 613 prototypes. 614 (LT_DLERROR_CLOSE_RESIDENT_MODULE): New error status. 615 * libltdl/ltdl.c (lt_dlmakeresident, lt_dlisresident): Allow 616 making and testing of resident module status, which prevents a 617 module from being lt_dlclosed. 618 (lt_dlopen): If lt_dlopen()ing self, make the module resident. 619 (lt_dlclose): Return an error if the module is resident. 620 621 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Move the tests for dlopen 622 from here... 623 (AC_LIBTOOL_DLOPEN_SELF): ...to here. 624 (_LT_AC_CHECK_DLFCN): Factor out repeated code for dlfcn.h 625 (_LT_AC_TRY_DLOPEN_SELF): Factor out repeated code for 626 checking dlopen status. 627 * ltdl.m4 (AC_LIB_LTDL): Use _LT_AC_CHECK_DLFCN. 628 dlopen compile time checking. Use _LT_AC_CHECK_DLFCN. 629 (AC_LTDL_DLSYM_USCORE): Use _LT_AC_TRY_DLOPEN_SELF. 630 6312000-11-29 Gary V. Vaughan <gvv@techie.com> 632 633 * libltdl/ltdl.h (lt_dlhandle): Rename the wrapped structure 634 to prevent nameclash when used from C++. 635 * libltdl/ltdl.c: Fixed all references. 636 6372000-11-25 Gary V. Vaughan <gvv@techie.com> 638 639 * libltdl/ltdl.c (lt_dlopen): Change the default search order 640 for modules. If the named module has no directory component, 641 always start the search with the user_search_path directories, 642 and then fall back on the current directory only if that fails. 643 6442000-11-20 Gary V. Vaughan <gvv@techie.com> 645 646 * libltdl/Makefile.am (libltdl_la_LDFLAGS): increment the version 647 number to reflect the breakage of binary compatibility. 648 * doc/libtool.texi (Libltdl interface): Document 649 LT_NON_POSIX_NAMESPACE. 650 * libltdl/ltdl.h (LT_POSIX_NAMESPACE): Deleted. The default is 651 now to use this namespace, so the cpp macro is no longer 652 necessary. 653 6542000-11-20 Morten Eriksen <mortene@sim.no> 655 656 * ltdl.m4 (AC_LIB_LTDL, AC_LTDL_SYMBOL_USCORE): Break a circular 657 dependency between AC_LTDL_SYMBOL_USCORE and AC_LTDL_DLSYM_USCORE. 658 6592000-11-20 Paul Berrevoets <paul@swi.com> 660 661 * ltmain.in: Some versions of expr respond with "0" if a 662 regexp fails to match. 663 6642000-11-19 Paul Berrevoets <paul@swi.com> 665 666 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and 667 $3 in variable 'archive_expsym_cmds' for cygwin. 668 6692000-11-19 Gary V. Vaughan <gvv@techie.com> 670 671 * ltdl.c: Relegate non-POSIX-compliant symbols (e.g. those 672 ending in ``_t'') to deprecated #define compatibility macros. 673 Also ease up on the namespace pollution, so that only ``lt_'' 674 and ``LT_'' prefixes are taken from the global namespace. 675 * ltdl.h: ditto. 676 6772000-11-17 Gary V. Vaughan <gvv@techie.com> 678 679 * ltdl.c: Reformatted. 680 * ltdl.h: ditto. 681 6822000-11-11 Gary V. Vaughan <gvv@techie.com> 683 684 * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Use $ac_ext for conftest 685 sourcefile. 686 * libtool.m4: Use $ac_ext and $ac_objext respectively for conftest 687 sources and objects. 688 Reported by Carlo Wood <carlo@alinoe.com> 689 690 * doc/fdl.texi: New file. The license for distributing the 691 libtool manual. 692 * doc/libtool.texi: Reference the new license. 693 6942000-10-31 Morten Eriksen <mortene@sim.no> 695 696 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote argument to avoid 697 error output from cygpath when $srcdir is empty. 698 6992000-10-31 Gary V. Vaughan <gvv@techie.com> 700 701 * bootstrap: rm Makefiles to prevent infinite loop during 702 configure when libtool.m4 is newer than Makefile. 703 7042000-10-31 Akim Demaille <akim@epita.fr> 705 706 * libtool.m4: Adjust the copyright notice. 707 Quote all the macro names when defined. 708 Some minor formatting changes. 709 (AM_PROG_LIBTOOL, AM_ENABLE_SHARED, AM_ENABLE_STATIC) 710 (AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_PROG_LD, AM_PROG_NM): 711 Don't use indir when useless. Don't add trailing `dnl' either. 712 7132000-10-30 Gary V. Vaughan <gvv@techie.com> 714 715 * doc/libtool.texi: Corrected another attack of CRLF line 716 endings. 717 7182000-10-30 Ossama Othman <ossama@debian.org> 719 720 * libtool.m4 (archive_expsym_cmds): Fix typo where line was broken 721 in the middle of an expression. 722 7232000-10-30 Aneesh Kumar K.V <kvaneesh@hotmail.com> 724 725 * libtool.m4 (archive_expsym_cmds): Support for -export-symbol 726 option on Tru64. 727 (hardcode_libdir_flag_spec): Fixed cxx throwing error while using 728 libtool. Done by passing -rpath directlty to the compiler. 729 7302000-10-27 Robert Boehne <rboehne@ricardo-us.com> 731 732 * docs/libtool.texi: Added pointers to documentation 733 of Hewlett-Packard, Compaq Tru64 and IBM AIX systems. 734 7352000-10-02 Gary V. Vaughan <gvv@techie.com> 736 737 From Bruce Korb <bkorb@cruzio.com> 738 * ltmain.in (execute_dlfiles): Reduce obfuscation. 739 7402000-09-30 Alexandre Oliva <aoliva@redhat.com> 741 742 * libtool.m4 [netbsd*] (deplibs_check_method, file_magic_cmd, 743 file_magic_test_file): Removed inappropriate duplicate 744 definitions; these variables are set in AC_DEPLIBS_CHECK_METHOD. 745 746 * libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or 747 '${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files. 748 (ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD. 749 7502000-09-28 Gary V. Vaughan <gvv@techie.com> 751 752 * libtool.m4 (MAGIC_CMD): Don't use MAGIC, since BSD versions of 753 the file command use this environment variable to hold the 754 location of the magic database. 755 Reported by Marc Espie <Marc.Espie@liafa.jussieu.fr> 756 7572000-09-19 Gary V. Vaughan <gvv@techie.com> 758 759 * doc/PLATFORMS: Updated. 760 * demo/configure.in: Revert to the `libtool --features' test. 761 * Makefile.am (libtool): This needs to rerun configure now that 762 libtool is generated entirely by AC_PROG_LIBTOOL again. 763 (ltconfig): Removed. 764 (ltmain.sh): Is now regenerated when ltmain.in changes. 765 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Now does all of the work for 766 generating libtool immediately in configure.in, rather than 767 deferring part of the creation until config.status runs. 768 7692000-09-17 Gary V. Vaughan <gvv@techie.com> 770 771 * bootstrap: Backed out yesterdays patch which is no longer 772 necessary. 773 * Makefile.am (libtool): Reworked rule for regeneration of libtool, 774 now that it is built entirely withing config.status. 775 (libtoolize): Tidied for orthogonality with the other generation 776 rules. 777 (ltconfig): This is now generated by AC_PROG_LIBTOOL, called from 778 make by running config.status --recheck. 779 (ltmain.sh): Moved primary generation of this file into here... 780 * configure.in (AC_OUTPUT): ...instead of here. 781 * libtool.m4 (AC_OUTPUT_COMMANDS): Write the config to ltconfig 782 where it can be reused, rather than directly to libtool. 783 * demo/configure.in: libtool is no longer present immediately 784 after AC_LIBTOOL_M4 has completed, so the tests now grep through 785 ltconfig instead -- which *will* be present. 786 7872000-09-16 Gary V. Vaughan <gvv@techie.com> 788 789 * TODO: Removed the item describing the change below, and added a 790 similar item to remind us to change the ltdl.m4 macros again when 791 _LT_AC_LTCONFIG_HACK is divided into proper macros. 792 * ltdl.m4 (AC_LTDL_SNARF_CONFIG): Removed. No longet required 793 now that ltconfig has migrated to libtool.m4. 794 (AC_LTDL_SHLIBEXT): Require _LT_AC_LTCONFIG_HACK. 795 (AC_LTDL_SHLIBPATH): ditto. 796 (AC_LTDL_SYSSEARCHPATH): ditto. 797 798 * ltdl.m4 (AC_LTDL_DLPREOPEN): Require the libtool.m4 symbol_pipe 799 macro. 800 (AC_LTDL_SYMBOL_USCORE): ditto. 801 (AC_LTDL_GLOBAL_SYMBOL_PIPE): Removed, since it is a duplicate 802 of... 803 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): ...this new 804 macro, extracted from _LT_AC_LTCONFIG_HACK. 805 806 * ltdl.m4 (changequote): An audit of changequote and m4 807 quote usage -- all changequotes have been removed, and some 808 latent unquoted `[' and `]' bugs have been fixed. 809 810 * configure.in (AC_OUTPUT): ltmain.sh must be generated in the 811 source tree since this is where it would be found in a freshly 812 unrolled tarball. 813 814 * configure.in: Replace `dnl' comments with `#' comments for 815 more conformity with cvs autoconf. 816 Removed emacs hack-local-variables, since there is now a 817 proper Autoconf major mode. 818 Removed a couple of changequote()s. 819 820 * bootstrap (ltconfig): When bootstrapping libtool with a 821 stock automake (i.e. without the README patch applied), 822 references to ltconfig are manually removed from the generated 823 Makefile.in files. 824 8252000-09-15 Gary V. Vaughan <gvv@techie.com> 826 827 * doc/libtool.texi: Removes references to ltconfig, and a small 828 amount of tidying up to compensate. 829 8302000-09-15 Nick Hudson <skrll@netbsd.org> 831 832 * libtool.m4 (netbsd): Improved support. 833 8342000-09-15 Gary V. Vaughan <gvv@techie.com> 835 836 * ltmain.in (version_type): Use "-iface" as the windows 837 versioning scheme, where iface is the number of the oldest 838 interface supported. 839 8402000-09-14 Gary V. Vaughan <gvv@techie.com> 841 842 From Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 843 * libtool.m4 (pw32): Initial support for pw32, assuming that 844 libtool's behaviour in this environment is identical to under 845 cygwin. 846 * ltmain.in (pw32): ditto. 847 * NEWS: Updated. 848 849 * libtool.m4 (changequote): An audit of changequote and m4 850 quote usage -- all changequotes (except a few with non-nesting 851 square brackets) have been removed. 852 853 * Makefile.am (EXTRA_DIST): The bootstrap script should be 854 distributed with libtool. 855 8562000-09-13 Gary V. Vaughan <gvv@techie.com> 857 858 libtool.m4 (_LT_AC_LTCONFIG_HACK): Oh man! Third time lucky. 859 I just discovered that '&' needs to be escaped inside 860 AC_TRY_EVAL. 861 8622000-09-12 Michael Matz <matz@ifh.de> 863 864 * ltmain.in: Be careful about filenames with multiple `.'s in 865 them when calculating file extensions. 866 Reported by Joel Reed <jreed@support.ddiworld.com> 867 8682000-09-12 Gary V. Vaughan <gvv@techie.com> 869 870 libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a 871 bug in Autoconf-2.13 AC_REQUIRE implementation which inserted 872 some of the expanded tests too early in the generaated configure. 873 (_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines 874 itself to an empty expansion to prevent multiple expansions. 875 configure.in (AC_LIBTOOL_SETUP): Replaced by a call to 876 AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked 877 around. 878 8792000-09-09 Gary V. Vaughan <gvv@techie.com> 880 881 libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to escape the 882 redirections inside AC_TRY_EVAL in the need_lc tests. Doh! 883 884 libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to redirect the 885 output of grep to /dev/null in the need_lc tests. 886 887 configure.in (AC_PROG_LIBTOOL): Using this in libtools own 888 configure.in interacts badly with the AC_PROVIDE calls and 889 results in several tests being inserted into configure too 890 early. Use AC_LIBTOOL_SETUP instead. 891 8922000-09-08 Gary V. Vaughan <gvv@techie.com> 893 894 libtool.m4 (_LT_AC_LTCONFIG_HACK): The ltconfig.in code I 895 ported from ltconfig.in was incomplete -- this is a backport 896 of the missing code taken from the multi-language branch. 897 8982000-09-07 Pavel Roskin <proskin@gnu.org> 899 900 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Fixed incorrect use of 901 changequote 902 9032000-09-07 Gary V. Vaughan <gvv@techie.com> 904 905 * NEWS: Updated. 906 * TODO: Add a reminder to get rid of ltconfig in mlb. 907 * README: Until things even out, I have added a note and a 908 patch to make the installed automake cooperate with the new 909 ltconfig free libtool. 910 911 * libtool.m4 (_LT_AC_LTCONFIG_HACK): with_gcc is only useful in 912 ltmain.sh as it has not yet been set in libtool.m4. Use 913 $ac_cv_prog_gcc instead. 914 915 * doc/PLATFORMS: Updated. 916 917 * configure.in (AC_PROG_AWK): Removed -- no longer required by 918 the build process. 919 * lineno: ditto. 920 921 * libtoolize.in (files): Don't try to install ltconfig -- it 922 doesn't exist!! 923 * bootstrap: Fake an ltconfig incase the installed automake 924 calls an installed libtoolize (as part of its --add-missing 925 process) which thinks ltconfig should be there. 926 927 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Deleted a vital `;;' 928 terminator from a case statement by mistake. 929 930 * Makefile.am (ltmain.sh): Make this depend on TSDEPS again 931 so that the Changelog timestamp is used for ltmain.sh at `make 932 dist' time. 933 9342000-09-06 Gary V. Vaughan <gvv@techie.com> 935 936 libtool.m4 now contains a version of the code that used to run 937 from ltconfig, so that ltmain.sh and then libtool are 938 generated at configure time. 939 940 * Makefile.am: Don't generate ltmain.sh or ltconfig anymore. 941 * bootstrap: ltconfig is no more! 942 * configure.in: Call AC_PROG_LIBTOOL directly. 943 (AC_OUTPUT): Generate tmain.sh. 944 * libtool.m4: Don't build an argument list for ltconfig. 945 (_LT_AC_LTCONFIG_HACK): Refactoring of the former contents of 946 ltconfig.in to take advantage of the m4 macros from autoconf. 947 * ltmain.in: Don't do a version check against ltconfig. 948 * tests/assign.test: Remove reference to ltconfig. 949 * tests/hardcode.test: ditto. 950 * tests/sh.test: ditto. 951 9522000-09-05 Alexandre Oliva <aoliva@redhat.com> 953 954 * depdemo/main.c: Support -alt. 955 * tests/build-relink2.test: Try it. 956 957 * ltconfig.in: Removed all references to what used to be 958 hardcode_into_libs=all. 2000-09-03's patch was wrong. 959 * ltmain.in: Likewise. 960 * tests/build-relink.test, tests/build-relink2.test: Adjust. 961 * mdemo/Makefile.am (lib_LTLIBRARIES): Move libsub.la before 962 libfoo2.la, so that they're installed in the right order. 963 9642000-09-04 Alexandre Oliva <aoliva@redhat.com> 965 966 * tests/dryrun.test: Build libsub.la along with the object files, 967 since it is needed by libfoo2.la. 968 969 * mdemo/Makefile.am: Mark only libfoo2 as -no-undefined. 970 Explicitly link it with libsub.la. 971 972 * ltconfig.in (need_lc): Preserve allow_undefined_flag. 973 974 * tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on 975 `. /dev/null'. Set CONFIG_SITE to /dev/null/config/site, to make 976 sure we pick a non-existent file. 977 978 * Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with 979 ECHO down to ltconfig. 980 981 * ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec): 982 Use ${wl}, not ${wlarc}. 983 984 * ltmain.in (compile, need_lock): Don't create nor remove lock 985 files in dry runs. 986 987 * libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use 988 lt_dlopenext() instead. 989 990 * ltmain.in (link -static): Don't add $link_static_flag; only 991 -all-static should do that. 992 * mdemo/configure.in: Revert part of the previous delta. 993 994 * mdemo/configure.in: Don't use -static on AIX4.1. 995 * mdemo/Makefile.am: Likewise. 996 9972000-09-03 Alexandre Oliva <aoliva@redhat.com> 998 999 * ltconfig.in: Get rid of hardcode_into_libs=all; use 1000 hardcode_into_libs=yes && shlibpath_overrides_runpath!=yes 1001 instead. 1002 [FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set to no. 1003 * ltmain.in: Likewise. 1004 * tests/build-relink.test, tests/build-relink2.test: Adjust. 1005 1006 * libtool.m4: Fix typo I introduced in yesterday's patch. 1007 1008 * libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if 1009 dlname is empty. 1010 1011 * ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld. 1012 * ltconfig.in: Likewise. 1013 1014 * tests/mdemo-exec.test: Modify failure message. 1015 1016 * ltmain.in (newdlprefiles): Use dlname if it's available and 1017 old_library isn't; use linklib only if dlname is not available. 1018 1019 * ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no. 1020 1021 * libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL. 1022 Quote $@ properly so that the shell expands it, not m4. 1023 1024 * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL 1025 can be `/path/to/shell -x'. 1026 1027 * tests/quote.test: Move the match test out of case statements, to 1028 work around bug in /bin/sh of several OSs. 1029 1030 * ltmain.in (variables_saved_for_relink): Attempt to unset them 1031 instead of setting them to an empty string. 1032 10332000-09-02 Alexandre Oliva <aoliva@redhat.com> 1034 1035 * ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds) 1036 <solaris*, sysv5*, beos*>: Use compiler_flags instead of linker 1037 flags. 1038 Reported by Alex Hornby <alex@anvil.co.uk> 1039 10402000-09-02 Makoto Ishisone <ishisone@sra.co.jp> 1041 1042 * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo, 1043 add support for compact format library. 1044 10452000-09-02 Alexandre Oliva <aoliva@redhat.com> 1046 1047 * ltdl.m4: Oops, I had forgotten to commit this part of Syd Polk's 1048 patch from 2000-06-17. 1049 10502000-09-02 Tom Kacvinsky <tjk@ams.org>, Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> 1051 1052 * libtool.m4: Ignore Tru64's nm's complaint. 1053 10542000-09-02 Pavel Roskin <proski@gnu.org> 1055 1056 * ltconfig.in: only load $cache_file if it's a regular file 1057 10582000-09-02 Assar Westerlund <assar@sics.se> 1059 1060 * ltconfig.in: Add back ranlib calls for static libraries if there 1061 is a ranlib. 1062 10632000-08-31 Gary V. Vaughan <gvv@techie.com> 1064 1065 Move the echo detection code to a macro in libtool.m4. The code 1066 at the top ofltconfig.in is ugly, but will go away when the rest 1067 of ltconfig is migrated. 1068 1069 * Makefile.am (libtool): Pass the value of $ECHO to ltconfig as 1070 an environment variable. 1071 * libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value 1072 correctly so that it inserts the correct code into configure.in 1073 suitably quoted for M4 expansion. This code needs to be near 1074 the top of configure.in as it calls itself recursively, so I 1075 am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS 1076 Autoconf). The value of ECHO is also substitued into the 1077 Makefile to be used when Make calls ltconfig to generate 1078 libtool, so another layer of quotation is required for the 1079 Makefile. 1080 (AC_LIBTOOL_SETUP): Use it. 1081 * ltconfig.in: Accept a value for ECHO from the environment, and 1082 carefully substitue for $0 if it is present in the ECHO value. 1083 Because ECHO was quoted for Make, when ltconfig is called by 1084 configure, it is overquoted, and one layer of quotes must be 1085 stripped. 1086 10872000-08-27 Gary V. Vaughan <gvv@techie.com> 1088 1089 * ltconfig.in (with_gcc): Make the value of this option 1090 available to the generated libtool script. 1091 * ltmain.in (compile_command, finalize_command): The native C 1092 and C++ compilers on IRIX require the -LANG:std in order to to 1093 compile correctly. The same options should _not_ be passed 1094 through to gcc on IRIX, or at all on other architectures for 1095 backwards compatibility (among others). 1096 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us> 1097 Reported by Albert Chin-A-Young <china@thewrittenword.com> 1098 10992000-08-26 Gary V. Vaughan <gvv@techie.com> 1100 1101 * ltconfig.in (old_reload_flag): typo. 1102 11032000-08-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1104 1105 * ltmain.in (shtool): Use echo|grep instead of expr, as in the 1106 original patch. 1107 11082000-08-01 Alexandre Oliva <aoliva@redhat.com> 1109 1110 * ltconfig.in (need_lc): Fix test message. 1111 11122000-07-24 Mocha <netbsd_alpha@yahoo.com> 1113 1114 * ltconfig.in (NetBSD, deplibs_check_method): Use file_magic. 1115 (NetBSD, file_magic_cmd, file_magic_test_file): Set. 1116 11172000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, David Kaelbling <drk@orchietta.hudson.sgi.com> 1118 1119 * ltmain.in (irix, major): Prepend a `.'. 1120 * ltconfig.in (irix, soname_spec, library_names_spec): Adjust. 1121 11222000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Ralf S. Engelschall <rse@engelschall.com> 1123 1124 * ltmain.in: Support GNU shtool's install. 1125 11262000-07-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1127 1128 * ltconfig.in (linkopts): Don't set for test. 1129 11302000-07-24 Nick Hudson <skrll@netbsd.org> 1131 1132 * ltconfig.in (linkopts): Replace with linker_flags. 1133 1134 * ltmain.in (ILD): Fix addition of deplibs in relink case. 1135 11362000-07-18 H.J. Lu <hjl@gnu.org> 1137 1138 * ltconfig.in: Check if -lc is necessary for building shared 1139 library. Set build_libtool_need_lc to indicate it. 1140 * ltmain.in: Add -lc when building shared library only if 1141 necessary. 1142 11432000-07-10 Mo DeJong <mdejong@redhat.com> 1144 1145 * libtool.m4 (AC_PROG_NM): Fix macro so that it 1146 finds a cross NM on the PATH. 1147 11482000-07-10 Ken Block <block@zk3.dec.com> 1149 1150 * libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not 1151 by Compaq C++ compiler 1152 11532000-07-10 Alexandre Oliva <aoliva@lsd.ic.unicamp.br> 1154 1155 * ltconfig.in (wlarc, netbsd, aout): Set to empty. 1156 (hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it. 1157 1158 * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable 1159 shared libraries just because of MkLinux. 1160 1161 * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend 1162 on $version_type; check for ELF support as in other BSDs. 1163 11642000-06-17 Syd Polk <spolk@redhat.com> 1165 1166 * libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based 1167 on target; use host instead. 1168 11692000-05-30 Gary V. Vaughan <gvv@techie.com> 1170 1171 * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when 1172 the echo probing code falls into this branch without setting 1173 this variable. 1174 1175 * ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds 1176 were reversed with respect to definition of __ELF__. 1177 From Keisuke Inoue <keisuke@csl.sony.co.jp> 1178 11792000-05-29 Gary V. Vaughan <gvv@techie.com> 1180 1181 * libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for 1182 freebsd (below). 1183 * libtool.m4 (netbsd ELF): support file_magic. 1184 From Dan Winship <danw@helixcode.com>. 1185 11862000-05-29 Steven M. Schultz <sms@moe.2bsd.com> 1187 1188 * libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd 1189 command. Under BSD/OS 4.1 several libraries are now symlinks 1190 rather than regular files. Adding -L tells the file program 1191 to follow the symlink. 1192 11932000-05-29 Gary V. Vaughan <gvv@techie.com> 1194 1195 * libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,). 1196 1197 * NEWS: Updated. 1198 * libtool.m4 (i*86-*-freebsd*): Support a.out shared libs. 1199 From <suzukis@file.phys.tohoku.ac.jp> 1200 12012000-05-29 Fred Fish <fnf@be.com> 1202 1203 Support AR=mwld AR_FLAGS='-xml -o' for PPC Beos. 1204 * ltconfig (old_AR_FLAGS): Add. 1205 (old_archive_cmds): Use AR_FLAGS rather than hardcoding "cru". 1206 (archive_cmds): Use AR_FLAGS rather than hardcoding "cru". 1207 (AR_FLAGS): Default to "cru" if not set. 1208 12092000-05-29 Gary V. Vaughan <gvv@techie.com> 1210 1211 * ltconfig.in (echo): The following code actually prints the 1212 double quotes -- so I removed them: 1213 echo='printf "%s\n"' /bin/ksh -c '$echo \\t' 1214 From Tuukka Toivonen <tutoivon@mail.student.oulu.fi> 1215 1216 * NEWS: Updated. 1217 12182000-05-29 Bernhard Rosenkraenzer <bero@redhat.de> 1219 1220 * libtool.m4: adding ia64 as supported linux platform 1221 12222000-05-29 Michael Matz <matz@ifh.de> 1223 1224 * ltmain.in: fix quoting for $var_value. 1225 1226 * ltconfig.in: check for dlfcn.h: include return value 1227 to make -Wall in CFLAGS work. 1228 12292000-05-27 Gary V. Vaughan <gvv@techie.com> 1230 1231 * README-alpha: note new location of config.(guess|sub). 1232 12332000-05-27 Chad Cunningham <ccunning@math.ohio-state.edu> 1234 1235 * ltconfig.in (rhapsody*): New Port. 1236 * ltmain.in (rhapsody*): ditto. 1237 12382000-05-27 Chris Lattner <sabre@skylab.org> 1239 1240 * ltconfig.in (*-sequent-sysv4): New Port. 1241 12422000-05-17 Gary V. Vaughan <gvv@techie.com> 1243 1244 * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path 1245 separators. 1246 12472000-05-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1248 1249 * libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE): 1250 Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir. 1251 * mdemo/configure.in: Remove comments on 1252 AC_LIBLTLD_CONVENIENCE. 1253 1254 * libtool.m4 (_AC_PROG_LIBTOOL): Renamed from... 1255 (AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid 1256 effects of multiple runs. 1257 12582000-05-11 Thomas Tanner <tanner@ffii.org> 1259 1260 * NEWS: update 1261 * doc/libtool.texi (libltdl): rename lt_(find|next|add|remove)_dlloader 1262 to lt_dlloader_* 1263 * libltdl/ltdl.c: ditto 1264 * libltdl/ltdl.h: ditto, add declaration of lt_dlloader_(find|remove) 1265 12662000-05-06 Pavel Roskin <pavel_roskin@geocities.com> 1267 1268 * libltdl/ltdl.c: Typo. 1269 1270 * libtool.m4 (AC_LIBTOOL_SETUP): CVS autoconf no longer sets 1271 target to "NONE", but to an empty string. 1272 12732000-05-05 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> 1274 1275 * ltdl.c: support lt_dlopen(0) for win32 1276 12772000-05-03 Thomas Tanner <tanner@ffii.org> 1278 1279 * doc/libtool.texi (libltdl): fix typos, 1280 INCLTDL starts with top_srcdir, replace NULL with @code{NULL} 1281 1282 * ltmain.in (ILD): search in newlib_search_path, too 1283 1284 * ltmain.in (ILD): fix bugs in conv pass, expand convenience 1285 libs to deplibs and link them later on 1286 1287 * ltmain.in (ILD): don't allow convenience libs to be 1288 -dlopen/preopen'ed 1289 1290 * ltmain.in (ILD): it's not required to link all deplibs 1291 in fast-install mode 1292 1293 * ltmain.in (ILD): if hardcode_into_libs=all, only relink 1294 a library if it is linked against uninstalled libtool libraries, 1295 rename link_against_libtool_libs to uninst_deplibs 1296 1297 * ltmain.in (ILD): tidy up, add some comments 1298 12992000-05-03 John Wehle (john@feith.com) 1300 1301 * libtool.m4 (hpux10.20*): use file_magic for 1302 inter-library dependency tracking. 1303 13042000-05-02 Gary V. Vaughan <gvv@techie.com> 1305 1306 * AUTHORS: Update my email address. 1307 * commit: ditto. 1308 13092000-04-11 Thomas Tanner <tanner@ffii.org> 1310 1311 * NEWS: update 1312 * libtool.m4: add AC_LIBTOOL_PICMODE 1313 * ltconfig.in: move pic_mode checks to ltmain.in 1314 * ltmain.in: add -prefer-pic and -prefer-non-pic 1315 13162000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1317 1318 * ltmain.in (tmpdir): Do not accept an existing directory, and 1319 force its mode to 700, for security reasons. 1320 Reported by Joseph S. Myers <jsm28@cam.ac.uk> 1321 13222000-03-27 Thomas Tanner <tanner@ffii.org> 1323 1324 * NEWS: reformatting 1325 1326 * ltmain.in (ILD): add extra convenience library scanning pass 1327 1328 * ltmain.in (ILD): accept -R flags for libraries, too 1329 1330 * ltmain.in (ILD): correclty merge the dlpreopened libraries 1331 with deplibs 1332 1333 * ltmain.in (install mode): remove directories from filenames 1334 before relinking (reported by Elrond <Elrond@Wunder-Nett.org>) 1335 1336 * doc/libtool.texi (libltdl): rename Library -> Lesser, 1337 clarify exception clause 1338 * libltdl/ltdl.c, libltdl.h (License): ditto 1339 13402000-03-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1341 1342 * ltconfig.in (variables_saved_for_relink): Set to `PATH 1343 $shlibpath_var $runpath_var'. If with_gcc, add gcc-related 1344 environment variables. Add it to the configuration section. 1345 * ltmain.in (relink_command): Expand those variables. 1346 13472000-03-14 Christopher A. Knight <chriskn@crt.com> 1348 1349 * ltconfig.in: added main() definition in compile 1350 check for header `dlfcn.h' to fix link errors 1351 when built with Sun Workshop Pro CC 4.2 (and perhaps 1352 others). 1353 13542000-02-03 Gary V. Vaughan <gvv@techie.com> 1355 1356 * libltdl/ltdl.c (lt_find_dlhandle): Deleted. This was B.S. 1357 far cleaner to use lt_dlforeach and lt_dlgetinfo. 1358 * libltdl/ltdl.h: Prototype deleted. 1359 * doc/libtool.texi: Documentation deleted. 1360 * NEWS: annoncement deleted. 1361 13622000-02-23 Thomas Tanner <tanner@ffii.org> 1363 1364 * ltmain.in: remove duplicates from deplibs, handle 1365 interdependent libraries (e.g. -la -lb -la), 1366 this requires adding deplibs in reverse order 1367 1368 * ltmain.in: link dlpreopened libraries before other libraries 1369 (reported by Pavel Roskin) 1370 * mdemo/Makefile.am: build and link libsub.la 1371 * mdemo/sub.c: new file used by both dlopened modules 1372 * mdemo/foo*: use sub() defined in libsub 1373 * tests/dryrun.test: build libsub.la 1374 1375 * mdemo/Makefile.am: always link mdemo.static with -static 1376 * mdemo/configure.in: ditto 1377 1378 * ltmain.in: fix dlopen/dlpreopening of objects 1379 1380 * ltmain.in (ILD): fix misplaced `continue' in -R* argument handler 1381 1382 * ltmain.in: merge duplicated code of clean and uninstall mode 1383 1384 * libtool.m4: recognize powerpc*linux* (reported by 1385 Dirk A. Mueller <dmuell@gmx.net>) 1386 13872000-02-23 Gary V. Vaughan <gvv@techie.com> 1388 1389 * ltconfig.in (old_MAGIC, old_STRIP, old_reload_flag, 1390 old_deplibs_check_method, old_file_magic_cmd): New variabes. 1391 Treat these as old_CC etc. 1392 (STRIP, MAGIC): Create and set these variables in the generated 1393 libtool script. 1394 Reported by Pavel Roskin <pavel_rosin@geocities.com> 1395 1396 * configure.in: Due to a bug in autoconf-2.13 implementation of 1397 AC_SUBST, `AC_SUBST(FILE)' can never work. Use MAGIC as the 1398 holder of the command to run in file_magic_cmd instead. 1399 * ltconfig.in: s/FILE/MAGIC/g. 1400 * libtool.m4 (AC_PROG_LIBTOOL): set MAGIC in the environment when 1401 calling ltconfig. 1402 (AC_PATH_MAGIC): renamed from AC_PATH_FILE. 1403 (AC_PATH_TOOL_PREFIX): s/FILE/MAGIC/g. Also set file_magic_cmd 1404 to '${MAGIC}' so that make can grok it. 1405 * Makefile.am (libtool): 1406 (clibtool): ditto. 1407 14082000-02-21 Gary V. Vaughan <gvv@techie.com> 1409 1410 * libltdl/ltdl.c (lt_find_dlhandle): New function. 1411 (tryall_dlopen): Use it. 1412 * libltdl/ltdl.h: Prototype it. 1413 * doc/libtool.texi: Document it. 1414 * NEWS: updated. 1415 1416 * libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'. 1417 1418 * libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g. 1419 14202000-02-03 Gary V. Vaughan <gvv@techie.com> 1421 1422 * libltdl/ltdl.h (lt_dlloader_data_t): New type for loader 1423 instance data. 1424 (lt_user_dlloader): New lt_dlloader_data_t field. 1425 (lt_module_open_t): Add lt_dlloader_data_t parameter. 1426 (lt_module_close_t): Add lt_dlloader_data_t parameter. 1427 (lt_find_sym_t): Add lt_dlloader_data_t parameter. 1428 (lt_dlloader_exit_t): Add lt_dlloader_data_t parameter. 1429 * libltdl/ltdl.c: A sprinkling of /*ARGSUSED*/ markers to 1430 reassure lint that the unused arguments are intentional. 1431 (lt_dlloader_t): New lt_dlloader_data_t field. 1432 (lt_dlloader_data): New function to return the contents of the 1433 dlloader_data field. 1434 (sys_dl_open): Take an additional lt_dlloader_data_t argument. 1435 (sys_dl_close): Ditto. 1436 (sys_dl_sym): Ditto. 1437 (sys_dl): Initialise lt_dlloader_data_t field. 1438 (sys_shl_open, sys_shl_close, sys_shl_sym, sys_shl): As above. 1439 (sys_wll_open, sys_wll_close, sys_wll_sym, sys_wll): As above. 1440 (sys_bedl_open, sys_bedl_close, sys_bedl_sym, sys_bedl): As 1441 above. 1442 (sys_dld_open, sys_dld_close, sys_dld_sym, sys_dld): As above. 1443 (presym_init, presym_exit, presym_open, presym_close, presym_sym, 1444 presym): As above. 1445 (lt_dlinit): Call presym_init with additional argument. 1446 (lt_dlexit): Call dlloader_exit method with additional argument. 1447 (tryall_dlopen): Call module_open method with additional argument. 1448 (lt_dlclose): Call module_close method with additional argument. 1449 (lt_dlsym): Call find_sym method with additional argument. 1450 (lt_add_dlloader): Initialise dlloader_data field. 1451 (lt_remove_dlloader): Call dlloader_exit method with additional 1452 argument. 1453 1454 * libltdl/ltdl.c (find_file): Prevent early release of memory 1455 in filename/*pdir. 1456 From Jon Leichter <jon@symas.com> 1457 1458 (sys_wll_init): Deleted. No longer required. And this time, 1459 with feeling! 1460 (sys_wll_exit): Ditto. 1461 14622000-02-02 Gary V. Vaughan <gvv@techie.com> 1463 1464 * NEWS: updated. 1465 * doc/libtool.texi (Libltdl interface): Moved user defined module 1466 loader documentation from here... 1467 (Module loaders for libltdl) ...to here, and updated the text and 1468 added examples. 1469 * ltdl.m4 (AC_CHECK_FUNCS): check strcmp for lt_find_dlloader. 1470 * libltdl/ltdl.h: Reformatted and commented for readability. 1471 (struct lt_user_dlloader): New data type for passing 1472 initialisation pointers to lt_add_dlloader. 1473 (LTDL_ERROR_INVALID_LOADER): New error message when non loader 1474 handles are passed to the user loader API. 1475 (LTDL_ERROR_INIT_LOADER): New error when loader initialisation 1476 fails. 1477 (LTDL_ERROR_REMOVE_LOADER): New error when loader removal fails. 1478 (lt_module_open_t): renamed from lt_lib_open_t. 1479 (lt_module_close_t): renamed from lt_lib_close_t. 1480 (lt_dlloader_exit_t): renamed from lt_dlloader_exit_t. 1481 * libltdl/ltdl.c: Reordered builtin loaders so that the "dld" 1482 loader no longer occurs before "dlopen" on some platforms and 1483 after it on others. 1484 (lt_dlloader_t): Moved here from ltdl.h, added a field, 1485 "loader_name", for identifying the loader, and renamed from 1486 lt_dltype_t. Renamed type variables to loader IFF of type 1487 lt_dlloader_t. 1488 (lt_module_t): Renamed from lt_syshandle. Renamed handle variables 1489 to module IFF of type lt_module_t. 1490 (LTDL_TYPE_TOP): Deleted. No longer required. 1491 (sys_dl): Initialised as a struct lt_user_dlloader. 1492 (sys_dl_init): Deleted. No longer required. 1493 (sys_dl_exit): Ditto. 1494 (sys_shl): Initialised as a struct lt_user_dlloader. 1495 (sys_shl_init): Deleted. No longer required. 1496 (sys_shl_exit): Ditto. 1497 (sys_wll): Initialised as a struct lt_user_dlloader. 1498 (sys_wll_init): Deleted. No longer required. 1499 (sys_wll_exit): Ditto. 1500 (sys_bedl): Initialised as a struct lt_user_dlloader. 1501 (sys_bedl_init): Deleted. No longer required. 1502 (sys_bedl_exit): Ditto. 1503 (sys_dld): Initialised as a struct lt_user_dlloader. 1504 (sys_dld_init): Deleted. No longer required. 1505 (sys_dld_exit): Ditto. 1506 (sys_presym): Initialised as a struct lt_user_dlloader. 1507 (lt_mod_init_t): Moved to here from ltdl.h. 1508 (lt_dlinit): Add builtin loaders using the user loader API. 1509 (lt_dlexit): Unregister and free all loaders. 1510 (lt_add_dlloader): New function to add a new module loader after the 1511 loader specified in the argument. 1512 (lt_remove_dlloader): New function to remove a module loader. 1513 (lt_next_dlloader): New function for iterating over module loaders. 1514 (lt_dlloader_name): Accessor function for name of dlloader. 1515 (lt_find_dlloader): New function to get a reference to a registered 1516 module loader. 1517 (strcmp): static implementation incase the host has none. 1518 (lt_dlgettypes, lt_dlsettypes): Removed. 1519 15202000-02-02 Thomas Tanner <tanner@ffii.org> 1521 1522 * libltdl/ltdl.c: replace NULL with 0, remove unused system 1523 and app_private pointers from lt_dlhandle_t 1524 * libltdl/ltdl.c (presym_add_list): new preloaded symbols 1525 don't need to be added to the end 1526 1527 * libltdl/ltdl.c (lt_dlgetdata, lt_dlsetdata): removed 1528 * libltdl/ltdl.h: ditto 1529 * doc/libtool.texi (libltdl interface): ditto 1530 15312000-02-01 Thomas Tanner <tanner@ffii.org> 1532 1533 * ltmain.in: support -dlopen/dlpreopen for libraries 1534 * NEWS: updated 1535 * TODO: updated 1536 * ltmain.in: rename dlopen to dlopen_support 1537 * ltconfig.in: ditto 1538 * doc/libtool.texi: ditto 1539 1540 * ltmain.in: check whether libraries are moved out of $libdir, 1541 replace .a and .lib with .$libext, .o and .obj with .$objext 1542 15432000-01-31 Gary V. Vaughan <gvv@techie.com> 1544 1545 * libltdl/ltdl.h (lt_dlrealloc): removed declaration. 1546 * libltdl/ltdl.c (lt_dlrealloc): removed definition. 1547 (lt_dladderror): Instead of calling lt_dlrealloc, use lt_dlmalloc, 1548 and lt_dlfree. 1549 15502000-01-30 Ossama Othman <ossama@debian.org> 1551 1552 * libtool.m4 (lt_cv_cc_needs_belf): Set the test language to C 1553 prior to executing the test that checks if the C compiler needs 1554 "-belf." 1555 Reported by Chris Butler <chrisb@sandy.force9.co.uk> 1556 15572000-01-28 Gary V. Vaughan <gvv@techie.com> 1558 1559 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use changequote to 1560 protect `[' and `]' in deplibs_check_method. 1561 1562 * libltdl/ltdl.h (lt_dlrealloc): Added declaration. 1563 * libltdl/ltdl.c (lt_dlrealloc): Added default definition. 1564 1565 * libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as 1566 invalid. 1567 * libltdl/ltdl.h (LTDL_ERROR): Added missing '_' in K&R 1568 definition. 1569 1570 * libltdl/ltdl.h (ltdl_error_table): Added missing error code, and 1571 fixed typo in another code. 1572 * doc/libtool.texi (Libltdl interface): Added missing @end 1573 clause. 1574 15752000-01-27 Thomas Tanner <tanner@ffii.org> 1576 1577 * ltconfig.in: Oops, replace the remaining $objdir's 1578 1579 * ltmain.in: merge library linking code of programs and libraries, 1580 some cleanups 1581 15822000-01-27 Gary V. Vaughan <gvv@techie.com> 1583 1584 * NEWS: Updated. 1585 * doc/libtool.texi (Libltdl interface): Document new entry 1586 points. 1587 * libltdl/ltdl.c (lt_dladderror): New function to add a user 1588 defined error message to the tables used by lt_dlerror(). 1589 (lt_dlseterror): New function to allow setting of last_error by 1590 user modules. 1591 (ltdl_error_strings): New preprocessor generated table of internal 1592 error diagnostic strings. 1593 (user_error_strings): New internal list of registered user error 1594 diagnostic strings. 1595 (throughout!): Use error messages from ltdl_error_strings. 1596 * libltdl/ltdl.h (ltdl_error_table): New macro to tabulate 1597 internal diagnostic error strings alongside enum keys. 1598 1599 * NEWS: Updated. 1600 * doc/libtool.texi (Libltdl interface): Document new entry 1601 points. 1602 * libltdl/ltdl.c (lt_dltype_t): Use new type definitions for 1603 existing fields. 1604 (lt_dladdtype): New function to add a new ltdl dynamic loader 1605 type to the end of the list of valid types.. 1606 (lt_dlgettypes): New function to return the complete list of ltdl 1607 dynamic loader types. 1608 (lt_dlsettypes): New function to replace the list of ltdl dynamic 1609 loader types entirely -- e.g. to prepend a new type to the 1610 existing list. 1611 (sys_dl_open, sys_dl_close, sys_dl_sym): Work with lt_syshandle. 1612 (sys_shl_open, sys_shl_close, sys_shl_sym): ditto. 1613 (sys_dld_open, sys_dld_close, sys_dld_sym): ditto. 1614 (sys_wll_open, sys_wll_close, sys_wll_sym): ditto. 1615 (sys_bedl_open, sys_bedl_close, sys_bedl_sym): ditto. 1616 (presym_open, presym_close, presym_sym): ditto. 1617 (tryall_dlopen): Call lt_lib_open_t functions lt_syshandle 1618 compatibly. 1619 (lt_dlclose): Call lt_lib_close_t functions lt_syshandle 1620 compatibly. 1621 (lt_dlsym): Call lt_find_sym_t functions lt_syshandle compatibly. 1622 (lt_dltype_t): moved type declaration from here... 1623 * libltdl/ltdl.h (lt_dltype_t): ...to here. 1624 (lt_syshandle): new type for low level system handles passed by 1625 loader functions 1626 (lt_mod_init_t): New type for functions implementing the 1627 initialisation for an ltdl dynamic loader. 1628 (lt_mod_exit_t): Type of exit functions for the same. 1629 (lt_lib_open_t): Type of loader functions for the same. 1630 (lt_lib_close_t): Type of unloader functions for the same. 1631 (lt_find_sym_t): Type of symbol resolver functions for the same. 1632 1633 * libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open, 1634 sys_dl_close, sys_dl_sym): Preprocess these away on cygwin to 1635 avoid spurious error messages. 1636 16372000-01-24 Thomas Tanner <tanner@ffii.org> 1638 1639 fix severe bugs reported by Elrond <Elrond@Wunder-Nett.org> 1640 1641 * ltconfig.in: replace $objdir with $output_objdir 1642 1643 * ltmain.in: change to the builddir before relinking programs 1644 1645 * ltmain.in, ltconfig.in, libtool.m4, ltdl.m4: 1646 remove unnessary spaces from line endings 1647 16482000-01-19 Thomas Tanner <tanner@ffii.org> 1649 1650 * ltmain.in: rewrite of the ILD code, merge linking code for 1651 programs, libraries and objects, allow linking of shared libraries 1652 against static libraries/objects on platforms that support it 1653 but print a warning, fix some typos 1654 1655 * partially revert my previous change and 1656 update only copyright notices of files that were actually modified 1657 1658 * NEWS: update 1659 1660 * libltdl/Makefile.am: version number was wrong 1661 1662 * libltdl/ltdl.c (tryall_dlopen): revert Gary's change 1663 since it breaks dlpreopening 1664 * ltdl.m4: ditto 1665 1666 * libltdl/ltdl.c (sys_search_path): search in the system default 1667 library search path, too 1668 * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): extract the path 1669 1670 * libltdl/ltdl.c (find_module): remove bogus file_not_found_error 1671 1672 * libltdl/ltdl.c (load_deplibs): implement loading of dependency 1673 libraries 1674 * libltdl/ltdl.c (unload_deplibs): implement unloading of dependency 1675 libraries 1676 * libltdl/ltdl.c (lt_dlexit): correctly close all modules and 1677 their dependencies 1678 1679 * libltdl/ltdl.c (lt_dlforeach): new function 1680 * libltdl/ltdl.h: ditto 1681 * doc/libtool.texi (using libltdl): document it 1682 1683 * libtool.m4: reformatting, only add -I$topsrc_dir/libltdl to 1684 INCLTDL 1685 1686 * libtoolize.in: reformatting 1687 * ltconfig.in: reformatting 1688 * ltmain.in: reformatting 1689 1690 * mdemo/configure.in: AC_SUBST INCLTDL 1691 * mdemo/Makefile.am: use INCLTDL 1692 1693 * tests/Makefile.am: reexport OBJEXT and EXEEXT 1694 * tests/dryrun.test: use them for building main.obj and mdemo.exe 1695 16962000-01-17 Gary V. Vaughan <gvv@techie.com> 1697 1698 * libltdl/ltdl.c (tryall_dlopen): Abort with 1699 file_not_found_error before trying all lib_open() methods 1700 if the file to be dlopened doesn't exist. 1701 * ltdl.m4 (AC_HAVE_HEADERS): add unistd.h. 1702 17032000-01-16 Gary V. Vaughan <gvv@techie.com> 1704 1705 * libltdl/ltdl.c (find_file): memory error fixed. 1706 17072000-01-14 Gary V. Vaughan <gvv@techie.com> 1708 1709 * ltconfig.in (Usage): Now it matches the code! 1710 Reported by Jon Leichter <jon@symas.com> 1711 1712 * README: Some notes about libtool release numbers. 1713 1714 * mdemo/README: Explain the deliberate incompleteness of the 1715 Windows port. 1716 * mdemo/configure.in: Use AC_LIBTOOL_WIN32_DLL. 1717 * mdemo/Makefile.am (LDFLAGS): Add -no-undefined. 1718 1719 * libltdl/ltdl.h (LTDL_STMT_START, LTDL_STMT_END): Macros for 1720 wrapping other macros to make a portable compound statement from 1721 multiple C statements in the expansion. 1722 (LTDL_SET_PRELOADED_SYMBOLS): Use the above macros to add an 1723 extern declaration for lt_preloaded_symbols, to remove 1724 dependency on undefined symbol from libltdl.dll on cygwin (and 1725 other -no-undefined architectures). 1726 * libltdl/ltdl.c (lt_preloaded_symbols): No longer defined here. 1727 1728 * libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain 1729 was set to the opposite of what it should be. 1730 * configure.in (AC_LIBTOOL_WIN32_DLL): Call to this macro is 1731 required for libtool configury to test lt_cv_need_dllmain on 1732 Windows. 1733 1734 * ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly 1735 escaped and portable \{0,1\} in sed expression. 1736 From Jon Leichter <jon@symas.com> 1737 17382000-01-13 Gary V. Vaughan <gvv@techie.com> 1739 1740 * libtool.m4 (AC_LIBLTDL_CONVENIENCE): Add -I${top_srcdir}/libltdl 1741 to default INCLTDL for VPATH. 1742 (AC_LIBLTDL_INSTALLABLE): ditto. 1743 Reported by Tom Tromey <tromey@cygnus.com> 1744 17452000-01-12 Thomas Tanner <tanner@ffii.org> 1746 1747 * update all copyright notices to 2000 1748 1749 * doc/libtool.texi (using libltdl): document new lt_dlinfo struct, 1750 replace NULL with @code{NULL}, document lt_dlsetdata(), 1751 lt_dlgetdata() and lt_dlgetinfo() 1752 * libltdl/Makefile.am: increment interface version number 1753 * libltdl/configure.in: set version number to 1.1 1754 * libltdl/ltdl.c: make some variables public by moving them 1755 to the info struct, add support for application specific data 1756 within module handles, new lt_dlsetdata(), lt_dlgetdata() and 1757 lt_dlgetinfo() functions, 1758 fix memory leaks, minor cleanups 1759 * libltdl/ltdl.h: ditto 1760 * mdemo/main.c: demonstrate use of lt_dlgetinfo, 1761 improved handling of errors 1762 1763 * ltconfig.in: set hardcode_into_libs = yes for GNU/Hurd, Linux 1764 and Solaris, only hardcode *all* run-paths if hardcode_into_libs 1765 is set to 'all', otherwise hardcode only user-specified rpaths 1766 into libraries 1767 * ltmain.in: minor cleanups, we don't need to add user-specified 1768 rpaths to compile_rpath, finalize_rpath is sufficient 1769 1770 * ltconfig.in: transform linux* -> *linux-gnu* _after_ host_os has 1771 been set! (reported by Bruno Haible <haible@ilog.fr>) 1772 1773 * configure.in: AC_SUBST reload_flag, deplibs_check_method 1774 and file_magic_cmd 1775 1776 * README: use 'libtool --version' instead of 'ltconfig --version' 1777 (suggested by Francios Pinard <pinard@iro.umontreal.ca> 1778 17792000-01-10 Gary V. Vaughan <gvv@techie.com> 1780 1781 * libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Leave undefined when 1782 not compiling for a Windows target. 1783 * libltdl/ltdl.c (canonicalize_path): New function to 1784 ensure internal paths use '/' directory separators. 1785 (find_file): use canonicalize_path. Memory management 1786 changed to cope. 1787 (lt_dlopen): ditto. 1788 (free_vars): Removed `dir' and `name', which are now handled 1789 internally. 1790 1791 * libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Define to '/' or '\\', 1792 as suitable for the target host. 1793 (LTDL_PATHSEP_CHAR): Similarly with ':' or ';'. 1794 * libltdl/ltdl.c: Use LTDL_DIRSEP_CHAR and LTDL_PATHSEP_CHAR 1795 instead of hardcoding throughout. 1796 Reported by Jon Leichter <jon@symas.com> 1797 17981999-12-18 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1799 1800 * ltmain.in: Oops, `largarg' -> `lastarg'. 1801 1802 * ltmain.in (-Wc, -Xcompiler): Implemented in compile mode. 1803 1804 * ltmain.in (-Xcompiler, -Xlinker): Add to compile_command and 1805 finalize_command. 1806 (-Wc, -Wl): Likewise. 1807 1808 * tests/quote.test: Adjust quoting style of -Wl. 1809 1810 * ltmain.in: Oops, `echo' -> `$echo'. 1811 1812 * ltmain.in (-Wl, -Wc): Make commas argument separators, just like 1813 in gcc. 1814 1815 * ltmain.in (libtool_args): Get all arguments properly enclosed in 1816 quotes and backslash-protected when needed. 1817 18181999-12-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1819 1820 * ltdl.m4: Renamed from... 1821 * libltdl/ltdl.m4: that no longer exists. 1822 * configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4. 1823 * Makefile.am (aclocal_macros): Added ltdl.m4. 1824 (libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4. 1825 * bootstrap: Likewise. 1826 * libltdl/Makefile.am (ACLOCAL): Remove the definition. Relying 1827 upon -I may lead to duplicates. 1828 * doc/libtool.texi: Suggest appending ltdl.m4 to acinclude.m4. 1829 * libtoolize.in: Check AC_LIB_LTDL version number in aclocal.m4. 1830 1831 * libltdl/configure.in (with_auxdir): Do not use it as the 1832 argument of AC_CONFIG_AUX_DIR, automake requires a literal here. 1833 Use AC_CONFIG_AUX_DIRS/DIR_DEFAULT instead. 1834 1835 * libltdl/Makefile.am (ACLOCAL): Define with `-I .', as in 1836 bootstrap. 1837 18381999-12-15 Thomas Tanner <tanner@ffii.org> 1839 1840 * libltdl/configure.in: path to auxiliary files can be specified 1841 using --with-auxdir (idea by Howard Chu <hyc@highlandsun.com>) 1842 1843 * ltmain.in: don't remove multiple occurences from dependency_libs 1844 of a library, otherwise many dependencies would get lost 1845 1846 * bootstrap: use "aclocal -I ." instead of adding the contents 1847 of ltdl.m4 to acinclude.m4 1848 18491999-12-13 Gary V. Vaughan <gvv@techie.com> 1850 1851 * NEWS: updated. 1852 * libltdl/Makefile.am: Use -no-undefined for dll compliance. 1853 * libltdl/configure.in: Use AC_LIBTOOL_WIN32_DLL for dll 1854 compliance. 1855 * libltdl/ltdl.c: Define and use LTDL_GLOBAL_DATA to correctly 1856 export global data symbols from libtldl.dll. 1857 * libltdl/ltdl.h: Define and use LTDL_SCOPE to declare data 1858 symbols as dllexport, dllimport or plain ornary extern depending 1859 in the context in which it is used. 1860 1861 * doc/libtool.texi (Distributing libltdl): document use of 1862 ltdl.m4. 1863 * libltdl/configure.in: Removed header checks, as they are 1864 automatically performed by AC_LIB_LTDL. 1865 * libltdl/ltdl.m4: Added header checks from configure.in, so that 1866 AC_LIB_LTDL is sufficient to compile ltdl.c. 1867 Reported by Stephan Kulow <coolo@kde.org>. 1868 1869 * ltconfig.in (ltdll_obj): fixed typo: objdir -> $objdir 1870 18711999-12-12 Gary V. Vaughan <gvv@techie.com> 1872 1873 * ltconfig.in (cygwin*, mingw*, export_symbols_cmds): keep any 1874 DATA tags associated with symbols by recent dlltool. 1875 (cygwin*, mingw*, archive_expsym_cmds): Honor any DATA tags 1876 found in the symbol list. 1877 Reported by Jon Leichter <jon@symas.com>. 1878 18791999-12-10 Gary V. Vaughan <gvv@techie.com> 1880 1881 From Stephan Kulow <coolo@kde.org> 1882 * libltdl/ltdl.m4: Add arg 3 to AC_DEFINE's to save the user 1883 from having to hack acconfig.h. 1884 18851999-12-06 Gary V. Vaughan <gvv@techie.com> 1886 1887 * NEWS: Updated. 1888 * TODO: Note some cleanups that are now needed. 1889 * libltdl/configure.in: Use the new macroised tests. 1890 * libltdl/ltdl.m4: New file, macroised tests formerly in 1891 libltdl/configure.in. 1892 Reported by Stephan Kulow <coolo@kde.org>. 1893 1894 From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> 1895 * ltconfig.in: split off the osf3 section, so that the osf4 and 1896 osf5 sections can add `-msym' to arguments passed to the linker 1897 for shared libs. 1898 18991999-12-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1900 1901 * ltconfig.in (ac_compile): Use $ac_ext instead of .c. 1902 (ac_link): Likewise. 1903 (dlfcn.h, ac_try): Do not add filename, it is already in 1904 ac_compile. 1905 Reported by Stephane Conversy <Stephane.Conversy@lri.fr> 1906 1907 * ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it 1908 works together with fast_install. 1909 1910 * libtool.m4: Use host when --target is not specified. 1911 1912 * configure.in: AC_SUBST variables that are used by ltconfig to 1913 build libtool. 1914 1915 * ltconfig.in (irix6*): Do not override deplibs_check_method 1916 here. 1917 1918 * libtool.m4: Do not AC_SUBST anything other than LIBTOOL. 1919 19201999-11-20 Michael Forster <email@michael-forster.de> 1921 1922 * ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes. 1923 19241999-11-29 Gary V. Vaughan <gvv@techie.com> 1925 1926 * ltconfig.in: Be friendlier to C++ compilers when testing 1927 for dlopen support. 1928 Reported by Stephan Kulow <coolo@itm.mu-luebeck.de> 1929 19301999-11-26 Gary V. Vaughan <gvv@techie.com> 1931 1932 * libtool.m4: better use of $target instead of $host to support 1933 cross compilation. 1934 Reported by Sam Latinga <slouken@devolution.com> 1935 19361999-11-16 Thomas Tanner <tanner@ffii.org> 1937 1938 * configure.in: generate ltconfig and ltmain.sh before configuring 1939 libltdl 1940 19411999-11-04 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 1942 1943 * tests/sh.test: New test to detect uses of quotes within 1944 backticks within quotes. 1945 * ltconfig.in, ltmain.in: Fix detected errors. Mark false 1946 positives with a comment that disables the detector. 1947 Reported by Akim Demaille <akim@epita.fr> 1948 1949 * configure.in: Move ltconfig and ltmain.sh generation back... 1950 * Makefile.am: here. 1951 19521999-11-02 Thomas Tanner <tanner@ffii.org> 1953 1954 * NEWS: updated 1955 * THANKS: added Olly Betts and Pavel Roskin 1956 * doc/libtool.texi: fix typo 1957 1958 * fix major bugs which rendered libtool virtually 1959 unusable (i.e. not portable): 1960 * ltconfig.in: don't hardcode system dependent variables in ltconfig!! 1961 but set sane defaults 1962 * Makefile.am: pass variables from AC_LIBTOOL_SETUP to ltconfig 1963 * libtool.m4: ditto, fix typo in AC_PROG_LD_RELOAD_FLAG 1964 1965 * ltconfig.in: use old_deplibs for archives, too 1966 remove second occurence of sysv5 1967 * ltmain.in: fix typo, fix the second occurence of -DPIC, too 1968 1969 * libltdl/Makefile.am: increment version number, fix typo 1970 * libltdl/ltdl.c (lt_dlsym): don't report an error if the 1971 libltdl-style symbol name wasn't found 1972 19731999-11-02 Wolfgang Rapp <ulris@bn-ulm.de> 1974 1975 * ltconfig.in: add support for Unixware (sysv4.2uw2*) 1976 19771999-10-29 Gary V. Vaughan <gvv@techie.com> 1978 1979 * ltmain.in: Damnit! Cygwin cvs committed all the 1980 dos line endings. 1981 19821999-10-28 Stephane Conversy <Stephane.Conversy@lri.fr> 1983 1984 * ltmain.in (-DPIC): changed the order of pic flags a little to 1985 prevent upsetting the sgi c++ compiler. 1986 19871999-10-28 Olly Betts <olly@muscat.co.uk> 1988 1989 * ltconfig.in (opt_cr): Handle crlf sequences output by the 1990 mingw toolchain. 1991 1992 * libtool.m4: Third time lucky, with Tor's patch. 1993 19941999-10-19 Tor Lillqvist <tml@iki.fi> 1995 1996 * libtool.m4: these was a missing `*' in the -mno-cygwin 1997 match. 1998 * ltconfig.in (cygwin, ltdll_obj): fixed a quoting error. 1999 (export_symbols_cmds): added missing cosmetic newline. 2000 20011999-10-18 Tor Lillqvist <tml@iki.fi> 2002 2003 * libtool.m4: test command used == which should be =. 2004 Support -mno-cygwin flag for building mingw32 dlls. 2005 * ltconfig.in (file_magic_cmd): add missing quotes. 2006 (deplibs_check_method): and here. 2007 20081999-10-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 2009 2010 * libltdl/ltdl.c (lt_dlopen): Do not search paths when the 2011 specified library is not just a basename. 2012 20131999-10-10 Gary V. Vaughan <gvv@techie.com> 2014 2015 * libtool.m4 (AC_PATH_FILE): new macro replaces 2016 AC_PATH_TOOL_GREP_OUTPUT. 2017 (AC_PATH_TOOL_PREFIX): new macro replaces 2018 AC_PATH_PROG_GREP_OUTPUT. 2019 (AC_LD_RELOAD_FLAG): migrated from ltconfig.in. 2020 (AC_DEPLIBS_CHECK_METHOD): ditto. 2021 * ltconfig.in (reload_flag): moved to libtool.m4. 2022 (deplbs_check_method): ditto. 2023 20241999-10-07 Gary V. Vaughan <gvv@techie.com> 2025 2026 * libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the 2027 more general AC_PATH_PROG_GREP_OUTPUT. 2028 (AC_PATH_TOOL_VERSION_GREP): removed in favour of the more general 2029 AC_PATH_TOOL_GREP_OUTPUT. 2030 (AC_PROG_LIBTOOL): Search for a working find program in the 2031 user's PATH using the new macros. 2032 20331999-10-06 Gary V. Vaughan <gvv@techie.com> 2034 2035 * NEWS: updtaed. 2036 * ltconfig.in: Accept osf5. 2037 Reported by Sascha Schumann <sascha@schumann.cx> 2038 20391999-10-04 Gary V. Vaughan <gvv@techie.com> 2040 2041 * ltmain.in (-no-install): This doesn't work on win32 since 2042 the search path for libraries is not encoded in the binary, 2043 and dlls not in $PATH won't be found. Fall back to -no-fast-install 2044 instead. 2045 2046 * ltmain.in (-no-fast-install): Wrapper script used to add the 2047 exeext on again when naming the wrapped executable. 2048 20491999-10-03 Gary V. Vaughan <gvv@techie.com> 2050 2051 * ltconfig.in: Set $FILE to @FILE@ for substitution with 2052 the value found in libtool.m4 at configure time. 2053 * libtool.m4 (AC_PATH_TOOL_GREP_VERSION): New macro, combines 2054 AC_PATH_PROG and AC_CHECK_TOOL with a test which greps the 2055 output of $ac_dir/${ac_prefix}<tool> --version for a 2056 given regex. 2057 (AC_PATH_PROG_GREP_VERSION): New macro used by the above. 2058 (AC_LIBTOOL_SETUP): Use the new macros to search the PATH 2059 [starting at /usr/bin] for a file program which accepts 2060 --version and has "file" in its --version output. 2061 20621999-10-03 Thomas Tanner <tanner@ffii.org> 2063 2064 * NEWS: new -no-install flag 2065 * configure.in: fix typo 2066 * doc/libtool.texi(Link mode): document -no-install flag, 2067 correct -no-fast-install docs 2068 * libtool.m4: check for "file" command 2069 * ltconfig.in: don't hardcode /usr/bin/file, remove second 2070 definition of sysv5, replace linkopts -> linker_flags 2071 * ltmain.in: add new -no-install flag, print help for -no-install 2072 and -no-fast-install flags 2073 20741999-10-03 Olly Betts <olly@muscat.co.uk> 2075 2076 * ltmain.in: always create output_objdir 2077 20781999-10-03 Pavel Roskin <pavel_roskin@geocities.com> 2079 2080 * libltdl/Makefile.am: don't preserve file attributes when 2081 installing the libltdl sources 2082 20831999-10-01 Gary V. Vaughan <gvv@techie.com> 2084 2085 * configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh 2086 * Makefile.am (ltmain.sh ltconfig): removed. Automake inserts the 2087 rules to automatically call config.status. 2088 2089 * libtool.m4: be sure to AC_SUBST values no longer tested in 2090 ltconfig.in. 2091 * ltconfig.in: replaced several of the simple feature tests with 2092 substitutions from config.status. 2093 * Makefile.am (ltconfig): generate ltconfig with config.status. 2094 * configure.in (AC_OUTPUT): generate ltconfig with config.status. 2095 20961999-09-30 Donald Anderson <dda@world.std.com> 2097 2098 * ltconfig.in (sco3.2v5): use pass_all deplibs_check_method 2099 for SCO3.2. 2100 21011999-09-29 Gary V. Vaughan <gvv@techie.com> 2102 2103 * ltconfig.in (whole-archive-flag-spec): I had been 2104 wondering why my file system was filling up with empty 2105 files named `71'... seems I forgot to hold in the 2106 shift key when redirecting stderr, 2>&1. Doh! 2107 21081999-09-29 Vadim <vadim@olly.ru> 2109 2110 * ltconfig.in (sysv): More UW7 support. 2111 21121999-09-28 Albert Cheng <acheng@ncsa.uiuc.edu> 2113 2114 * ltmain.in (shlibpath_var): ensure the variable is non-empty before 2115 exporting it. 2116 21171999-09-27 Manfred Weichel <weichel@global.nacamar.de> 2118 2119 * ltconfig.in (sysv5): Added support required for shared 2120 library linking on SCO UW7. 2121 21221999-09-22 Gary V. Vaughan <gvv@techie.com> 2123 2124 * ltconfig.in (whole-archive-flag-spec): test whether the 2125 version of GNU ld being used understands --whole-archive 2126 before using it. 2127 21281999-09-19 Thomas Tanner <tanner@ffii.org> 2129 2130 * ltmain.in: don't ignore convenience libraries for objects/archives 2131 (temporary hack) 2132 21331999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 2134 2135 * ltconfig.in (CDPATH): Set to `:' instead of empty. 2136 * ltmain.in (CDPATH): Likewise. 2137 Reported by Greg McGary <gkm@eng.ascend.com> 2138 21391999-08-24 Gary V. Vaughan <gvv@techie.com> 2140 2141 * ltconfig.in (ltdll.c, impgen.c): Prevent the shell from 2142 expanding variables & backslash escapes when writing these 2143 files to the libtool script. 2144 21451999-08-24 Thomas Tanner <tanner@ffii.org> 2146 2147 * NEWS: mention fixes 2148 * doc/PLATFORMS: GNU/Hurd update 2149 * depdemo: make use of variables 2150 * ltconfig.in: use CC -E when checking for ELF support 2151 on NetBSD (reported by Todd Vierling <tv@pobox.com>), 2152 replace all occurences of 'linkopts' with 'linker_flags' 2153 * ltmain.in: move ltdll.c and impgen.c to ltconfig.in and 2154 only add them to the libtool script if it's necessary 2155 21561999-08-24 Boyd Gerber <gerberb@zenez.com> 2157 2158 * ltconfig.in: add support for UnixWare 7.X.X 2159 * doc/PLATFORMS: add new platforms 2160 21611999-08-24 Pavel Roskin <pavel_roskin@geocities.com> 2162 2163 * doc/libtool.texi: document use of noinst_LTLIBRARIES for 2164 convenience libraries 2165 2166 * ltconfig.in: check for freebsdelf3, not just freebsd3. 2167 Set hardcode_into_libs=yes for FreeBSD 3.0 and 3.1 2168 2169 * ltmain.in: enable workaround for freebsdelf3.0 2170 21711999-08-24 Bert Driehuis <bert_driehuis@nl.compuware.com> 2172 2173 * ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS 2174 21751999-08-07 Alexandre Oliva <oliva@dcc.unicamp.br> 2176 2177 * libltdl/COPYING.LIB: Update to version 2.1. 2178 * libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address. 2179 21801999-08-03 Gary V. Vaughan <gvv@techie.com> 2181 2182 * libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return 2183 stripping. 2184 * ltconfig.in: ditto. 2185 From Olly Betts <olly@muscat.co.uk> 2186 21871999-08-02 Olly Betts <olly@muscat.co.uk> 2188 2189 * doc/libtool.texi (Compile mode): typo correction. 2190 (Link mode): and another. 2191 (Release numbers): and another. 2192 (Distributing libltdl): and another. 2193 (Test descriptions): and another. 2194 (libtool script contents): and one more. 2195 2196 * libtool.m4 (AC_PROG_LD): strip carriage returns from the 2197 output of gcc -print-prog-name=ld. 2198 * ltconfig.in: ditto. 2199 22001999-07-30 Pavel Roskin <pavel_roskin@geocities.com> 2201 2202 * ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else 2203 initialised structures are sometimes emitted in the code section. 2204 22051999-07-30 Mumit Khan <khan@xraylith.wisc.edu> 2206 2207 * ltconfig.in: Read line at a time to avoid tokenisation by 2208 shell. 2209 22101999-07-29 Alexandre Oliva <oliva@dcc.unicamp.br> 2211 2212 * ltmain.in: Fix creation of relative links to object files in 2213 sub-dirs. 2214 22151999-07-29 Olly Betts <olly@muscat.co.uk> 2216 2217 * ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile 2218 and link ltdll.c if the libtool.m4 macros discovered that it is 2219 required. 2220 22211999-07-26 Olly Betts <olly@muscat.co.uk> 2222 2223 * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some 2224 typos made by Evil Gary while (mis)applying my patch :-). 2225 2226 * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): On second 2227 thoughts, only probe for -mdll vs -dll on mingw, and revert to 2228 the old `-Wl,--dll -nostartfiles' on cygwin. 2229 22301999-07-24 Erez Zadok <ezk@cs.columbia.edu> 2231 2232 * doc/PLATFORMS (i*86-*openbsd2.5): New platform. 2233 Slight reordering of other bsd entries. 2234 22351999-07-24 Olly Betts <olly@muscat.co.uk> 2236 2237 * NEWS: Note new user visible changes. 2238 * libtool.m4 (mingw32, AC_LIBTOOL_SETUP): probe for -mdll vs -dll 2239 under cygwin/mingw. 2240 probe whether the cygwin/mingw library supplies a stub DllMain 2241 (but this information isn't yet used). 2242 * ltconfig.in (mingw32, extract_expsyms_cmds): if HOST_CC is set, 2243 use that to build impgen so we can use it when cross-compiling. 2244 use correct entry points for mingw so static C++ constructors get 2245 called for code in the DLL. 2246 * ltmain.in (impgen.c): define O_BINARY to 0 if it is not in the 2247 system headers. 2248 22491999-07-24 Bert Driehuis <bert_driehuis@compuware.com> 2250 2251 * ltconfig.in: Updated bsdi4 soname specs to be more like 2252 linux as discussed on the bsdi mailing list. 2253 22541999-07-20 Gary V. Vaughan <gvv@techie.com> 2255 2256 * configure.in (AC_PROG_RANLIB): No longer required as we now use 2257 AC_CHECK_TOOL in AC_LIBTOOL_SETUP. 2258 * libtool.m4 (AC_PROG_LIBTOOL): Pass the $build variable to 2259 ltconfig. 2260 (AC_PROG_RANLIB): replaced with AC_CHECK_TOOL. 2261 * ltconfig.in (build): new variable to hold the build triplet 2262 which is now checked for unless --no-verify is specified. 2263 (--build): new argument to set the build triplet. 2264 (ranlib): Prefer ${host_alias}-ranlib[.exe] if $build is different 2265 to $host. 2266 * doc/libtool.texi (Invoking ltconfig): Document --build option. 2267 * NEWS: Note --build option. 2268 22691999-07-19 Erez Zadok <ezk@cs.columbia.edu> 2270 2271 * doc/PLATFORMS: Updated mostly *bsd platforms. 2272 22731999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br> 2274 2275 * doc/libtool.texi (Porting inter-library dependencies): Typos 2276 Reported by Petter Reinholdtsen <pere@hungry.com> 2277 22781999-07-17 Thomas Tanner <tanner@ffii.org> 2279 2280 * NEWS, TODO: updated (pic flags) 2281 * libtool.m4 (AC_PROG_LIBTOOL): added --with-pic flag 2282 * ltconfig.in: new pic_mode variable and --prefer[-non]-pic flags, 2283 fixed the strip check (reported by Keith Bostic <bostic@bostic.com>) 2284 * ltmain.in (compile mode): build only PIC/non-PIC code depending 2285 on pic_mode 2286 * libltdl/README: document the supported dlopen interfaces 2287 * doc/libtool.texi (tests): documented new tests 2288 * tests/Makefile.am: added new tests 2289 * tests/demo-pic.test: new test to test --with-pic 2290 * tests/demo-nopic.test: new test to test --without-pic 2291 * tests/build-relink2.test: variant of build-relink.test that 2292 uses depdemo 2293 22941999-07-09 Olly Betts <olly@muscat.co.uk> 2295 2296 * doc/libtool.texi (C++ Libraries): fixed a typo. 2297 22981999-07-06 Gary V. Vaughan <gvv@techie.com> 2299 2300 * README-alpha: improved the release instructions to mention 2301 actual list addresses for announcements, and urls for upload 2302 locations. 2303 23041999-07-03 Thomas Tanner <tanner@ffii.org> 2305 2306 * doc/PLATFORMS: 1.3b passes all tests on cygwin 2307 23081999-07-03 Pavel Roskin <pavel_roskin@geocities.com> 2309 2310 * ltconfig.in: finish_cmds for FreeBSD removed 2311 * depdemo/l3/Makefile.am: install libl3.la into an extra directory 2312 23131999-07-02 Gary V. Vaughan <gvv@techie.com> 2314 2315 * configure.in: bumped version to 1.3c. 2316 2317 GNU libtool 1.3b was released. 2318 2319 * NEWS: inserted todays date. 2320 23211999-07-02 Alexandre Oliva <oliva@dcc.unicamp.br> 2322 2323 * doc/PLATFORMS: Tested on as many platforms as possible for me. 2324 23251999-07-01 Thomas Tanner <tanner@ffii.org> 2326 2327 * NEWS: updated 2328 * doc/PLATFORMS: updated 2329 * changed my email address 2330 23311999-06-30 Thomas Tanner <tanner@ffii.org> 2332 2333 * demo/foo.h: use LT_PARAMS instead of LTDL_PARAMS (this is not libltdl) 2334 * tests/build-relink.test: also check for hardcode_into_libs = yes, 2335 if set, we need to relink at install-time 2336 23371999-06-29 Thomas Tanner <tanner@ffii.org> 2338 2339 * NEWS: mention -no-fast-install, rename dummy to force 2340 * doc/PLATFORMS: 1.3b passes all tests on GNU/Linux, 2341 FreeBSD (2.2.6 and 3.1) 2342 * doc/libtool.texi: it's possible to link libtool libraries 2343 using -L and -l, better documentation of uninstall and clean mode, 2344 rename dummy to force, documented -no-fast-install, 2345 AC_LIBLTDL_* must be called before AC_PROG_LIBTOOL, 2346 documented hardcode_into_libs and striplib/old_striplib, 2347 * ltconfig.in: search for strip program, added hardcode_into_libs 2348 and striplib/old_striplib variables, set strip commands for GNU strip, 2349 on FreeBSD >= 3.2 set hardcode_into_libs to yes, 2350 fast-install mode doesn't work if hardcode_into_libs = yes 2351 * ltmain.in: reimplemented hardcoding into libraries: 2352 new relink mode, preserve all libtool args, relink libraries 2353 when installing if necessary 2354 added -no-fast-install flag, removed unnecessary `dlname' 2355 initialization, use striplib/old_striplib for stripping libraries, 2356 dlname is always soname or in library_names so we don't need 2357 to handle different file names 2358 23591999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br> 2360 2361 * ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to yes 2362 up to release 3.1, and to no from 3.2 on. 2363 Reported by Pavel Roskin <pavel_roskin@geocities.com> 2364 23651999-06-29 Pavel Roskin <pavel_roskin@geocities.com>, Alexandre Oliva <oliva@dcc.unicamp.br> 2366 2367 * ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to 2368 yes; tested on 3.1-ELF by Pavel and on 2.2.6 by Alexandre. 2369 23701999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br> 2371 2372 * ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on 2373 alpha, x86 and sparc architectures by now, reverting to file_magic 2374 at least on ARM, where it breaks. 2375 23761999-06-23 Thomas Tanner <tanner@ffii.org> 2377 2378 * NEWS: updated 2379 * README: added GNU Hurd to the supported platforms 2380 * doc/libtool.texi: document `-dlpreopen dummy' 2381 instead of `-dlopen dummy' 2382 * libltdl/ltdl.c (strchr): fixed typo (missing star) 2383 23841999-06-23 Stephan Kulow <coolo@itm.mu-luebeck.de> 2385 2386 * libltdl/ltdl.c (strrchr): fixed typo (missing star) 2387 * libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings 2388 23891999-06-23 Olly Betts <olly@muscat.co.uk> 2390 2391 * ltmain.in (ltdll.c): Support for crosscompiling from linux to 2392 mingw32. 2393 23941999-06-23 Gary V. Vaughan <gvv@techie.com> 2395 2396 * ltconfig.in (cygwin, export_symbols_cmds): If there is already 2397 an extracted and compiled ltdll.c, then don't delete, reextract 2398 and recompile. 2399 (cygwin, archive_expsym_cmds): Make sure the ltdll source has been 2400 extracted and compiled before referencing the object, since there 2401 are paths through the code which run archive_expsym_cmds without 2402 running export_symbols_cmds. 2403 24041999-06-20 Gary V. Vaughan <gvv@techie.com> 2405 2406 * ltconfig.in: moved the test for NM after the test for 2407 no_builtin_flag. 2408 24091999-06-20 Alexandre Oliva <oliva@dcc.unicamp.br> 2410 2411 * ltconfig.in: Use sed '$q' instead of sed "" for copying ltmain, 2412 just in case some sed does not support an empty command. 2413 2414 * ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the 2415 latter in the test. 2416 24171999-06-18 Thomas Tanner <tanner@ffii.org> 2418 2419 * ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive 2420 regex (reported by Chris P. Ross <cross@eng.us.uu.net>) 2421 * ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols 2422 if dlself != no 2423 * doc/libtool.texi (Compile and Link mode): document it, 2424 documented the -Wc, -Wl flags, libtool does also support non C 2425 source code 2426 24271999-06-18 Teun Burgers <burgers@ecn.nl> 2428 2429 * ltconfig.in: CR/LF fix for broken DJGPP bash 2430 * ltmain.in: CR/LF fix for DJGPP 2431 24321999-06-18 Gary V. Vaughan <gvv@techie.com> 2433 2434 * ltmain.in (outputname): When generating the executable wrapper 2435 script, $outputname already has the $exeext suffix, so we needn't 2436 add it again. 2437 24381999-06-16 Gary V. Vaughan <gvv@techie.com> 2439 2440 * libltdl/configure.in (ac_cv_lib_dl_dlopen): missing "x" in test 2441 comparison corrected. 2442 2443 * libltdl/ltdl.c (sys_wll_open): libltdl expects this function to 2444 fail if it is unable to physically load the library. Sadly, 2445 LoadLibrary will search the loaded libraries for a match and 2446 return one of them if the path search load fails. Simulate a 2447 failure in this case for compatibility with the other APIs. 2448 Also, LoadLibrary takes the liberty of adding `.dll' to library 2449 names passed without an extension, we now add a trailing `.' to 2450 prevent this from happening. 2451 24521999-06-15 Gary V. Vaughan <gvv@techie.com> 2453 2454 * libltdl/ltdl.c (sys_wll_close): Strangely enough, Microsoft have 2455 decided that LoadLibrary returns `0' for success, yet FreeLibrary 2456 returns `0' for failure! The FreeLibrary call used to interpret 2457 `0' as success for both functions. 2458 24591999-06-14 Thomas Tanner <tanner@ffii.org> 2460 2461 * ltconfig.in: use eval when setting have_dlfcn_h, reformatting 2462 24631999-06-12 Thomas Tanner <tanner@ffii.org> 2464 2465 * ltmain.in: store old archives in deplibs and old_deplibs, 2466 retain the order of dependency libraries (even old archives), 2467 determining the absolute directory name didn't work due to a typo, 2468 add the library search paths of all dependency libraries when 2469 linking a library (fixes IRIX 5.2 bug) 2470 24711999-06-10 Alexandre Oliva <oliva@dcc.unicamp.br> 2472 2473 * ltconfig.in: Reverted June 6's patch for new GNU ld output, it 2474 is no longer needed, as ld reverted to the original format. 2475 * NEWS: Likewise. 2476 2477 * ltconfig.in: When testing self-dlopening, test whether dlclose 2478 crashes. On FreeBSD 3.1, it does. :-( 2479 * libltdl/configure.in: Likewise. 2480 * NEWS: Note work-around. 2481 Reported by Pavel Roskin <pavel_roskin@geocities.com> 2482 24831999-06-09 Gary V. Vaughan <gvv@techie.com> 2484 2485 * ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate 2486 no extension, and we must do the same in order to share the cache 2487 value. Also we must ignore conftest.err which HPsUX (at least) 2488 fills with gratuitous warnings. 2489 (objext): for consistency, do the same as above. 2490 Reported by Pavel Roskin <pavel_roskin@geocities.com> 2491 24921999-06-09 Pavel Roskin <pavel_roskin@geocities.com> 2493 2494 * ltconfig.in (exeext): Use quotes in the test, to prevent a 2495 failure in sh.test. 2496 24971999-06-09 Gary V. Vaughan <gvv@techie.com> 2498 2499 * ltconfig.in: Reordered tests to be more like configure.in's 2500 recommended order (programs first, then libraries, etc.). 2501 Performed a manual ``constant folding pass'' (eg: s/eval "test 2502 \"echo '$''{'lt_cv_dlopen'+set}'`\" != set/test 2503 "${lt_cv_dlopen+set}" != set/). 2504 s/test "${foo+set}" = "set"/test "X${foo+set}" = Xset/g 2505 2506 * ltconfig.in (link_static_flag): Accept, in order of decreasing 2507 preference: the cached value; the default value for the current 2508 host. Also test that the compiler accepts the flag, and cache 2509 that result too. 2510 2511 * ltconfig.in (pic_flag): Accept, in order of decreasing 2512 preference: the cached value; the default value for the current 2513 host. Also test that the compiler accepts the flag, and cache 2514 that result too. 2515 25161999-06-08 Gary V. Vaughan <gvv@techie.com> 2517 2518 * ltconfig.in (LN_S): Accept, in order of decreasing preference: 2519 the cached value; an environment setting; ``ln -s'' if it works; 2520 ``ln'' if ``ln -s'' doesn't appear to work. 2521 2522 * ltconfig.in (objext): Accept, in order of decreasing preference: 2523 the cached value; the result of a test object compilation. 2524 2525 * ltconfig.in (RANLIB): Accept, in order of decreasing preference: 2526 the cached value; an environment setting; the first file called 2527 ``ranlib'' in the user's path. 2528 2529 * ltmain.in (exeext): Use $exeext when working out the names of 2530 programs (but not the wrapper script itself due to a stupidity in 2531 win32 which hardwires the .exe extension to the binary loader!). 2532 * ltconfig.in (exeext): Now that the wrapper script tries to move 2533 executables, we need to know whether they have an extension (ala 2534 AC_EXEEXT). Since we can't rely on AC_EXEEXT having been called 2535 in configure.in, we must be able to check for ourselves, though we 2536 can look for a cached result incase AC_EXEEXT was called. 2537 2538 * ltconfig.in (cygwin, pic_flag): Force separate compilation of 2539 objects for dlls vs. objects for static archives. Using a cpp 2540 macro also allows us to decide whether or not we need to use 2541 dllexport/import declarations. 2542 2543 * ltconfig.in (cygwin, need_version): Set to no, otherwise module 2544 dll's end up with mighty long names! 2545 25461999-06-06 Alexandre Oliva <oliva@dcc.unicamp.br> 2547 2548 * ltconfig.in: Support new GNU ld --help output format. 2549 * NEWS: Likewise. 2550 Reported by Ga�l Qu�ri <gael@baoule.dyndns.org> and 2551 H.J. Lu <hjl@varesearch.com>. 2552 25531999-06-05 Mark Kettenis <kettenis@gnu.org> 2554 2555 * ltconfig.in: Update support for the Hurd. Make sure that the 2556 soname includes the major version number and create the right 2557 links. Allow shared objects without the `lib' prefix and without 2558 version information. 2559 25601999-06-02 Nick Rasmussen <nick@jive.org> 2561 2562 * ltmain.in (link): use "$nonopt" as the compiler for 2563 compile/finalize_command 2564 25651999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br> 2566 2567 * TODO: Remove the short list of people interested in C++ 2568 constructors; it's not meaningful, since there are so many more 2569 people requesting this feature, and we just can't maintain it 2570 accurate. 2571 25721999-05-27 Pavel Roskin <pavel_roskin@geocities.com> 2573 2574 * ltconfig.in (GNU Hurd, deplibs_check_method): Use pass_all. 2575 25761999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>, Olly Betts <olly@muscat.co.uk> 2577 2578 * ltmain.in: Expand convenience libraries when creating reloadable 2579 objects. 2580 * NEWS: Ditto. 2581 25821999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br> 2583 2584 * NEWS: Mention the two bugfixes below. 2585 2586 * ltmain.in: Only create directory into which to extract 2587 convenience libraries when $convenience is not empty. It would 2588 always be created on systems that did not support 2589 whole_archive_flag_spec. 2590 2591 * ltconfig.in (export_symbols_cmds): Add $convenience. 2592 (cygwin, export_symbols_cmds): Ditto. 2593 * ltmain.in: Generate export symbol list before expanding 2594 convenience libraries, to avoid passing whole_archive_flag_spec to 2595 $NM. 2596 Reported by Godmar Back <gback@cs.utah.edu> 2597 25981999-05-27 David Jones <jones@mosaid.com> 2599 2600 * libltdl/ltdl.c (LTDL_BIND_FLAGS): Remove BIND_VERBOSE, to avoid 2601 printing error messages. 2602 26031999-05-26 Alexandre Oliva <oliva@dcc.unicamp.br> 2604 2605 GNU libtool 1.3.2 was released. 2606 26071999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br> 2608 2609 * NEWS: List fixed problems. 2610 * doc/PLATFORMS: Tested for 1.3.2. 2611 2612 * config.guess: Synch with GNU common. 2613 2614 * ltmain.in: Revert to stripping .exe on all platforms. 2615 * TODO: Note about this problem. Demo is fixed on win32. Support 2616 `empty' convenience libraries. 2617 2618 * ltconfig.in (solaris*, ld_shlibs): Do not enable shared 2619 libraries with GNU ld 2.8.*, it's broken. Emit a warning 2620 suggesting an upgrade. 2621 Reported by Brian Ford <ford@vss.fsi.com> and Ronald Pijnacker 2622 <Ronald.Pijnacker@best.ms.philips.com> 2623 26241999-05-25 Frank Ch. Eigler <fche@cygnus.com> 2625 2626 * ltmain.in: file_magic check would not avoid cyclic links. 2627 26281999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br> 2629 2630 * depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize. 2631 * depdemo/l3/l3.c, depdemo/l4/l4.c: Likewise. 2632 2633 * ltmain.in: Remove object files before writing to them, to avoid 2634 circular links. 2635 Reported by Ron O'Hara <rono@sentuny.com.au> 2636 26371999-05-24 Thomas Tanner <tanner@ffii.org> 2638 2639 * NEWS: support for installing stripped libraries using GNU strip 2640 * ltconfig.in: set deplibs_check_method=pass_all on FreeBSD, 2641 Linux and Solaris since no one can reproduce the famous deplibs 2642 bug 2643 * ltmain.in: preserve $CC (reported by Tom Tromey), 2644 strip libraries using GNU strip if it's available and the 2645 -s flag was passed to "install" 2646 26471999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br> 2648 2649 * doc/PLATFORMS: Release 1.3.1 passes on GNU Hurd/x86. 2650 Reported by Pavel Roskin <pavel_roskin@geocities.com> 2651 26521999-05-23 Thomas Tanner <tanner@ffii.org> 2653 2654 * ltmain.in: strip off the .exe suffix only on *Win 2655 (Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>) 2656 26571999-05-22 Thomas Tanner <tanner@ffii.org> 2658 2659 * NEWS: updated 2660 * TODO: -Wc, -Wl, implemented 2661 * AUTHORS: changed my email address 2662 * doc/libtool.texi: fix "wierd" typo :) 2663 * ltmain.in: linking against convenience libraries was broken, 2664 implemented the "-Wc," "-Wl," "-Xcompiler" "-Xlinker" flag for 2665 compiler and linker-specific flags, 2666 add -lc before we do the deplibs check 2667 * ltconfig.in: linkopts -> compiler_flags for $CC and linker_flags 2668 for $LD, link_all_deplibs=yes on IRIX 2669 26701999-05-22 Gary V. Vaughan <gvv@techie.com> 2671 2672 * NEWS: insert todays date alongside 1.3.1 release. 2673 * Makefile.in: use gnu not gnits rules 2674 * config.guess: synch with gnu common & apply Takabatake-san's 2675 MIPS *000 patch. 2676 * config.sub: synch with gnu common. 2677 26781999-05-22 Doug Evans <devans@casey.cygnus.com> 2679 2680 * libltdl/configure.in (dlerror): Fix typo in dlopen found in -ldl 2681 test. 2682 26831999-05-21 Pavel Roskin <pavel_roskin@geocities.com> 2684 2685 * Makefile.am (EXTRA_DIST): Don't distribute instutils. 2686 (install-data-hook): use libltdl/Makefile.am's local-install files 2687 rule. 2688 * libltdl/Makefile.am (local-install-files): New rule to install 2689 libltdl without creating links or mode 777 directories. 2690 * instutil/*: deleted. 2691 26921999-05-21 Alexandre Oliva <oliva@dcc.unicamp.br> 2693 2694 * doc/PLATFORMS: Updated to 1.3.1 for all platforms I've got. 2695 Added sparc-unknown-linux-gnu. 2696 26971999-05-21 Gary V. Vaughan <gvv@techie.com> 2698 2699 * demo/foo.h: s/PARAMS/LTDL_PARAMS/g 2700 * libltdl/ltdl.h: ditto. 2701 * libltdl/ltdl.c: ditto. 2702 2703 * demo/foo.h: s/__P/PARAMS/g 2704 * libltdl/ltdl.h: ditto. 2705 * libltdl/ltdl.c: ditto. 2706 Reported by Akim Demaille <demaille@inf.enst.fr> 2707 27081999-05-20 Alexandre Oliva <oliva@dcc.unicamp.br> 2709 2710 * NEWS: Updated docs. 2711 * TODO: Recommend libtool.m4 to be inserted in acinclude.m4. AIX 2712 4.3.2.0 no longer fails on static dlopening. GNU DLD no longer 2713 has to support .la files, since libltdl already does. Convenience 2714 libraries and reloadable objects should be tested in the 2715 testsuite. We could support some amount of control on the soname 2716 of libraries. 2717 * doc/libtool.texi: Notes about convenience libraries and 2718 automake. Documented INCLTDL. 2719 27201999-05-20 Thomas Tanner <tanner@gmx.de> 2721 2722 * cdemo/main.c: "Welcome _to_ ..." 2723 * mdemo/main.c: ditto 2724 * libltdl/configure.in: support multiple dlopening mechanisms 2725 at once 2726 * libltdl/ltdl.c: prefix system dependent functions with "sys_" 2727 to avoid symbol conflicts (libdld didn't work) 2728 * libtool.m4 (AC_LIBLTDL_*): set INCLTDL to the path of ltdl.h 2729 * ltconfig.in: check for dlopen with -ldl first 2730 27311999-05-19 Gary V. Vaughan <gvv@techie.com> 2732 2733 * NEWS: Added 1.3.1 news items. 2734 * doc/PLATFORMS: updated the boxes I have access to, to 1.3.1 2735 in preparation for the next release. 2736 27371999-05-18 Gary V. Vaughan <gvv@techie.com> 2738 2739 * ltconfig.in (cygwin*, whole_archive_flag_spec): dlltool chokes 2740 on this, so leave it unset in this case so that the ltmain code 2741 knows it has to unpack convenience archives by itself. 2742 27431999-05-17 Gary V. Vaughan <gvv@techie.com> 2744 2745 * ltmain.in: Do not exit when an unknown library name is passed 2746 passed in, simply warn and continue since some compilers require 2747 -LANG:* like options to work. 2748 Reported by Adam C. Powell, IV <adam.powell@nist.gov> 2749 27501999-05-17 Jiro Takabatake <jiro@din.or.jp> 2751 2752 * ltconfig.in: port to NEC UX/4800. 2753 * NEWS: updated. 2754 27551999-05-17 Gary V. Vaughan <gvv@techie.com> 2756 2757 * ltconfig.in (beos*, deplibs_check_method): set to pass_all. BeOS 2758 is PIC by default. 2759 Reported by "Shawn T . Amundson" <amundson@gimp.org> 2760 2761 * libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking 2762 for dlopen *with* -ldl first. 2763 Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com> 2764 2765 * demo/foo.h: Don't set any declspecs until we have full dll 2766 support. 2767 27681999-05-16 Alexandre Oliva <oliva@dcc.unicamp.br> 2769 2770 * ltconfig.in (solaris2.6, whole_archive_flag_spec): Do not use 2771 -Wl for allextract. 2772 27731999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br> 2774 2775 * instutil/chmod: New script to avoid chmod'ing files while 2776 installing libltdl's sources. 2777 * instutil/ln: New script to avoid hard-linking libltdl's sources 2778 in the install tree. 2779 * Makefile.am (EXTRA_DIST): Dist them. 2780 (instal-data-hook): Add srcdir/instutil to the beginning of the 2781 PATH before installing libltdl's sources. 2782 27831999-05-09 Gary V. Vaughan <gvv@techie.com> 2784 2785 * TODO: updated. 2786 27871999-05-06 Gary V. Vaughan <gvv@techie.com> 2788 2789 * Makefile.am (install-data-hook): make sure the install directory 2790 is not left world writable. 2791 Reported by Andreas Schwab <schwab@issan.cs.uni-dortmund.de> 2792 27931999-04-30 Alexandre Oliva <oliva@dcc.unicamp.br> 2794 2795 * libtool.m4: Use ifelse instead of if. 2796 Reported by David Mazieres <dm@amsterdam.lcs.mit.edu> 2797 27981999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br> 2799 2800 GNU Libtool 1.3 was released. 2801 2802 * NEWS: Summarize news from 1.2 to 1.3. 2803 2804 * ltmain.in: Save exit status of link_command before removing 2805 symbol table object file. 2806 28071999-04-29 Gary V. Vaughan <gvv@techie.com> 2808 2809 * doc/PLATFORMS: updated my hpux-10.20 and cygwin box entries. 2810 28111999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br> 2812 2813 * NEWS: Improved support for DU and IRIX too. 2814 2815 * config.sub, config.guess: Updated from GNU common. 2816 2817 * mdemo/configure.in: Move AC_LIBLTDL_CONVENIENCE before 2818 AM_PROG_LIBTOOL, as suggested by autoconf. 2819 2820 * doc/libtool.texi (Distributing libltdl): Document that -static 2821 may cause the same problems on libltdl as -all-static. 2822 * TODO: We might want to fix this in the future. 2823 2824 * doc/libtool.texi: Clear up overfull hbox. 2825 2826 * libltdl/Makefile.am (ltdl.lo): Add dependencies. 2827 * libltdl/configure.in: Clean up some duplicate defines. Enable 2828 support for multiple dlopening mechanisms. 2829 * libltdl/acconfig.h: New file. Add #undefs for defines that 2830 would be duplicated. 2831 28321999-04-29 Gary V. Vaughan <gvv@techie.com> 2833 2834 * libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the 2835 code that makes these configure time checks on hosts that need the 2836 tools *and* if the AC_LIBTOOL_WIN32_DLL macro is used. 2837 28381999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br> 2839 2840 * ltmain.in (nlist, SYMFILE): Use outputname instead of output for 2841 names within output_objdir. 2842 28431999-04-28 Alexandre Oliva <oliva@dcc.unicamp.br> 2844 2845 * libtool.m4 (AC_ENABLE_SHARED, AC_ENABLE_STATIC, 2846 AC_ENABLE_FAST_INSTALL): Do not call AC_BEFORE here, they're 2847 AC_REQUIREd by AC_LIBTOOL_SETUP. 2848 (AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_DISABLE_FAST_INSTALL): 2849 Call AC_BEFORE here, and now with two arguments, since these do 2850 change the default. 2851 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE): Fix calls to 2852 AC_BEFORE. 2853 28541999-04-28 Gary V. Vaughan <gvv@techie.com> 2855 2856 * libtool.m4 (ltconfig_enable_win32_dll): pass --enable-win32-dll to 2857 ltconfig if this is set. 2858 (AC_LIBTOOL_WIN32_DLL): New macro required for libtool to attempt 2859 a dll build on win32 hosts. 2860 * ltconfig.in (--enable-win32-dll): new flag for the cli. 2861 (cygwin*|mingw*|os2*, ltconfig_enable_win32_dll): if this is not set 2862 to yes, then do not attempt to build shared libraries. 2863 * doc/libtool.texi: document AC_LIBTOOL_WIN32_DLL. 2864 * NEWS: noted new macro. 2865 28661999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br> 2867 2868 * libtool.m4 (AC_LIBTOOL_DLOPEN, AC_ENABLE_SHARED, 2869 AC_ENABLE_STATIC, AC_ENABLE_FAST_INSTALL, AC_LIBLTDL_CONVENIENCE, 2870 AC_LIBLTDL_INSTALLABLE): Warn if they appear after 2871 AC_PROG_LIBTOOL. AC_LIBTOOL_SETUP, actually. 2872 (AC_LIBTOOL_SETUP): Check whether DLOPEN support is to be enabled 2873 at autoconf time, not configure time. Simplify code and 2874 improve (?) help message about --disable-libtool-lock. 2875 28761999-04-27 Thomas Tanner <tanner@gmx.de> 2877 2878 * NEWS: new clean mode 2879 * THANKS: added Ossama Othman 2880 * doc/libtool.texi: documented the new `clean' mode 2881 * ltconfig.in: set need_version=no on OSF (reported by 2882 Marcus Sundberg <mackan@stacken.kth.se>) 2883 * ltmain.in: allow absolute non-existant -L paths, 2884 always use output_objdir instead of objdir for temporary files, 2885 delete generated temporary symbol lists, 2886 don't add .la twice in the pseudo-library header, 2887 implemented and documented clean mode (deletes libraries, 2888 programs and object files and the files associated with them), 2889 if build_libtool_libs=no and no static library is available, 2890 try to link the program against the shared library, 2891 don't add a statically linked library to the dependency_libs 2892 * ltmain.in (help uninstall): added a missing backslash 2893 after echo (reported by Ossama Othman) 2894 28951999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br> 2896 2897 * ltmain.in (old_archive_cmds): Iterate on oldobjs to find out 2898 which links to object files we must create. Do not test for empty 2899 pic_flag to create such links. Use objext when searching for 2900 object files extracted from convenience library. 2901 2902 * ltconfig.in (compiler_c_o): Make sure the compiler does not 2903 create temporaries in the current directory when output should go 2904 elsewhere. We must perform locking if it does. 2905 29061999-04-27 Gary V. Vaughan <gvv@techie.com> 2907 2908 * ltmain.in (old_archive_cmds): Ensure that there are always .o 2909 objects available before running old_archive_cmds. 2910 29111999-04-26 Erez Zadok <ezk@cs.columbia.edu> 2912 2913 * doc/PLATFORMS: Updates for netbsd 1.3.3 and 1.4. 2914 29151999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br> 2916 2917 * ltconfig.in (aix4.[01], always_export_symbols): The case pattern 2918 would never match; fixed. 2919 Reported by Stephan Kulow <coolo@itm.mu-luebeck.de> 2920 29211999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br> 2922 2923 * libtool.m4 (OBJDUMP): Pass it to ltconfig. 2924 * configure.in: AC_SUBST DLLTOOL, OBJDUMP and AS. 2925 * Makefile.am (libtool, clibtool): Pass them to ltconfig. 2926 29271999-04-25 Frank Ch. Eigler <fche@cygnus.com> 2928 2929 * libtool.m4 (cygwin*): Look for target objdump tool. 2930 * ltconfig.in (cygwin*, file_magic_cmd): Use autoconf-located target 2931 objdump tool. Track OBJDUMP like DLLTOOL and AS. 2932 2933 * ltconfig.in (cygwin*, deplibs_check_method): Accept 2934 "architecture: i386" as optional suffix, for it is printed on a 2935 separate line sometimes. 2936 2937 * ltmain.in (cygwin*, ltdll.c): Wrap DllMain declaration in extern "C". 2938 2939 * ltmain.in (deplibs_check_method=file_magic): Redirect stderr to 2940 /dev/null, to suppress error messages from target objdump. 2941 29421999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br> 2943 2944 * ltconfig.in (irix*, soname_spec, library_names_spec): Missing 2945 dots before $versuffix and $major. 2946 2947 * ltconfig.in (solaris*, whole_archive_flag_spec): Use -z 2948 allextract/defaultextract from Solaris 2.6 on. 2949 Reported by Brian Ford <ford@vss.fsi.com> 2950 2951 * ltconfig.in (beos*, allow_undefined_flag): Do not build shared 2952 libraries with undefined symbols. 2953 2954 * ltconfig.in (aix4*, allow_undefined_flag): Set to -berok. 2955 (aix4*, shared_flag): Set to -shared or ${wl}-bM:SRE. 2956 (aix4*, archive_cmds): Use -bexpall. 2957 (aix4*, archive_cmds, archive_expsym_cmds): Use shared_flag and 2958 allow_undefined_flag. 2959 (aix4*, always_export_symbols): Set to yes up to AIX 4.1.*, 2960 because -bexpall is supported from 4.2 on. 2961 Reported by Greg Wooledge 2962 <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com> 2963 2964 * ltconfig.in (hpux*, hardcode_minus_L): Set to yes. 2965 (hpux*, hardcode_libdir_flag_spec): Do not use +s by default. 2966 (hpux*, shlibpath_overrides_runpath): Set to no. 2967 2968 * ltconfig.in (irix*, osf*, archive_cmds): Write so_locations 2969 within objdir. 2970 2971 * ltconfig.in (irix*, soname_spec): Append $major. 2972 (irix*, library_names_spec): Add new soname. 2973 Reported by David Kaelbling <drk@sgi.com> 2974 2975 * ltconfig.in (irix*, sys_lib_dlsearch_path_spec): /usr/local/lib 2976 is not searched by default. /usr/lib is searched before /lib. 2977 * ltconfig.in (irix*, sys_lib_search_path_spec): /usr/lib is 2978 searched before /lib. 2979 2980 * ltconfig.in (irix5*, need_lib_prefix, need_version): Set to no, 2981 by unifying with irix6*. 2982 2983 * ltconfig.in (irix*, osf*, deplibs_check_method): Use pass_all. 2984 2985 * ltconfig.in (old_LDFLAGS, old_LIBS): Save and write to comments 2986 in output file. 2987 2988 * ltmain.in (prefer_static_libs): New variable, set to no by 2989 default, but set to yes by -static and -all-static. Used instead 2990 of build_libtool_libs to decide whether to use a shared or static 2991 version of a library, when both versions are available. 2992 29931999-04-25 Boyd Lynn Gerber <gerberb@zenez.com> 2994 2995 * ltconfig.in (sco3.2v5*): Use LD_RUN_PATH for hard-coding. 2996 29971999-04-25 Pavel Roskin <pavel_roskin@geocities.com> 2998 2999 * Makefile.am (uninstall-local): Remove installed libltdl tree. 3000 30011999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br> 3002 3003 * demo/Makefile.am (hc-direct, hc-libflag, hc-libpath, hc-minusl): 3004 Added CFLAGS to link commands; SCO OSR needs it for -belf. 3005 3006 * TODO: -Wl and -Wc options. 3007 30081999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br> 3009 3010 * libltdl/ltdl.c: Remove trivial warnings. 3011 30121999-04-22 Frank Ch. Eigler <fche@cygnus.com> 3013 3014 * ltconfig.in: Correct sed expression that extracts symbols 3015 from cygwin def files. Ignore demangled C++ names, if any. 3016 30171999-04-12 John David Anglin <dave.anglin@nrc.ca> 3018 3019 * libltdl/ltdl.c (shl_close): shl_t was correct here... 3020 (shl_sym): ... but we have to pass the handle by reference here. 3021 30221999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br> 3023 3024 * doc/libtool.texi (Invoking ltconfig): Document environment 3025 variables used. 3026 3027 * doc/libtool.texi (Invoking ltconfig): Document --cache-file. 3028 3029 * doc/libtool.texi (Invoking ltconfig): Document 3030 --disable-fast-install, --enable-dlopen, --with-gnu-ld and 3031 --disable-lock. 3032 30331999-04-11 Thomas Tanner <tanner@gmx.de> 3034 3035 * libltdl/configure.in: check for shl_load in libdld 3036 * libltdl/ltdl.c (shl_close, shl_sym): use (shl_t *) instead of shl_t 3037 * ltconfig.in (check for gcc): removed a bogus line, 3038 check for shl_load in libdld 3039 * ltmain.in: added a warning to the header of the .la file 3040 to warn users against deleting the file, 3041 link shared against static libraries if 3042 deplibs_check_method == pass_all 3043 30441999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br> 3045 3046 * libtool.m4 (AC_PROG_LD, AC_PROG_NM): When looking for programs, 3047 try $ac_exeext too, so that they're found on DJGPP/MS-DOS. 3048 * ltconfig.in: Likewise. 3049 Reported by Robert S. Maier <rsm@math.arizona.edu> 3050 3051 * ltconfig.in (Usage): Removed --enable-dlopen-self. 3052 Reported by Pavel Roskin <pavel_roskin@geocities.com> 3053 3054 * ltconfig.in: Moved sysv4 before sysv4.*. 3055 (symcode): Brian's overrider is specific to sysv4, not sysv4*. 3056 30571999-04-09 Thomas Tanner <tanner@gmx.de> 3058 3059 * NEWS, README: Motorola System V 4 support 3060 * doc/PLATFORMS: added mk88-motorola-sysv4 3061 * ltconfig.in: installed patch from Brian Ford <ford@vss.fsi.com> 3062 to support mk88-motorola-sysv4 3063 3064 * doc/libtool.texi: some cleanups in the libltdl documentation 3065 30661999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br> 3067 3068 * ltconfig.in (--fallback-echo): Do not put an inline document and 3069 an exec in the same if construct; otherwise the inline document 3070 may not be removed. 3071 * ltmain.in (--fallback-echo): Likewise. 3072 Reported by John David Anglin <dave.anglin@nrc.ca> 3073 3074 * dryrun.test: It would still fail at random times, because `cp' 3075 and `mv' are not guaranteed to preserve the timestamps of the 3076 installed files. Instead of preserving them, just remove them 3077 before the dry uninstall test. Redirect dry-run output to stderr, 3078 so that it can be easily separated from the regular output. 3079 30801999-04-07 Thomas Tanner <tanner@gmx.de> 3081 3082 * NEWS: support for moved libraries 3083 * libtool.m4: another DJGPP fix 3084 30851999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br> 3086 3087 * doc/PLATFORMS: Updated to 1.3 for all platforms I've got. I'll 3088 make sure 1.3 won't be released unless it passes all tests on 3089 those platforms. 3090 3091 * doc/libtool.texi (Compile mode): Document potential problem and 3092 work-around for `-c -o dir/foo.lo'. 3093 3094 * tests/dryrun.test: The constant modifications of libtool would 3095 cause main.o to be updated at the wrong time; the new approach is 3096 to modify the libtool script so that it enables dry run depending 3097 on whether an environment variable is set or not. I've also moved 3098 `after' and `before' to a directory deep within $objdir, instead 3099 of creating it in ../tests. 3100 * tests/Makefile.am (CLEANFILES): Removed. 3101 31021999-04-06 Alexandre Oliva <oliva@dcc.unicamp.br> 3103 3104 * tests/dryrun.test: We cannot rely on setting LIBTOOL, because 3105 automake may use sub-makes, and the setting will not be propagated 3106 to them on some makes. Instead, create a dry version of libtool 3107 and switch between it and the original one before and after dry 3108 runs. 3109 * tests/Makefile.am (CLEANFILES): Added libtool-*, created by 3110 dryrun.test. 3111 3112 * tests/dryrun.test: Use cmp instead of diff. 3113 (before, after): Create them within ../tests. 3114 (libtool): Set to `/bin/sh ./libtool' by default, but use LIBTOOL, 3115 SHELL and top_builddir from the environment if available. For dry 3116 runs, use "$libtool -n". 3117 * tests/Makefile.am (CLEANFILES): Added before and after. 3118 * ltmain.in: Do not create links to object files in dry runs. 3119 31201999-04-06 Thomas Tanner <tanner@gmx.de> 3121 3122 * ltmain.in: added a missing line of the ILD patch 3123 3124 * NEWS: improved DJGPP support 3125 * doc/libtool.texi: removed hardcode_into_libs documentation 3126 * libtool.m4: some DJGPP fixes 3127 * ltconfig.in: ditto, reverted one of my previous patches: we need 3128 to check for NM, removed the hardcode_into_libs support since 3129 no platform seems to support it 3130 * ltmain.in: some DJGPP fixes, removed the hardcode_into_libs support 3131 31321999-04-05 Alexandre Oliva <oliva@dcc.unicamp.br> 3133 3134 * ltconfig.in (netbsd*, GNU ld): Support a.out shared libraries 3135 3136 * Makefile.am (CVS): allow command-line overriding of cvs 3137 3138 * ltconfig.in (exclude_expsyms): Exclude _GLOBAL_OFFSET_TABLE_ by 3139 default, as most a.out platforms use it, and end up in trouble if 3140 we preload it, so it's safer to rule it out by default, and 3141 special case its removal from exclude_expsyms if someone ever 3142 complains. 3143 31441999-04-05 Thomas Tanner <tanner@gmx.de> 3145 3146 * doc/libtool.texi: reorder tests to reflect execution order, 3147 documented dryrun.test and depdemo* 3148 * ltmain.in (lt_preloaded_symbols): dry-run mode bugfix 3149 * tests/dryrun.test: new test to check whether the dry-run 3150 mode works properly 3151 3152 * demo/run.test: removed the unnecessary test 3153 * demo/Makefile.am: ditto 3154 * ltmain.in: set the DLL search path on cygwin,mingw and os2 3155 31561999-04-04 Alexandre Oliva <oliva@dcc.unicamp.br> 3157 3158 * ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for 3159 deplibs.test to work with GNU ld; -Bshareable is needed here. 3160 3161 * ltconfig.in (ld_shlibs, amigaos*): Disable shared libs with 3162 native ld too. 3163 3164 * ltconfig.in (sunos4*, GNU ld): Reordered. 3165 3166 * ltconfig.in (archive_cmds, sunos4*): Revert to -Bstatic; the 3167 native linker doesn't even support -Bshareable, only GNU ld does. 3168 Do not use `gcc -shared' in archive_cmds, it breaks deplibs.test. 3169 3170 * ltconfig.in: if ld_shlibs=no, set can_build_shared=no too, 3171 otherwise it will just be disregarded. This would cause 3172 netbsd/m68k with GNU ld a.out, and certainly many other platforms, 3173 to incorrectly believe that shared libraries were supported, while 3174 archive_cmds was empty, causing shared libraries not to be created 3175 31761999-04-03 Alexandre Oliva <oliva@dcc.unicamp.br> 3177 3178 * NEWS: improved support for AIX and HP/UX 3179 31801999-04-03 Thomas Tanner <tanner@gmx.de> 3181 3182 * NEWS: updated 3183 * libtool.m4: check for main in libm instead of cos 3184 * ltmain.in: cosmetic fixes, don't try to link libraries only once 3185 (although it's not necessary on many platforms and looks ugly...), 3186 31871999-04-02 Alexandre Oliva <oliva@dcc.unicamp.br> 3188 3189 * ltmain.in (convenience): fixed race condition when more than one 3190 library was linked with the same convenience library by 3191 uniquifying the extract directory. It is now named after the new 3192 library *and* the old one, and lives in the objdir of the new one. 3193 3194 * ltmain.in (-L*): do not abort just because a directory specified 3195 with -L does not exist; just warn and discard it 3196 3197 * depdemo/l1/Makefile.am (AUTOMAKE_OPTIONS): no-dependencies 3198 * depdemo/l2/Makefile.am (AUTOMAKE_OPTIONS): ditto 3199 * depdemo/l3/Makefile.am (AUTOMAKE_OPTIONS): ditto 3200 * depdemo/l4/Makefile.am (AUTOMAKE_OPTIONS): ditto 3201 3202 * ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we 3203 should have been using -Bshareable 3204 3205 * demo/Makefile.am (CLEANFILES): clean EXTRA_* from deplibs-check 3206 3207 * libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests 3208 that involve linking 3209 * Makefile.am (LDFLAGS, LIBS, libtool, clibtool): ditto 3210 * tests/Makefile.am (CFLAGS, CPPFLAGS, LDFLAGS, LIBS): set 3211 (LDFLAGS, LIBS, TESTS_ENVIRONMENT): pass them down 3212 32131999-04-02 Erez Zadok <ezk@cs.columbia.edu> 3214 3215 * doc/PLATFORMS: 1.2f ok on various versions of hpux cc 3216 32171999-04-02 Alexandre Oliva <oliva@dcc.unicamp.br> 3218 3219 * ltconfig.in (link_all_deplibs): set to unknown by default 3220 * ltmain.in: test != no, not = yes 3221 * doc/libtool.texi: document unknown 3222 32231999-04-01 Thomas Tanner <tanner@gmx.de> 3224 3225 * doc/libtool.texi: documented deplibs.test 3226 3227 * demo/Makefile.am: moved testsuite specific declarations to the end, 3228 the deplibs check is now optional 3229 * libltdl/configure.in: read libtool --config only once, 3230 merged AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE from libtool.m4 3231 * libtool.m4: AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE were not 3232 used, lt_dlopen and silent may be empty, AC_SYS_LIBTOOL_CYGWIN 3233 no longer necessary 3234 * ltconfig.in: NM is already checked in libtool.m4, 3235 * ltmain.in: always link all static dependency_libs 3236 * tests/Makefile.am: added deplibs.test 3237 * tests/demo-exec.test, demo-inst.test: removed hell0 3238 * tests/deplibs.test: new test to test the deplibs_check_method 3239 32401999-03-31 Thomas Tanner <tanner@gmx.de> 3241 3242 * ltmain.in: always link a library before its dependency libs 3243 * mdemo/Makefile.am: test -export-symbols-regex 3244 32451999-03-30 Thomas Tanner <tanner@gmx.de> 3246 3247 * doc/libtool.texi: fixed a typo 3248 * libtoolize.in: add the libtool scripts to libltdl.tar.gz 3249 * libtool.m4: don't AC_SUBST(USE_SYMBOL_UNDERSCORE), 3250 AC_CHECK_LIBM sets LIBM, AC_LIBLTDL_INSTALLABLE doesn't work 3251 when libltdl is already installed 3252 * *demo/Makefile.am: use LIBM 3253 * *demo/configure.in: AC_SUBST LIBM 3254 * libltdl/configure.in: use ac_cv_sys_symbol_underscore instead of 3255 USE_SYMBOL_UNDERSCORE 3256 * ltconfig.in: added link_all_deplibs variable 3257 * doc/libtool.texi: document it 3258 * ltmain.in: always search for libname.la - don't eval libname_spec, 3259 when linking libraries against static ones just print a warning 3260 and add them to dependency_libs, add -lc before deplibs, 3261 always link all dependencies of a static library or if 3262 link_all_deplibs is yes, hardcode library paths if 3263 hardcode_into_libs is no, don't link against dependency_libs 3264 that already are deplibs 3265 32661999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br> 3267 3268 * ltconfig.in (aix4*, collect2name): make sure collect2 exists 3269 before running string on it, to avoid errors on old gccs 3270 Reported by Erez Zadok <ezk@cs.columbia.edu> 3271 3272 * ltconfig.in (aix4*, hardcode_libdir_flag_spec): unless we're 3273 using gcc with old collect2, use -b libpath to hardcode the 3274 library search path 3275 3276 * ltmain.in, ltconfig.in: reverted most of the quoting changes 3277 from 1999-03-25; Gary's delay_variable_subst patch from 1999-02-19 3278 obviates it. Keep only quoting of $PATH, for uniformity with 3279 other systems that already did it 3280 32811999-03-29 Gary V. Vaughan <gary@gnu.org> 3282 3283 * libltdl/ltdl.c (lt_dladdsearchdir): Forgot to mallocate the 3284 extra byte of memory for the teminating NUL, and forgot to 3285 strcpy the original path in to the new memory before appending 3286 the new path compononent. 3287 32881999-03-27 Thomas Tanner <tanner@gmx.de> 3289 3290 * NEWS: updated 3291 * README: updated (BeOS support, no longer shared libraries 3292 support for AmigaOS), cleanups, we have now two mailing lists 3293 * REAMDE-alpha: autogen -> bootstrap, we have now two mailing lists 3294 * THANKS: added Xavier Pianet 3295 * doc/PLATFORMS: BeOS works 3296 * doc/libtool.texi: we have now to two mailing lists, 3297 updated -dlopen self documentation, documented libltdl's license, 3298 put each author in a separate line, 3299 inter-library dependencies on uninstalled libtool libraries are 3300 now supported, cleanups and minor corrections 3301 * libltdl/COPYING.LIB: new file 3302 * libltdl/ltdl.[ch]: added special exception to the LGPL license 3303 * libtool.spec: removed, it was outdated 3304 * Makefile.am: removed libtool.spec 3305 * ltmain.in: use TMPDIR when possible, create a subdirectory 3306 in the temporary directory, added -export-symbols-regex to the help, 3307 33081999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br> 3309 3310 * demo/Makefile.am: create a static library, link two libtool 3311 archives with it, then link the program hell0 with both 3312 * demo/hell1.c, demo/hell2.c: dummy files used to create the 3313 libtool archives without introducing symbol conflicts 3314 * tests/demo-exec.test, tests/demo-inst.test: run the new program 3315 * ltconfig.in (irix5*, irix6*, deplibs_check_method): pass_all 3316 3317 * ltmain.in ($PATH): instead of modifying the PATH, better prevent 3318 its expansion the first time *_cmds variables are eval'ed. Modify 3319 $show within loops that eval them so as to expand variables 3320 * ltconfig.in (*_cmds): quote $ so that they're not expanded by 3321 the first eval 3322 33231999-03-25 Gary V. Vaughan <gvv@techie.com> 3324 3325 * ltmain.in ($PATH): Expand any tildes in the users path to the 3326 contents of $HOME to avoid problems with *_cmds splitting and 3327 evaluation. 3328 33291999-03-24 Thomas Tanner <tanner@gmx.de> 3330 3331 * TODO: support -dlopen for libraries 3332 * doc/PLATFORMS: Erez Zadok reported that libtool works on bsdi 4.0.1 3333 * doc/libtool.texi (libltdl): libltdl supports BeOS 3334 * libltdl/ltdl.c: shlib_ext was declared even if LTDL_SHLIB_EXT 3335 didn't exist, partially reverted my previous patch: BeOS will 3336 automatically search in ADDON_PATH 3337 * ltmain.in: don't allow relative run-paths, fixed a typo in a warning, 3338 ignore -dlopen self for libraries and objects, 3339 only accept -L paths that exist, minor cleanups, 3340 bugfix: add -lc for normal libraries, not convenicence libraries 3341 removed offensive warnings/comments 3342 33431999-03-24 Alexandre Oliva <oliva@dcc.unicamp.br> 3344 3345 * ltconfig.in (ld_shlibs, amigaos*): disable shared libraries 3346 33471999-03-23 Gary V. Vaughan <gvv@techie.com> 3348 3349 * libltdl/configure.in: the sed expression for finding the shared 3350 library extension used to think the . in [.] for the cygwin 3351 shared_library_names_spec was the start of the extension!! We now 3352 remove anything in square brackets (assuming that the square 3353 brackets delimit a sed or expr expression which is not part of the 3354 extension) before looking for the extension. 3355 3356 * TODO (cygwin): food for thought re: mutually dependant dlls. 3357 33581999-03-21 Alexandre Oliva <oliva@dcc.unicamp.br> 3359 3360 * tests/build-relink.test: if we relink and have hardcode_direct, 3361 removing an uninstalled library breaks an uninstalled program 3362 3363 * doc/libtool.texi: documented convenience libraries 3364 * TODO: removed entry about it 3365 3366 * tests/*-unst.test: if directory is not configured, skip it 3367 * tests/demo.test, tests/mdemo.test: unused, removed 3368 * tests/depdemo.test: ditto 3369 33701999-03-20 Thomas Tanner <tanner@gmx.de> 3371 3372 * doc/libtool.texi (link mode): documentation for -module updated 3373 * ltconfig.in: fast-install mode doesn't work for 3374 hardcode_into_libs=yes 3375 * ltmain.in: bugfix: "-dlopen self [-all]-static" wouldn't use 3376 dlopen_self_static, automatically enable -export-dynamic when 3377 using "-dlopen self", always make run-paths absolute, 3378 ignore -lc only on platforms that don't have such a library, 3379 cleanups in the ILD code, find even installed libtool libraries 3380 that were moved, before generating the DLL-import library we need 3381 to set libname, improved hardcoding of shlibpath for libraries, 3382 don't generate an installable pseudo-library for convenience 3383 libraries, bugfix: export_symbols would be removed immediately 3384 before it is used 3385 33861999-03-19 Thomas Tanner <tanner@gmx.de> 3387 3388 * use the same header in all configure.in's and Makefile.am's 3389 * NEWS: improved support for BeOS and Cygwin 3390 * TODO: ILD branch was merged, all internal variables and macros 3391 are now documented 3392 * demo/Makefile.am: use $(LIBS) instead of -lm 3393 * doc/libtool.texi: documented new variable hardcode_into_libs 3394 and thread_safe_flag_spec, renamed all AM_ENABLE/DISABLE_* macros 3395 to AC_*, documented AC_DISABLE_FAST_INSTALL and AC_LIBTOOL_DLOPEN 3396 * libltdl/ltdl.c: added two new error messages (cannot_open_error, 3397 cannot_close_error), use them where approriate, 3398 BeOS support (thanks to Xavier Pianet), on BeOS search modules 3399 additionally in ADDON_PATH 3400 * libtool.m4: rewrote AC_CHECK_LIBM: BeOS and Cygwin don't have 3401 libm and *-ncr-sysv4.3* requires libmw 3402 * ltconfig.in: don't check for LoadLibrary, hardcode dlopen 3403 configuration for BeOS and Cygwin 3404 * ltmain.in: fix sourcing of .la files on Solaris 3405 (patch by Raja R Harinath) 3406 34071999-03-19 Alexandre Oliva <oliva@dcc.unicamp.br> 3408 3409 * ltconfig.in (sunos4*, with_gnu_ld, hardcode_minus_L): remove, we 3410 have -rpath 3411 (aix4*, without_gnu_ld, hardcode_shlibpath_var): unsupported is 3412 default 3413 (hpux9*, hpux10*, hpux11*, archive_cmds): drop +s, unneeded here 3414 (hpux9*, hpux10*, hpux11*, hardcode_libdir_flag_spec): add +s 3415 before +b 3416 (hpux9*, hpux10*, hpux11*, shlibpath_overrides_runpath): since +s 3417 appears before +b, set it to yes 3418 (hardcode_shlibpath_var, hardcode_action): do not use 3419 shlibpath_var to specify the compile-time search path; it loses, 3420 and we may end up linking with pre-installed older versions of 3421 libraries instead of yet-to-be-installed ones 3422 (*, hardcode_direct, hardcode_minus_L): remove entries that set 3423 them to no, that is default 3424 3425 * demo/Makefile.am (hc-direct, hc-libpath, hc-minusL): link with 3426 $$hardcode_libdir_flag_spec, if available, with libdir=$(libdir), 3427 to make sure the hardcode_* variables will produce the expected 3428 results even in the presence of a hardcoding flag; depend on 3429 libhello.la having been installed already 3430 (hc-libflag): link with the installed library, but try to 3431 hard-code the uninstalled one 3432 * doc/libtool.texi: document the changes 3433 3434 * tests/*.test: when a test fails, skip tests that depend on it. 3435 If a certain configuration is not supported, skip all its tests. 3436 3437 * doc/libtool.texi: reorder tests to reflect execution order 3438 3439 * tests/noinst-link.test: new test 3440 * tests/Makefile.am (TESTS): added noinst-link.test 3441 * doc/libtool.texi: document it 3442 34431999-03-19 Gary V. Vaughan <gvv@techie.com> 3444 3445 * ltmain.in (dependency_libs): There is no reason to infer that 3446 the pseudo library is invalid if dependency_libs='' at 3447 install-time, or else libltdl/libltdl.la is invalid!! 3448 34491999-03-18 Thomas Tanner <tanner@gmx.de> 3450 3451 * merged my inter-library dependencies code from the ILD branch: 3452 * NEWS: inter-library dependencies are now supported 3453 * configure.in: add the depdemo subdirectory 3454 * depdemo/*: new demo to demonstrate inter-library dependencies 3455 * tests/depdemo*: new tests for depdemo 3456 * ltconfig.in: added hardcode_into_libs (whether library paths 3457 should be hardcoded into the libraries), 3458 it currently defaults to 'no' 3459 * ltmain.in: new internal 'relink' mode to relink libraries 3460 on platforms with hardcode_into_libs=yes, save command line 3461 arguments in libtool_args, accept relative -L directories, 3462 ignore -lm on BeOS and Cygwin, always ignore -lc, 3463 handle -l, -L and .la arguments later, always make the library 3464 installation directory (-rpath) absolute, in relink mode don't 3465 delete the not-relinked library and exit immediately after relinking, 3466 try to find already-installed libtool libraries that were specified 3467 using -l, support hardcoding of library paths into libraries too, 3468 export shlibpath before linking libraries, and a lot of other 3469 big changes that I don't want to describe here... please read 3470 the source. 3471 3472 * merged Gary's Win32 code from the ILD branch: 3473 * NEWS: Win32 DLLs are now supported 3474 * TODO: removed .a library namespace clash for win32. It is 3475 now resolved. 3476 * ltconfig.in (cygwin, library_names_spec): removed $libname.a. 3477 Creating a dll with libtool no longer creates an import library. 3478 * ltconfig.in (extract_expsyms_cmds): Create $objdir if it does 3479 not exist -- i.e. we need to generate import an import library 3480 in a directory which has no libs of its own. 3481 * doc/libtool.texi (old_archive_from_expsyms_cmds, 3482 extract_expsyms_cmds): documented these new variables. 3483 * ltconfig.in (extract_expsyms_cmds): New variable. Commands to 3484 extract the exported symbol list from a dll. 3485 (old_archive_from_expsyms_cmds): New variable. Commands to build 3486 an old archive from the extracted expsyms list. 3487 * ltmain.in: run the cmds in extract_expsyms_cmds and 3488 old_archive_from_expsyms_cmds as necessary. 3489 * ltconfig.in (cygwin, old_archive_from_new_cmds): no longer 3490 required. 3491 * ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even 3492 sure whether win32 honours the runpath at all when searching for 3493 a dll to load! Anyway, when set to yes this prevents a gratuitous 3494 warning. 3495 * ltmain.in (deplib): The cygwin environment doesn't actually have 3496 -lm, and although the linker fakes having one, specifiying it to 3497 libtool will break ILD, so we ignore it when generating 3498 dependencies. 3499 35001999-03-17 Gary V. Vaughan <gvv@techie.com> 3501 3502 * doc/PLATFORMS: Thanks to Alexandres changes below, both my 3503 hp boxes pass the entire test suite. 3504 35051999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br> 3506 3507 * ltconfig.in (hpux*, hardcode_minus_L): should be no, we have +b 3508 (hpux*, hardcode_libdir_separator): set to colon 3509 35101999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br> 3511 3512 * doc/PLATFORMS: egcs is gcc; updates from Erez Zadok 3513 35141999-03-16 Alexandre Oliva <oliva@dcc.unicamp.br> 3515 3516 * ltmain.in (deplibs, beos*): don't append -lc 3517 Reported by Xavier Pianet <xavier@xingo.com> 3518 3519 * tests/build-relink.test (hardcode_action): when set to relink, 3520 skip the test with lt-hell 3521 3522 * Makefile.am (EXTRA_DIST): add mkstamp 3523 Reported by Xavier Pianet <xavier@xingo.com> 3524 3525 * Makefile.am (EXTRA_DIST): add ChangeLog.0 3526 35271999-03-16 Thomas Tanner <tanner@gmx.de> 3528 3529 * doc/libtool.texi: some minor corrections to the "-dlopen self" 3530 documentation 3531 * tests/Makefile.am: sorted by name, added assign.test 3532 * ChangeLog: started new file 3533 3534 * ltconfig.in: some cosmetical changes 3535 * ltmain.in: ditto 3536 3537Continued in ChangeLog.0 3538