OpenBSD: Add missing X11 libraries to autoconf.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 01 Aug 2012 21:41:54 -0400
changeset 6385 f909e1dab4e2
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
--- a/configure.in	Wed Aug 01 21:03:46 2012 -0400
+++ b/configure.in	Wed Aug 01 21:41:54 2012 -0400
@@ -1045,8 +1045,13 @@
                 *-*-openbsd*)
                     x11_lib='libX11.so'
                     x11ext_lib='libXext.so'
+                    xcursor_lib='libXcursor.so'
+                    xinerama_lib='libXinerama.so'
+                    xinput_lib='libXi.so'
+                    xrandr_lib='libXrandr.so'
                     xrender_lib='libXrender.so'
-                    xrandr_lib='libXrandr.so'
+                    xss_lib='libXss.so'
+                    xvidmode_lib='libXxf86vm.so'
                     ;;
                 *)
                     x11_lib=[`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]