Mercurial > ~mikael > mcabber > hg
view mcabber/hgcset.sh @ 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 | e8f2db654e67 |
children |
line wrap: on
line source
#! /bin/sh srcdir="$1" builddir="$2" if [ ! -f "$srcdir/logprint.h" ]; then echo "Unable to find mcabber sources!" >&2 exit 1 fi cd "$srcdir" if which hg > /dev/null 2>&1; then cs=$(hg id 2> /dev/null | cut -d' ' -f1) if test $? -eq 0; then if [ x"$cs" != x ]; then grep -q "$cs" "$builddir/hgcset.h" > /dev/null 2>&1 || \ echo "#define HGCSET \"$cs\"" > "$builddir/hgcset.h" exit 0 fi fi fi echo > "$builddir/hgcset.h"