From ecdbe817fd7eb53fd1e7485c0492355f7f002d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 22 Jun 2010 19:45:26 +0200 Subject: [PATCH] XF86CONFIGDIR is undefined when built with --disable-xorg (#28672) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 10-evdev.conf file gets installed as /usr/share/X11/10-evdev.conf on platforms that built the server with --disable-xorg like s390/s390x. The definition/installation should be guarded with "if XORG" because it makes sense only when built with xorg. X.Org Bug 28672 Signed-off-by: Dan HorĂ¡k Acked-by: Julien Cristau Signed-off-by: Peter Hutterer --- config/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/Makefile.am b/config/Makefile.am index e1f1c4e16..4a2e873db 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -9,8 +9,10 @@ AM_CFLAGS += $(UDEV_CFLAGS) libconfig_la_SOURCES += udev.c libconfig_la_LIBADD = $(UDEV_LIBS) +if XORG xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR) xorgconfd_DATA = 10-evdev.conf +endif else