[configure] X11 libs fix for CentOS 4.6
svn: r12118
This commit is contained in:
parent
59609e8910
commit
6680d2cc98
6
src/configure
vendored
6
src/configure
vendored
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user