2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Merge branch '2873-configuration-issues-on-solaris' into 'main'

Use correct compiler version flag in the autoconf script.

Closes #2873

See merge request isc-projects/bind9!5482
This commit is contained in:
Ondřej Surý
2021-10-18 13:23:06 +00:00

View File

@@ -1668,7 +1668,11 @@ report() {
echo " localstatedir: $localstatedir"
echo "-------------------------------------------------------------------------------"
echo "Compiler: $CC"
$CC --version 2>&1 | sed 's/^/ /'
AS_IF([test "$GCC" = "yes"],
[$CC --version 2>&1 | sed 's/^/ /'],
[AS_CASE([$host],
[*-solaris*],[$CC -V 2>&1 | sed 's/^/ /'],
[$CC --version 2>&1 | sed 's/^/ /'])])
echo "CFLAGS: $STD_CFLAGS $CFLAGS"
echo "CPPFLAGS: $STD_CPPFLAGS $CPPFLAGS"
echo "LDFLAGS: $LDFLAGS"