autoconf
[Top][All Lists]
Advanced

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

Re: [RFC] getting rid of the config.guess/sub problem when bootstrapping


From: Earnie Boyd
Subject: Re: [RFC] getting rid of the config.guess/sub problem when bootstrapping new ports/systems
Date: Tue, 21 May 2013 07:56:47 -0400

On Tue, May 21, 2013 at 7:36 AM, Ben Elliston wrote:
>
> Yes, but that requires re-running autoconf.  I think we're trying to
> avoid that because if configure.in is old, you may have a lot of work
> to do to get autoreconf to work.

So in that case, a change to the start of config.guess and config.sub
something similar to the following might be best?

~~~~~
if [[ -f /usr/local/share/config/config.guess ]]
then
  . /usr/local/share/config/config.guess
  exit
fi

if [[ -f /usr/share/config/config.guess ]]
then
  . /usr/share/config/config.guess
  exit
fi
~~~~

-- 
Earnie
-- https://sites.google.com/site/earnieboyd



reply via email to

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