You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1002 B

  1. --- a/src/configure
  2. +++ b/src/configure
  3. @@ -195,9 +195,6 @@ if which git >/dev/null; then
  4. fi
  5. fi
  6. -HOSTNAME=`hostname`
  7. -DATE=`date +"%d.%m.%Y %H:%M:%S %Z"`
  8. -
  9. cat > config.h <<EOF
  10. /*
  11. * tcpproxy config header
  12. @@ -211,7 +208,6 @@ cat > config.h <<EOF
  13. #define TCPPROXY_config_h_INCLUDED
  14. #define VERSION_STRING_0 "tcpproxy version $VERSION"
  15. -#define VERSION_STRING_1 "built on $HOSTNAME, $DATE"
  16. #define TARGET "$TARGET"
  17. #define PREFIX "$PREFIX"
  18. --- a/src/options.c
  19. +++ b/src/options.c
  20. @@ -326,11 +326,9 @@ void options_print_version()
  21. {
  22. printf("%s\n", VERSION_STRING_0);
  23. #if defined(__clang__)
  24. - printf("%s, using CLANG %s\n", VERSION_STRING_1, __clang_version__);
  25. + printf("using CLANG %s\n", __clang_version__);
  26. #elif defined(__GNUC__)
  27. - printf("%s, using GCC %d.%d.%d\n", VERSION_STRING_1, __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
  28. -#else
  29. - printf("%s\n", VERSION_STRING_1);
  30. + printf("using GCC %d.%d.%d\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
  31. #endif
  32. }