pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
-AC_OUTPUT([Makefile src/Makefile src/x11/Makefile dummy_drv_video/Makefile test/Makefile libva.pc])
+AC_OUTPUT([Makefile src/Makefile src/X11/Makefile dummy_drv_video/Makefile test/Makefile libva.pc])
libva_la_LTLIBRARIES = libva.la
libva_ladir = $(libdir)
libva_la_LDFLAGS = -version-number 0:30:0 -no-undefined
-libva_la_LIBADD = -ldl -lX11 -lXext -lXfixes -lXdamage x11/libva_x11.la
+libva_la_LIBADD = -ldl -lX11 -lXext -lXfixes -lXdamage X11/libva_X11.la
-SUBDIRS = x11
+SUBDIRS = X11
libva_la_SOURCES = va.c
AM_CFLAGS = -DLINUX -I$(top_srcdir)/src $(DRM_CFLAGS)
-noinst_LTLIBRARIES = libva_x11.la
+noinst_LTLIBRARIES = libva_X11.la
-libva_x11includedir = ${includedir}
-libva_x11include_HEADERS = va_x11.h va_dri.h
+libva_X11includedir = ${includedir}/X11
+libva_X11include_HEADERS = va_x11.h va_dri.h
-libva_x11_la_SOURCES = va_x11.c va_dri.c
+libva_X11_la_SOURCES = va_x11.c va_dri.c