5 AM_SUBST_NOTMAKE(API__SSIZE_T)
7 +# Try to find a thread-safe version of ttyname().
8 +gnupg_REPLACE_TTYNAME_R
9 +if test "$ac_cv_func_ttyname_r" != yes; then
12 +*** ttyname() is not thread-safe and ttyname_r() does not exist
16 # Checks for compiler features.
17 if test "$GCC" = yes; then
18 CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
23 -# Try to find a thread-safe version of ttyname().
24 -gnupg_REPLACE_TTYNAME_R
25 -if test "$ac_cv_func_ttyname_r" != yes; then
28 -*** ttyname() is not thread-safe and ttyname_r() does not exist
32 # Try to find a thread-safe version of getenv().
33 have_thread_safe_getenv=no