don't use AC_PATH_TOOL so that the developer can use autoconf 2.13.

This commit is contained in:
okuji 2000-04-12 03:10:07 +00:00
parent 0a1cbcf442
commit cf37f79b94
4 changed files with 1102 additions and 1305 deletions

View file

@ -1,3 +1,9 @@
2000-04-12 OKUJI Yoshinori <okuji@gnu.org>
* configure.in: Use AC_PATH_PROG instead of AC_PATH_TOOL,
because I don't want to use the CVS version. Now you can use
autoconf 2.13.
2000-04-10 OKUJI Yoshinori <okuji@gnu.org>
* stage2/stage2.c (run_menu): In the case where C is `o', check

View file

@ -41,12 +41,6 @@ configure script.
Texinfo release. See the webpage
<http://www.gnu.org/software/texinfo/texinfo.html>.
* GNU Autoconf 20000116 or later
Some new macros are required, so you need to get an unrelease
version from the CVS. See the webpage
<http://sourceware.cygnus.com/autoconf/>.
* GNU Automake 20000319 or later
The new feature "per-executable flags" is required, so you need to

2387
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -56,7 +56,10 @@ AC_ARG_WITH(binutils,
[ --with-binutils=DIR search the directory DIR to find binutils])
if test "x$with_binutils" != x; then
AC_PATH_TOOL(RANLIB, ranlib, :, "$with_binutils:$PATH")
dnl AC_PATH_TOOL is not seen in autoconf 2.13, so use AC_PATH_PROG
dnl instead for now. It is preferable when you cross-compile GRUB.
dnl AC_PATH_TOOL(RANLIB, ranlib, :, "$with_binutils:$PATH")
AC_PATH_PROG(RANLIB, ranlib, :, "$with_binutils:$PATH")
else
AC_PROG_RANLIB
fi
@ -93,7 +96,8 @@ AC_SUBST(GRUB_CFLAGS)
CPPFLAGS="$CPPFLAGS -Wall -Wmissing-prototypes -Wunused"
if test "x$with_binutils" != x; then
AC_PATH_TOOL(OBJCOPY, objcopy, , "$with_binutils:$PATH")
dnl AC_PATH_TOOL(OBJCOPY, objcopy, , "$with_binutils:$PATH")
AC_PATH_PROG(OBJCOPY, objcopy, , "$with_binutils:$PATH")
else
AC_CHECK_TOOL(OBJCOPY, objcopy)
fi