|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77026 gcc default include path lacks /usr/include, PHP_ADD_INCLUDE lacks it either
Submitted: 2018-10-17 10:04 UTC Modified: -
From: kgo_yoi at hotmail dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-10-17 10:04 UTC] kgo_yoi at hotmail dot com
When gcc default include path(gcc -xc -v -, "#include <...> search starts here:" section) doesn't contain '/usr/include' under the unusual OS, PHP_ADD_INCLUDE [] `if test "$1" != "/usr/include"...` makes we lost the chance to add '-I/usr/include' as a compile option. configure run successfully, but make failed.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Oct 25 11:01:23 2020 UTC