Bruno Haible <[email protected]> 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