diff options
author | Ned Deily <nad@python.org> | 2018-06-09 22:19:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-09 22:19:57 (GMT) |
commit | ced0adb2638e4c02945bfa82e15595918eef74f1 (patch) | |
tree | 5373276ed1ae3aab964331ada60df7af4a030418 /configure.ac | |
parent | ea62ce7f4fefc66bc0adba16bcd7666d5bbd5b44 (diff) | |
download | cpython-ced0adb2638e4c02945bfa82e15595918eef74f1.zip cpython-ced0adb2638e4c02945bfa82e15595918eef74f1.tar.gz cpython-ced0adb2638e4c02945bfa82e15595918eef74f1.tar.bz2 |
bpo-32493: Correct test for uuid_enc_be availability in configure.ac. (GH-7511) (GH-7567)
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 67cf817..b13728e 100644 --- a/configure.ac +++ b/configure.ac @@ -2716,9 +2716,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.) |