configure.in
branchSDL-1.2
changeset 4087 4867f7f7dd34
parent 4080 e1098effe318
child 4109 cd2ab40f1219
equal deleted inserted replaced
4086:7cd5a59480a4 4087:4867f7f7dd34
   935                 *-*-irix*) # IRIX 6.5 requires that we use /usr/lib32
   935                 *-*-irix*) # IRIX 6.5 requires that we use /usr/lib32
   936                     x11_lib='libX11.so'
   936                     x11_lib='libX11.so'
   937                     x11ext_lib='libXext.so'
   937                     x11ext_lib='libXext.so'
   938                     ;;
   938                     ;;
   939                 *)
   939                 *)
   940                     x11_lib_spec=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1/'`]
   940                     x11_lib_path=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1/'`]
   941                     for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib; do
   941                     for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib; do
   942                         if test "x$x11_lib" = "x"; then
   942                         if test "x$x11_lib" = "x"; then
   943                             x11_lib=[`ls -- $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   943                             x11_lib=[`ls -- $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   944                             if test "x$x11_lib" = "x"; then
   944                             if test "x$x11_lib" = "x"; then
   945                                 x11_lib=[`ls -- $path/libX11.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   945                                 x11_lib=[`ls -- $path/libX11.so.[0-9]* 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]