diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -625,6 +625,7 @@ ac_includes_default="\ | |||
625 | ac_subst_vars='LTLIBOBJS | 625 | ac_subst_vars='LTLIBOBJS |
626 | LIBOBJS | 626 | LIBOBJS |
627 | HAVE_SECCOMP_H | 627 | HAVE_SECCOMP_H |
628 | HAVE_GCOV | ||
628 | BUSYBOX_WORKAROUND | 629 | BUSYBOX_WORKAROUND |
629 | HAVE_FATAL_WARNINGS | 630 | HAVE_FATAL_WARNINGS |
630 | HAVE_WHITELIST | 631 | HAVE_WHITELIST |
@@ -709,6 +710,7 @@ enable_file_transfer | |||
709 | enable_whitelist | 710 | enable_whitelist |
710 | enable_fatal_warnings | 711 | enable_fatal_warnings |
711 | enable_busybox_workaround | 712 | enable_busybox_workaround |
713 | enable_gcov | ||
712 | ' | 714 | ' |
713 | ac_precious_vars='build_alias | 715 | ac_precious_vars='build_alias |
714 | host_alias | 716 | host_alias |
@@ -1346,6 +1348,7 @@ Optional Features: | |||
1346 | --enable-fatal-warnings -W -Wall -Werror | 1348 | --enable-fatal-warnings -W -Wall -Werror |
1347 | --enable-busybox-workaround | 1349 | --enable-busybox-workaround |
1348 | enable busybox workaround | 1350 | enable busybox workaround |
1351 | --enable-gcov Gcov instrumentation | ||
1349 | 1352 | ||
1350 | Some influential environment variables: | 1353 | Some influential environment variables: |
1351 | CC C compiler command | 1354 | CC C compiler command |
@@ -3508,7 +3511,7 @@ fi | |||
3508 | fi | 3511 | fi |
3509 | if test "x$enable_apparmor" = "xyes"; then : | 3512 | if test "x$enable_apparmor" = "xyes"; then : |
3510 | 3513 | ||
3511 | EXTRA_LDFLAGS="-lapparmor" | 3514 | EXTRA_LDFLAGS+="-lapparmor " |
3512 | 3515 | ||
3513 | fi | 3516 | fi |
3514 | 3517 | ||
@@ -3693,6 +3696,21 @@ if test "x$enable_busybox_workaround" = "xyes"; then : | |||
3693 | fi | 3696 | fi |
3694 | 3697 | ||
3695 | 3698 | ||
3699 | HAVE_GCOV="" | ||
3700 | # Check whether --enable-gcov was given. | ||
3701 | if test "${enable_gcov+set}" = set; then : | ||
3702 | enableval=$enable_gcov; | ||
3703 | fi | ||
3704 | |||
3705 | if test "x$enable_gcov" = "xyes"; then : | ||
3706 | |||
3707 | HAVE_GCOV="--coverage " | ||
3708 | EXTRA_LDFLAGS+="-lgcov --coverage " | ||
3709 | |||
3710 | |||
3711 | fi | ||
3712 | |||
3713 | |||
3696 | 3714 | ||
3697 | # checking pthread library | 3715 | # checking pthread library |
3698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 | 3716 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 |
@@ -4954,7 +4972,8 @@ echo " file transfer support: $HAVE_FILE_TRANSFER" | |||
4954 | echo " overlayfs support: $HAVE_OVERLAYFS" | 4972 | echo " overlayfs support: $HAVE_OVERLAYFS" |
4955 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" | 4973 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" |
4956 | echo " busybox workaround: $BUSYBOX_WORKAROUND" | 4974 | echo " busybox workaround: $BUSYBOX_WORKAROUND" |
4957 | printf " EXTRA_LDFLAGS: $EXTRA_LDFLAGS" | 4975 | echo " EXTRA_LDFLAGS: $EXTRA_LDFLAGS" |
4976 | echo " Gcov instrumentation: $HAVE_GCOV" | ||
4958 | echo | 4977 | echo |
4959 | 4978 | ||
4960 | 4979 | ||