2 dnl Ensures $prefix and $exec_prefix are set to something sensible
4 dnl Logic taken from Geany-Plugins' build/expansions.m4
5 AC_DEFUN([GEANY_PREFIX],
7 if test "x$prefix" = xNONE; then
8 prefix=$ac_default_prefix
11 if test "x$exec_prefix" = xNONE; then
17 dnl Ensures $docdir is set and AC_SUBSTed
19 dnl FIXME: is this really useful?
20 AC_DEFUN([GEANY_DOCDIR],
22 if test -z "${docdir}"; then
23 docdir='${datadir}/doc/${PACKAGE}'