From 99c35c81bd0be9f576c3b2438370f7f31dc65091 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 13:10:05 +0200 Subject: 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. --- modules/strcspn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/strcspn') diff --git a/modules/strcspn b/modules/strcspn index 5d2be92414..f2788bbabe 100644 --- a/modules/strcspn +++ b/modules/strcspn @@ -15,6 +15,10 @@ Depends-on: configure.ac: gl_FUNC_STRCSPN +if test $ac_cv_func_strcspn = no; then + AC_LIBOBJ([strcspn]) + gl_PREREQ_STRCSPN +fi Makefile.am: -- cgit v1.2.1