summaryrefslogtreecommitdiff
path: root/meta/recipes-core/udev/udev-145/enable-gudev.patch
blob: 8ee402b134783b2640c6b40042ea2b87ae00142f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Upstream-Status: Inappropriate [configuration]

Index: udev-145/configure.ac
===================================================================
--- udev-145.orig/configure.ac	2010-01-29 14:41:29.000000000 +0000
+++ udev-145/configure.ac	2010-01-29 14:41:54.000000000 +0000
@@ -49,16 +49,17 @@
 AC_ARG_ENABLE([extras],
 	AS_HELP_STRING([--disable-extras], [disable extras with external dependencies]),
 	[], [enable_extras=yes])
+
+	PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
+	AC_SUBST([GLIB_CFLAGS])
+	AC_SUBST([GLIB_LIBS])
+
 if test "x$enable_extras" = xyes; then
 	AC_PATH_PROG([GPERF], [gperf])
 	if test -z "$GPERF"; then
 		AC_MSG_ERROR([gperf is needed])
 	fi
 
-	PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
-	AC_SUBST([GLIB_CFLAGS])
-	AC_SUBST([GLIB_LIBS])
-
 	AC_CHECK_LIB([acl], [acl_init], [:], AC_MSG_ERROR([libacl not found]))
 	AC_CHECK_HEADER([acl/libacl.h], [:], AC_MSG_ERROR([libacl header not found]))
 
Index: udev-145/extras/Makefile.am
===================================================================
--- udev-145.orig/extras/Makefile.am	2010-01-29 14:43:56.000000000 +0000
+++ udev-145/extras/Makefile.am	2010-01-29 14:44:11.000000000 +0000
@@ -12,7 +12,8 @@
 	rule_generator \
 	scsi_id \
 	usb_id \
-	v4l_id
+	v4l_id \
+	gudev 
 
 if ENABLE_EXTRAS
 SUBDIRS += \
@@ -20,6 +21,5 @@
 	usb-db \
 	hid2hci \
 	keymap \
-	modem-modeswitch \
-	gudev
+	modem-modeswitch
 endif