test: namespaces unavailable when cross-compiling
This commit is contained in:
parent
63909b59a0
commit
f61151a091
|
@ -45,7 +45,7 @@ int main() {
|
||||||
if (!WIFEXITED(status)) return 1;
|
if (!WIFEXITED(status)) return 1;
|
||||||
return WEXITSTATUS(status);
|
return WEXITSTATUS(status);
|
||||||
}
|
}
|
||||||
]])],[ax_cv_user_namespace=yes], [ax_cv_user_namespace=no])
|
]])],[ax_cv_user_namespace=yes],[ax_cv_user_namespace=no],[ax_cv_user_namespace=no])
|
||||||
AC_LANG_POP([C])
|
AC_LANG_POP([C])
|
||||||
])
|
])
|
||||||
if test "$ax_cv_user_namespace" = yes; then
|
if test "$ax_cv_user_namespace" = yes; then
|
||||||
|
|
|
@ -67,7 +67,7 @@ int main() {
|
||||||
return WEXITSTATUS(status);
|
return WEXITSTATUS(status);
|
||||||
}
|
}
|
||||||
]])
|
]])
|
||||||
],[ax_cv_uts_namespace=yes], [ax_cv_uts_namespace=no])
|
],[ax_cv_uts_namespace=yes],[ax_cv_uts_namespace=no],[ax_cv_uts_namespace=no])
|
||||||
AC_LANG_POP([C])
|
AC_LANG_POP([C])
|
||||||
])
|
])
|
||||||
if test "$ax_cv_uts_namespace" = yes; then
|
if test "$ax_cv_uts_namespace" = yes; then
|
||||||
|
|
Loading…
Reference in New Issue