]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
configure: fix for missing include files on Linux
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 28 May 2025 14:58:44 +0000 (16:58 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 7 Jun 2025 10:22:53 +0000 (10:22 +0000)
commit1347b693a508179db5b19279cd6a37753fe0dfd5
tree76a04b41b59c477590697036c67c700f22f8d7c5
parentd9b614a56db9ff08b349dc29f4b257c16a442013
configure: fix for missing include files on Linux

By merging [1] and [2], the drivers 'xlnx-pcie-xvc' and 'linuxspidev'
are now build by default on Linux.
This highlights the dependency of some include files under subfolder
'linux' that are not installed by default in all Linux boxes.

Add the check in 'configure' for the presence of the include file
and conditionally enable the build of the driver.

Change-Id: Ie88645c3455ab07622f069a0cc7bf09d1a5a2c75
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Link: [1] 7214c8be46f7 ("configure: show adapter Xilinx XVC/PCIe in the configuration summary")
Link: [2] 83e0293f7ba3 ("Add Linux SPI device SWD adapter support")
Reviewed-on: https://review.openocd.org/c/openocd/+/8935
Tested-by: jenkins
configure.ac