Detect the X11 library on Solaris x86
authorSam Lantinga <slouken@libsdl.org>
Sat, 18 Feb 2006 07:11:58 +0000
changeset 137000fc57bb5dc4
parent 1369 42eeb14770e3
child 1371 e2641c13bf33
Detect the X11 library on Solaris x86
configure.in
     1.1 --- a/configure.in	Sat Feb 18 07:05:18 2006 +0000
     1.2 +++ b/configure.in	Sat Feb 18 07:11:58 2006 +0000
     1.3 @@ -762,6 +762,7 @@
     1.4                      x11ext_lib='libXext.so'
     1.5                      ;;
     1.6                  *)
     1.7 +                    if test x$X_LIBS = x; then X_LIBS="-L/usr/lib"; fi
     1.8                      x11_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libX11.so.*/'`
     1.9                      x11_lib=`ls $x11_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
    1.10                      x11ext_lib_spec=`echo $X_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libXext.so.*/'`