diff --git a/configure b/configure index 132f7d4700..42168b45da 100755 --- a/configure +++ b/configure @@ -18857,7 +18857,8 @@ SEARCH_INCLUDE="\ \ /usr/openwin/share/include" -SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " +SEARCH_LIB="`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 d42426fc2d..ce69721f51 100644 --- a/configure.in +++ b/configure.in @@ -1810,7 +1810,9 @@ SEARCH_INCLUDE="\ \ /usr/openwin/share/include" -SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " +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 dnl ------------------------------------------------------------------------ dnl Check for libraries