[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libpthread fails to build as an add-on
From: |
Ludovic Courtès |
Subject: |
Re: libpthread fails to build as an add-on |
Date: |
Sun, 23 Mar 2014 22:38:30 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Manolis Ragkousis <address@hidden> skribis:
> In the debian package I saw there are 2 patches that add this.
>
>> +libc_add_on_canonical=libpthread
>> +libc_add_on_subdirs=.
>
> How does this change the configure process?
Libc’s top-level configure file expects these two variables to be set by
the add-on’s ‘configure’ script:
--8<---------------cut here---------------start------------->8---
libc_add_on_frag=$libc_add_on_srcdir/configure
libc_add_on_canonical=
libc_add_on_config_subdirs=
if test -r "$libc_add_on_frag"; then
AC_MSG_NOTICE(running configure fragment for add-on $libc_add_on)
libc_add_on_canonical=unknown
libc_add_on_subdirs=
. "$libc_add_on_frag" ##### ← here, runs libpthread/configure
test -z "$libc_add_on" || {
configured_add_ons="$configured_add_ons $libc_add_on"
if test "x$libc_add_on_canonical" = xunknown; then
AC_MSG_ERROR(fragment must set \$libc_add_on_canonical)
fi
--8<---------------cut here---------------end--------------->8---
So when libpthread is built as an add-on, libpthread/configure must set
them, AFAIU.
HTH,
Ludo’.
- Re: Glibc/hurd work till now, (continued)
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/18
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/19
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/19
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/19
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/19
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/20
- libpthread fails to build as an add-on, Ludovic Courtès, 2014/03/20
- Re: libpthread fails to build as an add-on, Manolis Ragkousis, 2014/03/20
- Re: libpthread fails to build as an add-on, Manolis Ragkousis, 2014/03/23
- Re: libpthread fails to build as an add-on, Manolis Ragkousis, 2014/03/23
- Re: libpthread fails to build as an add-on,
Ludovic Courtès <=
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/21
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/22
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/22