comparison configure.in @ 1834:037715c96a85

OpenBSD doesn't ship with X11 library major version symlinks
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 May 2006 07:24:24 +0000
parents f255c6bee184
children 703f7268b5b1
comparison
equal deleted inserted replaced
1833:e566046c73d9 1834:037715c96a85
823 *) 823 *)
824 x11_lib_spec=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1/'`] 824 x11_lib_spec=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1/'`]
825 for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib; do 825 for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib; do
826 if test "x$x11_lib" = "x"; then 826 if test "x$x11_lib" = "x"; then
827 x11_lib=[`ls -- $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`] 827 x11_lib=[`ls -- $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
828 if test "x$x11_lib" = "x"; then
829 x11_lib=[`ls -- $path/libX11.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
830 fi
828 fi 831 fi
829 if test "x$x11ext_lib" = "x"; then 832 if test "x$x11ext_lib" = "x"; then
830 x11ext_lib=[`ls -- $path/libXext.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`] 833 x11ext_lib=[`ls -- $path/libXext.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
834 if test "x$x11ext_lib" = "x"; then
835 x11ext_lib=[`ls -- $path/libXext.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
836 fi
831 fi 837 fi
832 if test "x$xrender_lib" = "x"; then 838 if test "x$xrender_lib" = "x"; then
833 xrender_lib=[`ls -- $path/libXrender.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`] 839 xrender_lib=[`ls -- $path/libXrender.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
840 if test "x$xrender_lib" = "x"; then
841 xrender_lib=[`ls -- $path/libXrender.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
842 fi
834 fi 843 fi
835 if test "x$xrandr_lib" = "x"; then 844 if test "x$xrandr_lib" = "x"; then
836 xrandr_lib=[`ls -- $path/libXrandr.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`] 845 xrandr_lib=[`ls -- $path/libXrandr.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
846 if test "x$xrandr_lib" = "x"; then
847 xrandr_lib=[`ls -- $path/libXrandr.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
848 fi
837 fi 849 fi
838 done 850 done
839 ;; 851 ;;
840 esac 852 esac
841 853