diff options
author | Michael Felt <aixtools@users.noreply.github.com> | 2018-06-09 15:59:02 -0600 |
---|---|---|
committer | Ned Deily <nad@python.org> | 2018-06-09 17:59:02 -0400 |
commit | 20cd5c6e21559f35feded5b3cfa9069a281d4325 (patch) | |
tree | 2c7a601a6ec4a8b682ef4134972ff9c49106bf91 /configure.ac | |
parent | 463d1890bb29b66aed431734bb76e366301a0fa5 (diff) | |
download | cpython-git-20cd5c6e21559f35feded5b3cfa9069a281d4325.tar.gz |
bpo-32493: Correct test for uuid_enc_be availability in configure.ac. (GH-7511)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c844eb105c..b5beb08574 100644 --- a/configure.ac +++ b/configure.ac @@ -2782,9 +2782,7 @@ void *x = uuid_create 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.) |