From b62e750df988d02bb3b675852610132e768ad765 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 13 Feb 2004 00:03:46 +0000 Subject: [PATCH] added /usr/lib and lib32 to SEARCH_LIB (trying to fix IRIX compilation) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 2 +- configure.in | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1c487f78a3..0b0931c991 100755 --- 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 diff --git a/configure.in b/configure.in index 9066650376..74eddb3836 100644 --- a/configure.in +++ b/configure.in @@ -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