Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/getcwd-lgpl @ 14955:2a2e0d5e8803
getcwd-lgpl: Move AC_LIBOBJ invocations to module description.
* m4/getcwd.m4 (gl_FUNC_GETCWD_LGPL): Move AC_LIBOBJ invocation from
here...
* modules/getcwd-lgpl (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 08 May 2011 11:22:53 +0200 |
parents | efab6978105e |
children |
rev | line source |
---|---|
14629 | 1 Description: |
2 Ensure getcwd(NULL, 0) returns a buffer allocated by malloc(). | |
3 | |
4 Files: | |
5 lib/getcwd-lgpl.c | |
6 m4/getcwd.m4 | |
7 | |
8 Depends-on: | |
9 unistd | |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14629
diff
changeset
|
10 strdup [test $REPLACE_GETCWD = 1] |
14629 | 11 |
12 configure.ac: | |
13 gl_FUNC_GETCWD_LGPL | |
14955
2a2e0d5e8803
getcwd-lgpl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
14 if test $REPLACE_GETCWD = 1; then |
2a2e0d5e8803
getcwd-lgpl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
15 AC_LIBOBJ([getcwd-lgpl]) |
2a2e0d5e8803
getcwd-lgpl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
16 fi |
14629 | 17 gl_UNISTD_MODULE_INDICATOR([getcwd]) |
18 | |
19 Makefile.am: | |
20 | |
21 Include: | |
22 <unistd.h> | |
23 | |
24 License: | |
25 LGPLv2+ | |
26 | |
27 Maintainer: | |
28 Eric Blake |