bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] ffs: fix m4 prerequisite


From: Eric Blake
Subject: [PATCH 1/2] ffs: fix m4 prerequisite
Date: Fri, 15 Jul 2011 15:18:28 -0600

* m4/ffs.m4 (gl_FUNC_FFS): Require strings.h defaults.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog |    3 +++
 m4/ffs.m4 |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2a67a7e..49dcd7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-07-15  Eric Blake  <address@hidden>

+       ffs: fix m4 prerequisite
+       * m4/ffs.m4 (gl_FUNC_FFS): Require strings.h defaults.
+
        ffs: avoid undefined behavior
        * lib/ffs.c (ffs): Provide fallback for non-32-bit int.
        * tests/test-ffs.c (naive, main): Avoid signed shifts.
diff --git a/m4/ffs.m4 b/m4/ffs.m4
index 2a35078..12df085 100644
--- a/m4/ffs.m4
+++ b/m4/ffs.m4
@@ -1,4 +1,4 @@
-# ffs.m4 serial 1
+# ffs.m4 serial 2
 dnl Copyright (C) 2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,7 @@ dnl with or without modifications, as long as this notice is 
preserved.

 AC_DEFUN([gl_FUNC_FFS],
 [
+  AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS])
   AC_CHECK_FUNCS_ONCE([ffs])
   if test $ac_cv_func_ffs = no; then
     HAVE_FFS=0
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]