summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-08-10 11:08:49 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-08-10 11:08:49 +0000
commit7163f8e5b08752f27d63bd968c8653f8c743f668 (patch)
treee2c99ca14517941ca50d73f6f39736af09e23335 /acinclude.m4
parentcdf746c4835ab3b64bbff3731ce02e65b4f6861f (diff)
Use ${libexecdir} for the udev script directory
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c4c814f0..2c72f0c2 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -28,6 +28,11 @@ AC_DEFUN([AC_INIT_BLUEZ], [
AC_SUBST([localstatedir], ['/var'])
fi
+ dnl no prefix and no libexecdir, so default to /lib
+ if (test "$libexecdir" = '${prefix}/lib'); then
+ AC_SUBST([libexecdir], ['/lib'])
+ fi
+
dnl no prefix and no mandir, so use ${prefix}/share/man as default
if (test "$mandir" = '${prefix}/man'); then
AC_SUBST([mandir], ['${prefix}/share/man'])
@@ -52,8 +57,6 @@ AC_DEFUN([AC_INIT_BLUEZ], [
storagedir="${localstatedir}/lib/bluetooth"
fi
- AC_SUBST([udevexecdir], ['/lib/udev'])
-
AC_DEFINE_UNQUOTED(CONFIGDIR, "${configdir}", [Directory for the configuration files])
AC_DEFINE_UNQUOTED(STORAGEDIR, "${storagedir}", [Directory for the storage files])
])