Get the iperf version number from autoconf, don't track the tagging date.
These simplify the release process because they eliminate a manual file-editing step.
Этот коммит содержится в:
родитель
c5c3d86ca8
Коммит
d141c52dab
@ -89,4 +89,4 @@ AC_CHECK_FUNCS([cpuset_setaffinity sched_setaffinity],
|
||||
# it needs and what arguments it expects.
|
||||
AC_CHECK_FUNCS([sendfile])
|
||||
|
||||
AC_OUTPUT([Makefile src/Makefile examples/Makefile])
|
||||
AC_OUTPUT([Makefile src/Makefile src/version.h examples/Makefile])
|
||||
|
@ -139,7 +139,7 @@ const char usage_longstr[] = "Usage: iperf [-s|-c host] [options]\n"
|
||||
"-y, --reportstyle C report as a Comma-Separated Values\n"
|
||||
#endif
|
||||
|
||||
const char version[] = PACKAGE_STRING " (" IPERF_VERSION_DATE ")";
|
||||
const char version[] = PACKAGE_STRING;
|
||||
|
||||
/* -------------------------------------------------------------------
|
||||
* settings
|
||||
|
@ -7,5 +7,4 @@
|
||||
* for complete information.
|
||||
*/
|
||||
|
||||
#define IPERF_VERSION "3.0.1"
|
||||
#define IPERF_VERSION_DATE "10 January 2014"
|
||||
#define IPERF_VERSION "@PACKAGE_VERSION@"
|
Загрузка…
Ссылка в новой задаче
Block a user