summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-07-02 11:12:31 +0100
committerRichard Hughes <richard@hughsie.com>2009-07-02 11:12:31 +0100
commit02835a786fa9392e090376c605b082954e64e8cd (patch)
treee503d859a6f69f6caead67dd2bcaee2fef4f4dff /configure.ac
parent3f8141b89260a55af0752875e6bf2276541af58e (diff)
udev rules files now live in /lib/udev/rules.d, not /etc/udev/rules.d
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bcd4b2d..7faacaa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,6 +53,14 @@ AM_CONDITIONAL(MAN_PAGES_ENABLED, test x$enable_man_pages = xyes)
GTK_DOC_CHECK([1.3])
+# udev rules go in /lib, not /usr/lib
+if test "$prefix" = "/usr" -o "$prefix" = "/usr/local" ; then
+ slashlibdir=/lib
+else
+ slashlibdir=$prefix/lib
+fi
+AC_SUBST(slashlibdir)
+
#### gcc warning flags
dnl ---------------------------------------------------------------------------