+ 2010-08-28 Charles Wilson <libtool@cwilson.fastmail.fm>
+
+ Minor sysroot fixups.
+ * libltdl/m4/libtool.m4 (_LT_WITH_SYSROOT): Fix typo.
+ * tests/sysroot.at: Search also for crt0.o to accommodate cygwin.
+
+2010-08-28 Charles Wilson <libtool@cwilson.fastmail.fm>
+
+ [cygwin|mingw|cross-compile]: Path conversion support.
+ * configure.ac: Ensure to_host_file_cmd is available to Makefile.
+ * TODO: Document QoI issue with file name conversion functions.
+ * libltdl/m4/libtool.m4 (_LT_PATH_CONVERSION_FUNCTIONS): New function
+ sets libtool variable $to_host_file_cmd, and employs cache.
+ (_LT_SETUP): Require it.
+ * tests/testsuite.at: Ensure to_host_file_cmd is passed as a
+ variable setting on the configure line for (new testsuite) tests.
+ * Makefile.am (TESTS_ENVIRONMENT): Ensure to_host_file_cmd is
+ included so that it is passed to (old testsuite) tests.
+ * libltdl/config/general.m4sh: Define $lt_sed_naive_backslashify here.
+ * libltdl/config/ltmain.m4sh ($to_host_file_cmd, $to_host_path_cmd):
+ New variables.
+ (func_cygpath): New function.
+ (func_init_to_host_path_cmd): New function.
+ (func_to_host_path): Renamed to...
+ (func_to_host_file): Refactored to... (now uses $to_host_file_cmd).
+ (func_convert_core_file_wine_to_w32): Here. New function.
+ (func_convert_core_msys_to_w32): Here. New function.
+ (func_convert_file_check): Here. New function.
+ (func_convert_file_noop): Here. New function.
+ (func_convert_file_msys_to_w32): Here. New function.
+ (func_convert_file_cygwin_to_w32): Here. New function.
+ (func_convert_file_nix_to_w32): Here. New function.
+ (func_convert_file_msys_to_cygwin): New function.
+ (func_convert_file_nix_to_cygwin): New function.
+ (func_to_host_pathlist): Renamed to...
+ (func_to_host_path): Refactored to... (now uses $to_host_path_cmd
+ and func_init_to_host_path_cmd).
+ (func_convert_path_check): Here. New function.
+ (func_convert_path_front_back_pathsep): Here. New function.
+ (func_convert_core_path_wine_to_w32): Here. New function.
+ (func_convert_path_noop): Here. New function.
+ (func_convert_path_msys_to_w32): Here. New function.
+ (func_convert_path_cygwin_to_w32): Here. New function.
+ (func_convert_path_nix_to_w32): Here. New function.
+ (func_convert_path_msys_to_cygwin): New function.
+ (func_convert_path_nix_to_cygwin): New function.
+
+2010-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix symlist variable path to use _WIN32 instead of __WINDOWS__.
+ * libltdl/config/ltmain.m4sh, libltdl/libltdl/lt_system.h,
+ libltdl/m4/libtool.m4, tests/demo/foo.h, tests/pdemo/foo.h:
+ Change __WINDOWS__ to _WIN32.
+ Report by Charles Wilson.
+
+ Add $pic_flag to archive_cmds and archive_expsym_cmds.
+ * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
+ <archive_cmds, archive_expsym_cmds>
+ [GNU ld, netbsd]: Add $pic_flag if ELF.
+ [GNU ld, solaris]: Likewise.
+ [GNU ld, default case]: Likewise.
+ [!GNU ld, freebsd, dragonfly]: Add $pic_flag.
+ [!GNU ld, GCC, hpux9]: Add $pic_flag.
+ [!GNU ld, GCC, hpux10]: Replace -fPIC with $pic_flag
+ [!GNU ld, GCC, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
+ [!GNU ld, GCC, irix5, irix6, nonstopux]: Add $pic_flag.
+ [!GNU ld, GCC, osf4, osf5]: Likewise.
+ [!GNU ld, GCC, solaris]: Likewise.
+ (_LT_LANG_CXX_CONFIG) <archive_cmds, archive_expsym_cmds>
+ [hpux9]: Add $pic_flag if $GXX.
+ [hpux10, hpux11, !hppa*64]: Replace -fPIC with $pic_flag.
+ [irix5, irix6]: Add $pic_flag if $GXX.
+ [osf4, osf5]: Likewise.
+ [solaris]: Add $pic_flag if $GXX and not GCC 2.7.
+
+ Uniform const'ness of symlist variable lt_preloaded_symbols.
+ On some systems, lt_preloaded_symbols may not be declared
+ const due to relocation issues. C99 requires qualification to
+ match for compatible declarations, so ensure we declare
+ const'ness in the same way everywhere; link-time optimization
+ may otherwise rightfully complain about inconsistencies.
+ Since ltdl.h may not depend upon config.h, rely on system
+ defines for choosing const'ness.
+ * NEWS: Update.
+ * doc/libtool.texi (Dlpreopening): Document this issue.
+ * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
+ [__WINDOWS__, __CYGWIN__, _WIN32_WCE]: Define LT_DLSYM_CONST
+ according to system defines. Remove old shell cruft. Use
+ LT_DLSYM_CONST for lt_${my_prefix}_LTX_preloaded_symbols.
+ * libltdl/libltdl/lt_system.h (LT_DLSYM_CONST): Likewise,
+ define LT_DLSYM_CONST according to system defines.
+ * tests/demo/foo.h (LT_DLSYM_CONST): Likewise.
+ * tests/pdemo/foo.h (LT_DLSYM_CONST): Likewise.
+ * tests/demo/dlmain.c (lt_dlsymlist): Use LT_DLSYM_CONST.
+ * tests/pdemo/longer_file_name_dlmain.c (lt_dlsymlist):
+ Likewise.
+ * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Likewise
+ for configure test code.
+ * libltdl/ltdl.c (preloaded_symbols): Use LT_DLSYM_CONST.
+ * libltdl/ltdl.h (LTDL_SET_PRELOADED_SYMBOLS): Likewise.
+
+2010-08-28 Dave Korn <dave.korn.cygwin@googlemail.com>
+
+ Ensure cwrapper magic string is not optimized away.
+ * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
+ Declare MAGIC_EXE as volatile.
+ Report by Charles Wilson.
+
+2010-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Fix quoting in non-XSI func_xform, for IRIX sh.
+ * libltdl/config/ltmain.m4sh (func_xform): Remove spurious extra
+ M4 quotes.
+
+ Fix response file test for unreliable exit status of IRIX ar.
+ * libltdl/m4/libtool.m4 (_LT_PROG_AR): IRIX ar will not fail
+ over a command-line argument specifying a nonexistent file (such
+ as `@FILE'), so ensure failure with a reponse file containing
+ a nonexistent file. Also, use lt_* variable prefix for
+ temporary variables.
+
+ Fix AC_LANG_PROGRAM warnings from git Autoconf.
+ * libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Fix
+ underquoted AC_LANG_PROGRAM call.
+ (LT_PROG_AR): Use AC_LANG_PROGRAM.
+ (_LT_LINKER_SHLIBS) [irix, GCC]: Use the right source for the
+ given language.
+ * NEWS: Update.
+
2010-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
fix AIX testsuite regression