relocatable-prog: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 16:17:10 +0000 (18:17 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:42 +0000 (00:06 +0200)
* m4/relocatable.m4 (gl_RELOCATABLE): Move AC_LIBOBJ invocation from
here...
* modules/relocatable-prog (configure.ac): ... to here.

ChangeLog
m4/relocatable.m4
modules/relocatable-prog

index cd7367a..37a8fbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
+       relocatable-prog: Move AC_LIBOBJ invocations to module description.
+       * m4/relocatable.m4 (gl_RELOCATABLE): Move AC_LIBOBJ invocation from
+       here...
+       * modules/relocatable-prog (configure.ac): ... to here.
+
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
        regex: Move AC_LIBOBJ invocations to module description.
        * m4/regex.m4 (gl_REGEX): Move AC_LIBOBJ and gl_PREREQ_REGEX
        invocations from here...
index 5d2c471..32d177f 100644 (file)
@@ -1,4 +1,4 @@
-# relocatable.m4 serial 16
+# relocatable.m4 serial 17
 dnl Copyright (C) 2003, 2005-2007, 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,
@@ -14,9 +14,6 @@ AC_DEFUN([gl_RELOCATABLE],
 [
   AC_REQUIRE([gl_RELOCATABLE_BODY])
   gl_RELOCATABLE_LIBRARY
-  if test $RELOCATABLE = yes; then
-    AC_LIBOBJ([progreloc])
-  fi
   : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'}
   RELOCATABLE_SRC_DIR="\$(top_srcdir)/$gl_source_base"
   RELOCATABLE_BUILD_DIR="\$(top_builddir)/$gl_source_base"
index 129947f..a7f50ac 100644 (file)
@@ -26,6 +26,9 @@ strdup
 
 configure.ac:
 gl_RELOCATABLE([$gl_source_base])
+if test $RELOCATABLE = yes; then
+  AC_LIBOBJ([progreloc])
+fi
 
 Makefile.am:
 DEFS += -DEXEEXT=\"@EXEEXT@\"