From 301cadf45dd629d4390fa83b1e52e7cc2fa5062f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 16 Jan 2012 23:45:16 +0100 Subject: 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" diff --git a/configure.ac b/configure.ac index 7f49c0d..1285f81 100644 --- a/configure.ac +++ b/configure.ac @@ -52,8 +52,8 @@ AC_DEFUN( [ACX_SET_KCONFIG_OPTION], [AS_IF( [test -n "$$1"], - [kconfig_options="$kconfig_options $1=y"], - [kconfig_options="$kconfig_options $1"]) + [kconfig_options="$kconfig_options has_$1=y"], + [kconfig_options="$kconfig_options has_$1"]) ]) #-------------------------------------------------------------------- diff --git a/scripts/functions b/scripts/functions index 1ec0080..95b7415 100644 --- a/scripts/functions +++ b/scripts/functions @@ -400,11 +400,11 @@ CT_SetLibPath() { # Build up the list of allowed tarball extensions # Add them in the prefered order; most preferred comes first CT_DoListTarballExt() { - if [ "${CT_CONFIGURE_has_xzutils}" = "y" ]; then + if [ "${CT_CONFIGURE_has_xz}" = "y" ]; then printf ".tar.xz\n" fi if [ "${CT_CONFIGURE_has_lzma}" = "y" \ - -o "${CT_CONFIGURE_has_xzutils}" = "y" ]; then + -o "${CT_CONFIGURE_has_xz}" = "y" ]; then printf ".tar.lzma\n" fi printf ".tar.bz2\n" -- cgit v0.10.2-6-g49f6