#291 Rework of the configure summary

closed-accepted
None
5
2006-10-21
2006-09-26
No

Here is a patch to reorganize the ./configure summary
to make it a little bit more useful to identify what's
compiled and what's not, and why (the detection logics
are not modified). I tried to make it thorough and
readable. Unfortunately, this comes to a price: it is
now longer !

The file example.txt shows the result (this sourceforge
page would have cut the lines).

Discussion

1 2 > >> (Page 1 of 2)
  • Logged In: YES
    user_id=1333817

    And here is the logic behind it:

    - if something is disabled by default, show arguments to use
    to enable.
    - if something has particular dependencies, show them all
    when they are missing (the detailed output will give more
    details anyway).
    The goal is to give sensible and easily accessible
    information to users and packagers.

     
  • Ethan Merritt
    Ethan Merritt
    2006-09-26

    Logged In: YES
    user_id=235620

    I like it.

    A few comments:

    - Hidden3d quadtree and Hidden3d gridbox are mutually
    exclusive. The "Use ... to enable" message is
    misleading.

    - The list of "additional materials" should include
    the help file and the PostScript prologue files.

    - The iris terminal is both platform-specific
    and horribly obsolete. We should just drop it.

    - epslatex terminal is not mentioned

    - hmmm, actually there are many terminal types that are
    not mentioned. How exactly was this list generated?

    - The output mentions a SCO platform-specific makefile,
    but I don't think there is such a thing. I suspect this
    is a reference to the cgi terminal, which is indeed
    mentioned in several of the platform makefiles.
    But I think such mention is itself an error, because I
    don't think the cgi driver is relevant to anything but
    SCO(unix). Does anyone know more?

     
  • Logged In: YES
    user_id=1333817

    Updated patch.

    -Hidden3d options are reported in a single line.
    -added help file and PostScript prologue files
    -list of terminals made complete (it's long now!). I looked
    at *.trm file names. Obviously this was not enough.
    -I did not mention terminals which are commented out in
    term.h or that cannot be compiled because nowhere is the
    corresponding IFDEF defined (vws).
    -I made a list of terminals that are available through the
    makefiles only, with the corresponding makefile.
    -I made a list of automatically compiled terminals (ex:
    macintosh, with an IFDEF _Macintosh)

    The example is updated too.

     
  • example of output on my machine

     
    Attachments
  • Petr Mikulik
    Petr Mikulik
    2006-09-30

    Logged In: YES
    user_id=31505

    I like it, it's very useful, I propose to commit it now.

    Minor thing: I would like more to call "history file"
    "command line history file".

     
  • Ethan Merritt
    Ethan Merritt
    2006-09-30

    Logged In: YES
    user_id=235620

    Looks good to me.

    I still think we should just drop the iris4d terminal.

     
  • Logged In: YES
    user_id=1333817

    >I would like more to call "history file"
    >"command line history file".

    Ok, changed (example not modified).

    >we should just drop the iris4d terminal.

    Let's do it in a different commit if you want to.

    >I propose to commit it now.

    Do you want it for 4.2 ?

     
  • Patch

     
    Attachments
  • Petr Mikulik
    Petr Mikulik
    2006-10-01

    Logged In: YES
    user_id=31505

    > Do you want it for 4.2?

    Yes.

     
  • Petr Mikulik
    Petr Mikulik
    2006-10-17

    Logged In: YES
    user_id=31505

    Could this patch go into cvs? (Is it approved by our
    "autoconf" gurus?)

     
1 2 > >> (Page 1 of 2)