diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-10-22 08:35:09 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-10-22 08:35:09 +0200 |
commit | 4d59ff82f4a40333df0562de340ec2b995b1f31c (patch) | |
tree | 3dc271245c107926fd907b96fe9cea640876d1c8 /lgl/m4/lock.m4 | |
parent | ead3e58c4189b6c407ab723aa8208df766edcf7a (diff) | |
download | gnutls-4d59ff82f4a40333df0562de340ec2b995b1f31c.tar.gz |
Update gnulib files.
Diffstat (limited to 'lgl/m4/lock.m4')
-rw-r--r-- | lgl/m4/lock.m4 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lgl/m4/lock.m4 b/lgl/m4/lock.m4 index 0224f2ff87..4cc585ea2e 100644 --- a/lgl/m4/lock.m4 +++ b/lgl/m4/lock.m4 @@ -1,5 +1,5 @@ -# lock.m4 serial 6 (gettext-0.16) -dnl Copyright (C) 2005-2006 Free Software Foundation, Inc. +# lock.m4 serial 7 (gettext-0.16.2) +dnl Copyright (C) 2005-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -35,7 +35,12 @@ AC_DEFUN([gl_LOCK_EARLY_BODY], AC_BEFORE([$0], [gl_ARGP])dnl AC_REQUIRE([AC_CANONICAL_HOST]) - AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems + dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. + dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes + dnl AC_GNU_SOURCE. + m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], + [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], + [AC_REQUIRE([AC_GNU_SOURCE])]) dnl Check for multithreading. AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API]) |