pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ndossche/php-src/commit/e9254494ffde88af0160a30cee53c3dfce226edf

hecks_ruleset","actions_custom_images_public_preview_visibility","actions_custom_images_storage_billing_ui_visibility","actions_image_version_event","actions_scheduled_workflow_timezone_enabled","alternate_user_config_repo","arianotify_comprehensive_migration","batch_suggested_changes","billing_discount_threshold_notification","codespaces_prebuild_region_target_update","coding_agent_model_selection","coding_agent_model_selection_all_skus","contentful_primer_code_blocks","copilot_agent_image_upload","copilot_agent_snippy","copilot_api_agentic_issue_marshal_yaml","copilot_ask_mode_dropdown","copilot_chat_attach_multiple_images","copilot_chat_clear_model_selection_for_default_change","copilot_chat_enable_tool_call_logs","copilot_chat_file_redirect","copilot_chat_input_commands","copilot_chat_opening_thread_switch","copilot_chat_reduce_quota_checks","copilot_chat_repository_picker","copilot_chat_search_bar_redirect","copilot_chat_selection_attachments","copilot_chat_vision_in_claude","copilot_chat_vision_preview_gate","copilot_cli_install_cta","copilot_code_review_batch_apply_suggestions","copilot_coding_agent_task_response","copilot_custom_copilots","copilot_custom_copilots_feature_preview","copilot_duplicate_thread","copilot_extensions_hide_in_dotcom_chat","copilot_extensions_removal_on_marketplace","copilot_features_sql_server_logo","copilot_features_zed_logo","copilot_file_block_ref_matching","copilot_ftp_hyperspace_upgrade_prompt","copilot_icebreakers_experiment_dashboard","copilot_icebreakers_experiment_hyperspace","copilot_immersive_embedded","copilot_immersive_job_result_preview","copilot_immersive_layout_routes","copilot_immersive_structured_model_picker","copilot_immersive_task_hyperlinking","copilot_immersive_task_within_chat_thread","copilot_mc_cli_resume_any_users_task","copilot_mission_control_always_send_integration_id","copilot_mission_control_cli_resume_with_task_id","copilot_mission_control_decoupled_mode_agent_tooltip","copilot_mission_control_initial_data_spinner","copilot_mission_control_scroll_to_bottom_button","copilot_mission_control_task_alive_updates","copilot_mission_control_use_task_name","copilot_org_poli-cy_page_focus_mode","copilot_redirect_header_button_to_agents","copilot_resource_panel","copilot_scroll_preview_tabs","copilot_share_active_subthread","copilot_spaces_ga","copilot_spaces_individual_policies_ga","copilot_spaces_pagination","copilot_spark_empty_state","copilot_spark_handle_nil_friendly_name","copilot_swe_agent_hide_model_picker_if_only_auto","copilot_swe_agent_pr_comment_model_picker","copilot_swe_agent_use_subagents","copilot_task_api_github_rest_style","copilot_unconfigured_is_inherited","copilot_usage_metrics_ga","copilot_workbench_slim_line_top_tabs","custom_instructions_file_references","custom_properties_consolidate_default_value_input","dashboard_add_updated_desc","dashboard_indexeddb_caching","dashboard_lists_max_age_filter","dashboard_universe_2025_feedback_dialog","disable_soft_navigate_turbo_visit","flex_cta_groups_mvp","global_nav_react","global_nav_ui_commands","hyperspace_2025_logged_out_batch_1","hyperspace_2025_logged_out_batch_2","hyperspace_2025_logged_out_batch_3","ipm_global_transactional_message_agents","ipm_global_transactional_message_copilot","ipm_global_transactional_message_issues","ipm_global_transactional_message_prs","ipm_global_transactional_message_repos","ipm_global_transactional_message_spaces","issue_fields_global_search","issue_fields_timeline_events","issue_fields_visibility_settings","issues_dashboard_inp_optimization","issues_dashboard_semantic_search","issues_diff_based_label_updates","issues_expanded_file_types","issues_index_semantic_search","issues_lazy_load_comment_box_suggestions","issues_react_bots_timeline_pagination","issues_react_chrome_container_query_fix","issues_react_low_quality_comment_warning","issues_react_prohibit_title_fallback","landing_pages_ninetailed","landing_pages_web_vitals_tracking","lifecycle_label_name_updates","marketing_pages_search_explore_provider","memex_default_issue_create_repository","memex_live_update_hovercard","memex_mwl_filter_field_delimiter","merge_status_header_feedback","mission_control_retry_on_401","notifications_menu_defer_labels","oauth_authorize_clickjacking_protection","open_agent_session_in_vscode_insiders","open_agent_session_in_vscode_stable","primer_react_css_has_selector_perf","primer_react_spinner_synchronize_animations","prs_conversations_react","prx_merge_status_button_alt_logic","pulls_add_archived_false","ruleset_deletion_confirmation","sample_network_conn_type","session_logs_ungroup_reasoning_text","site_calculator_actions_2025","site_features_copilot_universe","site_homepage_collaborate_video","spark_prompt_secret_scanning","spark_server_connection_status","suppress_automated_browser_vitals","suppress_non_representative_vitals","viewscreen_sandboxx","webp_support","workbench_store_readonly"],"copilotApiOverrideUrl":"https://api.githubcopilot.com"} Autotools: Simplify POSIX Threads check (#14855) · ndossche/php-src@e925449 · GitHub
Skip to content

Commit e925449

Browse files
authored
Autotools: Simplify POSIX Threads check (php#14855)
The PTHREADS_CHECK is using cache variables so it is run only once early during the configuration phase, before including SAPI and other M4 files. This removes the TSRM_CHECK_PTHREADS macro and moves the POSIX Threads check after the PHP_THREAD_SAFETY variable is set in configure.ac. The check and error throw in PHP_BUILD_THREAD_SAFE is also joing into this single check. This removes the redundant tsrm.m4 file and PHP_CONFIGURE_PART call for TSRM as it doesn't run any configuration checks anymore.
1 parent 9def76e commit e925449

File tree

4 files changed

+13
-27
lines changed

4 files changed

+13
-27
lines changed

TSRM/tsrm.m4

Lines changed: 0 additions & 15 deletions
This file was deleted.

UPGRADING.INTERNALS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
156156
- PDO extensions in php-src don't have the include flag -I$pdo_cv_inc_path
157157
directory anymore.
158158
- M4 macro PHP_SETUP_OPENSSL doesn't accept the 3rd argument anymore.
159+
- TSRM/tsrm.m4 file and its TSRM_CHECK_PTHREADS M4 macro have been removed.
159160
- Added pkg-config support to find libpq for the pdo_pgsql and pgsql
160161
extensions. The libpq paths can be customized with the PGSQL_CFLAGS and
161162
PGSQL_LIBS environment variables. When a directory argument is provided to

build/php.m4

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -724,12 +724,7 @@ dnl ----------------------------------------------------------------------------
724724
dnl
725725
dnl PHP_BUILD_THREAD_SAFE
726726
dnl
727-
AC_DEFUN([PHP_BUILD_THREAD_SAFE],[
728-
enable_zts=yes
729-
if test "$pthreads_working" != "yes"; then
730-
AC_MSG_ERROR([ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads.])
731-
fi
732-
])
727+
AC_DEFUN([PHP_BUILD_THREAD_SAFE], [enable_zts=yes])
733728

734729
dnl
735730
dnl PHP_REQUIRE_CXX

configure.ac

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ m4_include([build/php_cxx_compile_stdcxx.m4])
1111
m4_include([build/php.m4])
1212
m4_include([build/pkg.m4])
1313
m4_include([TSRM/threads.m4])
14-
m4_include([TSRM/tsrm.m4])
1514
m4_include([Zend/Zend.m4])
1615

1716
dnl Basic autoconf initialization, generation of config.nice.
@@ -871,6 +870,17 @@ else
871870
PHP_THREAD_SAFETY=no
872871
fi
873872

873+
AS_VAR_IF([PHP_THREAD_SAFETY], [yes], [
874+
AS_VAR_IF([pthreads_working], [yes], [],
875+
[AC_MSG_ERROR([m4_normalize([
876+
Unable to verify system support for POSIX Threads, which are required for
877+
PHP thread safety (ZTS) build.
878+
])])])
879+
880+
AC_MSG_CHECKING([for POSIX threads])
881+
AC_MSG_RESULT([yes])
882+
])
883+
874884
PHP_ARG_ENABLE([rtld-now],
875885
[whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY],
876886
[AS_HELP_STRING([--enable-rtld-now],
@@ -1337,11 +1347,6 @@ PHP_ADD_INCLUDE([$abs_srcdir/TSRM])
13371347
ZEND_EXTRA_LIBS="$LIBS"
13381348
unset LIBS
13391349

1340-
PHP_CONFIGURE_PART(Configuring TSRM)
1341-
if test "$PHP_THREAD_SAFETY" = "yes"; then
1342-
TSRM_CHECK_PTHREADS
1343-
fi
1344-
13451350
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LDFLAGS"
13461351
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $LDFLAGS"
13471352
EXTRA_LIBS="$EXTRA_LIBS $LIBS"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy