Hi, This change is needed so that the detection of shared libraries works on the mingw platform.
2006-09-03 Bruno Haible <[EMAIL PROTECTED]> * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Locate mingw shared libraries correctly. diff -r -c3 gettext-0.15/autoconf-lib-link/m4/lib-link.m4 gettext-0.15-mingw/autoconf-lib-link/m4/lib-link.m4 *** gettext-0.15/autoconf-lib-link/m4/lib-link.m4 2006-03-27 13:37:00.000000000 +0200 --- gettext-0.15-mingw/autoconf-lib-link/m4/lib-link.m4 2006-09-03 22:14:58.000000000 +0200 *************** *** 1,4 **** ! # lib-link.m4 serial 8 (gettext-0.15) dnl Copyright (C) 2001-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # lib-link.m4 serial 9 (gettext-0.15.1) dnl Copyright (C) 2001-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 198,206 **** found_so= found_a= if test $use_additional = yes; then ! if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" ! found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi --- 198,213 ---- found_so= found_a= if test $use_additional = yes; then ! if test -n "$shlibext" \ ! && { test -f "$additional_libdir/lib$name.$shlibext" \ ! || { test "$shlibext" = dll \ ! && test -f "$additional_libdir/lib$name.dll.a"; }; }; then found_dir="$additional_libdir" ! if test -f "$additional_libdir/lib$name.$shlibext"; then ! found_so="$additional_libdir/lib$name.$shlibext" ! else ! found_so="$additional_libdir/lib$name.dll.a" ! fi if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi *************** *** 220,228 **** case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` ! if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" ! found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi --- 227,242 ---- case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` ! if test -n "$shlibext" \ ! && { test -f "$dir/lib$name.$shlibext" \ ! || { test "$shlibext" = dll \ ! && test -f "$dir/lib$name.dll.a"; }; }; then found_dir="$dir" ! if test -f "$dir/lib$name.$shlibext"; then ! found_so="$dir/lib$name.$shlibext" ! else ! found_so="$dir/lib$name.dll.a" ! fi if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi