diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-06 01:03:00 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:05:52 +0200 |
commit | f0d9c77210fd4d9ea046654bb1f2d464aac118e3 (patch) | |
tree | 59c63a44dd2f5aa584985410e8ac01e4cd6f046f | |
parent | feb2ae63eba2aa3dab4ef09a922cc0fcea4fbbf3 (diff) | |
download | gnulib-f0d9c77210fd4d9ea046654bb1f2d464aac118e3.tar.gz |
argz: Move AC_LIBOBJ invocations to module description.
* m4/argz.m4 (gl_FUNC_ARGZ): Move AC_LIBOBJ invocation from here...
* modules/argz (configure.ac): ... to here.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | m4/argz.m4 | 7 | ||||
-rw-r--r-- | modules/argz | 3 |
3 files changed, 12 insertions, 4 deletions
@@ -1,5 +1,11 @@ 2011-05-05 Bruno Haible <bruno@clisp.org> + argz: Move AC_LIBOBJ invocations to module description. + * m4/argz.m4 (gl_FUNC_ARGZ): Move AC_LIBOBJ invocation from here... + * modules/argz (configure.ac): ... to here. + +2011-05-05 Bruno Haible <bruno@clisp.org> + alphasort: Move AC_LIBOBJ invocations to module description. * m4/alphasort.m4 (gl_FUNC_ALPHASORT): Move AC_LIBOBJ and gl_PREREQ_ALPHASORT invocations from here... diff --git a/m4/argz.m4 b/m4/argz.m4 index 0248a453da..503301e546 100644 --- a/m4/argz.m4 +++ b/m4/argz.m4 @@ -7,7 +7,7 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 9 argz.m4 +# serial 10 argz.m4 AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ @@ -27,7 +27,7 @@ AC_CHECK_TYPES([error_t], #endif]) ARGZ_H= -AC_CHECK_FUNC([argz_replace], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])]) +AC_CHECK_FUNC([argz_replace], [], [ARGZ_H=argz.h]) dnl if have system argz functions, allow forced use of dnl libltdl-supplied implementation (and default to do so @@ -70,8 +70,7 @@ AS_IF([test -z "$ARGZ_H"], AS_IF([test "$lt_cv_sys_argz_works" = yes], [AC_DEFINE([HAVE_WORKING_ARGZ], [1], [This value is set to 1 to indicate that the system argz facility works])], - [ARGZ_H=argz.h - AC_LIBOBJ([argz])])]) + [ARGZ_H=argz.h])]) AC_SUBST([ARGZ_H]) AM_CONDITIONAL([GL_GENERATE_ARGZ_H], [test -n "$ARGZ_H"]) diff --git a/modules/argz b/modules/argz index 2cbb2123e3..a8eb55e944 100644 --- a/modules/argz +++ b/modules/argz @@ -16,6 +16,9 @@ strstr [test -n "$ARGZ_H"] configure.ac: gl_FUNC_ARGZ +if test -n "$ARGZ_H"; then + AC_LIBOBJ([argz]) +fi Makefile.am: BUILT_SOURCES += $(ARGZ_H) |