mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
(AC_PATH_X_XMKMF): Check for libX11.{so,sl} as well as .a when
seeing whether LIBDIR or USRLIBDIR is right.
This commit is contained in:
parent
efeba5c38f
commit
4fbb7a7771
@ -1768,10 +1768,12 @@ EOF
|
||||
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
||||
eval `make acfindx 2>/dev/null | grep -v make`
|
||||
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
|
||||
if test ! -f $ac_im_usrlibdir/libX11.a && test -f $ac_im_libdir/libX11.a
|
||||
then
|
||||
ac_im_usrlibdir=$ac_im_libdir
|
||||
fi
|
||||
for ac_extension in a so sl; 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
|
||||
fi
|
||||
done
|
||||
# Screen out bogus values from the imake configuration.
|
||||
case "$ac_im_incroot" in
|
||||
/usr/include) ;;
|
||||
|
@ -1768,10 +1768,12 @@ EOF
|
||||
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
||||
eval `make acfindx 2>/dev/null | grep -v make`
|
||||
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
|
||||
if test ! -f $ac_im_usrlibdir/libX11.a && test -f $ac_im_libdir/libX11.a
|
||||
then
|
||||
ac_im_usrlibdir=$ac_im_libdir
|
||||
fi
|
||||
for ac_extension in a so sl; 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
|
||||
fi
|
||||
done
|
||||
# Screen out bogus values from the imake configuration.
|
||||
case "$ac_im_incroot" in
|
||||
/usr/include) ;;
|
||||
|
Loading…
Reference in New Issue
Block a user