Build: Show compiler versions in summary

This commit is contained in:
Daniel Elstner 2015-09-08 04:47:46 +02:00
parent a6e8a8f766
commit 4512ccd36c
1 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,10 @@ AC_PROG_LN_S
# Required for per-target flags or subdir-objects with C sources. # Required for per-target flags or subdir-objects with C sources.
AM_PROG_CC_C_O AM_PROG_CC_C_O
# Get compiler versions.
SR_PROG_VERSION([$CC], [sr_cc_version])
SR_PROG_VERSION([$CXX], [sr_cxx_version])
# Check for optional make features. # Check for optional make features.
SR_PROG_MAKE_NO_PRINT_DIRECTORY SR_PROG_MAKE_NO_PRINT_DIRECTORY
SR_PROG_MAKE_ORDER_ONLY SR_PROG_MAKE_ORDER_ONLY
@ -466,11 +470,15 @@ libsigrok configuration summary:
- Prefix.......................... $prefix - Prefix.......................... $prefix
- Building on..................... $build - Building on..................... $build
- Building for.................... $host - Building for.................... $host
Compile configuration:
- C compiler...................... $CC - C compiler...................... $CC
- C compiler version.............. $sr_cc_version
- C compiler flags................ $CFLAGS - C compiler flags................ $CFLAGS
- Additional C compiler flags..... $SR_EXTRA_CFLAGS - Additional C compiler flags..... $SR_EXTRA_CFLAGS
- C compiler warnings............. $SR_WFLAGS - C compiler warnings............. $SR_WFLAGS
- C++ compiler.................... $CXX - C++ compiler.................... $CXX
- C++ compiler version............ $sr_cxx_version
- C++ compiler flags.............. $CXXFLAGS - C++ compiler flags.............. $CXXFLAGS
- C++ compiler warnings........... $SR_WXXFLAGS - C++ compiler warnings........... $SR_WXXFLAGS