diff options
author | netblue30 <netblue30@yahoo.com> | 2015-08-21 08:16:06 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-08-21 08:16:06 -0400 |
commit | 9d91a26a154f5b345b46aff539303fae86bd9415 (patch) | |
tree | abe9237133435c6ba96f3d17354d349a54e462c1 /configure | |
parent | Merge pull request #38 from pmillerchip/shell-none-args (diff) | |
download | firejail-9d91a26a154f5b345b46aff539303fae86bd9415.tar.gz firejail-9d91a26a154f5b345b46aff539303fae86bd9415.tar.zst firejail-9d91a26a154f5b345b46aff539303fae86bd9415.zip |
added --enable-fatal-warnings
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -628,6 +628,7 @@ HAVE_SECCOMP_H | |||
628 | EGREP | 628 | EGREP |
629 | GREP | 629 | GREP |
630 | CPP | 630 | CPP |
631 | HAVE_FATAL_WARNINGS | ||
631 | HAVE_BIND | 632 | HAVE_BIND |
632 | HAVE_CHROOT | 633 | HAVE_CHROOT |
633 | HAVE_SECCOMP | 634 | HAVE_SECCOMP |
@@ -686,6 +687,7 @@ enable_option_checking | |||
686 | enable_seccomp | 687 | enable_seccomp |
687 | enable_chroot | 688 | enable_chroot |
688 | enable_bind | 689 | enable_bind |
690 | enable_fatal_warnings | ||
689 | ' | 691 | ' |
690 | ac_precious_vars='build_alias | 692 | ac_precious_vars='build_alias |
691 | host_alias | 693 | host_alias |
@@ -1308,6 +1310,7 @@ Optional Features: | |||
1308 | --disable-seccomp Disable seccomp | 1310 | --disable-seccomp Disable seccomp |
1309 | --disable-chroot Disable chroot | 1311 | --disable-chroot Disable chroot |
1310 | --disable-bind Disable bind | 1312 | --disable-bind Disable bind |
1313 | --enable-fatal-warnings -W -Wall -Werror | ||
1311 | 1314 | ||
1312 | Some influential environment variables: | 1315 | Some influential environment variables: |
1313 | CC C compiler command | 1316 | CC C compiler command |
@@ -3084,6 +3087,18 @@ if test "x$enable_bind" != "xno"; then : | |||
3084 | 3087 | ||
3085 | fi | 3088 | fi |
3086 | 3089 | ||
3090 | HAVE_FATAL_WARNINGS="" | ||
3091 | # Check whether --enable-fatal_warnings was given. | ||
3092 | if test "${enable_fatal_warnings+set}" = set; then : | ||
3093 | enableval=$enable_fatal_warnings; | ||
3094 | fi | ||
3095 | |||
3096 | if test "x$enable_fatal_warnings" = "xyes"; then : | ||
3097 | |||
3098 | HAVE_FATAL_WARNINGS="-W -Wall -Werror" | ||
3099 | |||
3100 | |||
3101 | fi | ||
3087 | 3102 | ||
3088 | # checking pthread library | 3103 | # checking pthread library |
3089 | 3104 | ||
@@ -4720,4 +4735,5 @@ echo " seccomp: $HAVE_SECCOMP" | |||
4720 | echo " <linux/seccomp.h>: $HAVE_SECCOMP_H" | 4735 | echo " <linux/seccomp.h>: $HAVE_SECCOMP_H" |
4721 | echo " chroot: $HAVE_CHROOT" | 4736 | echo " chroot: $HAVE_CHROOT" |
4722 | echo " bind: $HAVE_BIND" | 4737 | echo " bind: $HAVE_BIND" |
4738 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" | ||
4723 | echo | 4739 | echo |