While I'm at it, fix two warnings in other files about
ignoring datarootdir with autoconf >2.60. Closes #2905.
AC_SUBST(DOTLOCK_TARGET)
+dnl autoconf <2.60 compatibility
+if test -z "$datarootdir"; then
+ datarootdir='${prefix}/share'
+fi
+AC_SUBST([datarootdir])
AC_MSG_CHECKING(where to put the documentation)
AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=PATH], [Specify where to put the documentation]),
libdir = @libdir@
includedir = @includedir@
datadir = @datadir@
+datarootdir = @datarootdir@
localedir = $(datadir)/locale
gettextsrcdir = $(datadir)/gettext/intl
aliaspath = $(localedir)
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@
+datarootdir = @datarootdir@
localedir = $(datadir)/locale
gettextsrcdir = $(datadir)/gettext/po