--- autoconf-2.13/acspecific.m4.orig 2003-10-17 16:03:13 +0400 +++ autoconf-2.13/acspecific.m4 2003-10-17 16:04:33 +0400 @@ -2403,7 +2403,7 @@ # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. - for ac_extension in a so sl; do + for ac_extension in so sl a; do if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && test -f $ac_im_libdir/libX11.$ac_extension; then ac_im_usrlibdir=$ac_im_libdir; break @@ -2537,7 +2537,7 @@ ; \ do dnl Don't even attempt the hair of trying to link an X program! - for ac_extension in a so sl; do + for ac_extension in so sl a; do if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then ac_x_libraries=$ac_dir break 2