Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused build checks #4417

Closed
wants to merge 2 commits into from
Closed

Remove unused build checks #4417

wants to merge 2 commits into from

Conversation

petk
Copy link
Member

@petk petk commented Jul 16, 2019

  • yp_get_default_domain was part of ext/yp
  • functions checks produce HAVE_function_name symbols. These checks are
    currently not used in php-src neither in the extensions out there.
  • Removed symbols because they are not used in the code:
    • HAVE_GCVT
    • HAVE_PUTENV
    • HAVE_PUTENV
    • HAVE_SETVBUF
    • HAVE_TEMPNAM
    • HAVE_SIN (sin is also defined in C89 standard)
    • HAVE_SETSOCKOPT
    • HAVE_LOCKF
    • HAVE_ISASCII
    • HAVE_YP_GET_DEFAULT_DOMAIN (and other yp extension related unused checks)
  • HAVE_USLEEP is already defined in Windows configuration header
  • HAVE_LIBBIND has not been used in php-src for a while anymore

- yp_get_default_domain was part of ext/yp
- functions checks produce HAVE_function_name symbols. These checks are
  currently not used in php-src neither in the extensions out there.
- Removed symbols because they are not used in the code:
  - HAVE_GCVT
  - HAVE_PUTENV
  - HAVE_PUTENV
  - HAVE_SETVBUF
  - HAVE_TEMPNAM
  - HAVE_SIN (sin is also defined in C89 standard)
  - HAVE_SETSOCKOPT
  - HAVE_LOCKF
  - HAVE_ISASCII
  - HAVE_YP_GET_DEFAULT_DOMAIN (and other yp extension related unused checks)
- HAVE_USLEEP is already defined in Windows configuration header
- HAVE_LIBBIND has not been used in php-src for a while anymore
- HAVE_GETHOSTNAME is duplicated in Windows configuration header
@php-pulls php-pulls closed this in 63d6a2b Jul 16, 2019
@petk petk deleted the patch-configure-ac branch July 16, 2019 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants