diff mcabber/configure.ac @ 2260:972dd83d1c18

configure.ac: Default modules directory not set correctly on OpenBSD $ mcabber -V | grep Modules Modules directory: 23722{exec_prefix}/lib/mcabber This is caused by the following line in mcabber's configure.ac: AC_DEFINE_DIR(PKGLIB_DIR, "${libdir}/${PACKAGE}", [Modules directory]) It looks like AC_DEFINE_DIR is used incorrectly: it seems its second argument is supposed to be a single unquoted variable.
author Tim van der Molen <tim@openbsd.org>
date Tue, 22 Mar 2016 08:01:42 +0100
parents 3f04914d8643
children 766666eb6928
line wrap: on
line diff
--- a/mcabber/configure.ac	Tue Mar 15 17:31:59 2016 +0200
+++ b/mcabber/configure.ac	Tue Mar 22 08:01:42 2016 +0100
@@ -261,7 +261,8 @@
 # Export $libexecdir to the source tree
-AC_DEFINE_DIR(PKGLIB_DIR, "${libdir}/${PACKAGE}", [Modules directory])
+AC_DEFINE_DIR(PKGLIB_DIR, pkglibdir, [Modules directory])
     AC_HELP_STRING([--enable-debug], [add development compilation options]),