Mercurial > hg > octave-shane > gnulib-hg
comparison modules/strndup @ 15106:ed77fe40c360
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 22 May 2011 13:32:55 +0200 |
parents | efab6978105e |
children |
comparison
equal
deleted
inserted
replaced
15105:b93f270fadba | 15106:ed77fe40c360 |
---|---|
6 m4/strndup.m4 | 6 m4/strndup.m4 |
7 | 7 |
8 Depends-on: | 8 Depends-on: |
9 string | 9 string |
10 extensions | 10 extensions |
11 strnlen [test $ac_cv_func_strndup = no || test $REPLACE_STRNDUP = 1] | 11 strnlen [test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1] |
12 | 12 |
13 configure.ac: | 13 configure.ac: |
14 gl_FUNC_STRNDUP | 14 gl_FUNC_STRNDUP |
15 if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then | |
16 AC_LIBOBJ([strndup]) | |
17 fi | |
15 gl_STRING_MODULE_INDICATOR([strndup]) | 18 gl_STRING_MODULE_INDICATOR([strndup]) |
16 | 19 |
17 Makefile.am: | 20 Makefile.am: |
18 | 21 |
19 Include: | 22 Include: |