mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-19 19:29:00 +00:00
attempt to fix building on openwrt
This commit is contained in:
parent
104c311b21
commit
3743a08be1
20
configure.in
20
configure.in
@ -8,14 +8,18 @@ dnl Set $host_os, which is needed by javac detection.
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
||||
dnl Various GCC function and variable attributes
|
||||
AX_GCC_FUNC_ATTRIBUTE(aligned)
|
||||
AX_GCC_FUNC_ATTRIBUTE(alloc_size)
|
||||
AX_GCC_FUNC_ATTRIBUTE(error)
|
||||
AX_GCC_FUNC_ATTRIBUTE(format)
|
||||
AX_GCC_FUNC_ATTRIBUTE(malloc)
|
||||
AX_GCC_FUNC_ATTRIBUTE(unused)
|
||||
AX_GCC_FUNC_ATTRIBUTE(used)
|
||||
AX_GCC_VAR_ATTRIBUTE(section)
|
||||
AX_C___ATTRIBUTE__
|
||||
if test "x$ax_cv___attribute__" = "xyes"
|
||||
then
|
||||
AX_GCC_FUNC_ATTRIBUTE(aligned)
|
||||
AX_GCC_FUNC_ATTRIBUTE(alloc_size)
|
||||
AX_GCC_FUNC_ATTRIBUTE(error)
|
||||
AX_GCC_FUNC_ATTRIBUTE(format)
|
||||
AX_GCC_FUNC_ATTRIBUTE(malloc)
|
||||
AX_GCC_FUNC_ATTRIBUTE(unused)
|
||||
AX_GCC_FUNC_ATTRIBUTE(used)
|
||||
AX_GCC_VAR_ATTRIBUTE(section)
|
||||
fi
|
||||
|
||||
dnl Init pkg-config
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
Loading…
Reference in New Issue
Block a user