commit | 20cd5c6e21559f35feded5b3cfa9069a281d4325 | [log] [tgz] |
---|---|---|
author | Michael Felt <aixtools@users.noreply.github.com> | Sat Jun 09 15:59:02 2018 -0600 |
committer | Ned Deily <nad@python.org> | Sat Jun 09 17:59:02 2018 -0400 |
tree | 2c7a601a6ec4a8b682ef4134972ff9c49106bf91 | |
parent | 463d1890bb29b66aed431734bb76e366301a0fa5 [diff] [blame] |
bpo-32493: Correct test for uuid_enc_be availability in configure.ac. (GH-7511)
diff --git a/configure.ac b/configure.ac index c844eb1..b5beb08 100644 --- a/configure.ac +++ b/configure.ac
@@ -2782,9 +2782,7 @@ AC_MSG_CHECKING(for uuid_enc_be) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <uuid.h>]], [[ #ifndef uuid_enc_be -uuid_t uuid; -unsigned char buf[sizeof(uuid)]; -uuid_enc_be(buf, &uuid); +void *x = uuid_enc_be #endif ]])], [AC_DEFINE(HAVE_UUID_ENC_BE, 1, Define if uuid_enc_be() exists.)