only check for lib directory for architectures which have multiple ABIs (Solaris, IRIX, Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
8
configure
vendored
8
configure
vendored
@@ -22531,6 +22531,8 @@ SEARCH_INCLUDE="\
|
||||
\
|
||||
/usr/openwin/share/include"
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* | *-*-irix6* | *-*-solaris2* )
|
||||
echo "$as_me:$LINENO: checking for libraries directory" >&5
|
||||
echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
|
||||
if test "${wx_cv_std_libpath+set}" = set; then
|
||||
@@ -22590,6 +22592,12 @@ rm -f conftest.err conftest.$ac_objext \
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
|
||||
echo "${ECHO_T}$wx_cv_std_libpath" >&6
|
||||
;;
|
||||
|
||||
*)
|
||||
wx_cv_std_libpath="lib";
|
||||
;;
|
||||
esac
|
||||
|
||||
SEARCH_LIB=`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g`
|
||||
|
||||
|
11
configure.in
11
configure.in
@@ -2124,7 +2124,10 @@ SEARCH_INCLUDE="\
|
||||
\
|
||||
/usr/openwin/share/include"
|
||||
|
||||
dnl try to find out the standard lib locations
|
||||
dnl try to find out the standard lib locations for the systems with multiple
|
||||
dnl ABIs
|
||||
case "${host}" in
|
||||
*-*-linux* | *-*-irix6* | *-*-solaris2* )
|
||||
AC_CACHE_CHECK([for libraries directory],
|
||||
wx_cv_std_libpath,
|
||||
[
|
||||
@@ -2148,6 +2151,12 @@ AC_CACHE_CHECK([for libraries directory],
|
||||
fi
|
||||
]
|
||||
)
|
||||
;;
|
||||
|
||||
*)
|
||||
wx_cv_std_libpath="lib";
|
||||
;;
|
||||
esac
|
||||
|
||||
SEARCH_LIB=`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g`
|
||||
|
||||
|
Reference in New Issue
Block a user