File xemacs-beta-infodir.patch of Package xemacs
diff -up xemacs-beta/configure.ac~ xemacs-beta/configure.ac
--- xemacs-beta/configure.ac~ 2009-03-08 15:00:21.000000000 +0200
+++ xemacs-beta/configure.ac 2009-03-09 23:39:52.000000000 +0200
@@ -1090,7 +1090,7 @@ then
AC_DEFINE(DOCDIR_USER_DEFINED)
fi
-if test "x$infodir_expanded" != "x${prefix_expanded}/share/info"
+if test "x$infodir" != 'x${datarootdir}/info'
then
AC_DEFINE(INFODIR_USER_DEFINED)
else