From afc8861222895120dfd63637a700d5b5dd7d6b1f Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sun, 7 Jul 2024 12:26:38 +0900 Subject: [PATCH] Translate comments in config.m4 from Japanese to English The comments in the config.m4 file have been translated from Japanese to English for better understandability and maintainability. This includes comments for configuration macros, initialization of PECL extension, enabling the extension, and more. This is important for developers who are not familiar with Japanese. --- config.m4 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config.m4 b/config.m4 index 9a27757..03bfadf 100644 --- a/config.m4 +++ b/config.m4 @@ -1,37 +1,37 @@ dnl $Id$ dnl config.m4 for extension rayaop -dnl PECLの設定マクロをインクルード +dnl Include PECL configuration macro dnl link https://github.com/php/pecl-tools/blob/master/autoconf/pecl.m4 sinclude(./autoconf/pecl.m4) -dnl PHP実行ファイルの検出マクロをインクルード +dnl Include macro for detecting PHP executable dnl link https://github.com/php/pecl-tools/blob/master/autoconf/php-executable.m4 sinclude(./autoconf/php-executable.m4) -dnl PECL拡張の初期化 +dnl Initialize PECL extension dnl link https://github.com/php/pecl-tools/blob/master/pecl.m4#L229 PECL_INIT([rayaop]) -dnl 拡張機能を有効にするかどうかの設定オプションを追加 +dnl Add configuration option to enable the extension dnl link https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/External-Shell-Variables.html PHP_ARG_ENABLE(rayaop, whether to enable rayaop, [ --enable-rayaop Enable rayaop]) -dnl 拡張機能が有効な場合の処理 +dnl Process if the extension is enabled if test "$PHP_RAYAOP" != "no"; then - dnl 拡張機能が有効かどうかを定義 + dnl Define whether the extension is enabled dnl link https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Defining-Variables.html AC_DEFINE(HAVE_RAYAOP, 1, [whether rayaop is enabled]) - dnl PHPの新しい拡張機能を追加 + dnl Add new PHP extension dnl link https://www.phpinternalsbook.com/build_system/build_system.html PHP_NEW_EXTENSION(rayaop, rayaop.c, $ext_shared) - dnl Makefileフラグメントを追加 + dnl Add Makefile fragment dnl link https://www.phpinternalsbook.com/build_system/build_system.html#php-add-makefile-fragment PHP_ADD_MAKEFILE_FRAGMENT - dnl ヘッダーファイルのインストール指示を追加 + dnl Add instruction to install header files dnl link https://www.phpinternalsbook.com/build_system/build_system.html#php-install-headers PHP_INSTALL_HEADERS([ext/rayaop], [php_rayaop.h]) fi