changeset 14989:2f5bc02c2203

isblank: Move AC_LIBOBJ invocations to module description. * m4/isblank.m4 (gl_FUNC_ISBLANK): Move AC_LIBOBJ invocation from here... * modules/isblank (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Mon, 09 May 2011 00:41:46 +0200
parents cc7009b139e3
children 8eed7b940300
files ChangeLog m4/isblank.m4 modules/isblank
diffstat 3 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-08  Bruno Haible  <bruno@clisp.org>
+
+	isblank: Move AC_LIBOBJ invocations to module description.
+	* m4/isblank.m4 (gl_FUNC_ISBLANK): Move AC_LIBOBJ invocation from
+	here...
+	* modules/isblank (configure.ac): ... to here.
+
 2011-05-08  Bruno Haible  <bruno@clisp.org>
 
 	isapipe: Move AC_LIBOBJ invocations to module description.
--- a/m4/isblank.m4
+++ b/m4/isblank.m4
@@ -1,4 +1,4 @@
-# isblank.m4 serial 2
+# isblank.m4 serial 3
 dnl Copyright (C) 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,
@@ -13,6 +13,5 @@
   AC_CHECK_FUNCS_ONCE([isblank])
   if test $ac_cv_func_isblank = no; then
     HAVE_ISBLANK=0
-    AC_LIBOBJ([isblank])
   fi
 ])
--- a/modules/isblank
+++ b/modules/isblank
@@ -11,6 +11,9 @@
 
 configure.ac:
 gl_FUNC_ISBLANK
+if test $HAVE_ISBLANK = 0; then
+  AC_LIBOBJ([isblank])
+fi
 gl_CTYPE_MODULE_INDICATOR([isblank])
 
 Makefile.am: