openat: Work around compilation error with OSF/1 5.1 DTK cc.
[gnulib.git] / m4 / ttyname_r.m4
index 5d26bc9..a0308a6 100644 (file)
@@ -1,4 +1,4 @@
-# ttyname_r.m4 serial 7
+# ttyname_r.m4 serial 8
 dnl Copyright (C) 2010-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -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.