configure.in
changeset 1569 50d9888d201d
parent 1567 12b6d331d82a
child 1571 0160eb7cccee
equal deleted inserted replaced
1568:1f3f39f9cfcf 1569:50d9888d201d
   771                 *-*-irix*) # IRIX 6.5 requires that we use /usr/lib32
   771                 *-*-irix*) # IRIX 6.5 requires that we use /usr/lib32
   772                     x11_lib='libX11.so'
   772                     x11_lib='libX11.so'
   773                     x11ext_lib='libXext.so'
   773                     x11ext_lib='libXext.so'
   774                     ;;
   774                     ;;
   775                 *)
   775                 *)
   776                     if test "x$X_LIBS" = "x"; then X_LIBS="-L/usr/lib"; fi
   776                     x11_lib_spec=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1/'`]
   777                     x11_lib_spec=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1\/libX11.so.[0-9]/'`]
   777                     for path in $x11_lib_path /usr/lib /usr/X11/lib /usr/X11R6/lib
   778                     x11_lib=`ls $x11_lib_spec 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`
   778                     do if test "x$x11_lib" = "x"; then
   779                     x11ext_lib_spec=[`echo $X_LIBS | sed 's/.*-L\([^ ]*\).*/\1\/libXext.so.[0-9]/'`]
   779                            x11_lib=[`ls $path/libX11.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
   780                     x11ext_lib=`ls $x11ext_lib_spec 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`
   780                        fi
       
   781                        if test "x$x11ext_lib" = "x"; then
       
   782                            x11ext_lib=[`ls $path/libXext.so.[0-9] 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`]
       
   783                        fi
       
   784                     done
   781                     ;;
   785                     ;;
   782             esac
   786             esac
   783 
   787 
   784             X_CFLAGS="$X_CFLAGS -DXTHREADS"
   788             X_CFLAGS="$X_CFLAGS -DXTHREADS"
   785             if test x$ac_cv_func_shmat != xyes; then
   789             if test x$ac_cv_func_shmat != xyes; then