glob: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 8 May 2011 17:36:38 +0000 (19:36 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:09 +0000 (00:06 +0200)
* m4/glob.m4 (gl_GLOB): Move AC_LIBOBJ and gl_PREREQ_GLOB invocations
from here...
* modules/glob (configure.ac): ... to here.

ChangeLog
m4/glob.m4
modules/glob

index 4b374c3..e038bc6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-08  Bruno Haible  <bruno@clisp.org>
 
+       glob: Move AC_LIBOBJ invocations to module description.
+       * m4/glob.m4 (gl_GLOB): Move AC_LIBOBJ and gl_PREREQ_GLOB invocations
+       from here...
+       * modules/glob (configure.ac): ... to here.
+
+2011-05-08  Bruno Haible  <bruno@clisp.org>
+
        getusershell: Move AC_LIBOBJ invocations to module description.
        * m4/getusershell.m4 (gl_FUNC_GETUSERSHELL): Set HAVE_GETUSERSHELL.
        Move AC_LIBOBJ invocation from here...
index 8dbfa9e..5aaa6b4 100644 (file)
@@ -1,4 +1,4 @@
-# glob.m4 serial 13
+# glob.m4 serial 14
 dnl Copyright (C) 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,
@@ -55,10 +55,6 @@ if (glob ("conf*-globtest", 0, NULL, &found) == GLOB_NOMATCH) return 1;]])],
 
   rm -f conf$$-globtest
 
-  if test -n "$GLOB_H"; then
-    AC_LIBOBJ([glob])
-    gl_PREREQ_GLOB
-  fi
   AC_SUBST([GLOB_H])
   AM_CONDITIONAL([GL_GENERATE_GLOB_H], [test -n "$GLOB_H"])
 ])
index db5410b..2abadc0 100644 (file)
@@ -28,6 +28,10 @@ malloc-posix    [test -n "$GLOB_H"]
 
 configure.ac:
 gl_GLOB
+if test -n "$GLOB_H"; then
+  AC_LIBOBJ([glob])
+  gl_PREREQ_GLOB
+fi
 
 Makefile.am:
 BUILT_SOURCES += $(GLOB_H)