Mercurial > hg > octave-kai > gnulib-hg
changeset 12499:9deb67d8d0d7
Add missing dependencies to 'extensions' module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 25 Dec 2009 01:44:29 +0100 |
parents | 7aad334c08d7 |
children | e6877b45f4e6 |
files | ChangeLog m4/extensions.m4 modules/accept4 modules/dup3 modules/fcntl modules/futimens modules/localcharset modules/mknod modules/pipe2 modules/stat-time modules/strcasestr-simple modules/strsignal modules/utimensat modules/wcrtomb modules/wcsnrtombs modules/wcsrtombs |
diffstat | 16 files changed, 50 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2009-12-24 Bruno Haible <bruno@clisp.org> + + Add missing dependencies to 'extensions' module. + * m4/extensions.m4: Add comment. + * modules/accept4 (Depends-on): Add extensions. + * modules/dup3 (Depends-on): Likewise. + * modules/fcntl (Depends-on): Likewise. + * modules/futimens (Depends-on): Likewise. + * modules/mknod (Depends-on): Likewise. + * modules/pipe2 (Depends-on): Likewise. + * modules/stat-time (Depends-on): Likewise. + * modules/strcasestr-simple (Depends-on): Likewise. + * modules/strsignal (Depends-on): Likewise. + * modules/utimensat (Depends-on): Likewise. + * modules/localcharset (Depends-on): Likewise. Needed because of + gl_FCNTL_O_FLAGS. + * modules/wcrtomb (Depends-on): Likewise. Needed because of + AC_TYPE_MBSTATE_T. + * modules/wcsnrtombs (Depends-on): Likewise. + * modules/wcsrtombs (Depends-on): Likewise. + 2009-12-24 Bruno Haible <bruno@clisp.org> binary-io: Avoid gcc warning due to SET_BINARY.
--- a/m4/extensions.m4 +++ b/m4/extensions.m4 @@ -1,4 +1,4 @@ -# serial 8 -*- Autoconf -*- +# serial 9 -*- Autoconf -*- # Enable extensions on systems that normally disable them. # Copyright (C) 2003, 2006-2009 Free Software Foundation, Inc. @@ -12,6 +12,20 @@ # enough in this area it's likely we'll need to redefine # AC_USE_SYSTEM_EXTENSIONS for quite some time. +# If autoconf reports a warning +# warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS +# or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS +# the fix is +# 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked +# but always AC_REQUIREd, +# 2) to ensure that for each occurrence of +# AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) +# or +# AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) +# the corresponding gnulib module description has 'extensions' among +# its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS +# invocation occurs in gl_EARLY, not in gl_INIT. + # AC_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them,
--- a/modules/accept4 +++ b/modules/accept4 @@ -11,6 +11,7 @@ accept fcntl-h binary-io +extensions configure.ac: gl_FUNC_ACCEPT4
--- a/modules/dup3 +++ b/modules/dup3 @@ -10,6 +10,7 @@ fcntl binary-io getdtablesize +extensions configure.ac: gl_FUNC_DUP3
--- a/modules/fcntl +++ b/modules/fcntl @@ -8,6 +8,7 @@ Depends-on: dup2 fcntl-h +extensions configure.ac: gl_FUNC_FCNTL
--- a/modules/futimens +++ b/modules/futimens @@ -8,6 +8,7 @@ Depends-on: sys_stat utimens +extensions configure.ac: gl_FUNC_FUTIMENS
--- a/modules/localcharset +++ b/modules/localcharset @@ -20,6 +20,7 @@ Depends-on: configmake +extensions configure.ac: gl_LOCALCHARSET
--- a/modules/mknod +++ b/modules/mknod @@ -9,6 +9,7 @@ mkfifo stat sys_stat +extensions configure.ac: gl_FUNC_MKNOD
--- a/modules/pipe2 +++ b/modules/pipe2 @@ -9,6 +9,7 @@ unistd fcntl-h binary-io +extensions configure.ac: gl_FUNC_PIPE2
--- a/modules/stat-time +++ b/modules/stat-time @@ -7,6 +7,7 @@ Depends-on: time +extensions configure.ac: gl_STAT_TIME
--- a/modules/strcasestr-simple +++ b/modules/strcasestr-simple @@ -12,6 +12,7 @@ strcase memchr memcmp +extensions configure.ac: gl_FUNC_STRCASESTR_SIMPLE
--- a/modules/strsignal +++ b/modules/strsignal @@ -13,6 +13,7 @@ tls snprintf memset +extensions configure.ac: gl_FUNC_STRSIGNAL
--- a/modules/utimensat +++ b/modules/utimensat @@ -9,6 +9,7 @@ openat sys_stat utimens +extensions configure.ac: gl_FUNC_UTIMENSAT
--- a/modules/wcrtomb +++ b/modules/wcrtomb @@ -12,6 +12,7 @@ m4/codeset.m4 Depends-on: +extensions wchar mbsinit