OpenBSD doesn't ship with X11 library major version symlinks
authorSam Lantinga
Mon, 15 May 2006 07:24:24 +0000
changeset 1834037715c96a85
parent 1833 e566046c73d9
child 1835 2fe9a74e654b
OpenBSD doesn't ship with X11 library major version symlinks
configure.in
     1.1 --- a/configure.in	Mon May 15 06:39:10 2006 +0000
     1.2 +++ b/configure.in	Mon May 15 07:24:24 2006 +0000
     1.3 @@ -825,15 +825,27 @@
     1.4                      for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib; do
     1.5                          if test "x$x11_lib" = "x"; then
     1.6                              x11_lib=[`ls -- $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
     1.7 +							if test "x$x11_lib" = "x"; then
     1.8 +								x11_lib=[`ls -- $path/libX11.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
     1.9 +							fi
    1.10                          fi
    1.11                          if test "x$x11ext_lib" = "x"; then
    1.12                              x11ext_lib=[`ls -- $path/libXext.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.13 +							if test "x$x11ext_lib" = "x"; then
    1.14 +								x11ext_lib=[`ls -- $path/libXext.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.15 +							fi
    1.16                          fi
    1.17                          if test "x$xrender_lib" = "x"; then
    1.18                              xrender_lib=[`ls -- $path/libXrender.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.19 +							if test "x$xrender_lib" = "x"; then
    1.20 +								xrender_lib=[`ls -- $path/libXrender.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.21 +							fi
    1.22                          fi
    1.23                          if test "x$xrandr_lib" = "x"; then
    1.24                              xrandr_lib=[`ls -- $path/libXrandr.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.25 +							if test "x$xrandr_lib" = "x"; then
    1.26 +								xrandr_lib=[`ls -- $path/libXrandr.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
    1.27 +							fi
    1.28                          fi
    1.29                      done
    1.30                      ;;