Add support for handling new multi-arch under Debian.
The libraries are now in /usr/lib/arch-linux-gnu and not /usr/lib{32,64} so check for them there too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
46
configure
vendored
46
configure
vendored
@@ -26999,8 +26999,8 @@ SEARCH_INCLUDE="\
|
||||
\
|
||||
/usr/openwin/share/include"
|
||||
|
||||
{ echo "$as_me:$LINENO: checking for libraries directory" >&5
|
||||
echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
|
||||
{ echo "$as_me:$LINENO: checking for libraries directories" >&5
|
||||
echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
|
||||
|
||||
case "${host}" in
|
||||
*-*-irix6* )
|
||||
@@ -27052,9 +27052,6 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
||||
fi
|
||||
done
|
||||
done
|
||||
if test "x$wx_cv_std_libpath" = "x"; then
|
||||
wx_cv_std_libpath="lib"
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
@@ -27064,29 +27061,44 @@ fi
|
||||
*-*-solaris2* )
|
||||
if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
|
||||
wx_cv_std_libpath="lib/64"
|
||||
else
|
||||
wx_cv_std_libpath="lib"
|
||||
fi
|
||||
;;
|
||||
|
||||
*-*-linux* )
|
||||
if test "$ac_cv_sizeof_void_p" = 8 -a \
|
||||
-d "/usr/lib64" -a ! -h "/usr/lib64"; then
|
||||
wx_cv_std_libpath="lib64"
|
||||
if test "$ac_cv_sizeof_void_p" = 8; then
|
||||
if test -d "/usr/lib/`uname -m`-linux-gnu"; then
|
||||
wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
|
||||
elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
|
||||
wx_cv_std_libpath="lib64"
|
||||
fi
|
||||
else
|
||||
wx_cv_std_libpath="lib"
|
||||
case "${host}" in
|
||||
i*86-*-linux* )
|
||||
if test -d '/usr/lib/i386-linux-gnu'; then
|
||||
wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
|
||||
fi
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
wx_cv_std_libpath="lib";
|
||||
if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
|
||||
wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
{ echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
|
||||
echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
|
||||
if test -z "$wx_cv_std_libpath"; then
|
||||
wx_cv_std_libpath="lib"
|
||||
fi
|
||||
|
||||
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
|
||||
if test -z "$wx_cv_std_libfullpath"; then
|
||||
wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
|
||||
fi
|
||||
|
||||
|
||||
{ echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
|
||||
echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
|
||||
|
||||
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
|
||||
|
||||
if test "$build" != "$host" -a "$GCC" = yes; then
|
||||
if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
|
||||
|
Reference in New Issue
Block a user