btowc: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Thu, 5 May 2011 23:09:53 +0000 (01:09 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:05:53 +0000 (00:05 +0200)
* m4/btowc.m4 (gl_FUNC_BTOWC): Move AC_LIBOBJ and gl_PREREQ_BTOWC
invocations from here...
* modules/btowc (configure.ac): ... to here.

ChangeLog
m4/btowc.m4
modules/btowc

index f030e93..9d185f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-05  Bruno Haible  <bruno@clisp.org>
+
+       btowc: Move AC_LIBOBJ invocations to module description.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Move AC_LIBOBJ and gl_PREREQ_BTOWC
+       invocations from here...
+       * modules/btowc (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        atexit: Move AC_LIBOBJ invocations to module description.
index 32bf0cf..2b845e7 100644 (file)
@@ -1,4 +1,4 @@
-# btowc.m4 serial 9
+# btowc.m4 serial 10
 dnl Copyright (C) 2008-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,
@@ -108,10 +108,6 @@ int main ()
       *) REPLACE_BTOWC=1 ;;
     esac
   fi
-  if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
-    AC_LIBOBJ([btowc])
-    gl_PREREQ_BTOWC
-  fi
 ])
 
 # Prerequisites of lib/btowc.c.
index 1566a2f..b9572a6 100644 (file)
@@ -12,6 +12,10 @@ mbtowc          [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1]
 
 configure.ac:
 gl_FUNC_BTOWC
+if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
+  AC_LIBOBJ([btowc])
+  gl_PREREQ_BTOWC
+fi
 gl_WCHAR_MODULE_INDICATOR([btowc])
 
 Makefile.am: