X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Funlocked-io.m4;h=6cbacb003977f4b9139133df73c4417c2093bbe7;hb=0562a54d3ab5927e55777ed43b9409963242aa04;hp=c536d2dd9377ea87f529e2ca30a6e9f1e64fe68f;hpb=44d7c1c1f004fa9bfb8ec3948de2671a7958cf5b;p=gnulib.git diff --git a/m4/unlocked-io.m4 b/m4/unlocked-io.m4 index c536d2dd9..6cbacb003 100644 --- a/m4/unlocked-io.m4 +++ b/m4/unlocked-io.m4 @@ -1,6 +1,6 @@ -# unlocked-io.m4 serial 11 +# unlocked-io.m4 serial 12 -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation @@ -17,6 +17,8 @@ dnl on Solaris 2.6). AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO], [ + AC_LIBSOURCES([unlocked-io.h]) + AC_DEFINE([USE_UNLOCKED_IO], 1, [Define to 1 if you want getc etc. to use unlocked I/O if available. Unlocked I/O can improve performance in unithreaded apps,