mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
configure.ac: further fix for header loop check -- construct header list while in $srcdir, so that -I${srcdir} works as expected. see earlier commits 7baddb04f8
a7d9ea7550
b3a1ac80dc
.
This commit is contained in:
@ -8720,7 +8720,11 @@ if test "$ENABLED_OPENSSLEXTRA" = "yes" && test "$ENABLED_LINUXKM" = "no"
|
|||||||
then
|
then
|
||||||
SAVE_CFLAGS=$CFLAGS
|
SAVE_CFLAGS=$CFLAGS
|
||||||
CFLAGS="$CFLAGS -I$srcdir"
|
CFLAGS="$CFLAGS -I$srcdir"
|
||||||
for header in "${srcdir}"/wolfssl/openssl/*.h
|
build_pwd="$(pwd)"
|
||||||
|
cd "$srcdir"
|
||||||
|
openssl_headers=$(echo wolfssl/openssl/*.h)
|
||||||
|
cd "$build_pwd"
|
||||||
|
for header in $openssl_headers
|
||||||
do
|
do
|
||||||
AC_CHECK_HEADER([$header], [], [
|
AC_CHECK_HEADER([$header], [], [
|
||||||
AC_MSG_ERROR([Error including $header. Possible circular dependency introduced or missing include.])
|
AC_MSG_ERROR([Error including $header. Possible circular dependency introduced or missing include.])
|
||||||
|
Reference in New Issue
Block a user