1 diff -Naur gpgme.old/configure.ac gpgme.new/configure.ac
2 --- gpgme.old/configure.ac 2020-11-12 04:19:50.000000000 -0500
3 +++ gpgme.new/configure.ac 2021-01-08 03:04:38.000000000 -0500
6 AC_SUBST(VERSION_NUMBER)
8 +# Try to find a thread-safe version of ttyname().
9 +gnupg_REPLACE_TTYNAME_R
10 +if test "$ac_cv_func_ttyname_r" != yes; then
13 +*** ttyname() is not thread-safe and ttyname_r() does not exist
18 # We need to compile and run a program on the build machine. A
19 # comment in libgpg-error says that the AC_PROG_CC_FOR_BUILD macro in
20 # the AC archive is broken for autoconf 2.57. Given that there is no
25 -# Try to find a thread-safe version of ttyname().
26 -gnupg_REPLACE_TTYNAME_R
27 -if test "$ac_cv_func_ttyname_r" != yes; then
30 -*** ttyname() is not thread-safe and ttyname_r() does not exist
34 # Try to find a thread-safe version of getenv().
35 have_thread_safe_getenv=no