Mercurial > hg > octave-shane > gnulib-hg
comparison m4/unistd_h.m4 @ 12973:c997d62ee3e9
Tests of module 'unistd' in C++ mode.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 08 Mar 2010 02:57:33 +0100 |
parents | 2c14f1e449e5 |
children | 23b6d428ea53 |
comparison
equal
deleted
inserted
replaced
12972:ad47f1c31ded | 12973:c997d62ee3e9 |
---|---|
1 # unistd_h.m4 serial 39 | 1 # unistd_h.m4 serial 40 |
2 dnl Copyright (C) 2006-2010 Free Software Foundation, Inc. | 2 dnl Copyright (C) 2006-2010 Free Software Foundation, Inc. |
3 dnl This file is free software; the Free Software Foundation | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | 4 dnl gives unlimited permission to copy and/or distribute it, |
5 dnl with or without modifications, as long as this notice is preserved. | 5 dnl with or without modifications, as long as this notice is preserved. |
6 | 6 |
45 AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], | 45 AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], |
46 [ | 46 [ |
47 dnl Use AC_REQUIRE here, so that the default settings are expanded once only. | 47 dnl Use AC_REQUIRE here, so that the default settings are expanded once only. |
48 AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) | 48 AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) |
49 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 | 49 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 |
50 dnl Define it also as a C macro, for the benefit of the unit tests. | |
51 gl_MODULE_INDICATOR([$1]) | |
50 ]) | 52 ]) |
51 | 53 |
52 AC_DEFUN([gl_UNISTD_H_DEFAULTS], | 54 AC_DEFUN([gl_UNISTD_H_DEFAULTS], |
53 [ | 55 [ |
54 GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) | 56 GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) |