bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool dependency printing


From: Simon Josefsson
Subject: gnulib-tool dependency printing
Date: Tue, 22 Mar 2011 20:08:40 +0100
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.2 (gnu/linux)

For a project that has this gnulib-cache.m4 content:

gl_MODULES([
  git-version-gen
  lib-symbol-versions
  maintainer-makefile
  uniconv/u8-strconv-from-locale
  unictype/bidicategory-of
  unictype/category-M
  unictype/category-test
  unictype/joiningtype-of
  uninorm/nfc
  uninorm/u32-normalize
  unistr/u32-cpy-alloc
  unistr/u32-to-u8
  unistr/u8-to-u32
])

The output below is printed when I run 'gnulib-tool --add-import'.  Look
carefully at it.  For example it gives the impression that 'gperf' and
'iconv' are dependencies of 'git-version-gen' which seems bogus.  Also
the first few modules are not directly requested and should probably be
indented under some other module?

Or am I reading the output incorrectly?  I haven't looked at the code
yet because I'm not sure I understand what is intended here.  Generally,
I think it would be nice to print the modules requested (the list above)
in the first indentation, and the recursive dependencies of that module
in second indentation (except for dependencies of modules already
listed, to avoid circular dependencies).

Module list with included dependencies (indented):
    alloca-opt
    arg-nonnull
    array-mergesort
    c++defs
    c-ctype
    c-strcase
    c-strcaseeq
    configmake
    extensions
  git-version-gen
    gnumakefile
    gperf
    havelib
    iconv
    iconv-h
    iconv_open
    include_next
    inline
  lib-symbol-versions
    localcharset
  maintainer-makefile
    malloc-posix
    malloca
    multiarch
    stdbool
    stddef
    stdint
    stdlib
    striconveh
    striconveha
    uniconv/base
    uniconv/u8-conv-from-enc
    uniconv/u8-strconv-from-enc
  uniconv/u8-strconv-from-locale
    unictype/base
  unictype/bidicategory-of
  unictype/category-M
    unictype/category-none
    unictype/category-of
  unictype/category-test
    unictype/category-test-withtable
    unictype/combining-class
  unictype/joiningtype-of
    uninorm/base
    uninorm/canonical-decomposition
    uninorm/composition
    uninorm/decompose-internal
    uninorm/decomposition-table
  uninorm/nfc
    uninorm/nfd
  uninorm/u32-normalize
    unistd
    unistr/base
    unistr/u32-cpy
  unistr/u32-cpy-alloc
    unistr/u32-mbtouc-unsafe
  unistr/u32-to-u8
    unistr/u32-uctomb
    unistr/u8-check
    unistr/u8-mblen
    unistr/u8-mbtouc
    unistr/u8-mbtouc-unsafe
    unistr/u8-mbtoucr
    unistr/u8-prev
    unistr/u8-strlen
  unistr/u8-to-u32
    unistr/u8-uctomb
    unitypes
    unused-parameter
    useless-if-before-free
    vc-list-files
    verify
    warn-on-use

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]