DALnet / bahamut

The Bahamut IRC Daemon
http://www.dal.net/?page=Bahamut
Other
59 stars 42 forks source link

Add bahamut -I flags before user CPPFLAGS #223

Closed ryandesign closed 1 year ago

ryandesign commented 1 year ago

The user's CPPFLAGS may contain -I flags pointing to directories that contains files having the same names as bahamut headers which may cause build failures. For example, bahamut contains channel.h, but NDSClient installs $prefix/include/channel.h. If the user's CPPFLAGS contain -I$prefix/include, for example to facilitate the finding of zlib or other bahamut dependencies, the build will fail. Fix the problem by looking for includes in bahamut directories first.