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 /m4/argz.m4 | |
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.
Diffstat (limited to 'm4/argz.m4')
-rw-r--r-- | m4/argz.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
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"]) |