1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

* buildconf: Strip the PACKAGE_* definitions from the generated

ap_config_auto.h.in.  AC_INIT is not given the package arguments so
  they are unused here, and only pollute the namespace of anything
  which includes the installed header.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitHub: PR #380


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2026-08-28 13:34:09 +00:00
parent 5221bb4683
commit 814190848c

View File

@@ -310,6 +310,12 @@ else
exit 1
fi
# The PACKAGE_* definitions are unused here since AC_INIT is not given
# the package arguments, and only pollute the namespace of anything
# which includes the installed header.
echo buildconf: removing PACKAGE_ definitions from $config_h_in
sed -i -e '/^#undef PACKAGE_/d' $config_h_in
echo buildconf: rebuilding configure
rm -f config.cache
if ${AUTOCONF:-autoconf} ${autoconf_args}; then