X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Funlocked-io.m4;h=6cbacb003977f4b9139133df73c4417c2093bbe7;hb=95d2aaeab5b8caa01c776d3afa097220cd8982b9;hp=5849e4a3ae0f1769ffcb6e1ee95f3a1736039ee5;hpb=917752adb19961999cd68c6c961efffe33c85141;p=gnulib.git diff --git a/m4/unlocked-io.m4 b/m4/unlocked-io.m4 index 5849e4a3a..6cbacb003 100644 --- a/m4/unlocked-io.m4 +++ b/m4/unlocked-io.m4 @@ -1,21 +1,11 @@ -# unlocked-io.m4 serial 10 +# 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 program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. dnl From Jim Meyering. dnl @@ -27,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,