X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fttyname_r.m4;h=323167bb6706e20e7538a0dbf251f070fd09ad2b;hb=62dbbbd1dd25b29720a66a2a2a9c6cec0f7bac10;hp=5d26bc93bf9f457b863c6f9957c9d1199776a964;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/m4/ttyname_r.m4 b/m4/ttyname_r.m4 index 5d26bc93b..323167bb6 100644 --- a/m4/ttyname_r.m4 +++ b/m4/ttyname_r.m4 @@ -1,5 +1,5 @@ -# ttyname_r.m4 serial 7 -dnl Copyright (C) 2010-2011 Free Software Foundation, Inc. +# ttyname_r.m4 serial 9 +dnl Copyright (C) 2010-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -22,7 +22,7 @@ AC_DEFUN([gl_FUNC_TTYNAME_R], HAVE_TTYNAME_R=0 else HAVE_TTYNAME_R=1 - dnl On MacOS X 10.4 (and Solaris 10 without gl_USE_SYSTEM_EXTENSIONS) + dnl On Mac OS X 10.4 (and Solaris 10 without gl_USE_SYSTEM_EXTENSIONS) dnl the return type is 'char *', not 'int'. AC_CACHE_CHECK([whether ttyname_r is compatible with its POSIX signature], [gl_cv_func_ttyname_r_posix], @@ -93,10 +93,6 @@ main (void) esac fi fi - if test $HAVE_TTYNAME_R = 0 || test $REPLACE_TTYNAME_R = 1; then - AC_LIBOBJ([ttyname_r]) - gl_PREREQ_TTYNAME_R - fi ]) # Prerequisites of lib/ttyname_r.c.