libc/glibc: both glibc and eglibc have pkgversion and bugurl
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 13:30:51 2012 +0100 (2012-12-26)
changeset 3145598880dab0f3
parent 3144 481658dd0e7f
child 3146 db9326d96010
libc/glibc: both glibc and eglibc have pkgversion and bugurl

Well, all eglibc version we support do, and latest glibc versions
we support do.

Not all glibc versions do, but older versions simply ignore the
unrecognised ./configure flags.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
config/libc/eglibc.in
scripts/build/libc/glibc-eglibc.sh-common
     1.1 --- a/config/libc/eglibc.in	Wed Dec 26 12:15:10 2012 +0100
     1.2 +++ b/config/libc/eglibc.in	Wed Dec 26 13:30:51 2012 +0100
     1.3 @@ -78,10 +78,6 @@
     1.4  config LIBC_EGLIBC_2_16_or_later
     1.5      bool
     1.6  
     1.7 -config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
     1.8 -    bool
     1.9 -    default y
    1.10 -
    1.11  if CONFIGURE_has_svn
    1.12  
    1.13  config EGLIBC_REVISION
     2.1 --- a/scripts/build/libc/glibc-eglibc.sh-common	Wed Dec 26 12:15:10 2012 +0100
     2.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common	Wed Dec 26 13:30:51 2012 +0100
     2.3 @@ -276,10 +276,8 @@
     2.4          *)  extra_config+=("--enable-add-ons=$(do_libc_add_ons_list ,)");;
     2.5      esac
     2.6  
     2.7 -    if [ "${CT_LIBC_EGLIBC_HAS_PKGVERSION_BUGURL}" = "y" ]; then
     2.8 -        extra_config+=("--with-pkgversion=${CT_PKGVERSION}")
     2.9 -        [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}")
    2.10 -    fi
    2.11 +    extra_config+=("--with-pkgversion=${CT_PKGVERSION}")
    2.12 +    [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}")
    2.13  
    2.14      # Extract the endianness options if any
    2.15      # This should cover all possible endianness options