diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-22 13:32:55 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:50 +0200 |
commit | 5ad9e4b03ed0569378cbb2f29b0c3283f1bbd9c5 (patch) | |
tree | f73a233120c1c79b10cd8fce69c556114b95dae8 /modules/strndup | |
parent | cd2ce138398d624b9fe301f7dc7b245208a98352 (diff) | |
download | gnulib-5ad9e4b03ed0569378cbb2f29b0c3283f1bbd9c5.tar.gz |
strndup: Move AC_LIBOBJ invocations to module description.
* m4/strndup.m4 (gl_FUNC_STRNDUP): Set HAVE_STRNDUP. Move AC_LIBOBJ
invocations from here...
* modules/strndup (configure.ac): ... to here.
(Depends-on): Update conditions.
Diffstat (limited to 'modules/strndup')
-rw-r--r-- | modules/strndup | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/strndup b/modules/strndup index c76e966a57..4cb5a903c5 100644 --- a/modules/strndup +++ b/modules/strndup @@ -8,10 +8,13 @@ m4/strndup.m4 Depends-on: string extensions -strnlen [test $ac_cv_func_strndup = no || test $REPLACE_STRNDUP = 1] +strnlen [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1] configure.ac: gl_FUNC_STRNDUP +if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then + AC_LIBOBJ([strndup]) +fi gl_STRING_MODULE_INDICATOR([strndup]) Makefile.am: |