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
|
From 5bce3fa8cf51a9232761fe59a713ca3188efbfc0 Mon Sep 17 00:00:00 2001
From: Saleem Abdulrasool <compnerd@compnerd.org>
Date: Sat, 31 Jan 2009 14:58:28 -0800
Subject: [PATCH 47/48] add --with-udev-scripts-dir
THis allows installing the udev scripts into a directory other than /lib (say
/lib64 for pure 64-bit systems).
---
configure.in | 6 ++++++
tools/linux/Makefile.am | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in
index e253a8a..6b16d20 100644
--- a/configure.in
+++ b/configure.in
@@ -1000,6 +1000,12 @@ if test "x$with_linux_input_header" != "x"; then
AC_DEFINE_UNQUOTED(HAL_LINUX_INPUT_HEADER_H, "$with_linux_input_header", [If set, the header to use instead of <linux/input.h>])
fi
+AC_ARG_WITH([udev-scripts-dir],
+ AS_HELP_STRING([--with-udev-scripts-dir=<path>],
+ [Use a given path for udev scripts]),
+ [udev_scripts_dir=$withval], [udev_scripts_dir=/lib])
+AC_SUBST([udev_scripts_dir])
+
dnl
dnl SUBSETTING END
dnl
diff --git a/tools/linux/Makefile.am b/tools/linux/Makefile.am
index 768c92e..243de32 100644
--- a/tools/linux/Makefile.am
+++ b/tools/linux/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-udevrulesdir = /lib/udev/rules.d
+udevrulesdir = $(udev_scripts_dir)/udev/rules.d
udevrules_DATA = 90-hal.rules
--
1.6.1.2
|