gnulib.git
17 years agoAvoid new build failure on FreeBSD 6.0.
Jim Meyering [Fri, 8 Sep 2006 09:10:56 +0000 (09:10 +0000)]
Avoid new build failure on FreeBSD 6.0.
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include <sys/param.h>
when testing whether getmntinfo uses statvfs.  Patch by Pavel Tsekov,
in <http://savannah.gnu.org/bugs/?17643>.

17 years agoFix typo in previous change.
Paul Eggert [Thu, 7 Sep 2006 16:17:48 +0000 (16:17 +0000)]
Fix typo in previous change.

17 years ago* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't use plain echo.
Paul Eggert [Thu, 7 Sep 2006 16:16:08 +0000 (16:16 +0000)]
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't use plain echo.

17 years agoA comment about automake-1.9b.
Bruno Haible [Thu, 7 Sep 2006 13:00:56 +0000 (13:00 +0000)]
A comment about automake-1.9b.

17 years ago.
Karl Berry [Thu, 7 Sep 2006 07:40:55 +0000 (07:40 +0000)]
.

17 years agoFix global typo in last change: use chmod u-w, not chmod u-x.
Jim Meyering [Thu, 7 Sep 2006 05:53:52 +0000 (05:53 +0000)]
Fix global typo in last change: use chmod u-w, not chmod u-x.
Spotted by Paul Eggert and Bruce Korb.
* modules/alloca-opt, modules/argz, modules/arpa_inet:
* modules/byteswap, modules/configmake, modules/fcntl:
* modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
* modules/localcharset, modules/netinet_in, modules/poll:
* modules/stdbool, modules/stdint, modules/sys_select:
* modules/sys_socket, modules/sys_stat, modules/sysexits:

17 years agoMake generated files be read-only.
Jim Meyering [Wed, 6 Sep 2006 21:58:00 +0000 (21:58 +0000)]
Make generated files be read-only.
* modules/alloca-opt (Makefile.am): Work also when $@ is read-only.
Ensure that each generated file is now read-only.
* modules/argz: Likewise.
* modules/arpa_inet: Likewise.
* modules/byteswap: Likewise.
* modules/configmake: Likewise.
* modules/fcntl: Likewise.
* modules/fnmatch: Likewise.
* modules/getopt: Likewise.
* modules/glob: Likewise.
* modules/inttypes: Likewise.
* modules/netinet_in: Likewise.
* modules/poll: Likewise.
* modules/stdbool: Likewise.
* modules/stdint: Likewise.
* modules/sys_select: Likewise.
* modules/sys_socket: Likewise.
* modules/sys_stat: Likewise.
* modules/sysexits: Likewise.
* modules/localcharset: Same as above, but continue using temporary
file named "t-$@" (why different?) rather than the "$@-t" used
everywhere else.

* modules/sysexits (Makefile.am): Replace literal occurrences
of "sysexit.h" more readable, and more consistent, "$@".

17 years ago_LIBADD is reserved for object files, not -L and -l options.
Bruno Haible [Wed, 6 Sep 2006 14:08:38 +0000 (14:08 +0000)]
_LIBADD is reserved for object files, not -L and -l options.

17 years agomissed changelog entry
Karl Berry [Wed, 6 Sep 2006 13:36:52 +0000 (13:36 +0000)]
missed changelog entry

17 years agoAdd support for LDFLAGS of the generated library.
Bruno Haible [Wed, 6 Sep 2006 12:35:42 +0000 (12:35 +0000)]
Add support for LDFLAGS of the generated library.

17 years agoNew modules 'striconv' and 'xstriconv'.
Bruno Haible [Wed, 6 Sep 2006 12:22:29 +0000 (12:22 +0000)]
New modules 'striconv' and 'xstriconv'.

17 years agoNew module 'xstriconv'.
Bruno Haible [Wed, 6 Sep 2006 12:21:48 +0000 (12:21 +0000)]
New module 'xstriconv'.

17 years agoNew module 'striconv'.
Bruno Haible [Wed, 6 Sep 2006 12:21:39 +0000 (12:21 +0000)]
New module 'striconv'.

17 years ago.
Karl Berry [Wed, 6 Sep 2006 07:40:49 +0000 (07:40 +0000)]
.

17 years ago* argz_.h: Sync from Libtool.
Ralf Wildenhues [Tue, 5 Sep 2006 17:24:38 +0000 (17:24 +0000)]
* argz_.h: Sync from Libtool.

2006-09-04  George Bosilca <bosilca@cs.utk.edu>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

* libltdl/argz_.h: It's __cplusplus, not _cplusplus.

17 years agoNew 'trim' module, from Davide Angelocola <davide.angelocola@tiscali.it>.
Bruno Haible [Tue, 5 Sep 2006 12:32:42 +0000 (12:32 +0000)]
New 'trim' module, from Davide Angelocola <davide.angelocola@tiscali.it>.

17 years ago(signed.m4, gettext.m4): changes not propagated
Karl Berry [Mon, 4 Sep 2006 12:45:56 +0000 (12:45 +0000)]
(signed.m4, gettext.m4): changes not propagated
until next release.

17 years agoSupport for mingw DLLs.
Bruno Haible [Mon, 4 Sep 2006 11:54:06 +0000 (11:54 +0000)]
Support for mingw DLLs.

17 years ago* lib/getloadavg.c: Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG.
Paul Eggert [Fri, 1 Sep 2006 19:54:35 +0000 (19:54 +0000)]
* lib/getloadavg.c: Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG.
Problem reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
* m4/getloadavg.m4 (gl_GETLOADAVG): Use CONFIGURING_GETLOADAVG,
not gl_GETLOADAVG.  Omit unneeded semicolons.
Problems reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
(gl_PREREQ_GETLOADAVG): Use AC_DEFUN, not m4_define.  Put
at the end, which is the usual gnulib style.

17 years ago* lib/mountlist.c: All uses of HAVE_F_FSTYPENAME_IN_STATFS replaced by
Paul Eggert [Fri, 1 Sep 2006 19:49:22 +0000 (19:49 +0000)]
* lib/mountlist.c: All uses of HAVE_F_FSTYPENAME_IN_STATFS replaced by
HAVE_STRUCT_STATFS_F_FSTYPENAME.
* m4/fstypename.m4 (gl_FSTYPENAME): Use AC_CHECK_MEMBERS instead
of doing all the work ourselves.
* m4/fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Don't check for
sys/statvfs.h since the code doesn't use HAVE_SYS_STATVFS_H.

17 years ago* gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
Paul Eggert [Fri, 1 Sep 2006 15:17:11 +0000 (15:17 +0000)]
* gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
yesterday's patch by changing test -n to test -z.

17 years agoImprove maintainability.
Bruno Haible [Fri, 1 Sep 2006 11:57:26 +0000 (11:57 +0000)]
Improve maintainability.
Fix a typo.

17 years ago.
Karl Berry [Fri, 1 Sep 2006 08:04:11 +0000 (08:04 +0000)]
.

17 years ago* modules/getloadavg (Files): Add m4/getloadavg.m4.
Paul Eggert [Thu, 31 Aug 2006 22:29:00 +0000 (22:29 +0000)]
* modules/getloadavg (Files): Add m4/getloadavg.m4.
(configure.ac): AC_FUNC_GETLOADAVG -> gl_GETLOADAVG, as
the former is now obsolescent.
* lib/getloadavg.c [defined gl_GETLOADAVG]: Don't include config.h
or stdbool.h, because they might not exist while configuring.
* m4/fnmatch.m4: Add comment that Autoconf AC_FUNC_FNMATCH is
obsolescent, and programs should use gnulib instead.
* m4/getloadavg.m4: New file, with contents taken from Autoconf
but with prefixes changed.

17 years ago* lib/chdir-long.c: Include <fcntl.h>, for O_DIRECTORY.
Paul Eggert [Thu, 31 Aug 2006 21:54:54 +0000 (21:54 +0000)]
* lib/chdir-long.c: Include <fcntl.h>, for O_DIRECTORY.
Don't include unistd.h or limits.h; not needed, since chdir-long.h
does that for us.
(O_DIRECTORY): Remove.
* modules/chdir-long (Depends-on): Add fcntl.

17 years ago* gnulib-tool: Don't let emacs change spaces to TAB.
Eric Blake [Thu, 31 Aug 2006 14:36:39 +0000 (14:36 +0000)]
* gnulib-tool: Don't let emacs change spaces to TAB.

17 years agoSlightly change the output generated by --makefile-name.
Bruno Haible [Thu, 31 Aug 2006 13:40:57 +0000 (13:40 +0000)]
Slightly change the output generated by --makefile-name.

17 years agoFix problem when calling "gnulib-tool --update" on multiple directories.
Bruno Haible [Thu, 31 Aug 2006 13:11:23 +0000 (13:11 +0000)]
Fix problem when calling "gnulib-tool --update" on multiple directories.

17 years ago.
Karl Berry [Thu, 31 Aug 2006 08:03:18 +0000 (08:03 +0000)]
.

17 years agoWork around a bug in both the Linux and SunOS 64-bit kernels:
Paul Eggert [Thu, 31 Aug 2006 07:00:50 +0000 (07:00 +0000)]
Work around a bug in both the Linux and SunOS 64-bit kernels:
nanosleep mishandles sleeps for longer than 2**31 seconds.
Problem reported by Frank v Waveren in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00298.html>.
* lib/nanosleep.c (BILLION): New constant.
(getnow) [HAVE_BUG_BIG_NANOSLEEP]: New functions.
(rpl_nanosleep) [HAVE_BUG_BIG_NANOSLEEP]: Completely new implementation.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Require gl_CLOCK_TIME.
* modules/nanosleep (Depends-on): Add gettime.

17 years ago* isapipe.c (isapipe): Rename local s/fd/fd_pair/ to avoid shadowing
Paul Eggert [Thu, 31 Aug 2006 04:52:03 +0000 (04:52 +0000)]
* isapipe.c (isapipe): Rename local s/fd/fd_pair/ to avoid shadowing
the parameter.

17 years ago* MODULES.html.sh (Support for building documentation): Add gpl, lgpl.
Paul Eggert [Wed, 30 Aug 2006 18:13:34 +0000 (18:13 +0000)]
* MODULES.html.sh (Support for building documentation): Add gpl, lgpl.
* gnulib-tool (func_import): New license type 'unmodifiable license
text'.
* modules/fdl: Use it.  Longer description.
* module/gpl, module/lgpl: New files.

17 years ago.
Karl Berry [Wed, 30 Aug 2006 08:04:47 +0000 (08:04 +0000)]
.

17 years ago* modules/isapipe: New file.
Paul Eggert [Tue, 29 Aug 2006 20:32:07 +0000 (20:32 +0000)]
* modules/isapipe: New file.
* MODULES.html.sh (File descriptor based Input/Output): Add isapipe.
* lib/isapipe.c, lib/isapipe.h, m4/isapipe.m4: New files.

17 years ago* error.c (error_at_line, print_errno_message): Match libc, after
Eric Blake [Tue, 29 Aug 2006 16:58:34 +0000 (16:58 +0000)]
* error.c (error_at_line, print_errno_message): Match libc, after
resolution of upstream bug 3044.

17 years ago* modules/configmake (Makefile.am): Make configmake.h depend on
Jim Meyering [Tue, 29 Aug 2006 15:50:43 +0000 (15:50 +0000)]
* modules/configmake (Makefile.am): Make configmake.h depend on
Makefile.  Otherwise, a stale configmake.h could hang around.

17 years agoPrefer using configmake.h instead of augmenting DEFS.
Bruno Haible [Tue, 29 Aug 2006 15:44:02 +0000 (15:44 +0000)]
Prefer using configmake.h instead of augmenting DEFS.

17 years ago* modules/configmake (Makefile.am): Add a comment, and omit
Paul Eggert [Tue, 29 Aug 2006 14:25:00 +0000 (14:25 +0000)]
* modules/configmake (Makefile.am): Add a comment, and omit
the CONFIGMAKE_ prefix from generated macro names.  Suggested
by Bruno Haible.

17 years agoFix typo: s/not/now/
Jim Meyering [Tue, 29 Aug 2006 09:42:21 +0000 (09:42 +0000)]
Fix typo: s/not/now/

17 years ago.
Karl Berry [Tue, 29 Aug 2006 08:05:48 +0000 (08:05 +0000)]
.

17 years agoSync from Libtool:
Ralf Wildenhues [Tue, 29 Aug 2006 06:15:19 +0000 (06:15 +0000)]
Sync from Libtool:

* libltdl/argz.c: Use `#ifdef HAVE_CONFIG_H', to facilitate code
sharing with gnulib.  Report by Eric Blake.

17 years ago* lib/fcntl_.h: New file.
Paul Eggert [Mon, 28 Aug 2006 22:59:17 +0000 (22:59 +0000)]
* lib/fcntl_.h: New file.
* lib/chdir-safer.c (O_DIRECTORY, O_NOFOLLOW): Remove, now that we have
the fcntl module.
* lib/dirchownmod.c: Likewise.
* lib/fts.c: Likewise.
* m4/fcntl_h.m4: New file.
* modules/fcntl: New file.
* modules/chdir-safer (Depends-on): Add fcntl.
* modules/fts: Likewise.
* modules/mkdir-p: Likewise.

17 years ago* inttypes.m4 (gl_INTTYPES_H): Fix missing #endif.
Eric Blake [Mon, 28 Aug 2006 20:56:50 +0000 (20:56 +0000)]
* inttypes.m4 (gl_INTTYPES_H): Fix missing #endif.

17 years ago* lib/inttypes_.h [defined _GL_JUST_INCLUDE_ABSOLUTE_INTTYPES_H]:
Paul Eggert [Mon, 28 Aug 2006 20:42:17 +0000 (20:42 +0000)]
* lib/inttypes_.h [defined _GL_JUST_INCLUDE_ABSOLUTE_INTTYPES_H]:
Include @ABSOLUTE_INTTYPES_H@ if available, but do nothing else.
* lib/stdint_.h (_GL_JUST_INCLUDE_ABSOLUTE_INTTYPES_H): Define
just before including <inttypes.h>, to avoid circular inclusion.
* m4/inttypes.m4 (gl_INTTYPES_H): Move ABSOLUTE_INTTYPES_H code here...
* m4/stdint.m4 (gl_STDINT_H): ... from here.  This undoes the most recent
change to stdint.m4, since we're now addressing the problem in a
different way.
* modules/stdint (Makefile.am): Do not substitute ABSOLUTE_INTTYPES_H.

17 years ago* gnulib-tool (emit_lib_Makefile_am): Don't put $makefile_name
Paul Eggert [Mon, 28 Aug 2006 19:39:49 +0000 (19:39 +0000)]
* gnulib-tool (emit_lib_Makefile_am): Don't put $makefile_name
into output, since the output might be called Makefile.am even
if $makefile_name is something different.
(func_import): Use $makefile_am rather than
${makefile_name-Makefile.am}, to fix a bug where makefile_name was
empty.

17 years ago* modules/inttypes (Files): Add m4/inttypes-h.m4.
Paul Eggert [Mon, 28 Aug 2006 18:41:49 +0000 (18:41 +0000)]
* modules/inttypes (Files): Add m4/inttypes-h.m4.

17 years ago* modules/inttypes (Makefile.am): Fix sed error when inttypes.h
Eric Blake [Mon, 28 Aug 2006 17:41:08 +0000 (17:41 +0000)]
* modules/inttypes (Makefile.am): Fix sed error when inttypes.h
needs wrapper.

17 years agoSCNX* macros don't exist.
Bruno Haible [Mon, 28 Aug 2006 16:57:51 +0000 (16:57 +0000)]
SCNX* macros don't exist.

17 years agoDo the INT_MAX check only where size_t is converted to 'int'.
Bruno Haible [Mon, 28 Aug 2006 16:04:14 +0000 (16:04 +0000)]
Do the INT_MAX check only where size_t is converted to 'int'.

17 years ago* modules/inttypes (Depends-on): Fix sed error when inttypes.h
Eric Blake [Mon, 28 Aug 2006 16:01:30 +0000 (16:01 +0000)]
* modules/inttypes (Depends-on): Fix sed error when inttypes.h
needs wrapper.

17 years agoNew option --makefile-name.
Bruno Haible [Mon, 28 Aug 2006 15:22:55 +0000 (15:22 +0000)]
New option --makefile-name.

17 years agoReorder some statements.
Bruno Haible [Mon, 28 Aug 2006 15:21:25 +0000 (15:21 +0000)]
Reorder some statements.

17 years agoSmall fix after --local-dir introduction.
Bruno Haible [Mon, 28 Aug 2006 15:20:22 +0000 (15:20 +0000)]
Small fix after --local-dir introduction.

17 years agoSave the --local-dir value in the cache file.
Bruno Haible [Mon, 28 Aug 2006 15:14:35 +0000 (15:14 +0000)]
Save the --local-dir value in the cache file.

17 years agoBetter error handling.
Bruno Haible [Mon, 28 Aug 2006 15:12:52 +0000 (15:12 +0000)]
Better error handling.

17 years agoBeOS portability.
Bruno Haible [Mon, 28 Aug 2006 14:34:07 +0000 (14:34 +0000)]
BeOS portability.

17 years agoAvoid compiler warning.
Bruno Haible [Mon, 28 Aug 2006 13:14:09 +0000 (13:14 +0000)]
Avoid compiler warning.

17 years agoNew module 'c-strstr'.
Bruno Haible [Mon, 28 Aug 2006 13:04:33 +0000 (13:04 +0000)]
New module 'c-strstr'.

17 years agoRewritten inttypes module.
Bruno Haible [Mon, 28 Aug 2006 12:55:18 +0000 (12:55 +0000)]
Rewritten inttypes module.

17 years agoRewritten inttypes module. New modules imaxabs, imaxdiv.
Bruno Haible [Mon, 28 Aug 2006 12:54:47 +0000 (12:54 +0000)]
Rewritten inttypes module. New modules imaxabs, imaxdiv.

17 years agoNew module 'imaxdiv'.
Bruno Haible [Mon, 28 Aug 2006 12:54:20 +0000 (12:54 +0000)]
New module 'imaxdiv'.

17 years agoNew module 'imaxabs'.
Bruno Haible [Mon, 28 Aug 2006 12:54:10 +0000 (12:54 +0000)]
New module 'imaxabs'.

17 years agoRewritten 'inttypes' module.
Bruno Haible [Mon, 28 Aug 2006 12:53:57 +0000 (12:53 +0000)]
Rewritten 'inttypes' module.

17 years ago* visibility.texi: Actually read and correct the grammar of the
Jim Meyering [Mon, 28 Aug 2006 05:52:44 +0000 (05:52 +0000)]
* visibility.texi: Actually read and correct the grammar of the
sentence affected by yesterday's change.

17 years ago* visibility.texi: Remove duplicate word: "pointer".
Jim Meyering [Sun, 27 Aug 2006 20:38:52 +0000 (20:38 +0000)]
* visibility.texi: Remove duplicate word: "pointer".

17 years agoupdate from texinfo
Karl Berry [Sun, 27 Aug 2006 13:34:37 +0000 (13:34 +0000)]
update from texinfo

17 years ago.
Karl Berry [Sat, 26 Aug 2006 08:04:43 +0000 (08:04 +0000)]
.

17 years agoNew config-h module, so that "make" output needn't be cluttered
Paul Eggert [Sat, 26 Aug 2006 06:39:32 +0000 (06:39 +0000)]
New config-h module, so that "make" output needn't be cluttered
by -DHAVE_CONFIG_H.
* MODULES.html.sh (Support for building libraries and executables):
Add config-h.
* modules/config-h: New file.
* gnulib-tool (nl, sed_transform_lib_file): New vars.
(func_import): Turn "#ifdef HAVE_CONFIG_H" to "#if 1" if
the config-h module is used.
* m4/config-h.m4: New file.

17 years agoNew configmake module, so that "make" output needn't be cluttered
Paul Eggert [Fri, 25 Aug 2006 23:14:53 +0000 (23:14 +0000)]
New configmake module, so that "make" output needn't be cluttered
by fluff like '-DLIBDIR=\"/usr/local/lib\"'.
* MODULES.html.sh (Support for building libraries and executables):
Add configmake.
* modules/configmake: New file.

17 years ago.
Karl Berry [Fri, 25 Aug 2006 08:04:58 +0000 (08:04 +0000)]
.

17 years ago* MODULES.html.sh (Support for building libraries and executables):
Paul Eggert [Thu, 24 Aug 2006 20:15:12 +0000 (20:15 +0000)]
* MODULES.html.sh (Support for building libraries and executables):
Add elisp-comp.
* build-aux/elisp-comp: New file.
* modules/elisp-comp: New file.
* config/srclist.txt: Add elisp-comp.

17 years agoTest other subdirectory names than 'lib' and 'm4'.
Bruno Haible [Thu, 24 Aug 2006 13:48:29 +0000 (13:48 +0000)]
Test other subdirectory names than 'lib' and 'm4'.

17 years agoFix HTML structure.
Bruno Haible [Thu, 24 Aug 2006 12:19:24 +0000 (12:19 +0000)]
Fix HTML structure.

17 years ago.
Karl Berry [Thu, 24 Aug 2006 08:19:29 +0000 (08:19 +0000)]
.

17 years agoFix typo in previous log entry.
Paul Eggert [Thu, 24 Aug 2006 01:43:06 +0000 (01:43 +0000)]
Fix typo in previous log entry.

17 years ago* m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't consider BeOS statvfs
Paul Eggert [Wed, 23 Aug 2006 23:40:21 +0000 (23:40 +0000)]
* m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't consider BeOS statvfs
as unusable.

17 years ago* modules/openat (Depends-on): Add lstat.
Paul Eggert [Wed, 23 Aug 2006 23:07:01 +0000 (23:07 +0000)]
* modules/openat (Depends-on): Add lstat.

17 years agocoreutils now uses gnulib-tool as well (in a particular way though...)
Bruno Haible [Wed, 23 Aug 2006 20:56:08 +0000 (20:56 +0000)]
coreutils now uses gnulib-tool as well (in a particular way though...)

17 years agoTurn off MT for OSF/1 by default.
Bruno Haible [Wed, 23 Aug 2006 12:11:02 +0000 (12:11 +0000)]
Turn off MT for OSF/1 by default.

17 years agoSeparate the "early" and the "normal" part of the macro.
Bruno Haible [Wed, 23 Aug 2006 12:04:46 +0000 (12:04 +0000)]
Separate the "early" and the "normal" part of the macro.

17 years ago.
Karl Berry [Wed, 23 Aug 2006 08:05:03 +0000 (08:05 +0000)]
.

17 years ago* stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning.
Paul Eggert [Tue, 22 Aug 2006 21:16:36 +0000 (21:16 +0000)]
* stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning.
* inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
* longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise.
* intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.

17 years ago* modules/regexprops-generic: New file.
Eric Blake [Tue, 22 Aug 2006 20:02:09 +0000 (20:02 +0000)]
* modules/regexprops-generic: New file.
* MODULES.html.sh (Support for building documentation): List it.

17 years ago* srclist.txt: Remove gnupload, since coreutils now syncs from
Paul Eggert [Tue, 22 Aug 2006 19:38:57 +0000 (19:38 +0000)]
* srclist.txt: Remove gnupload, since coreutils now syncs from
gnulib rather than the other way around.
* srclistvars.sh (COREUTILS): Remove.

17 years agoMake it possible to use lib_LTLIBRARIES in a snippet.
Bruno Haible [Tue, 22 Aug 2006 18:57:52 +0000 (18:57 +0000)]
Make it possible to use lib_LTLIBRARIES in a snippet.

17 years ago* lib/readutmp.h: Skip most definitions if neither <utmp.h> nor
Paul Eggert [Tue, 22 Aug 2006 17:34:55 +0000 (17:34 +0000)]
* lib/readutmp.h: Skip most definitions if neither <utmp.h> nor
<utmpx.h> exists.
* m4/readutmp.m4 (gl_READUTMP): Compile readutmp.c only if <utmp.h> or
<utmpx.h> exists.

17 years agoAvoid the need for AC_LIBSOURCES in m4 macros.
Paul Eggert [Tue, 22 Aug 2006 17:15:28 +0000 (17:15 +0000)]
Avoid the need for AC_LIBSOURCES in m4 macros.
* modules/arcfour (EXTRA_DIST): Add arcfour.h.
* modules/arctwo (EXTRA_DIST): Add arctwo.h.
* modules/check-version (EXTRA_DIST): Add check-version.h.
* modules/crc (EXTRA_DIST): Add crc.h.
* modules/des (EXTRA_DIST): Add des.h.
* modules/gc (EXTRA_DIST): Add gc.h.
* modules/getdelim (EXTRA_DIST): Add getdelim.h.
* modules/getline (EXTRA_DIST): Add getline.h.
* modules/getlogin_r (EXTRA_DIST): Add getlogin_r.h.
* modules/hmac-md5 (EXTRA_DIST): Add hmac.h.
* modules/hmac-sha1 (EXTRA_DIST): Add hmac.h.
* modules/md2 (EXTRA_DIST): Add md2.h.
* modules/md4 (EXTRA_DIST): Add md4.h.
* modules/pagealign_alloc (EXTRA_DIST): Add pagealign_alloc.h.
* modules/read-file (EXTRA_DIST): Add read-file.h.
* modules/readline (EXTRA_DIST): Add readline.h.
* modules/rijndael (EXTRA_DIST): Add rijndael-alg-fst.h,
rijndael-api-fst.h.

* m4/rijndael.m4 (gl_ARCFOUR):
* m4/arctwo.m4 (gl_ARCTWO):
* m4/check-version.m4 (gl_CHECK_VERSION):
* m4/crc.m4 (gl_CRC):
* m4/des.m4 (gl_DES):
* m4/gc-pbkdf2-sha1.m4 (gl_GC_PBKDF2_SHA1):
* m4/gc.m4 (gl_GC):
* m4/getdelim.m4 (gl_FUNC_GETDELIM):
* m4/getline.m4 (gl_FUNC_GETLINE):
* m4/getlogin_r.m4 (gl_GETLOGIN_R_SUBSTITUTE):
* m4/hmac-md5.m4 (gl_HMAC_MD5):
* m4/hmac-sha1.m4 (gl_HMAC_SHA1):
* m4/md2.m4 (gl_MD2):
* m4/md4.m4 (gl_MD4):
* m4/pagealign_alloc.m4 (gl_PAGEALIGN_ALLOC):
* m4/read-file.m4 (gl_FUNC_READ_FILE):
* m4/readline.m4 (gl_FUNC_READLINE):
* m4/rijndael.m4 (gl_RIJNDAEL):
Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
to get the necessary .h files and whatnot.

17 years agoAdd comments, suggested by Simon Josefsson.
Bruno Haible [Tue, 22 Aug 2006 14:57:59 +0000 (14:57 +0000)]
Add comments, suggested by Simon Josefsson.

17 years agoAdd gnupload module.
Simon Josefsson [Tue, 22 Aug 2006 13:23:55 +0000 (13:23 +0000)]
Add gnupload module.

17 years ago* modules/mkdir-p (Makefile.am): Fix typo: s/lib+SOURCES/lib_SOURCES/.
Jim Meyering [Tue, 22 Aug 2006 12:26:39 +0000 (12:26 +0000)]
* modules/mkdir-p (Makefile.am): Fix typo: s/lib+SOURCES/lib_SOURCES/.

* modules/getpass-gnu (Makefile.am): Add getpass.h to EXTRA_DIST.

17 years agoA help2man wrapper script that avoids breaking the build in various situations.
Bruno Haible [Tue, 22 Aug 2006 12:17:43 +0000 (12:17 +0000)]
A help2man wrapper script that avoids breaking the build in various situations.

17 years ago2006-08-22 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Tue, 22 Aug 2006 10:22:52 +0000 (10:22 +0000)]
2006-08-22  Simon Josefsson  <jas@extundo.com>

* modules/gc-md5 (Makefile.am): Need to add md5.h, after changes
to md5 module.

17 years ago.
Karl Berry [Tue, 22 Aug 2006 08:05:07 +0000 (08:05 +0000)]
.

17 years agoBeOS portability.
Paul Eggert [Mon, 21 Aug 2006 22:05:23 +0000 (22:05 +0000)]
BeOS portability.
* lib/dirchownmod.c (dirchownmod): Don't use fchmod if it doesn't exist.
* m4/mkdir-p.m4 (gl_MKDIR_PARENTS): Check for fchmod.

17 years agoAvoid the need for AC_LIBSOURCES in m4 macros.
Paul Eggert [Mon, 21 Aug 2006 21:46:31 +0000 (21:46 +0000)]
Avoid the need for AC_LIBSOURCES in m4 macros.
* modules/acl (EXTRA_DIST): Add acl.h.
* modules/argmatch (Files): Add m4/argmatch.m4.
(configure.ac): Add gl_ARGMATCH.
(EXTRA_DIST): Renamed from lib_SOURCES, for
consistency with the other modules.  Remove argmatch.c.
* modules/backupfile (EXTRA_DIST): Add backupfile.h.
* modules/c-strtod (EXTRA_DIST): Add c-strtod.h.
* modules/c-strtold (EXTRA_DIST): Add c-strtod.c, c-strtod.h.
* modules/canonhost (EXTRA_DIST): Add c-canonhost.h.
* modules/canonicalize (EXTRA_DIST): Add canonicalize.h.
* modules/chdir-long (EXTRA_DIST): Add chdir-long.h.
* modules/chdir-safer (EXTRA_DIST): Add chdir-safer.h.
* modules/cloexec (EXTRA_DIST): Add cloexec.h.
* modules/close-stream (EXTRA_DIST): Add close-stream.h.
* modules/closeout (EXTRA_DIST): Add closeout.h.
* modules/cycle-check (EXTRA_DIST): Add cycle-check.h.
* modules/dev-ino (EXTRA_DIST): Add dev-ino.h.
* modules/dirfd (EXTRA_DIST): Add dirfd.h.
* modules/dirname (EXTRA_DIST): Renamed from lib_SOURCES.  Add
dirname.h; remove basename.c and stripslash.c.
* modules/exclude (EXTRA_DIST): Add exclude.h.
* modules/exitfail (EXTRA_DIST): Add exitfail.h.
* modules/fcntl-safer (EXTRA_DIST): Add fcntl-safer.h fcntl--.h.
* modules/file-type (EXTRA_DIST): Add file-type.h.
* modules/filemode (EXTRA_DIST): Add filemode.h.
* modules/filenamecat (EXTRA_DIST): Add filenamecat.h.
* modules/fopen-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h.
* modules/fpending (EXTRA_DIST): Add __fpending.h.
* modules/fprintftime (EXTRA_DIST): Add fprintftime.h.
* modules/fsusage (EXTRA_DIST): Add fsusage.h.
* modules/fts (EXTRA_DIST): Add fts_.h fts-cycle.c.
* modules/getcwd (EXTRA_DIST): Add getcwd.h.
* modules/getdate (EXTRA_DIST): Add getdate.c.
* modules/gethrxtime (EXTRA_DIST): Add gethrxtime.h xtime.h.
* modules/getpagesize (EXTRA_DIST): Add getpagesize.h.
* modules/getpass (EXTRA_DIST): Add getpass.h.
* modules/glob (EXTRA_DIST): Add glob_.h glob-libc.h.
* modules/group-member (EXTRA_DIST): Add group-member.h.
* modules/hard-locale (EXTRA_DIST): Add hard-locale.h.
* modules/hash (EXTRA_DIST): Add hash.h.
* modules/human (EXTRA_DIST): Add human.h.
* modules/inttypes (EXTRA_DIST): Add inttypes.h.
* modules/lchmod (EXTRA_DIST): Add lchmod.h.
* modules/lchown (EXTRA_DIST): Add lchown.h.
* modules/long-options (EXTRA_DIST): Add long-options.h.
* modules/lstat (EXTRA_DIST): Add lstat.h.
* modules/md5 (EXTRA_DIST): Add memcasecmp.h.
* modules/memcoll (EXTRA_DIST): Add memcoll.h.
* modules/mempcpy (EXTRA_DIST): Add mempcpy.h.
* modules/memrchr (EXTRA_DIST): Add memrchr.h.
* modules/memxor (EXTRA_DIST): Add memxor.h.
* modules/mkancesdirs (EXTRA_DIST): Add mkancesdirs.h.
* modules/mkdir-p (EXTRA_DIST): Add modechange.h.
* modules/mountlist (EXTRA_DIST): Add mountlist.h.
* modules/openat (EXTRA_DIST): Add at-func.c openat.h openat-priv.h.
* modules/pathmax (EXTRA_DIST): Add pathmax.h.
* modules/physmem (EXTRA_DIST): Add physmem.h.
* modules/posixtm (EXTRA_DIST): Add posixtm.h.
* modules/posixver (EXTRA_DIST): Add posixver.h.
* modules/quote (EXTRA_DIST): Add quote.h.
* modules/quotearg (EXTRA_DIST): Add quotearg.h.
* modules/readtokens (EXTRA_DIST): Add readtokens.h.
* modules/readutmp (EXTRA_DIST): Add readutmp.h.
* modules/regex (EXTRA_DIST): Add regcomp.c regex.h regex_internal.c regex_internal.h regexec.c.
* modules/safe-read (EXTRA_DIST): Add safe-read.h.
* modules/safe-write (EXTRA_DIST): Add safe-write.h.
* modules/same (EXTRA_DIST): Add same.h.
* modules/same-inode (EXTRA_DIST): Add same-inode.h.
* modules/save-cwd (EXTRA_DIST): Add save-cwd.h.
* modules/savedir (EXTRA_DIST): Add savedir.h.
* modules/sha1 (EXTRA_DIST): Add sha1.h.
* modules/sig2str (EXTRA_DIST): Add sig2str.h.
* modules/stat-macros (EXTRA_DIST): Add stat-macros.h.
* modules/stat-time (EXTRA_DIST): Add stat-time.h.
* modules/stdlib-safer (EXTRA_DIST): Add stdlib-safer.h stdlib--.h.
* modules/strdup (EXTRA_DIST): Add strdup.h.
* modules/strftime (EXTRA_DIST): Add strftime.h.
* modules/strndup (EXTRA_DIST): Add strndup.h.
* modules/strnlen (EXTRA_DIST): Add strnlen.h.
* modules/strverscmp (EXTRA_DIST): Add strverscmp.h.
* modules/time_r (EXTRA_DIST): Add time_r.h.
* modules/timespec (EXTRA_DIST): Add timespec.h.
* modules/tmpfile-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h.
* modules/unistd-safer (EXTRA_DIST): Add unistd-safer.h unistd--.h.
* modules/unlinkdir (EXTRA_DIST): Add unlinkdir.h.
* modules/unlocked-io (EXTRA_DIST): Add unlocked-io.h.
* modules/userspec (EXTRA_DIST): Add userspec.h.
* modules/utimecmp (EXTRA_DIST): Add utimecmp.h.
* modules/utimens (EXTRA_DIST): Add utimens.h.
* modules/xalloc (EXTRA_DIST): Add xalloc.h.
* modules/xgetcwd (EXTRA_DIST): Add xgetcwd.h.
* modules/xnanosleep (EXTRA_DIST): Add xnanosleep.h.
* modules/xreadlink (EXTRA_DIST): Add xreadlink.h.
* modules/xstrtod (EXTRA_DIST): Add xstrtod.h.
* modules/xstrtol (EXTRA_DIST): Add xstrtol.h.
* modules/xstrtold (EXTRA_DIST): Add xstrtod.c xstrtod.h.
* modules/yesno (EXTRA_DIST): Add yesno.h.
+
* m4/argmatch.m4: New file, from coreutils with AC_LIBSOURCES removed.
* m4/dev-ino.m4, same-inode.m4: Remove.
+
* m4/_inttypes_h.m4 (gl_INTTYPES_H):
* m4/acl.m4 (AC_FUNC_ACL):
* m4/backupfile.m4 (gl_BACKUPFILE):
* m4/c-strtod.m4 (gl_C99_STRTOLD):
* m4/canon-host.m4 (gl_CANON_HOST):
* m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
* m4/chdir-long.m4 (gl_FUNC_CHDIR_LONG):
* m4/chdir-safer.m4 (gl_CHDIR_SAFER):
* m4/cloexec.m4 (gl_CLOEXEC):
* m4/close-stream.m4 (gl_CLOSE_STREAM):
* m4/closeout.m4 (gl_CLOSEOUT):
* m4/dirfd.m4 (gl_FUNC_DIRFD):
* m4/dirname.m4 (gl_DIRNAME):
* m4/exclude.m4 (gl_EXCLUDE):
* m4/exitfail.m4 (gl_EXITFAIL):
* m4/fcntl-safer.m4 (gl_FCNTL_SAFER):
* m4/file-type.m4 (gl_FILE_TYPE):
* m4/filemode.m4 (gl_FILEMODE):
* m4/filenamecat.m4 (gl_FILE_NAME_CONCAT):
* m4/fpending.m4 (gl_FUNC_FPENDING):
* m4/fprintftime.m4 (gl_FPRINTFTIME):
* m4/fts.m4 (gl_FUNC_FTS):
* m4/getcwd.m4 (gl_FUNC_GETCWD_NULL):
* m4/getdate.m4 (gl_GETDATE):
* m4/gethrxtime.m4 (gl_GETHRXTIME):
* m4/getpagesize.m4 (gl_GETPAGESIZE):
* m4/getpass.m4 (gl_FUNC_GETPASS):
* m4/gettime.m4 (gl_GETTIME):
* m4/getugroups.m4 (gl_GETUGROUPS):
* m4/glob.m4 (gl_GLOB_SUBSTITUTE):
* m4/group-member.m4 (gl_FUNC_GROUP_MEMBER):
* m4/hard-locale.m4 (gl_HARD_LOCALE):
* m4/hash.m4 (gl_HASH):
* m4/idcache.m4 (gl_IDCACHE):
* m4/lchmod.m4 (gl_FUNC_LCHMOD):
* m4/lchown.m4 (gl_FUNC_LCHOWN):
* m4/long-options.m4 (gl_LONG_OPTIONS):
* m4/lstat.m4 (gl_FUNC_LSTAT):
* m4/md5.m4 (gl_MD5):
* m4/memcasecmp.m4 (gl_MEMCASECMP):
* m4/memcoll.m4 (gl_MEMCOLL):
* m4/mempcpy.m4 (gl_FUNC_MEMPCPY):
* m4/memrchr.m4 (gl_FUNC_MEMRCHR):
* m4/memxor.m4 (gl_MEMXOR):
* m4/mkancesdirs.m4 (gl_MKANCESDIRS):
* m4/mkdir-p.m4 (gl_MKDIR_PARENTS):
* m4/modechange.m4 (gl_MODECHANGE):
* m4/mountlist.m4 (gl_MOUNTLIST):
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP):
* m4/openat.m4 (gl_FUNC_OPENAT):
* m4/pathmax.m4 (gl_PATHMAX):
* m4/physmem.m4 (gl_PHYSMEM):
* m4/posixtm.m4 (gl_POSIXTM):
* m4/posixver.m4 (gl_POSIXVER):
* m4/quote.m4 (gl_QUOTE):
* m4/quotearg.m4 (gl_QUOTEARG):
* m4/readtokens.m4 (gl_READTOKENS):
* m4/readutmp.m4 (gl_READUTMP):
* m4/regex.m4 (gl_REGEX):
* m4/safe-read.m4 (gl_SAFE_READ):
* m4/safe-write.m4 (gl_SAFE_WRITE):
* m4/same.m4 (gl_SAME):
* m4/save-cwd.m4 (gl_SAVE_CWD):
* m4/savedir.m4 (gl_SAVEDIR):
* m4/settime.m4 (gl_SETTIME):
* m4/sha1.m4 (gl_SHA1):
* m4/sig2str.m4 (gl_FUNC_SIG2STR):
* m4/stat-macros.m4 (gl_STAT_MACROS):
* m4/stat-time.m4 (gl_STAT_TIME):
* m4/stdio-safer.m4 (gl_FOPEN_SAFER):
* m4/stdlib-safer.m4 (gl_STDLIB_SAFER):
* m4/strdup.m4 (gl_FUNC_STRDUP):
* m4/strftime.m4 (gl_FUNC_GNU_STRFTIME):
* m4/strndup.m4 (gl_FUNC_STRNDUP):
* m4/strnlen.m4 (gl_FUNC_STRNLEN):
* m4/strverscmp.m4 (gl_FUNC_STRVERSCMP):
* m4/time_r.m4 (gl_TIME_R):
* m4/timespec.m4 (gl_TIMESPEC):
* m4/unistd-safer.m4 (gl_UNISTD_SAFER):
* m4/unlinkdir.m4 (gl_UNLINKDIR):
* m4/unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO):
* m4/userspec.m4 (gl_USERSPEC):
* m4/utimecmp.m4 (gl_UTIMECMP):
* m4/utimens.m4 (gl_UTIMENS):
* m4/xalloc.m4 (gl_XALLOC):
* m4/xgetcwd.m4 (gl_XGETCWD):
* m4/xnanosleep.m4 (gl_XNANOSLEEP):
* m4/xreadlink.m4 (gl_XREADLINK):
* m4/xstrtod.m4 (gl_XSTRTOD):
* m2/yesno.m4 (gl_YESNO):
Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
to get the necessary .h files and whatnot.

17 years agoMake it possible to install the generated library.
Bruno Haible [Mon, 21 Aug 2006 18:49:51 +0000 (18:49 +0000)]
Make it possible to install the generated library.

17 years agoPortability to BeOS.
Bruno Haible [Mon, 21 Aug 2006 18:28:02 +0000 (18:28 +0000)]
Portability to BeOS.

17 years agoDon't create a $(pkgdatadir) if there's nothing to be installed in it.
Bruno Haible [Mon, 21 Aug 2006 18:18:25 +0000 (18:18 +0000)]
Don't create a $(pkgdatadir) if there's nothing to be installed in it.

17 years agoMake it work also with Solaris /bin/sh.
Bruno Haible [Mon, 21 Aug 2006 13:30:55 +0000 (13:30 +0000)]
Make it work also with Solaris /bin/sh.

17 years ago* modules/openat (Depends-on): Really alphabetize.
Jim Meyering [Mon, 21 Aug 2006 09:49:06 +0000 (09:49 +0000)]
* modules/openat (Depends-on): Really alphabetize.