This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Run sysdeps preconfigure fragment before add-ons
On Fri, Mar 16, 2012 at 10:05 AM, Roland McGrath <roland@hack.frob.com> wrote:
> Use of preconfigure fragments should be consistent for the main tree and
> add-ons. ?So unless we change the add-on behavior, this should do all
> sysdeps/*/preconfigure too.
Do I need to update my patch? Do you want to run main tree
sysdeps/*/preconfigure
together with add-ons sysdeps/*/preconfigure?
> Note this means all preconfigure scripts run in all configurations,
> so they must have appropriate conditionalization internally.
>
>
My sysdeps/x86_64/preconfigure has
test -n "$base_machine" || case "$machine" in
x86_64)
base_machine=x86_64
lib_names_awk=sysdeps/x86_64/lib-names.awk
if echo __LP64__ | ${CC-cc} $CFLAGS $CPPFLAGS -E - | grep __LP64__ > /dev/null
; then
machine=x86_64/x32
libc_cv_slibdir="/libx32"
if test "$libdir" = '${exec_prefix}/lib'; then
libdir='${exec_prefix}/libx32';
# Locale data can be shared.
libc_cv_localedir='${exec_prefix}/lib/locale'
fi
else
machine=x86_64/64
fi
esac
Thanks.
--
H.J.