Mercurial > hg > octave-shane > gnulib-hg
annotate m4/wctype.m4 @ 7798:d58de0c4e214
2007-01-08 Bruno Haible <bruno@clisp.org>
* m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Remove
PROVIDE_CANONICALIZE_FILENAME_MODE macro definition.
* lib/canonicalize.h: Test GNULIB_CANONICALIZE instead of
PROVIDE_CANONICALIZE_FILENAME_MODE.
* modules/canonicalize (configure.ac): Use gl_MODULE_INDICATOR.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 08 Jan 2007 21:31:56 +0000 |
parents | 97a9a64ee63c |
children | 03006e334f20 |
rev | line source |
---|---|
7733
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
1 dnl A placeholder for ISO C99 <wctype.h>, for platforms that lack it. |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
2 |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
3 dnl Copyright (C) 2006 Free Software Foundation, Inc. |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
4 dnl This file is free software; the Free Software Foundation |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
5 dnl gives unlimited permission to copy and/or distribute it, |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
6 dnl with or without modifications, as long as this notice is preserved. |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
7 |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
8 dnl Written by Paul Eggert. |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
9 |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
10 AC_DEFUN([gl_WCTYPE_H], |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
11 [ |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
12 AC_CHECK_FUNCS_ONCE([iswcntrl]) |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
13 AC_CHECK_HEADERS_ONCE([wctype.h]) |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
14 AC_REQUIRE([AC_C_INLINE]) |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
15 |
7747
c847540b5de5
Fix bug reported by Bruno Haible in
Paul Eggert <eggert@cs.ucla.edu>
parents:
7739
diff
changeset
|
16 AC_REQUIRE([gt_TYPE_WINT_T]) |
c847540b5de5
Fix bug reported by Bruno Haible in
Paul Eggert <eggert@cs.ucla.edu>
parents:
7739
diff
changeset
|
17 AC_SUBST([HAVE_WINT_T]) |
c847540b5de5
Fix bug reported by Bruno Haible in
Paul Eggert <eggert@cs.ucla.edu>
parents:
7739
diff
changeset
|
18 |
7784
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
19 WCTYPE_H=wctype.h |
7733
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
20 if test $ac_cv_header_wctype_h = yes; then |
7784
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
21 if test "$ac_cv_func_iswcntrl" = yes; then |
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
22 WCTYPE_H= |
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
23 ABSOLUTE_WCTYPE_H=\"does/not/matter.h\" |
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
24 else |
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
25 gl_ABSOLUTE_HEADER([wctype.h]) |
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
26 ABSOLUTE_WCTYPE_H=\"$gl_cv_absolute_wctype_h\" |
97a9a64ee63c
Don't worry about using IRIX 5.3's wctype.h broken definitions;
Paul Eggert <eggert@cs.ucla.edu>
parents:
7782
diff
changeset
|
27 fi |
7733
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
28 HAVE_WCTYPE_H=1 |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
29 else |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
30 ABSOLUTE_WCTYPE_H=\"no/such/file/wctype.h\" |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
31 HAVE_WCTYPE_H=0 |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
32 fi |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
33 AC_SUBST([ABSOLUTE_WCTYPE_H]) |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
34 AC_SUBST([HAVE_WCTYPE_H]) |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
35 AC_SUBST([WCTYPE_H]) |
9d60f39f35c1
* MODULES.html.sh: New module wctype.
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff
changeset
|
36 ]) |