changeset 1370:00fc57bb5dc4

Detect the X11 library on Solaris x86
author Sam Lantinga <slouken@libsdl.org>
date Sat, 18 Feb 2006 07:11:58 +0000
parents 42eeb14770e3
children e2641c13bf33
files configure.in
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sat Feb 18 07:05:18 2006 +0000
+++ b/configure.in	Sat Feb 18 07:11:58 2006 +0000
@@ -762,6 +762,7 @@
                     x11ext_lib='libXext.so'
                     ;;
                 *)
+                    if test x$X_LIBS = x; then X_LIBS="-L/usr/lib"; fi
                     x11_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libX11.so.*/'`
                     x11_lib=`ls $x11_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
                     x11ext_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libXext.so.*/'`