readline: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 15:56:39 +0000 (17:56 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:40 +0000 (00:06 +0200)
* m4/readline.m4 (gl_FUNC_READLINE): Move AC_LIBOBJ and
gl_PREREQ_READLINE invocations from here...
* modules/readline (configure.ac): ... to here.

ChangeLog
m4/readline.m4
modules/readline

index 02c6a7c4db0b0d22560d5e252eb10d5af5e980af..b2537dd6ec583510f022207c8c1aec3c7facb210 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       readline: Move AC_LIBOBJ invocations to module description.
+       * m4/readline.m4 (gl_FUNC_READLINE): Move AC_LIBOBJ and
+       gl_PREREQ_READLINE invocations from here...
+       * modules/readline (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        read: Move AC_LIBOBJ invocations to module description.
index 90ce3574708174ead124030c6ebe9e046369102b..a5ab06783aabe2b353dd9e7270f738e56a356b4e 100644 (file)
@@ -1,4 +1,4 @@
-# readline.m4 serial 8
+# readline.m4 serial 9
 dnl Copyright (C) 2005-2006, 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,
@@ -73,11 +73,6 @@ AC_DEFUN([gl_FUNC_READLINE],
   AC_SUBST([LTLIBREADLINE])
 
   AC_CHECK_HEADERS([readline/readline.h])
-
-  if test "$gl_cv_lib_readline" = no; then
-    AC_LIBOBJ([readline])
-    gl_PREREQ_READLINE
-  fi
 ])
 
 # Prerequisites of lib/readline.c.
index 7f2af8f0611b4b8643a91679987194757d23e88a..9cee3bb27113e2633b9555ae738005ee15558c37 100644 (file)
@@ -12,6 +12,10 @@ getline         [test "$gl_cv_lib_readline" = no]
 
 configure.ac:
 gl_FUNC_READLINE
+if test "$gl_cv_lib_readline" = no; then
+  AC_LIBOBJ([readline])
+  gl_PREREQ_READLINE
+fi
 
 Makefile.am: