mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Print compiler version
Optimize for pentiumpro for RPM's. Build-tools/Do-rpm: Use compiler option -mpentiumpro configure.in: Print compiler version
This commit is contained in:
parent
739b4da888
commit
8bf5ad427c
2 changed files with 16 additions and 2 deletions
14
configure.in
14
configure.in
|
|
@ -126,6 +126,20 @@ AC_PROG_CC
|
|||
AC_PROG_CXX
|
||||
AC_PROG_CPP
|
||||
|
||||
# Print version of CC and CXX compiler (if they support --version)
|
||||
CC_VERSION=`$CC --version`
|
||||
if test $? -eq "0"
|
||||
then
|
||||
AC_MSG_CHECKING("C Compiler version of $CC");
|
||||
AC_MSG_RESULT($CC_VERSION)
|
||||
fi
|
||||
CXX_VERSION=`$CXX --version`
|
||||
if test $? -eq "0"
|
||||
then
|
||||
AC_MSG_CHECKING("C++ compiler version of $CXX");
|
||||
AC_MSG_RESULT($CXX_VERSION)
|
||||
fi
|
||||
|
||||
# Fix for sgi gcc / sgiCC which tries to emulate gcc
|
||||
if test "$CC" = "sgicc"
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue