[configure] X11 libs fix for CentOS 4.6

svn: r12118
This commit is contained in:
Kevin Tew 2008-10-24 16:51:01 +00:00
parent 59609e8910
commit 6680d2cc98
2 changed files with 12 additions and 0 deletions

6
src/configure vendored
View File

@ -5802,6 +5802,12 @@ case $OS in
GC_THREADS_FLAG="-DGC_LINUX_THREADS"
# PPC: X11 librares are not found
case `$UNAME -m` in
#Required for CentOS 4.6
x86_64)
if test -d /usr/X11R6/lib64 ; then
X_LIBS="$X_LIBS -L/usr/X11R6/lib64"
fi
;;
ppc)
if test -d /usr/X11R6/lib ; then
X_LIBS="$X_LIBS -L/usr/X11R6/lib"

View File

@ -538,6 +538,12 @@ case $OS in
GC_THREADS_FLAG="-DGC_LINUX_THREADS"
# PPC: X11 librares are not found
case `$UNAME -m` in
#Required for CentOS 4.6
x86_64)
if test -d /usr/X11R6/lib64 ; then
X_LIBS="$X_LIBS -L/usr/X11R6/lib64"
fi
;;
ppc)
if test -d /usr/X11R6/lib ; then
X_LIBS="$X_LIBS -L/usr/X11R6/lib"