configure: fix kconfig option names
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 16 23:45:16 2012 +0100 (2012-01-16)
changeset 2840188d58cfe7cf
parent 2839 8e8313e40f8a
child 2852 eb134738abc6
configure: fix kconfig option names

In the process of converting to autoconf, the kconfig option
were not properly translated.

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
configure.ac
scripts/functions
     1.1 --- a/configure.ac	Tue Jan 17 00:37:59 2012 +0100
     1.2 +++ b/configure.ac	Mon Jan 16 23:45:16 2012 +0100
     1.3 @@ -52,8 +52,8 @@
     1.4      [ACX_SET_KCONFIG_OPTION],
     1.5      [AS_IF(
     1.6          [test -n "$$1"],
     1.7 -        [kconfig_options="$kconfig_options $1=y"],
     1.8 -        [kconfig_options="$kconfig_options $1"])
     1.9 +        [kconfig_options="$kconfig_options has_$1=y"],
    1.10 +        [kconfig_options="$kconfig_options has_$1"])
    1.11      ])
    1.12  
    1.13  #--------------------------------------------------------------------
     2.1 --- a/scripts/functions	Tue Jan 17 00:37:59 2012 +0100
     2.2 +++ b/scripts/functions	Mon Jan 16 23:45:16 2012 +0100
     2.3 @@ -400,11 +400,11 @@
     2.4  # Build up the list of allowed tarball extensions
     2.5  # Add them in the prefered order; most preferred comes first
     2.6  CT_DoListTarballExt() {
     2.7 -    if [ "${CT_CONFIGURE_has_xzutils}" = "y" ]; then
     2.8 +    if [ "${CT_CONFIGURE_has_xz}" = "y" ]; then
     2.9          printf ".tar.xz\n"
    2.10      fi
    2.11      if [    "${CT_CONFIGURE_has_lzma}" = "y"    \
    2.12 -         -o "${CT_CONFIGURE_has_xzutils}" = "y" ]; then
    2.13 +         -o "${CT_CONFIGURE_has_xz}" = "y" ]; then
    2.14          printf ".tar.lzma\n"
    2.15      fi
    2.16      printf ".tar.bz2\n"