Bug 2095740

Summary: libprelude header files includes config.h
Product: [Fedora] Fedora EPEL Reporter: Istiak Ferdous <hello>
Component: libpreludeAssignee: Orphan Owner <extras-orphan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: extras-orphan, gwync, thomas.andrejak, tscherf, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Istiak Ferdous 2022-06-10 12:05:12 UTC
Description of problem:
Context: https://bugzilla.redhat.com/show_bug.cgi?id=1908783

Opening this against EPEL 9 as I can't reopen the previous bug for this.

Can't build Suricata with libprelude for this bug in EPEL 9.

/usr/include/libprelude/common.h:28:11: fatal error: config.h: No such file or directory
   28 | # include "config.h"
      |           ^~~~~~~~~~

```
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
```

Currently following header files have this.

common.h
idmef-object.h
idmef-path.h
idmef-time.h
idmef.h
prelude-client-profile.h
prelude-error.h
prelude-extract.h
prelude-io.h
prelude-list.h
prelude-log.h
prelude-plugin.h
prelude-string.h
prelude-thread.h
prelude-timer.h