s390 wordsize.
Roland McGrath
roland@redhat.com
Mon Sep 30 00:55:00 GMT 2002
> Patch is missing.
D'oh.
> Anyway, if we are not going to change this, sysdeps/powerpc/bits/wordsize.h
> has to be moved one level deeper and duplicated too.
> Otherwise, all those 3 arches will need to be audited for files in
> wordsize-* directories, fortunately there aren't too many.
That makes me lean more towards finding a solution (not this exact kludge)
to avoid the duplication.
Index: configure.in
===================================================================
RCS file: /cvs/glibc/libc/configure.in,v
retrieving revision 1.356
diff -u -b -p -r1.356 configure.in
--- configure.in 29 Sep 2002 11:05:02 -0000 1.356
+++ configure.in 30 Sep 2002 07:43:06 -0000
@@ -501,7 +501,14 @@ while test $# -gt 0; do
# Collect more names from the `Implies' file (removing comments).
implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
implied=
+ preimplied=
+ postimplied=
for x in $implied_candidate; do
+ case "$x" in
+ *+) x=${x%+}; whichimplied=postimplied ;;
+ *) whichimplied=preimplied ;;
+ esac
+ eval implied=\$$whichimplied
found=no
if test -d $xsrcdir$name_base/$x; then
implied="$implied $name_base/$x";
@@ -524,9 +531,12 @@ while test $# -gt 0; do
if test $found = no; then
AC_MSG_WARN($name/Implies specifies nonexistent $x)
fi
+ eval $whichimplied=\$implied
done
else
implied=
+ preimplied=
+ postimplied=
fi
# Add NAME to the list of names.
@@ -544,7 +554,7 @@ changequote([,])dnl
# configuration components; this ensures that for sysv4, unix/common
# (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
# after sysv4).
- sysnames="`echo $implied $* $parent`"
+ sysnames="`echo $preimplied $* $parent $postimplied`"
test -n "$sysnames" && set $sysnames
done
More information about the Libc-hacker
mailing list