OpenBSD: Add missing X11 libraries to autoconf.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 01 Aug 2012 21:41:54 -0400
changeset 6385f909e1dab4e2
parent 6384 2fead9daad7e
child 6386 0aa624a37ad4
OpenBSD: Add missing X11 libraries to autoconf.

Fixes Bugzilla #1551.

Thanks to Brad Smith for the patch!
configure.in
     1.1 --- a/configure.in	Wed Aug 01 21:03:46 2012 -0400
     1.2 +++ b/configure.in	Wed Aug 01 21:41:54 2012 -0400
     1.3 @@ -1045,8 +1045,13 @@
     1.4                  *-*-openbsd*)
     1.5                      x11_lib='libX11.so'
     1.6                      x11ext_lib='libXext.so'
     1.7 +                    xcursor_lib='libXcursor.so'
     1.8 +                    xinerama_lib='libXinerama.so'
     1.9 +                    xinput_lib='libXi.so'
    1.10 +                    xrandr_lib='libXrandr.so'
    1.11                      xrender_lib='libXrender.so'
    1.12 -                    xrandr_lib='libXrandr.so'
    1.13 +                    xss_lib='libXss.so'
    1.14 +                    xvidmode_lib='libXxf86vm.so'
    1.15                      ;;
    1.16                  *)
    1.17                      x11_lib=[`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]