Package: grub
Version: 0.5.95
Severity: normal

On Debian systems

If makeinfo is not available when building the package, dummy info files are
generated and "install-info" fails on the "postinst" saying it doesn't find a
description for the files.

Also aclocal.m4 should be updated to look for makeinfo, otherwise it is
allways as not having makeinfo:

Index: aclocal.m4
===================================================================
RCS file: /cvs/grub/aclocal.m4,v
retrieving revision 1.27
diff -u -r1.27 aclocal.m4
--- aclocal.m4  2000/05/31 02:15:13     1.27
+++ aclocal.m4  2000/06/02 11:10:00
@@ -435,10 +435,20 @@
 rm -f conftest*
 AC_MSG_RESULT(yes)])
 
-dnl AM_MISSING_PROG(NAME, PROGRAM)
-AC_DEFUN(AM_MISSING_PROG, [
-AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
+dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
+dnl The program must properly implement --version.
+AC_DEFUN(AM_MISSING_PROG,
+[AC_MSG_CHECKING(for working $2)
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if ($2 --version) < /dev/null > /dev/null 2>&1; then
+   $1=$2
+   AC_MSG_RESULT(found)
+else
+   $1="$3/missing $2"
+   AC_MSG_RESULT(missing)
+fi
 AC_SUBST($1)])
 
 dnl Like AM_MISSING_PROG, but only looks for install-sh.



Posible fixes:

        o Not installing any info files if makeinfo is not available.
        o Giving --description option to "install-info".
        o Make more "complete" dummy files.

-- System Information
Debian Release: 2.2
Kernel Version: Linux hell 2.2.15 #5 Tue May 30 12:14:39 CEST 2000 i686 unknown

Versions of the packages grub depends on:
ii  libc6          2.1.3-7        GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.0-5          Shared libraries for terminal handling

Reply via email to