X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Flock.m4;h=d1ea1ca83f5e8c50aa51dccdd4640a1037c02603;hb=376384bdbda5e64de9784274b19ac933dca336b9;hp=0aff3fada2bf0d759915ea331a8de273c3668656;hpb=304a51d0977a238022fd8d9510cd5dd4e56454b1;p=gnulib.git diff --git a/m4/lock.m4 b/m4/lock.m4 index 0aff3fada..d1ea1ca83 100644 --- a/m4/lock.m4 +++ b/m4/lock.m4 @@ -1,4 +1,4 @@ -# lock.m4 serial 1 (gettext-0.15) +# lock.m4 serial 2 (gettext-0.15) dnl Copyright (C) 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -21,6 +21,13 @@ dnl multithread-safe programs. AC_DEFUN([gl_LOCK], [ + AC_REQUIRE([gl_LOCK_BODY]) +]) + +dnl The guts of gl_LOCK. Needs to be expanded only once. + +AC_DEFUN([gl_LOCK_BODY], +[ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that dnl influences the result of the autoconf tests that test for *_unlocked dnl declarations, on AIX 5 at least. Therefore it must come early.