diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-02-28 18:33:45 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-02-28 18:33:45 +0000 |
commit | 3223519e25c8a4e4a8b4c409ac5c0c2797b6bf7f (patch) | |
tree | 2322d42519da8b5756d73840598dc2bd3c4a7949 /xserver | |
parent | 8dab5f8e9f573e80eb3afd175b8366a96ed197e5 (diff) |
regen
Diffstat (limited to 'xserver')
-rw-r--r-- | xserver/configure | 59 | ||||
-rw-r--r-- | xserver/include/do-not-use-config.h.in | 6 | ||||
-rw-r--r-- | xserver/os/Makefile.in | 3 |
3 files changed, 67 insertions, 1 deletions
diff --git a/xserver/configure b/xserver/configure index e4e434044..7726a7f03 100644 --- a/xserver/configure +++ b/xserver/configure @@ -22113,6 +22113,65 @@ esac fi +ac_fn_c_check_func "$LINENO" "timingsafe_memcmp" "ac_cv_func_timingsafe_memcmp" +if test "x$ac_cv_func_timingsafe_memcmp" = xyes; then : + $as_echo "#define HAVE_TIMINGSAFE_MEMCMP 1" >>confdefs.h + +else + case " $LIBOBJS " in + *" timingsafe_memcmp.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS timingsafe_memcmp.$ac_objext" + ;; +esac + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random_buf in -lbsd" >&5 +$as_echo_n "checking for arc4random_buf in -lbsd... " >&6; } +if ${ac_cv_lib_bsd_arc4random_buf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lbsd $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char arc4random_buf (); +int +main () +{ +return arc4random_buf (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_bsd_arc4random_buf=yes +else + ac_cv_lib_bsd_arc4random_buf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_arc4random_buf" >&5 +$as_echo "$ac_cv_lib_bsd_arc4random_buf" >&6; } +if test "x$ac_cv_lib_bsd_arc4random_buf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBBSD 1 +_ACEOF + + LIBS="-lbsd $LIBS" + +fi ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h> diff --git a/xserver/include/do-not-use-config.h.in b/xserver/include/do-not-use-config.h.in index 221ed51cb..b3f81a657 100644 --- a/xserver/include/do-not-use-config.h.in +++ b/xserver/include/do-not-use-config.h.in @@ -224,6 +224,9 @@ /* Define to 1 if you have the <libaudit.h> header file. */ #undef HAVE_LIBAUDIT_H +/* Define to 1 if you have the `bsd' library (-lbsd). */ +#undef HAVE_LIBBSD + /* Define to 1 if you have the libdispatch (GCD) available */ #undef HAVE_LIBDISPATCH @@ -376,6 +379,9 @@ /* Define to 1 if you have the <sys/vt.h> header file. */ #undef HAVE_SYS_VT_H +/* Define to 1 if you have the `timingsafe_memcmp' function. */ +#undef HAVE_TIMINGSAFE_MEMCMP + /* Define to 1 if typeof works with your compiler. */ #undef HAVE_TYPEOF diff --git a/xserver/os/Makefile.in b/xserver/os/Makefile.in index d8ec67f9c..b149603a5 100644 --- a/xserver/os/Makefile.in +++ b/xserver/os/Makefile.in @@ -61,7 +61,7 @@ host_triplet = @host@ subdir = os DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/depcomp reallocarray.c strcasecmp.c strcasestr.c \ - strlcat.c strlcpy.c strndup.c + strlcat.c strlcpy.c strndup.c timingsafe_memcmp.c ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ @@ -591,6 +591,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strlcat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strlcpy.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strndup.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/timingsafe_memcmp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/WaitFor.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth.Plo@am__quote@ |