diff options
Diffstat (limited to 'm4/unlocked-io.m4')
-rw-r--r-- | m4/unlocked-io.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
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, |