diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/compile | 6 | ||||
-rwxr-xr-x | config/depcomp | 2 | ||||
-rw-r--r-- | config/iperf_config_static_bin.m4 | 12 | ||||
-rwxr-xr-x | config/missing | 2 |
4 files changed, 17 insertions, 5 deletions
diff --git a/config/compile b/config/compile index 99e5052..23fcba0 100755 --- a/config/compile +++ b/config/compile @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ func_file_conv () MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ func_file_conv () mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) diff --git a/config/depcomp b/config/depcomp index 65cbf70..6b39162 100755 --- a/config/depcomp +++ b/config/depcomp @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/config/iperf_config_static_bin.m4 b/config/iperf_config_static_bin.m4 new file mode 100644 index 0000000..5229394 --- /dev/null +++ b/config/iperf_config_static_bin.m4 @@ -0,0 +1,12 @@ +# Also link binaries as static +AC_ARG_ENABLE([static-bin], + AS_HELP_STRING([--enable-static-bin], [link iperf3 binary statically]), + [enable_static=yes + enable_shared=no + enable_static_bin=yes], + [:]) +AM_CONDITIONAL([ENABLE_STATIC_BIN], [test x$enable_static_bin = xno]) + +AS_IF([test "x$enable_static_bin" == xyes], + [LDFLAGS="$LDFLAGS --static"] + []) diff --git a/config/missing b/config/missing index 625aeb1..8d0eaad 100755 --- a/config/missing +++ b/config/missing @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify |