diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-11-08 20:09:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-08 20:09:16 (GMT) |
commit | 9a10ff4deb2494e22bc0dbea3e3a6f9e8354d995 (patch) | |
tree | d860e1b145cf9e9e144ada162d731bb5ea78108d /configure | |
parent | bf9d317626eebcf79bd0756b4dd43df82d5cc186 (diff) | |
download | cpython-9a10ff4deb2494e22bc0dbea3e3a6f9e8354d995.zip cpython-9a10ff4deb2494e22bc0dbea3e3a6f9e8354d995.tar.gz cpython-9a10ff4deb2494e22bc0dbea3e3a6f9e8354d995.tar.bz2 |
bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -9512,6 +9512,37 @@ _ACEOF fi # Dynamic linking for HP-UX +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe" >&5 +$as_echo_n "checking for uuid_generate_time_safe... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <uuid/uuid.h> +int +main () +{ + +#ifndef uuid_generate_time_safe +uuid_t out; +uuid_generate_time_safe(out); +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5 $as_echo_n "checking for library containing sem_init... " >&6; } if ${ac_cv_search_sem_init+:} false; then : |