diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -628,6 +628,7 @@ HAVE_SECCOMP_H | |||
628 | EGREP | 628 | EGREP |
629 | GREP | 629 | GREP |
630 | CPP | 630 | CPP |
631 | HAVE_MUSL_LIBC | ||
631 | HAVE_FATAL_WARNINGS | 632 | HAVE_FATAL_WARNINGS |
632 | HAVE_BIND | 633 | HAVE_BIND |
633 | HAVE_CHROOT | 634 | HAVE_CHROOT |
@@ -688,6 +689,7 @@ enable_seccomp | |||
688 | enable_chroot | 689 | enable_chroot |
689 | enable_bind | 690 | enable_bind |
690 | enable_fatal_warnings | 691 | enable_fatal_warnings |
692 | enable_musl_libc | ||
691 | ' | 693 | ' |
692 | ac_precious_vars='build_alias | 694 | ac_precious_vars='build_alias |
693 | host_alias | 695 | host_alias |
@@ -1307,10 +1309,11 @@ Optional Features: | |||
1307 | --disable-option-checking ignore unrecognized --enable/--with options | 1309 | --disable-option-checking ignore unrecognized --enable/--with options |
1308 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1310 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1309 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1311 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1310 | --disable-seccomp Disable seccomp | 1312 | --disable-seccomp disable seccomp |
1311 | --disable-chroot Disable chroot | 1313 | --disable-chroot disable chroot |
1312 | --disable-bind Disable bind | 1314 | --disable-bind disable bind |
1313 | --enable-fatal-warnings -W -Wall -Werror | 1315 | --enable-fatal-warnings -W -Wall -Werror |
1316 | --enable-musl-libc ugly hack to allow compilation with musl libc | ||
1314 | 1317 | ||
1315 | Some influential environment variables: | 1318 | Some influential environment variables: |
1316 | CC C compiler command | 1319 | CC C compiler command |
@@ -3100,6 +3103,19 @@ if test "x$enable_fatal_warnings" = "xyes"; then : | |||
3100 | 3103 | ||
3101 | fi | 3104 | fi |
3102 | 3105 | ||
3106 | HAVE_MUSL_LIBC="" | ||
3107 | # Check whether --enable-musl_libc was given. | ||
3108 | if test "${enable_musl_libc+set}" = set; then : | ||
3109 | enableval=$enable_musl_libc; | ||
3110 | fi | ||
3111 | |||
3112 | if test "x$enable_musl_libc" = "xyes"; then : | ||
3113 | |||
3114 | HAVE_MUSL_LIBC="-DHAVE_MUSL_LIBC" | ||
3115 | |||
3116 | |||
3117 | fi | ||
3118 | |||
3103 | # checking pthread library | 3119 | # checking pthread library |
3104 | 3120 | ||
3105 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 | 3121 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 |
@@ -4736,4 +4752,5 @@ echo " <linux/seccomp.h>: $HAVE_SECCOMP_H" | |||
4736 | echo " chroot: $HAVE_CHROOT" | 4752 | echo " chroot: $HAVE_CHROOT" |
4737 | echo " bind: $HAVE_BIND" | 4753 | echo " bind: $HAVE_BIND" |
4738 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" | 4754 | echo " fatal warnings: $HAVE_FATAL_WARNINGS" |
4755 | echo " musl libc: $HAVE_MUSL_LIBC" | ||
4739 | echo | 4756 | echo |