diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 7 |
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]) ]) |