aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-10-25 09:27:34 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-10-25 09:27:34 -0400
commit801164566924c41d18d66bdc9ca8b2305103fb82 (patch)
tree3384c10df8b38fb4af945f90fecd2c3876941fdf /configure
parentignore option testing (diff)
downloadfirejail-801164566924c41d18d66bdc9ca8b2305103fb82.tar.gz
firejail-801164566924c41d18d66bdc9ca8b2305103fb82.tar.zst
firejail-801164566924c41d18d66bdc9ca8b2305103fb82.zip
fix struct stat64 problem for musl libc
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure23
1 files changed, 20 insertions, 3 deletions
diff --git a/configure b/configure
index 9625cdb61..e7b573c25 100755
--- a/configure
+++ b/configure
@@ -628,6 +628,7 @@ HAVE_SECCOMP_H
628EGREP 628EGREP
629GREP 629GREP
630CPP 630CPP
631HAVE_MUSL_LIBC
631HAVE_FATAL_WARNINGS 632HAVE_FATAL_WARNINGS
632HAVE_BIND 633HAVE_BIND
633HAVE_CHROOT 634HAVE_CHROOT
@@ -688,6 +689,7 @@ enable_seccomp
688enable_chroot 689enable_chroot
689enable_bind 690enable_bind
690enable_fatal_warnings 691enable_fatal_warnings
692enable_musl_libc
691' 693'
692 ac_precious_vars='build_alias 694 ac_precious_vars='build_alias
693host_alias 695host_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
1315Some influential environment variables: 1318Some 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
3101fi 3104fi
3102 3105
3106HAVE_MUSL_LIBC=""
3107# Check whether --enable-musl_libc was given.
3108if test "${enable_musl_libc+set}" = set; then :
3109 enableval=$enable_musl_libc;
3110fi
3111
3112if test "x$enable_musl_libc" = "xyes"; then :
3113
3114 HAVE_MUSL_LIBC="-DHAVE_MUSL_LIBC"
3115
3116
3117fi
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"
4736echo " chroot: $HAVE_CHROOT" 4752echo " chroot: $HAVE_CHROOT"
4737echo " bind: $HAVE_BIND" 4753echo " bind: $HAVE_BIND"
4738echo " fatal warnings: $HAVE_FATAL_WARNINGS" 4754echo " fatal warnings: $HAVE_FATAL_WARNINGS"
4755echo " musl libc: $HAVE_MUSL_LIBC"
4739echo 4756echo