Skip to content

Commit

Permalink
Remove advanced rayaop features from config.m4
Browse files Browse the repository at this point in the history
The advanced rayaop features and related conditions were removed from the config.m4 file. The script now only proceeds to add the rayaop extension. The elimination of advanced rayaop features streamlines the configuration process and simplifies the overall script.
  • Loading branch information
koriym committed Jun 26, 2024
1 parent 5839942 commit 68294a7
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,5 @@
PHP_ARG_ENABLE(rayaop, whether to enable rayaop support,
[ --enable-rayaop Enable rayaop support])

# 'rayaop_advanced'の高度な機能を有効にするかどうかの設定を追加
PHP_ARG_ENABLE(rayaop_advanced, whether to enable advanced rayaop features,
[ --enable-rayaop-advanced Enable advanced rayaop features], no, no)

# 'rayaop_advanced'の設定が有効になっているかを確認
if test "$PHP_RAYAOP_ADVANCED" = "yes"; then
# 'rayaop_advanced'が有効ならば、定義を追加
AC_DEFINE(RAYAOP_ADVANCED, 1, [Whether advanced rayaop features are enabled])
# 'rayaop_advanced'用の新しい拡張機能を追加
PHP_NEW_EXTENSION(rayaop, src/rayaop_advanced.c, $ext_shared,, -DRAYAOP_ADVANCED=1)
else
# 'rayaop_advanced'が無効ならば、通常の'rayaop'拡張機能を追加
PHP_NEW_EXTENSION(rayaop, src/rayaop.c, $ext_shared)
fi
# 'rayaop'拡張機能を追加
PHP_NEW_EXTENSION(rayaop, src/rayaop.c, $ext_shared)

0 comments on commit 68294a7

Please sign in to comment.