bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] issue warnings for more missing optional libraries


From: Simon Josefsson
Subject: Re: [PATCH] issue warnings for more missing optional libraries
Date: Tue, 20 Oct 2009 11:29:44 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Bruno Haible <address@hidden> writes:

> I like it. Even more I like the configure files that print a summary of the
> most important decisions or findings at the end of the configuration, thus
> giving an opportunity to the user to re-configure with different --with or
> --enable options. (Given the size of the configure output, hardly anyone looks
> through it in its entirety.)

I like this too.  In libidn it looks like this:

  version:          1.16 shared 16:45:5
  Host type:        i586-pc-mingw32msvc
  Install prefix:   /home/builder/mingw
  Compiler:         i586-mingw32msvc-gcc -std=gnu99
  Warning flags:    
  Library types:    Shared=yes, Static=yes
  Valgrind:         
  Version script:   yes
  TLD code:         yes
  Build Java port:  no
  Build C# port:    no

Which is achieved by this code:

AC_MSG_NOTICE([summary of build options:
  version:          ${VERSION} shared $LT_CURRENT:$LT_REVISION:$LT_AGE
  Host type:        ${host}
  Install prefix:   ${prefix}
  Compiler:         ${CC}
  Warning flags:    ${WARN_CFLAGS}
  Library types:    Shared=${enable_shared}, Static=${enable_static}
  Valgrind:         ${VALGRIND}
  Version script:   $have_ld_version_script
  TLD code:         $enable_tld
  Build Java port:  $enable_java
  Build C# port:    $enable_csharp
])

/Simon




reply via email to

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