nginx/auto
Andrew Clayton 99312be10c
Some checks failed
buildbot / buildbot (push) Has been cancelled
Configure: ensure we get the "built by ..." line in nginx -V.
For certain compilers we embed the compiler version used to build nginx
in the binary, retrievable via 'nginx -V', e.g.

  $ ./objs/nginx -V
  ...
  built by gcc 15.2.1 20250808 (Red Hat 15.2.1-1) (GCC)
  ...

However if the CFLAGS environment variable is set this would be omitted.

This is due to the compiler specific auto/cc files not being run when
the CFLAGS environment variable is set, this is so entities can set
their own compiler flags, and thus the NGX_COMPILER variable isn't set.

Nonetheless it is a useful thing to have so re-work the auto scripts to
move the version gathering out of the individual auto/cc/$NGX_CC_NAME
files and merge them into auto/cc/name.

Link: <https://github.com/nginx/nginx/issues/878>
2025-11-04 16:11:53 +00:00
..
cc Configure: ensure we get the "built by ..." line in nginx -V. 2025-11-04 16:11:53 +00:00
lib QUIC: using QUIC API introduced in OpenSSL 3.5. 2025-05-23 15:00:47 +04:00
os Core: added support for TCP keepalive parameters on macOS. 2025-05-27 01:59:02 +04:00
types Configure: stop polluting NGX_ namespace. 2016-06-27 15:00:06 -07:00
configure Win32: i386 now assumed when crossbuilding (ticket #2416). 2023-02-23 18:15:59 +03:00
define Copyright updated. 2012-01-18 15:07:43 +00:00
endianness Configure: fix build with -Werror=old-style-definition. 2016-06-27 15:00:05 -07:00
feature Configure: fix build with -Werror=old-style-definition. 2016-06-27 15:00:05 -07:00
have Copyright updated. 2012-01-18 15:07:43 +00:00
have_headers Copyright updated. 2012-01-18 15:07:43 +00:00
headers Copyright updated. 2012-01-18 15:07:43 +00:00
include Configure: stop polluting NGX_ namespace. 2016-06-27 15:00:06 -07:00
init Configure: marked top-level make targets as phony. 2021-02-20 12:44:26 +03:00
install Configure: fixed "make install" when cross-compiling to Windows. 2024-02-26 20:00:46 +00:00
make Configure: ordered directories. 2021-09-21 14:46:25 +03:00
module Configure: shared sources for addon modules. 2020-11-10 17:13:20 +03:00
modules SSL: object caching. 2024-10-01 17:59:24 +04:00
nohave Copyright updated. 2012-01-18 15:07:43 +00:00
options Stream: ngx_stream_pass_module. 2024-02-21 17:36:02 +04:00
sources Core: the ngx_event_udp.h header file. 2022-01-25 15:41:48 +03:00
stubs Copyright updated. 2012-01-18 15:07:43 +00:00
summary PCRE2 library support. 2021-12-25 01:07:15 +03:00
threads Configure: fixed static compilation with OpenSSL 1.1.1. 2018-03-22 15:55:57 +03:00
unix Configure: set NGX_KQUEUE_UDATA_T at compile time. 2025-07-11 16:25:51 +04:00