grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autogen.sh warnings


From: Felix Zielcke
Subject: Re: autogen.sh warnings
Date: Thu, 10 Dec 2009 01:25:37 +0100

Am Mittwoch, den 09.12.2009, 17:28 -0600 schrieb Bruce Dubbs:
> Felix Zielcke wrote:
> > Am Mittwoch, den 09.12.2009, 16:19 -0600 schrieb Bruce Dubbs:
> >> config.guess, config.sub, missing, mkinstalldirs, and install-sh
> are 
> >> only copied from /usr/share/automake-<version> as a part of
> automake. 
> >> AFAICT, they are not used in GRUB.  I'm pretty sure they are the
> same
> >> on 
> >> all architectures, but I could be wrong about that. 
> > 
> > config.guess and config.sub are used by configure.
> 
> Called yes, and it will give errors if not present, but is the output 
> used?  Looking at configure, I don't think so.

Just looking at the second result for searching config.guess in
configure makes it pretty clear for what they're used:

$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
$as_echo_n "checking build system type... " >&6; }
if test "${ac_cv_build+set}" = set; then :
  $as_echo_n "(cached) " >&6
else
  ac_build_alias=$build_alias
test "x$ac_build_alias" = x &&
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
test "x$ac_build_alias" = x &&
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
[...]
build=$ac_cv_build

The output of ./config.sub $(./config.guess) is used as build system
type, if you don't use --build option.


-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer





reply via email to

[Prev in Thread] Current Thread [Next in Thread]