summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-05-07 16:59:59 -0400
committerAdam Jackson <ajax@redhat.com>2009-05-07 16:59:59 -0400
commit29f27b16dbe511a27a0e953b32913f9d9bf24f2d (patch)
treea0de32c1e117a7cd157b458fbfbb91c886ee63c0 /configure.ac
parent33b839e16fe681ba915658f824ceb1b252084ea4 (diff)
Use flockfile if available.
Not really a huge improvement, but we might as well.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index df2c072..3a3822b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,9 @@ AC_PROG_LIBTOOL
XORG_CWARNFLAGS
AC_CHECK_FUNC(strcasecmp, [], AC_DEFINE([NEED_STRCASECMP], 1,
- [Do not have `strcasecmp'.]))
+ [Do not have 'strcasecmp'.]))
+AC_CHECK_FUNC(getc_unlocked, AC_DEFINE([HAVE_UNLOCKED_STDIO], 1,
+ ['Unlocked stdio']), [])
# Check for dependencies
PKG_CHECK_MODULES(XKBFILE, x11 kbproto)