Commit 1152ef7
tlshd: configure.ac: Use AC_CHECK_HEADER instead of AC_CHECK_FILE
AC_CHECK_FILE doesn't work when cross-compiling [1], which breaks a lot of
use cases (like OpenEmbedded for one). Autoconf supports AC_CHECK_HEADER
which can be used instead and is more robust [2] so let's use that
instead.
1: https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Files.html
2: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Generic-Headers.html
Signed-off-by: Alistair Francis <[email protected]>1 parent 3b419fa commit 1152ef7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments