Gert Doering has submitted this change. ( 
https://gerrit.openvpn.net/c/openvpn/+/2026?usp=email )

Change subject: configure: Output compiler version
......................................................................

configure: Output compiler version

CMake does this and it is really useful when looking at
logs in buildbot, so one does know which compiler was
used.

Change-Id: I230654e770c0556976a9bf4aaae9bcbea79b31e9
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Arne Schwabe <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2026
Message-Id: <[email protected]>
URL: 
https://www.mail-archive.com/[email protected]/msg40086.html
Signed-off-by: Gert Doering <[email protected]>
---
M configure.ac
1 file changed, 4 insertions(+), 0 deletions(-)




diff --git a/configure.ac b/configure.ac
index 8bf2c8a..e31a7ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -381,6 +381,10 @@
 fi

 AC_PROG_CC
+# AC_PROG_CC doesn't output any useful information
+AC_MSG_CHECKING([compiler version])
+CC_version=$($CC --version | head -n1)
+AC_MSG_RESULT([$CC_version])
 AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_LN_S

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2026?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I230654e770c0556976a9bf4aaae9bcbea79b31e9
Gerrit-Change-Number: 2026
Gerrit-PatchSet: 2
Gerrit-Owner: Frank Lichtenheld <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to