]> git.saurik.com Git - wxWidgets.git/commitdiff
added /usr/lib and lib32 to SEARCH_LIB (trying to fix IRIX compilation)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Feb 2004 00:03:46 +0000 (00:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Feb 2004 00:03:46 +0000 (00:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 1c487f78a3162b47498586ec9d5b6bc05377f529..0b0931c99133b4955bba2d3b7d4dac4893b94826 100755 (executable)
--- a/configure
+++ b/configure
@@ -18448,7 +18448,7 @@ SEARCH_INCLUDE="\
                               \
     /usr/openwin/share/include"
 
-SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
+SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
 
 
 cat >confcache <<\_ACEOF
index 9066650376e0af56ad98be512800f9a31482ffdf..74eddb3836886e35374bc8d4454e74d23c61dc85 100644 (file)
@@ -1831,8 +1831,13 @@ SEARCH_INCLUDE="\
                               \
     /usr/openwin/share/include"
 
+dnl prepend lib and lib32 for IRIX where the files in these directories should
+dnl be found before the ones in lib64 for 32bit compilation -- of course, this
+dnl probably/surely breaks 64bit compilation... IMO the only real solution is to
+dnl stop using WX_PATH_FIND_LIBRARIES() at all and use AC_CHECK_LIB() instead
+dnl
 dnl add 64 bit versions for Linux on AMD (this is not perfect but well...)
-SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
+SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
 
 dnl ------------------------------------------------------------------------
 dnl Check for libraries