diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-22 13:10:05 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:50 +0200 |
commit | 99c35c81bd0be9f576c3b2438370f7f31dc65091 (patch) | |
tree | 613e5731856d9a9b9a3001540bc3ed55426ae919 /m4/strcspn.m4 | |
parent | 450feafa6c1b982e6b08bd35df9bbeb08c332e74 (diff) | |
download | gnulib-99c35c81bd0be9f576c3b2438370f7f31dc65091.tar.gz |
strcspn: Move AC_LIBOBJ invocations to module description.
* m4/strcspn.m4 (gl_FUNC_STRCSPN): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRCSPN invocations from
here...
* modules/strcspn (configure.ac): ... to here.
Diffstat (limited to 'm4/strcspn.m4')
-rw-r--r-- | m4/strcspn.m4 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/m4/strcspn.m4 b/m4/strcspn.m4 index df7a9554f3..5c1c4d4583 100644 --- a/m4/strcspn.m4 +++ b/m4/strcspn.m4 @@ -1,4 +1,4 @@ -# strcspn.m4 serial 3 +# strcspn.m4 serial 4 dnl Copyright (C) 2002-2003, 2009-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,10 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_STRCSPN], [ - AC_REPLACE_FUNCS([strcspn]) - if test $ac_cv_func_strcspn = no; then - gl_PREREQ_STRCSPN - fi + AC_CHECK_FUNCS([strcspn]) ]) # Prerequisites of lib/strcspn.c. |