Annotation of embedaddon/iperf/config/iperf_config_static_bin.m4, revision 1.1.1.1

1.1       misho       1: # Also link binaries as static
                      2: AC_ARG_ENABLE([static-bin],
                      3:     AS_HELP_STRING([--enable-static-bin], [link iperf3 binary statically]),
                      4:     [enable_static=yes
                      5:      enable_shared=no
                      6:      enable_static_bin=yes],
                      7:     [:])
                      8: AM_CONDITIONAL([ENABLE_STATIC_BIN], [test x$enable_static_bin = xno])
                      9: 
                     10: AS_IF([test "x$enable_static_bin" == xyes],
                     11:  [LDFLAGS="$LDFLAGS --static"]
                     12:  [])

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>