Mercurial > hg > octave-jordi > gnulib-hg
annotate m4/readlink.m4 @ 11386:23f58a4ffca0
Followup to 2008-12-22: Remove unnecessary AC_FUNC_MBRTOWC invocations.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 10 Mar 2009 01:19:40 +0100 |
parents | f6cba5a556ce |
children | 36183b482b71 |
rev | line source |
---|---|
11007
f6cba5a556ce
many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents:
8305
diff
changeset
|
1 # readlink.m4 serial 5 |
f6cba5a556ce
many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents:
8305
diff
changeset
|
2 dnl Copyright (C) 2003, 2007, 2009 Free Software Foundation, Inc. |
5585
adff74659d81
Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents:
4572
diff
changeset
|
3 dnl This file is free software; the Free Software Foundation |
adff74659d81
Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents:
4572
diff
changeset
|
4 dnl gives unlimited permission to copy and/or distribute it, |
adff74659d81
Use an all-permissive copyright notice, recommended by RMS.
Bruno Haible <bruno@clisp.org>
parents:
4572
diff
changeset
|
5 dnl with or without modifications, as long as this notice is preserved. |
4405 | 6 |
7 AC_DEFUN([gl_FUNC_READLINK], | |
8 [ | |
8199
51d32a83a7df
Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents:
5585
diff
changeset
|
9 AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) |
8305
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
10 AC_CHECK_FUNCS_ONCE([readlink]) |
4405 | 11 if test $ac_cv_func_readlink = no; then |
8199
51d32a83a7df
Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents:
5585
diff
changeset
|
12 HAVE_READLINK=0 |
11007
f6cba5a556ce
many *.m4 files: improve m4 quoting
Jim Meyering <meyering@redhat.com>
parents:
8305
diff
changeset
|
13 AC_LIBOBJ([readlink]) |
4405 | 14 gl_PREREQ_READLINK |
15 fi | |
16 ]) | |
17 | |
8305
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
18 # Like gl_FUNC_READLINK, except prepare for separate compilation (no AC_LIBOBJ). |
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
19 AC_DEFUN([gl_FUNC_READLINK_SEPARATE], |
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
20 [ |
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
21 AC_CHECK_FUNCS_ONCE([readlink]) |
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
22 gl_PREREQ_READLINK |
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
23 ]) |
753e0a5418c5
New macro gl_FUNC_READLINK_SEPARATE for the relocatable wrapper program.
Bruno Haible <bruno@clisp.org>
parents:
8199
diff
changeset
|
24 |
4405 | 25 # Prerequisites of lib/readlink.c. |
4572
0b7ce5a21456
(gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE, fixing a typo.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4405
diff
changeset
|
26 AC_DEFUN([gl_PREREQ_READLINK], |
4405 | 27 [ |
28 : | |
29 ]) |