diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-27 03:46:10 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-27 03:46:10 +0200 |
commit | ba0cb3fe960d8653cbbc2358f4e392417af4d98a (patch) | |
tree | 46b09279e6987c79a0e6861142cafcaacd1ec9e5 /configure.ac | |
parent | lib: Fix some *bsd build issues introduced by EIGRP code (diff) | |
download | frr-ba0cb3fe960d8653cbbc2358f4e392417af4d98a.tar.xz frr-ba0cb3fe960d8653cbbc2358f4e392417af4d98a.zip |
lib: Fix compilation of some be32* code
The be32dec and be32enc functions are available on some
platforms and not others.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f586e560e..4f0dcdf85 100755 --- a/configure.ac +++ b/configure.ac @@ -1603,6 +1603,12 @@ AC_TRY_COMPILE([#include <netinet/in.h>], [ ]) dnl -------------------------------------- +dnl checking for be32dec existence or not +dnl -------------------------------------- +AC_CHECK_DECLS([be32enc, be32dec], [], [], + [#include <sys/endian.h>]) + +dnl -------------------------------------- dnl checking for clock_time monotonic struct and call dnl -------------------------------------- AC_CHECK_DECL(CLOCK_MONOTONIC, |