Re: [Mutt] #2905: configure script doesn't take care on docdir
#2905: configure script doesn't take care on docdir parameter
Comment (by Ralf Wildenhues):
{{{
* Mutt wrote on Fri, Nov 02, 2007 at 09:54:14PM CET:
> #2905: configure script doesn't take care on docdir parameter
>
> This raises a new issue since $datarootdir seems to be introduced by
> autoconf 2.60. On fedora core 6, autoconf 2.59 doesn't define
$datarootdir
> so that contrib/Makefile and doc/Makefile attempt to install docs in
> /doc/mutt (without --docdir).
I think you could either require Autoconf 2.60:
AC_PREREQ([2.60])
or alternatively, prime datarootdir the way newer Autoconf would do:
if test -z "$datarootdir"; then
datarootdir='${prefix}/share'
fi
AC_SUBST([datarootdir])
Hope that helps (untested).
Cheers,
Ralf
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2905#comment:>