Skip to content

Commit

Permalink
Detect the X11 library on Solaris x86
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 18, 2006
1 parent 661d8df commit bcfc84e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -762,6 +762,7 @@ AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [default=yes
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.*/'`
Expand Down

0 comments on commit bcfc84e

Please sign in to comment.