Skip to content

Commit 56400f7

Browse files
authored
Autotools: s/M4 macros/Autoconf macros (#15778)
M4 macros would mean macros for M4 language like m4_normalize() and similar. Macros defined with AC_DEFUN are better called simply Auotoconf macros. [skip ci]
1 parent 25d7616 commit 56400f7

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

UPGRADING.INTERNALS

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,16 @@ PHP 8.4 INTERNALS UPGRADE NOTES
140140
- COOKIE_IO_FUNCTIONS_T symbol has been removed (use cookie_io_functions_t).
141141
- HAVE_SOCKADDR_UN_SUN_LEN symbol renamed to HAVE_STRUCT_SOCKADDR_UN_SUN_LEN.
142142
- HAVE_UTSNAME_DOMAINNAME symbol renamed to HAVE_STRUCT_UTSNAME_DOMAINNAME.
143-
- PHP_CHECK_IN_ADDR_T M4 macro and 'in_addr_t' fallback definition to 'u_int'
144-
removed (use AC_CHECK_TYPES Autoconf macro instead).
143+
- PHP_CHECK_IN_ADDR_T Autoconf macro and 'in_addr_t' fallback definition to
144+
'u_int' removed (use AC_CHECK_TYPES Autoconf macro instead).
145145
- HAVE_ODBC2 symbol has been removed in ext/odbc.
146146
- Removed linking with obsolete dnet_stub library in ext/pdo_dblib.
147147
- Removed checking and linking with obsolete libbind for some functions.
148148
- Symbol HAVE_JSON has been removed (ext/json is always available since PHP
149149
8.0).
150150
- Symbol DARWIN has been removed (use __APPLE__ to target Darwin systems).
151-
- Symbol MISSING_FCLOSE_DECL and M4 macro PHP_MISSING_FCLOSE_DECL removed.
151+
- Symbol MISSING_FCLOSE_DECL and Autoconf macro PHP_MISSING_FCLOSE_DECL were
152+
removed.
152153
- Symbol HAVE_BSD_ICONV has been removed.
153154
- Symbol ZEND_FIBER_ASM has been removed.
154155
- Symbols HAVE_DLOPEN and HAVE_DLSYM have been removed.
@@ -164,39 +165,42 @@ PHP 8.4 INTERNALS UPGRADE NOTES
164165
- Symbols PHP_HAVE_AVX512_SUPPORTS and PHP_HAVE_AVX512_VBMI_SUPPORTS are now
165166
either defined to 1 or undefined.
166167
- Symbol HAVE_LIBCRYPT has been removed.
167-
- M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h).
168-
- M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH).
169-
- M4 macro PHP_STRUCT_FLOCK has been removed (use AC_CHECK_TYPES).
170-
- M4 macro PHP_SOCKADDR_CHECKS has been removed (use AC_CHECK_TYPES and
168+
- Autoconf macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and
169+
config.h).
170+
- Autoconf macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH).
171+
- Autoconf macro PHP_STRUCT_FLOCK has been removed (use AC_CHECK_TYPES).
172+
- Autoconf macro PHP_SOCKADDR_CHECKS has been removed (use AC_CHECK_TYPES and
171173
AC_CHECK_MEMBERS).
172-
- M4 macro PHP_CHECK_GCC_ARG has been removed since PHP 8.0 (use
174+
- Autoconf macro PHP_CHECK_GCC_ARG has been removed since PHP 8.0 (use
173175
AX_CHECK_COMPILE_FLAG).
174-
- M4 macro PHP_PROG_RE2C got a new 2nd argument to define common default re2c
175-
command-line options substituted to the Makefile RE2C_FLAGS variable.
176-
- M4 macros PHP_CHECK_BUILTIN_* have been removed in favor of
176+
- Autoconf macro PHP_PROG_RE2C got a new 2nd argument to define common
177+
default re2c command-line options substituted to the Makefile RE2C_FLAGS
178+
variable.
179+
- Autoconf macros PHP_CHECK_BUILTIN_* have been removed in favor of
177180
PHP_CHECK_BUILTIN and all PHP_HAVE_BUILTIN_* symbols changed to be either
178181
undefined or defined to 1 whether compiler supports the builtin.
179182
- Added php-config --lib-dir and --lib-embed options for PHP embed SAPI.
180183
- PDO extensions in php-src don't have the include flag -I$pdo_cv_inc_path
181184
directory anymore.
182-
- M4 macro PHP_SETUP_OPENSSL doesn't accept the 3rd argument anymore.
183-
- M4 macro PHP_EVAL_LIBLINE got a new 3rd argument to override the ext_shared
184-
checks.
185-
- M4 macro PHP_SETUP_LIBXML doesn't define the redundant HAVE_LIBXML symbol
186-
anymore and requires at least libxml2 2.9.4.
187-
- M4 macro PHP_SETUP_ICONV doesn't define the HAVE_ICONV symbol anymore.
188-
- M4 macro PHP_OUTPUT is obsolete (use AC_CONFIG_FILES).
189-
- M4 macro PHP_PROG_SETUP now accepts an argument to set the minimum required
190-
PHP version during the build.
191-
- M4 macro PHP_INSTALL_HEADERS arguments can now be also
185+
- Autoconf macro PHP_SETUP_OPENSSL doesn't accept the 3rd argument anymore.
186+
- Autoconf macro PHP_EVAL_LIBLINE got a new 3rd argument to override the
187+
ext_shared checks.
188+
- Autoconf macro PHP_SETUP_LIBXML doesn't define the redundant HAVE_LIBXML
189+
symbol anymore and requires at least libxml2 2.9.4.
190+
- Autoconf macro PHP_SETUP_ICONV doesn't define the HAVE_ICONV symbol
191+
anymore.
192+
- Autoconf macro PHP_OUTPUT is obsolete (use AC_CONFIG_FILES).
193+
- Autoconf macro PHP_PROG_SETUP now accepts an argument to set the minimum
194+
required PHP version during the build.
195+
- Autoconf macro PHP_INSTALL_HEADERS arguments can now be also
192196
blank-or-newline-separated lists instead of only separated with whitespace
193197
or backslash-then-newline.
194-
- M4 macro PHP_ADD_BUILD_DIR now also accepts 1st argument as a
198+
- Autoconf macro PHP_ADD_BUILD_DIR now also accepts 1st argument as a
195199
blank-or-newline-separated separated list.
196-
- M4 macros PHP_NEW_EXTENSION, PHP_ADD_SOURCES, PHP_ADD_SOURCES_X,
200+
- Autoconf macros PHP_NEW_EXTENSION, PHP_ADD_SOURCES, PHP_ADD_SOURCES_X,
197201
PHP_SELECT_SAPI now have the source files and flags arguments normalized so
198202
the list of items can be passed as a blank-or-newline-separated list.
199-
- TSRM/tsrm.m4 file and its TSRM_CHECK_PTHREADS M4 macro have been removed.
203+
- TSRM/tsrm.m4 file and its TSRM_CHECK_PTHREADS macro have been removed.
200204
- Added pkg-config support to find libpq for the pdo_pgsql and pgsql
201205
extensions. The libpq paths can be customized with the PGSQL_CFLAGS and
202206
PGSQL_LIBS environment variables. When a directory argument is provided to

0 commit comments

Comments
 (0)