clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
215 stars 72 forks source link

Added QNX specific imports #272

Closed s-bauer closed 1 year ago

s-bauer commented 3 years ago

Fixed a few import issues with QNX. Is there a better way of conditionally configuring the imports? Maybe with autotools?

olofhagsand commented 3 years ago

If possible, it would be better to make a generic check in autoconf, such as using eg: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Generic-Headers.html#index-AC_005fCHECK_005fHEADER-580 The reason is that there may be other OS:s with the same location of where include files are. Once you start putting ifdef:s for specific OS:s, as the number of OS:s increase so will the complexity of ifdef:s.

olofhagsand commented 1 year ago

Closing due to old age