Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2259:d3e9118c2795 | 2260:972dd83d1c18 |
---|---|
259 if test x"${datadir}" != x""; then | 259 if test x"${datadir}" != x""; then |
260 AC_DEFINE_DIR(DATA_DIR, datadir, [Data files directory]) | 260 AC_DEFINE_DIR(DATA_DIR, datadir, [Data files directory]) |
261 fi | 261 fi |
262 | 262 |
263 # Export $libexecdir to the source tree | 263 # Export $libexecdir to the source tree |
264 AC_DEFINE_DIR(PKGLIB_DIR, "${libdir}/${PACKAGE}", [Modules directory]) | 264 pkglibdir=${libdir}/${PACKAGE} |
265 AC_DEFINE_DIR(PKGLIB_DIR, pkglibdir, [Modules directory]) | |
265 | 266 |
266 AC_ARG_ENABLE(debug, | 267 AC_ARG_ENABLE(debug, |
267 AC_HELP_STRING([--enable-debug], [add development compilation options]), | 268 AC_HELP_STRING([--enable-debug], [add development compilation options]), |
268 debug=$enableval, debug="") | 269 debug=$enableval, debug="") |
269 if test x"${debug}" = x"yes"; then | 270 if test x"${debug}" = x"yes"; then |