bison: add sched.h cache variables for gnulib cross-compile
Gnulib generates lib/sched.h which wraps the system sched.h via #include_next, but the #if @HAVE_SCHED_H@ guard evaluates to 0 during cross-compilation, preventing sched_param typedef from being visible. Adding ac_cv_header_sched_h=yes fixes the guard.
This commit is contained in:
@@ -21,6 +21,10 @@ export gl_cv_header_spawn_h_POSIX_SPAWN_SETSIGMASK=yes
|
||||
export gl_cv_header_spawn_h_POSIX_SPAWN_SETSCHEDULER=yes
|
||||
export gl_cv_header_spawn_h_POSIX_SPAWN_SETSCHEDPARAM=yes
|
||||
export gl_cv_header_spawn_h_POSIX_SPAWN_USEVFORK=yes
|
||||
export ac_cv_header_sched_h=yes
|
||||
export gl_cv_header_sched_h=yes
|
||||
export ac_cv_type_struct_sched_param=yes
|
||||
export ac_cv_type_sched_param=yes
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--disable-nls
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user