Skip to content

Add curl option to the generated config for backend instead#265

Merged
janbrummer merged 1 commit intolibproxy:mainfrom
davids-work:fix-config-include-curl
Jan 8, 2024
Merged

Add curl option to the generated config for backend instead#265
janbrummer merged 1 commit intolibproxy:mainfrom
davids-work:fix-config-include-curl

Conversation

@davids-work
Copy link
Copy Markdown
Contributor

It is only used there, and the project root is added to the list of include directories last. This means that a config.h may inadvertedly be included from a completely different place when building libproxy as a subproject. The backend directory, where the generated px-backend-config.h ends up is the first include path in the list.

This commit removes config.h entirely, as the only other thing in it, the generated PACKAGE_VERSION define, is not used anywhere

It is only used there, and the project root is added to the list of
include directories last. This means that a config.h may inadvertedly be
included from a completely different place when building libproxy as a
subproject. The backend directory, where the generated
px-backend-config.h ends up is the first include path in the list.

This commit removes config.h entirely, as the only other thing in it,
the generated PACKAGE_VERSION define, is not used anywhere
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9b541a5) 73.15% compared to head (62f5b89) 73.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #265   +/-   ##
=======================================
  Coverage   73.15%   73.15%           
=======================================
  Files          16       16           
  Lines         842      842           
  Branches      238      238           
=======================================
  Hits          616      616           
  Misses        131      131           
  Partials       95       95           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@janbrummer janbrummer merged commit 3228867 into libproxy:main Jan 8, 2024
@davids-work davids-work deleted the fix-config-include-curl branch February 14, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants