[netperf-dev] netperf2 commit notice r262 - trunk

raj at netperf.org raj at netperf.org
Thu Mar 13 17:39:45 PDT 2008


Author: raj
Date: 2008-03-13 17:39:45 -0700 (Thu, 13 Mar 2008)
New Revision: 262

Modified:
   trunk/Release_Notes
   trunk/config.h.in
Log:
clarify the optional dependence on libsmbios under linux

Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes	2008-03-14 00:26:02 UTC (rev 261)
+++ trunk/Release_Notes	2008-03-14 00:39:45 UTC (rev 262)
@@ -5,10 +5,12 @@
 *) For the first time, netperf2 has a dependency, albeit optional, on
    another non-base-os bit of code - libsmbios under Linux.  It will
    attept to detect this at compile time and use it to report the
-   system model name in an omni test.  All that has to be there at
-   compile time for netperf is the libsmbios runtime - we only make
-   one call from it - SMBIOSGetSystemName(), and if the include file
-   isn't present we just make do.
+   system model name in an omni test.  If libsmbios is there we will
+   try to use it, otherwise we will not.  If the associated include
+   file is also there (eg the -dev package in apt-get-speak), we will
+   use it to get the prototype for SMBIOSGetSystemName, otherwise we
+   make a guess as to the prototype for SMBIOSGetSystemName(), which
+   is the only call we make to libsmbios.
 
 *) Fixes for BSD CPU utilization to deal with different BSD variants
    using different types.  Courtesy of Simon Burge <simonb at NetBSD.org>

Modified: trunk/config.h.in
===================================================================
--- trunk/config.h.in	2008-03-14 00:26:02 UTC (rev 261)
+++ trunk/config.h.in	2008-03-14 00:39:45 UTC (rev 262)
@@ -145,6 +145,9 @@
 /* Define to 1 if you have the <signal.h> header file. */
 #undef HAVE_SIGNAL_H
 
+/* Define to 1 if you have the <smbios/SystemInfo.h> header file. */
+#undef HAVE_SMBIOS_SYSTEMINFO_H
+
 /* Define to 1 if you have the `socket' function. */
 #undef HAVE_SOCKET
 



More information about the netperf-dev mailing list