History log of /PHP-8.1/build/php.m4 (Results 26 – 50 of 87)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-7.3.22, php-7.3.22RC1
# b480e684 07-Aug-2020 Nikita Popov

Recognize gnu-libiconv location on alpine

# 6ca6e9f8 10-Aug-2020 David Carlier

Fix crypt_r detection under BSD system

For BSD systems, crypt.h does not exist, instead we need to
include unistd.h.

Closes GH-5971.

# 05478e98 08-Aug-2020 Nikita Popov

Fix m4 quotation

We should not try to expand AX_CHECK_COMPILE_FLAG inside the
error message...

# 2d359749 07-Aug-2020 Nikita Popov

Remove giconv support

The best information I was able to find about this is this mail
from 2009 which indicates that giconv is an old FreeBSD iconv
implementation that has long since

Remove giconv support

The best information I was able to find about this is this mail
from 2009 which indicates that giconv is an old FreeBSD iconv
implementation that has long since been superseded by libiconv.

https://lists.samba.org/archive/samba-technical/2009-June/065177.html

show more ...

# 65592840 07-Aug-2020 Nikita Popov

Remove more leftovers of PHP_DEFINE handling

# e6f77842 07-Aug-2020 Nikita Popov

Don't use PHP_DEFINE in iconv

iconv is the only consumer of this custom define mechanism that
puts every define into a single file. Use the standard mechanism
instead.

# 4cc4f9c0 04-Aug-2020 Nikita Popov

Use standard types in fopencookie test

Instead of internal __size_t / __off64_t types use ssize_t and off64_t.
This makes it work on musl as well.

# b0d13945 04-Aug-2020 Nikita Popov

Use standard types in fopencookie test

Instead of internal __size_t / __off64_t types use ssize_t and off64_t.
This makes it work on musl as well.

# 442cf83b 04-Aug-2020 Nikita Popov

Add compatibility define for PHP_CHECK_GCC_ARG

This defines the m4 macro, but makes it always error.

Revision tags: php-7.3.21, php-7.3.21RC1
# 691a09f2 16-Jul-2020 Dik Takken

Bump libxml version requirement 2.7.6 => 2.9.0

Since libxml version 2.9.0 external entity loading is disabled by default.
Bumping the version requirement means that XML processing in PHP

Bump libxml version requirement 2.7.6 => 2.9.0

Since libxml version 2.9.0 external entity loading is disabled by default.
Bumping the version requirement means that XML processing in PHP is no
longer vulnerable to XXE processing attacks by default.

show more ...

# e2f39f84 29-Jul-2020 Nikita Popov

Remove PHP_CHECK_GCC_ARG()

In favor of AX_CHECK_COMPILE_FLAG(), which we bundle since at least
PHP 7.

Closes GH-5904.

# ae8dea0b 29-Jul-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #79895: support = in PHP_CHECK_GCC_ARG m4 macro


# 678f5b60 29-Jul-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #79895: support = in PHP_CHECK_GCC_ARG m4 macro


# 93594862 22-Jul-2020 Nikita Popov

Remove no longer needed stdint compatibility defines

Closes GH-5886.

# 86e2b7bb 13-Jul-2020 Nikita Popov

Fixed bug #79841

Revision tags: php-7.3.20, php-7.3.20RC1, php-7.3.19
# 7e2147be 26-May-2020 Alex Dowad

Clean up some unused code (and fix some comments) in build scripts

- Fix typo in build/php.m4

- Nothing uses HAVE_INTTYPES_H; so remove check for header file

- Nothing defi

Clean up some unused code (and fix some comments) in build scripts

- Fix typo in build/php.m4

- Nothing uses HAVE_INTTYPES_H; so remove check for header file

- Nothing defines ZEND_ACCONFIG_H_NO_C_PROTOS; so remove #ifndef

- `format_money` was removed in 2019, so <monetary.h> no longer needed

- Nothing uses HAVE_NETDB_H; so remove check for header file

- Nothing checks HAVE_TERMIOS_H; so remove check for header file

(This was actually added when Wez Furlong was adding the original implementation of
PTY support in `proc_open`, since replaced.)

- Nothing checks HAVE_SYS_AUXV_H; so remove check for header file

- PHP_BUILD_DATE variable is not used for anything, so remove it

This variable was added to the Makefile, but from there, was not used for anything.
The comments suggest it was intended to allow 'reproducible builds'. Presumably,
this means that if a bug is found in a PHP binary somewhere, one could look at the
Makefile which it was built from, see the date, and then could check the same
code version out from source control. But... there can easily be multiple commits
to the repo in the same day. Also, what makes us think that the Makefile which a
binary was built from will be easily available?

Besides, ext/standard/info.c already embeds the build date and time in each binary...
but it does it using `__DATE__` and `__TIME__` (see `php_print_info`).

- Nothing checks HAVE_FINITE; so don't check for function

- Grammar fix to comment in build/php.m4

- Nothing sets $php_ldflags_add_usr_lib variable in configure, so remove conditional

This was added in 2002, when Rasmus was having difficulty building PHP on some
host and needed to have /usr/lib in the rpath. It was never documented and
probably has never been used by anyone else.

show more ...

# fe2afef3 07-Jun-2020 Peter Kokot

Fix #78750: configure assumes yacc and re2c work

Closes GH-5681

Revision tags: php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1, php-7.2.30, php-7.3.17, php-7.3.17RC1, php-7.3.18, php-7.3.16, php-7.3.16RC1, php-7.3.15RC1, php-7.3.15, php-7.3.14, php-7.3.14RC1, php-7.3.13, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1
# 5dc9418a 31-Oct-2019 Nikita Popov

Reapply "Remove configure checks for supported instruction sets"

I reverted this previously for 7.4 because of bug #78769. Relanding
it now for master, because I still believe that this

Reapply "Remove configure checks for supported instruction sets"

I reverted this previously for 7.4 because of bug #78769. Relanding
it now for master, because I still believe that this change is
right, and if it causes complications, those indicate a bug elsewhere.

---

These were checking whether the instruction set is supported by
the host CPU, however they were only used to condition on whether
this instruction set is targeted at all. It would still use dynamic
dispatch (e.g. based on ifunc resolvers) to select the actual
implementation. Whether the target is guaranteed to support the
instruction set without dispatch is determined based on pre-defined
macros like __SSE2__.

This removes the configure-time builtin cpu checks to remove
confusion. Additionally this allows targeting an architecture that
is newer than the host architecture.

show more ...

# 89b4a46d 11-May-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix default sendmail path when not found during build


# d050d744 11-May-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix default sendmail path when not found during build


# 38ecfe02 29-Apr-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #79532: sizeof off_t can be wrong


# 67f9b0b7 28-Apr-2020 Christoph M. Becker

Fix #79532: sizeof off_t can be wrong

We have to actually determine the proper `SIZEOF_OFF_T`.
Interestingly, it is `4` on Windows x64.

We also have to prevent the redefinition

Fix #79532: sizeof off_t can be wrong

We have to actually determine the proper `SIZEOF_OFF_T`.
Interestingly, it is `4` on Windows x64.

We also have to prevent the redefinition in pg_config.h. The clean
solution would likely be to not include pg_config.h at all, but that's
out of scope for BC reasons for now.

show more ...

# 5fe723c9 27-Apr-2020 Dmitry Stogov

Fix libtool to provide a simple way to generate only "shared" object files or libraries.

- Support for "-shared" option is taken from libtool-2.0 that is already at lease 15 years old.
-

Fix libtool to provide a simple way to generate only "shared" object files or libraries.

- Support for "-shared" option is taken from libtool-2.0 that is already at lease 15 years old.
- Change PHP build system to use "-shared" instead of "--tag=disable-static".

show more ...

# f91f7260 22-Apr-2020 George Peter Banyard

Drop unnecessary stdint and inttypes header checks

These are always available as of C99.

Closes GH-5323

Co-authored-by: "Christoph M. Becker" <cmbecker69@gmx.de>

# 661c0ac7 15-Apr-2020 Nikita Popov

Remove support for EBCDIC

Closes GH-5390.

1234