Skip to content

Support being configured without fork#344

Merged
bgamari merged 1 commit intohaskell:masterfrom
adamgundry:wip/342-support-absent-fork
May 21, 2025
Merged

Support being configured without fork#344
bgamari merged 1 commit intohaskell:masterfrom
adamgundry:wip/342-support-absent-fork

Conversation

@adamgundry
Copy link
Member

Fixes #342. Prior to this change, configuring with ac_cv_func_fork=no would result in linker errors due to missing symbols. By moving the HAVE_FORK checks, configuring with ac_cv_func_fork=no now results in do_spawn failing at runtime if the fork path is needed (e.g. if posix_spawn was not supported).

@bgamari bgamari merged commit 1c2899b into haskell:master May 21, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to force use of posix_spawn

2 participants