This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Re: Do we really want to use i586 code for i686?
On Mon, Nov 12, 2001 at 11:13:59AM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
>
> > But I don't believe Implies from add-ons should be applied to
> > libc/sysdeps.
>
> This part of the argumentation is OK. The rest not. The Implies from
> the main sysdeps hierachy definitely apply to the add-ons.
>
How about this patch?
H.J.
----
2001-11-12 H.J. Lu <hjl@gnu.org>
* configure.in: Limit Implies from an add-on package within
itself.
* configure: Rebuild.
--- configure.in.addon Wed Aug 29 11:48:49 2001
+++ configure.in Mon Nov 12 11:26:36 2001
@@ -508,12 +508,16 @@ while test $# -gt 0; do
implied="$implied $name_base/$x";
found=yes
fi
- for d in $add_ons_pfx ''; do
+ for d in $add_ons_pfx; do
try="${d}sysdeps/$x"
case $d in
/*) try_srcdir= ;;
*) try_srcdir=$srcdir/ ;;
esac
+ case $name in
+ ${d}* | sysdeps/*) ;;
+ *) continue;;
+ esac
test -n "$enable_debug_configure" &&
echo "[DEBUG]: $name implied $x try($d) {$try_srcdir}$try" >&2
if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;