mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-12-11 10:07:58 +00:00
Merge branch 'master' of https://github.com/Sp1l/nghttp2 into Sp1l-master
This commit is contained in:
commit
21f9b6d8bb
13
configure.ac
13
configure.ac
@ -268,9 +268,16 @@ if test "x${have_zlib}" = "xno"; then
|
||||
fi
|
||||
|
||||
# dl: openssl requires libdl when it is statically linked.
|
||||
save_LIBS=$LIBS
|
||||
AC_SEARCH_LIBS([dlopen], [dl], [APPLDFLAGS="-ldl $APPLDFLAGS"], [], [])
|
||||
LIBS=$save_LIBS
|
||||
case "${host_os}" in
|
||||
*bsd*)
|
||||
# dlopen is in libc on *BSD
|
||||
;;
|
||||
*)
|
||||
save_LIBS=$LIBS
|
||||
AC_SEARCH_LIBS([dlopen], [dl], [APPLDFLAGS="-ldl $APPLDFLAGS"], [], [])
|
||||
LIBS=$save_LIBS
|
||||
;;
|
||||
esac
|
||||
|
||||
# cunit
|
||||
PKG_CHECK_MODULES([CUNIT], [cunit >= 2.1], [have_cunit=yes], [have_cunit=no])
|
||||
|
Loading…
Reference in New Issue
Block a user