]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: display compiler version info after configure
authorVincent Bernat <vincent@bernat.im>
Thu, 17 Mar 2016 09:16:24 +0000 (10:16 +0100)
committerVincent Bernat <vincent@bernat.im>
Thu, 17 Mar 2016 09:18:14 +0000 (10:18 +0100)
This is useful to get more insight on what is supported (notably Asan
support).

configure.ac

index fc89f1090e89b62313e94d74eb0fa95a2ee18307..8dc1d784e7c6b039397e1ddede51234b3249d8ad 100644 (file)
@@ -374,6 +374,7 @@ cat <<EOF
   Linker.........: $LD $LLDP_LDFLAGS $LLDP_BIN_LDFLAGS $LDFLAGS $LIBS
   Libevent.......: $libevent
   Readline.......: ${ax_cv_lib_readline}
+
  Optional features:
   SNMP support...: ${with_snmp-no}
   CDP............: $enable_cdp
@@ -388,10 +389,15 @@ cat <<EOF
   JSON output....: ${with_json-no}
   Oldies support.: $enable_oldies
   seccomp........: ${with_seccomp-no}
+
  Privilege separation:
   Enabled........: $enable_privsep
   User/group.....: ${with_privsep_user}/${with_privsep_group}
   Chroot.........: ${with_privsep_chroot}
+------------- Compiler version --------------
+$($CC --version || true)
+-------------- Linker version ---------------
+$($LD --version || true)
 ---------------------------------------------
 
 Check the above options and compile with: