From 7372fa2b764069b7eebd7fb718a852c751ae4232 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 17 Mar 2010 23:59:17 +0100 Subject: scripts: fix dumping config libelf has been moved to being a companion library, now. diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh index e166dc6..a112d79 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -52,8 +52,12 @@ dump_single_sample() { ;; esac printf " %-*s : %s\n" ${t_width} "OS" "${CT_KERNEL}${CT_KERNEL_VERSION:+-}${CT_KERNEL_VERSION}" - if [ -n "${CT_GMP}" -o -n "${CT_MPFR}" \ - -o -n "${CT_PPL}" -o -n "${CT_CLOOG}" -o -n "${CT_MPC}" \ + if [ -n "${CT_GMP}" \ + -o -n "${CT_MPFR}" \ + -o -n "${CT_PPL}" \ + -o -n "${CT_CLOOG}" \ + -o -n "${CT_MPC}" \ + -o -n "${CT_LIBELF}" \ ]; then printf " %-*s :" ${t_width} "Companion libs" complibs=1 @@ -63,6 +67,7 @@ dump_single_sample() { [ -z "${CT_PPL}" ] || printf " ppl-%s" "${CT_PPL_VERSION}" [ -z "${CT_CLOOG}" ] || printf " cloog-ppl-%s" "${CT_CLOOG_VERSION}" [ -z "${CT_MPC}" ] || printf " mpc-%s" "${CT_MPC_VERSION}" + [ -z "${CT_LIBELF}" ] || printf " libelf-%s" "${CT_LIBELF_VERSION}" [ -z "${complibs}" ] || printf "\n" printf " %-*s : %s\n" ${t_width} "binutils" "binutils-${CT_BINUTILS_VERSION}" printf " %-*s : %s" ${t_width} "C compiler" "${CT_CC}-${CT_CC_VERSION} (C" @@ -76,7 +81,6 @@ dump_single_sample() { printf ")\n" printf " %-*s : %s\n" ${t_width} "C library" "${CT_LIBC}${CT_LIBC_VERSION:+-}${CT_LIBC_VERSION}" printf " %-*s :" ${t_width} "Tools" - [ "${CT_TOOL_libelf}" ] && printf " libelf-${CT_LIBELF_VERSION}" [ "${CT_TOOL_sstrip}" ] && printf " sstrip" [ "${CT_DEBUG_dmalloc}" ] && printf " dmalloc-${CT_DMALLOC_VERSION}" [ "${CT_DEBUG_duma}" ] && printf " duma-${CT_DUMA_VERSION}" -- cgit v0.10.2-6-g49f6