Project

General

Profile

Actions

Task #6752

open

libsuricata: don't include autoconf.h from other includes

Added by Jason Ish 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

In autoconf library projects it is best practice to not install config.h (which we've renamed to autoconf.h). Unfortunately we currently include autoconf.h from suricata-common.h requiring us to install it. Ideally we'd clean this up by Suricata 8. But we do have many headers that depend on defines here, so it might be a non-trivial cleanup.

Tip: Look at how libhtp does this, it follows the best practice, we never did, as an application it wasn't a problem.


Related issues 1 (1 open0 closed)

Related to Suricata - Task #2693: tracking: libsuricataIn ProgressJason IshActions
Actions #1

Updated by Jason Ish 2 months ago

  • Parent task deleted (#2693)
Actions #2

Updated by Jason Ish 2 months ago

  • Related to Task #2693: tracking: libsuricata added
Actions

Also available in: Atom PDF