Drop libdrm CFLAGS where no longer necessary.

dev
Kristian Høgsberg 16 years ago
parent 0ac16f056d
commit 8012f32978
  1. 2
      Makefile.in
  2. 5
      configure.ac
  3. 2
      flower.c

@ -28,8 +28,6 @@ $(libs) : LDLIBS += @FFI_LIBS@
$(libs) : $(libs) :
gcc -shared $^ $(LDLIBS) -o $@ gcc -shared $^ $(LDLIBS) -o $@
$(compositors) $(clients) : CFLAGS += @LIBDRM_CFLAGS@
wayland-system-compositor : \ wayland-system-compositor : \
wayland-system-compositor.o \ wayland-system-compositor.o \
evdev.o \ evdev.o \

@ -3,10 +3,9 @@ AC_PROG_CC
PKG_PROG_PKG_CONFIG() PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(FFI, [libffi]) PKG_CHECK_MODULES(FFI, [libffi])
PKG_CHECK_MODULES(LIBDRM, [libdrm])
PKG_CHECK_MODULES(EGL_COMPOSITOR, [eagle libpng cairo gdk-pixbuf-2.0 libudev]) PKG_CHECK_MODULES(EGL_COMPOSITOR,
PKG_CHECK_MODULES(GL_COMPOSITOR, [gl x11]) [eagle libpng cairo gdk-pixbuf-2.0 libudev libdrm])
PKG_CHECK_MODULES(CLIENT, [eagle cairo glib-2.0 libudev]) PKG_CHECK_MODULES(CLIENT, [eagle cairo glib-2.0 libudev])
if test $CC = gcc; then if test $CC = gcc; then

@ -24,8 +24,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <i915_drm.h>
#include <sys/ioctl.h>
#include <time.h> #include <time.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>

Loading…
Cancel
Save