summaryrefslogtreecommitdiff
path: root/m4/count-leading-zeros.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-20 22:25:05 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-29 23:38:49 -0800
commit82d259c28dd5be149c34e76d71e4368cc26c42fb (patch)
tree724458f608e6888aa11eb4818bc135682a627cc1 /m4/count-leading-zeros.m4
parent5cabadce63c02be518a0679cb02d2e7c8a002c54 (diff)
downloadgnulib-82d259c28dd5be149c34e76d71e4368cc26c42fb.tar.gz
count-leading-zeros: better 'inline'
* lib/count-leading-zeros.c: New file. * lib/count-leading-zeros.h (COUNT_LEADING_ZEROS_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/count-leading-zeros.m4 (gl_COUNT_LEADING_ZEROS): Do not require AC_C_INLINE. * modules/count-leading-zeros (Files, lib_SOURCES): Add lib/count-leading-zeros.c. (Depends-on): Add extern-inline.
Diffstat (limited to 'm4/count-leading-zeros.m4')
-rw-r--r--m4/count-leading-zeros.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/m4/count-leading-zeros.m4 b/m4/count-leading-zeros.m4
index 1efb9414e9..5fef2da871 100644
--- a/m4/count-leading-zeros.m4
+++ b/m4/count-leading-zeros.m4
@@ -1,4 +1,4 @@
-# count-leading-zeros.m4 serial 1
+# count-leading-zeros.m4 serial 2
dnl Copyright (C) 2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -9,7 +9,4 @@ AC_DEFUN([gl_COUNT_LEADING_ZEROS],
dnl We don't need (and can't compile) count_leading_zeros_ll
dnl unless the type 'unsigned long long int' exists.
AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
-
- dnl Prerequisites of lib/count-leading-zeros.h.
- AC_REQUIRE([AC_C_INLINE])
])