gnulib.git
14 years agoTests of module 'fcntl-h' in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 01:28:20 +0000 (02:28 +0100)]
Tests of module 'fcntl-h' in C++ mode.

14 years agoTests of module 'dirent' in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 01:09:13 +0000 (02:09 +0100)]
Tests of module 'dirent' in C++ mode.

14 years agoNew module 'ansi-c++-opt'.
Bruno Haible [Mon, 8 Mar 2010 01:04:28 +0000 (02:04 +0100)]
New module 'ansi-c++-opt'.

14 years agoDocument C++ namespace mode.
Bruno Haible [Mon, 8 Mar 2010 00:57:58 +0000 (01:57 +0100)]
Document C++ namespace mode.

14 years agowctype: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:56:19 +0000 (01:56 +0100)]
wctype: Avoid #define replacements in C++ mode.

14 years agowchar: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:48:56 +0000 (01:48 +0100)]
wchar: Avoid #define replacements in C++ mode.

14 years agounistd: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:47:37 +0000 (01:47 +0100)]
unistd: Avoid #define replacements in C++ mode.

14 years agotime: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:45:46 +0000 (01:45 +0100)]
time: Avoid #define replacements in C++ mode.

14 years agosys_time: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:41:33 +0000 (01:41 +0100)]
sys_time: Avoid #define replacements in C++ mode.

14 years agosys_stat: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:39:41 +0000 (01:39 +0100)]
sys_stat: Avoid #define replacements in C++ mode.

14 years agosys_socket: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:38:28 +0000 (01:38 +0100)]
sys_socket: Avoid #define replacements in C++ mode.

14 years agosys_select: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:33:25 +0000 (01:33 +0100)]
sys_select: Avoid #define replacements in C++ mode.

14 years agosys_ioctl: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:29:57 +0000 (01:29 +0100)]
sys_ioctl: Avoid #define replacements in C++ mode.

14 years agostring: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:26:36 +0000 (01:26 +0100)]
string: Avoid #define replacements in C++ mode.

14 years agostdlib: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:23:38 +0000 (01:23 +0100)]
stdlib: Avoid #define replacements in C++ mode.

14 years agostdio: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:22:00 +0000 (01:22 +0100)]
stdio: Avoid #define replacements in C++ mode.

14 years agospawn: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:20:12 +0000 (01:20 +0100)]
spawn: Avoid #define replacements in C++ mode.

14 years agosignal: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:18:40 +0000 (01:18 +0100)]
signal: Avoid #define replacements in C++ mode.

14 years agosearch: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:16:01 +0000 (01:16 +0100)]
search: Avoid #define replacements in C++ mode.

14 years agomath: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:10:14 +0000 (01:10 +0100)]
math: Avoid #define replacements in C++ mode.

14 years agolocale: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:08:24 +0000 (01:08 +0100)]
locale: Avoid #define replacements in C++ mode.

14 years agolanginfo: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:02:55 +0000 (01:02 +0100)]
langinfo: Avoid #define replacements in C++ mode.

14 years agoiconv-h: Avoid #define replacements in C++ mode.
Bruno Haible [Mon, 8 Mar 2010 00:00:03 +0000 (01:00 +0100)]
iconv-h: Avoid #define replacements in C++ mode.

14 years agoglob: Avoid #define replacements in C++ mode.
Bruno Haible [Sun, 7 Mar 2010 23:54:54 +0000 (00:54 +0100)]
glob: Avoid #define replacements in C++ mode.

14 years agofcntl-h: Avoid #define replacements in C++ mode.
Bruno Haible [Sun, 7 Mar 2010 23:51:34 +0000 (00:51 +0100)]
fcntl-h: Avoid #define replacements in C++ mode.

14 years agodirent: Avoid #define replacements in C++ mode.
Bruno Haible [Sun, 7 Mar 2010 23:49:40 +0000 (00:49 +0100)]
dirent: Avoid #define replacements in C++ mode.

14 years agoctype: Make it usable in C++ code.
Bruno Haible [Sun, 7 Mar 2010 23:47:01 +0000 (00:47 +0100)]
ctype: Make it usable in C++ code.

14 years agoNew module 'c++defs'.
Bruno Haible [Sun, 7 Mar 2010 23:45:37 +0000 (00:45 +0100)]
New module 'c++defs'.

14 years agologb: Provide missing declaration for Cygwin.
Bruno Haible [Sun, 7 Mar 2010 23:04:47 +0000 (00:04 +0100)]
logb: Provide missing declaration for Cygwin.

14 years agoFix test-cond link error.
Bruno Haible [Sun, 7 Mar 2010 22:30:36 +0000 (23:30 +0100)]
Fix test-cond link error.

14 years agoFix test-dirent-safer link error. Correct last commit.
Bruno Haible [Sun, 7 Mar 2010 22:26:11 +0000 (23:26 +0100)]
Fix test-dirent-safer link error. Correct last commit.

14 years agoFix test-dirent link error.
Bruno Haible [Sun, 7 Mar 2010 22:15:21 +0000 (23:15 +0100)]
Fix test-dirent link error.

14 years agoExclude lib-ignore module.
Bruno Haible [Sun, 7 Mar 2010 21:11:21 +0000 (22:11 +0100)]
Exclude lib-ignore module.

14 years agoFix link error on platforms with GNU libiconv.
Bruno Haible [Sun, 7 Mar 2010 19:41:43 +0000 (20:41 +0100)]
Fix link error on platforms with GNU libiconv.

14 years agoUse POSIX declarations for socket functions.
Bruno Haible [Sun, 7 Mar 2010 18:54:54 +0000 (19:54 +0100)]
Use POSIX declarations for socket functions.

14 years agoupdate from texinfo
Karl Berry [Sun, 7 Mar 2010 16:51:18 +0000 (08:51 -0800)]
update from texinfo

14 years agoClarify access, euidaccess, faccessat.
Bruno Haible [Sat, 6 Mar 2010 18:49:34 +0000 (19:49 +0100)]
Clarify access, euidaccess, faccessat.

14 years agoEnsure posix_spawnattr_{get,set}sched{policy,param} are defined.
Bruno Haible [Sun, 7 Mar 2010 15:10:57 +0000 (16:10 +0100)]
Ensure posix_spawnattr_{get,set}sched{policy,param} are defined.

14 years agoFix incorrect Makefile.am generation in German locale.
Bruno Haible [Sun, 7 Mar 2010 13:27:02 +0000 (14:27 +0100)]
Fix incorrect Makefile.am generation in German locale.

14 years agoTests for module 'iconv-h'.
Bruno Haible [Sat, 6 Mar 2010 18:44:41 +0000 (19:44 +0100)]
Tests for module 'iconv-h'.

14 years agoNew module 'iconv-h'.
Bruno Haible [Sat, 6 Mar 2010 18:43:44 +0000 (19:43 +0100)]
New module 'iconv-h'.

14 years agoMore consistent naming of *.m4 files.
Bruno Haible [Sat, 6 Mar 2010 18:08:20 +0000 (19:08 +0100)]
More consistent naming of *.m4 files.

14 years agoMore consistent naming of *.m4 files.
Bruno Haible [Sat, 6 Mar 2010 18:06:30 +0000 (19:06 +0100)]
More consistent naming of *.m4 files.

14 years agoeuidaccess: relax license to LGPLv2+
Jim Meyering [Sat, 6 Mar 2010 10:46:04 +0000 (11:46 +0100)]
euidaccess: relax license to LGPLv2+

* modules/euidaccess (License): Relax to LGPLv2+.

14 years agoPrefer lib_SOURCES over unconditional AC_LIBOBJ.
Bruno Haible [Sat, 6 Mar 2010 10:32:40 +0000 (11:32 +0100)]
Prefer lib_SOURCES over unconditional AC_LIBOBJ.

14 years agoexitfail: Relax license to LGPLv2.1+. Drop exitfail.m4.
Simon Josefsson [Fri, 5 Mar 2010 11:09:55 +0000 (12:09 +0100)]
exitfail: Relax license to LGPLv2.1+.  Drop exitfail.m4.

14 years agoutime: remove obsolete module
Jim Meyering [Thu, 4 Mar 2010 14:36:51 +0000 (15:36 +0100)]
utime: remove obsolete module

This module, like autoconf's AC_FUNC_UTIME_NULL macro, has been
unnecessary for years, and has been marked as obsolete for 10 months.
* modules/utime: Remove file.
* lib/utime.c: Remove file.
* m4/utime.m4: Remove file.
* m4/utimes-null.m4: Remove file.
* doc/posix-functions/utime.texi (utime): Remove reference to
the module.  Move the sole "fixed by gnulib" item into the
"problems not fixed by Gnulib" list.
* MODULES.html.sh (func_all_modules): Remove reference to "utime".

14 years agoexit: Obsolete module, use stdlib instead.
Simon Josefsson [Fri, 5 Mar 2010 06:51:36 +0000 (07:51 +0100)]
exit: Obsolete module, use stdlib instead.

14 years agofts-lgpl: remove unused module
Ralf Wildenhues [Sun, 17 Jan 2010 09:40:01 +0000 (10:40 +0100)]
fts-lgpl: remove unused module

* modules/fts-lgpl: Remove.
* MODULES.html.sh (func_all_modules): Adjust.
* check-module (find_included_lib_files): Adjust.
* m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agocopy-acl: enhance Solaris ACL error handling
Ben Walton [Fri, 12 Feb 2010 13:32:00 +0000 (08:32 -0500)]
copy-acl: enhance Solaris ACL error handling

Gracefully handle EOPNOTSUPP in qcopy_acl and qset_acl.  These
functions, as used in coreutils, were causing the test suite to fail
on Solaris 8 i386 with ZFS-backed NFSv3 mounts.  The failures included
errors such as:

FAIL: cp/backup-dir
cp: preserving permissions for `y/x': Operation not supported on
transport endpoint

* lib/copy-acl.c (qcopy_acl): Also ignore EOPNOTSUPP.
* lib/set-mode-acl.c (qset_acl): Likewise.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agospawn: Don't override the system defined values on FreeBSD 8.
Bruno Haible [Tue, 2 Mar 2010 10:55:34 +0000 (11:55 +0100)]
spawn: Don't override the system defined values on FreeBSD 8.

14 years agoDoc clarification.
Bruno Haible [Mon, 1 Mar 2010 21:09:44 +0000 (22:09 +0100)]
Doc clarification.

14 years agoFix breakage of gnulib-tool with ksh, introduced on 2010-02-21.
Bruno Haible [Thu, 25 Feb 2010 11:13:28 +0000 (12:13 +0100)]
Fix breakage of gnulib-tool with ksh, introduced on 2010-02-21.

14 years agobootstrap, git-version-gen: use timestamp
Eric Blake [Wed, 24 Feb 2010 17:25:56 +0000 (10:25 -0700)]
bootstrap, git-version-gen: use timestamp

Timestamps are useful, particularly for files copied into other
packages, to see how long since a file has forked.

* build-aux/git-version-gen (scriptversion): Force UTC.
* build-aux/bootstrap (scriptversion): New variable.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agobootstrap: allow older git
Eric Blake [Wed, 24 Feb 2010 16:48:16 +0000 (09:48 -0700)]
bootstrap: allow older git

git 1.6.4 is too new to be universally available yet.

* build-aux/bootstrap (GNULIB_SRCDIR): Add fallback if git is
older than 1.6.4.  Requested by the libvirt project.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agowarn-on-use: work with old autoconf
Eric Blake [Tue, 23 Feb 2010 17:57:38 +0000 (10:57 -0700)]
warn-on-use: work with old autoconf

Before autoconf documented the AS_VAR_* interfaces, it used to
require the user to pre-expand the pushed macro name.  Newer
autoconf can see through macros, but this is one case where
breaking the rule of thumb and underquoting does not hurt.

* m4/warn-on-use.m4 (gl_WARN_ON_USE_PREPARE): Accomodate older
AS_VAR semantics of autoconf 2.60.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agobootstrap: improve some comments
Eric Blake [Tue, 23 Feb 2010 16:37:26 +0000 (09:37 -0700)]
bootstrap: improve some comments

* build-aux/bootstrap: Drop unneeded emacs hint.  Add some
clarification comments.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agogettimeofday: provide correct function
Eric Blake [Tue, 23 Feb 2010 15:22:04 +0000 (08:22 -0700)]
gettimeofday: provide correct function

* lib/gettimeofday.c (gettimeofday): Provide rpl_gettimeofday only
when replacement is declared, otherwise provide gettimeofday.
Reported by Michael Goffioul.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoautoupdate
Karl Berry [Tue, 23 Feb 2010 14:14:37 +0000 (06:14 -0800)]
autoupdate

14 years agolib-ignore: relax license to "unlimited", not LGPLv2+
Jim Meyering [Tue, 23 Feb 2010 09:21:53 +0000 (10:21 +0100)]
lib-ignore: relax license to "unlimited", not LGPLv2+

* modules/lib-ignore (License): Relax to "unlimited".

2010-02-23  Jim Meyering  <meyering@redhat.com>

14 years agolib-ignore: relax license to LGPLv2+
Jim Meyering [Tue, 23 Feb 2010 08:51:54 +0000 (09:51 +0100)]
lib-ignore: relax license to LGPLv2+

* modules/lib-ignore (License): Relax to LGPLv2+.

14 years agoChangeLog: add entry for "init.sh: automatically accommodate programs with the .exe...
Jim Meyering [Tue, 23 Feb 2010 00:46:36 +0000 (01:46 +0100)]
ChangeLog: add entry for "init.sh: automatically accommodate programs with the .exe suffix"

14 years agolseek: avoid bash 3.2 broken pipe bug
Eric Blake [Mon, 22 Feb 2010 22:15:56 +0000 (15:15 -0700)]
lseek: avoid bash 3.2 broken pipe bug

Avoid a spurious message caused by SIGPIPE handling, as well as
avoiding bash 3.2 messages even when SIGPIPE is not handled.

* m4/lseek.m4 (gl_FUNC_LSEEK): Drain pipe, to avoid spurious
warning from bash 3.2.
Reported by Ben Pfaff, with analysis from Bruno Haible.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agobootstrap: support non-FSF copyright holder
Eric Blake [Mon, 22 Feb 2010 22:28:38 +0000 (15:28 -0700)]
bootstrap: support non-FSF copyright holder

Allow non-FSF projects, like libvirt, to make full use of bootstrap.

* build-aux/bootstrap (COPYRIGHT_HOLDER, with_gettext): Allow
bootstrap.conf override of COPYRIGHT_HOLDER.
(MSGID_BUGS_ADDRESS): Allow URL rather than email.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agobootstrap: interoperate with gettext 0.14.1
Eric Blake [Mon, 22 Feb 2010 19:13:22 +0000 (12:13 -0700)]
bootstrap: interoperate with gettext 0.14.1

Without this patch, the modified gettext.m4 aborts autoconf due
to an unterminated m4 string.

* build-aux/bootstrap (slurp): Fix typo when using older gettext.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agobootstrap: allow for alternate submodule location
Eric Blake [Mon, 22 Feb 2010 17:59:33 +0000 (10:59 -0700)]
bootstrap: allow for alternate submodule location

Libvirt sets submodule.gnulib.path to ".gnulib".  Also, it does
not need gnulib.mk, but directly uses Makefile.am.

* build-aux/bootstrap (gnulib_path): New variable; use instead of
hardcoding submodule location.
(gnulib_mk): Allow direct use of Makefile.am.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agobootstrap: use GNULIB_SRCDIR to reduce disk usage
Eric Blake [Mon, 22 Feb 2010 15:46:42 +0000 (08:46 -0700)]
bootstrap: use GNULIB_SRCDIR to reduce disk usage

This slightly changes the semantics of GNULIB_SRCDIR; previously,
it was a way to change the contents of .gitmodules to actually
point to a new location, which meant that running:
 GNULIB_SRCDIR=~/gnulib ./bootstrap
would result in a dirty tree.  The new semantics are nicer; the
submodule is cloned as normal, but the clone uses the original
$GNULIB_SRCDIR as an object reference to reduce download time
and disk space.

* build-aux/bootstrap (GNULIB_SRCDIR): If set, use as a reference,
rather than reconfiguring where the submodule points.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agogettimeofday: restore support for platforms that lack function
Eric Blake [Mon, 22 Feb 2010 16:00:06 +0000 (09:00 -0700)]
gettimeofday: restore support for platforms that lack function

Fixes a regression from 2010-02-04, commit de4d0a3.

* m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY): Also compile
replacement if function is missing.
* m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_DEFAULTS): New witness.
* modules/sys_time (Makefile.am): Substitute it.
* lib/sys_time.in.h (gettimeofday): Check it.
Reported by Michael Goffioul.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years ago* build-aux/gendocs.sh: restore executable bit
Eric Blake [Mon, 22 Feb 2010 21:30:18 +0000 (14:30 -0700)]
* build-aux/gendocs.sh: restore executable bit

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoChangeLog: add entry for "init.sh: improve portability and efficiency"
Jim Meyering [Mon, 22 Feb 2010 07:50:24 +0000 (08:50 +0100)]
ChangeLog: add entry for "init.sh: improve portability and efficiency"

14 years agoobstack-printf: Fix typo.
Bruno Haible [Mon, 22 Feb 2010 01:57:50 +0000 (02:57 +0100)]
obstack-printf: Fix typo.

14 years agovc-list-files: use bzr ls's -R option
Jose E. Marchesi [Sun, 21 Feb 2010 19:36:24 +0000 (20:36 +0100)]
vc-list-files: use bzr ls's -R option

* build-aux/vc-list-files: Invoke bazaar to generate a recursive
list of versioned files based on 'dir' (usage of -R in 'bzr ls').

14 years agoinit.sh: fix EXEEXT shims to work also for names like test-prog
Jim Meyering [Sun, 21 Feb 2010 16:47:43 +0000 (17:47 +0100)]
init.sh: fix EXEEXT shims to work also for names like test-prog

* tests/init.sh: Re-exec a better shell, when needed.
If the current shell lacks support for posix $(...), an init.sh-using
test will now try to find a shell that supports that.  If EXEEXT is
nonempty, we also require support for hyphen-in-alias-name and shell
substitutions like ${var#glob}.  Failure to find such a shell results
in a skipped test.

14 years agoTypo in comment.
Bruno Haible [Sun, 21 Feb 2010 12:33:05 +0000 (13:33 +0100)]
Typo in comment.

14 years agoReally work around around "broken pipe" error message from bash 3.2.
Bruno Haible [Sun, 21 Feb 2010 12:27:25 +0000 (13:27 +0100)]
Really work around around "broken pipe" error message from bash 3.2.

14 years agoRestore support for automake 1.9.6 with autoconf 2.61.
Bruno Haible [Sun, 21 Feb 2010 02:29:36 +0000 (03:29 +0100)]
Restore support for automake 1.9.6 with autoconf 2.61.

14 years agoImprove *printf warning condition.
Bruno Haible [Sun, 21 Feb 2010 00:04:28 +0000 (01:04 +0100)]
Improve *printf warning condition.

14 years agoTweak comments.
Bruno Haible [Sat, 20 Feb 2010 23:17:12 +0000 (00:17 +0100)]
Tweak comments.

14 years agoTweak last commit: Reduce the candidate list.
Bruno Haible [Fri, 19 Feb 2010 11:15:16 +0000 (12:15 +0100)]
Tweak last commit: Reduce the candidate list.

14 years agoMake it easier to find modules. New gnulib-tool option '--find'.
Bruno Haible [Fri, 19 Feb 2010 10:54:07 +0000 (11:54 +0100)]
Make it easier to find modules. New gnulib-tool option '--find'.

14 years agosys_select.in.h: Fix for Interix.
Simon Josefsson [Thu, 18 Feb 2010 10:22:20 +0000 (11:22 +0100)]
sys_select.in.h: Fix for Interix.

Tiny patch from Markus Duft <mduft@gentoo.org>.

14 years agoinit.sh: don't use $(...) just yet
Jim Meyering [Thu, 18 Feb 2010 09:28:24 +0000 (10:28 +0100)]
init.sh: don't use $(...) just yet

* tests/init.sh (create_exe_shim_functions_): Use `...`, not $(...),
to accommodate e.g., Solaris' /bin/sh.

14 years agoMention NetBSD 5.0 problem.
Bruno Haible [Wed, 17 Feb 2010 23:30:21 +0000 (00:30 +0100)]
Mention NetBSD 5.0 problem.

14 years agoFix typo in last change. Reported by Eric Blake <ebb9@byu.net>.
Simon Josefsson [Wed, 17 Feb 2010 12:50:10 +0000 (13:50 +0100)]
Fix typo in last change.  Reported by Eric Blake <ebb9@byu.net>.

14 years agouserspec-tests: Fix Windows link failure.
Simon Josefsson [Wed, 17 Feb 2010 12:49:21 +0000 (13:49 +0100)]
userspec-tests: Fix Windows link failure.

14 years agonetdb.h: Define AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG when needed.
Simon Josefsson [Wed, 17 Feb 2010 08:19:03 +0000 (09:19 +0100)]
netdb.h: Define AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG when needed.

14 years agoinit.sh: improve portability and efficiency
Jim Meyering [Sat, 13 Feb 2010 14:51:37 +0000 (15:51 +0100)]
init.sh: improve portability and efficiency

* tests/init.sh (find_exe_basenames_): Remove unnecessary use of
"dummy" in a for loop.
Use '!', not '^' to select the complement of a character set used
in a "case" statement.
Use shell variable manipulation, a la ${...%.exe}, rather than sed.
Suggestions from Eric Blake.

14 years agoinit.sh: automatically accommodate programs with the .exe suffix
Jim Meyering [Mon, 18 Jan 2010 07:08:18 +0000 (08:08 +0100)]
init.sh: automatically accommodate programs with the .exe suffix

Automatically arrange for an invocation of "prog" to execute the
program named "prog$EXEEXT" (usually prog.exe).  Thus, all invocations
may use the simpler "prog", yet still work when built on a system
that requires specifying the added suffix.
Do this by constructing a function named "prog" that invokes
"prog.exe" for each .exe file in selected directories.
* tests/init.sh (find_exe_basenames_): New function.
(create_exe_shim_functions_): New function.
(path_prepend_): Use it.

14 years agoautoupdate
Karl Berry [Mon, 15 Feb 2010 15:20:37 +0000 (07:20 -0800)]
autoupdate

14 years agomaint.mk: mark syntax-check sc_*.m rules as .PHONY
Jim Meyering [Mon, 15 Feb 2010 10:04:56 +0000 (11:04 +0100)]
maint.mk: mark syntax-check sc_*.m rules as .PHONY

* top/maint.mk ($(syntax-check-rules)): Add .PHONY, so that
"make -t syntax-check" doesn't create a ton of sc_*.m files.

14 years agomaint.mk: prohibit inclusion of "hash-pjw.h" without_use
Jim Meyering [Sun, 14 Feb 2010 18:28:39 +0000 (19:28 +0100)]
maint.mk: prohibit inclusion of "hash-pjw.h" without_use

* top/maint.mk (sc_prohibit_hash_without_use): Re-add "@".
(sc_prohibit_hash_pjw_without_use): New rule.

14 years agomaint.mk: allow the default upload destination dir to be overridden
Jim Meyering [Sun, 14 Feb 2010 15:42:22 +0000 (16:42 +0100)]
maint.mk: allow the default upload destination dir to be overridden

* top/maint.mk (upload_dest_dir_): Define with a default that
preserves the status quo.
(emit_upload_commands): Use it, rather than hard-coding $(PACKAGE).
Reported by Peter Simons.

14 years agomaint.mk: prohibit inclusion of "hash.h" without_use
Jim Meyering [Sun, 14 Feb 2010 10:22:29 +0000 (11:22 +0100)]
maint.mk: prohibit inclusion of "hash.h" without_use

* top/maint.mk (sc_prohibit_hash_without_use): New rule.

14 years agoupdate from texinfo
Karl Berry [Sat, 13 Feb 2010 17:17:17 +0000 (09:17 -0800)]
update from texinfo

14 years agomaint.mk: prohibit inclusion of "ignore-value.h" without_use
Jim Meyering [Wed, 10 Feb 2010 11:31:55 +0000 (12:31 +0100)]
maint.mk: prohibit inclusion of "ignore-value.h" without_use

* top/maint.mk (sc_prohibit_ignore_value_without_use): New rule.

14 years agoobstack-printf-posix: ensure declaration
Eric Blake [Mon, 8 Feb 2010 22:07:14 +0000 (15:07 -0700)]
obstack-printf-posix: ensure declaration

The replacement <stdio.h> was failing to declare obstack_printf
if obstack-printf-posix was used in isolation without unit tests.

* m4/obstack-printf.m4 (gl_DECL_OBSTACK_PRINTF): New macro,
extracted from gl_FUNC_OBSTACK_PRINTF.
(gl_FUNC_OBSTACK_PRINTF): Invoke it.
* m4/obstack-printf-posix.m4 (gl_FUNC_OBSTACK_PRINTF_POSIX):
Likewise.
* lib/stdio.in.h (obstack_printf, obstack_vprintf): Declare also
if GNULIB_OBSTACK_PRINTF_POSIX is 1 and GNULIB_OBSTACK_PRINTF is
0.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agognulib-tool: Fix typo in 2010-02-07 commit.
Bruno Haible [Mon, 8 Feb 2010 20:29:32 +0000 (21:29 +0100)]
gnulib-tool: Fix typo in 2010-02-07 commit.

14 years ago-mautoupdate
Karl Berry [Mon, 8 Feb 2010 16:48:22 +0000 (08:48 -0800)]
-mautoupdate

14 years agognulib-tool: Fix up caching patches.
Bruno Haible [Mon, 8 Feb 2010 00:08:30 +0000 (01:08 +0100)]
gnulib-tool: Fix up caching patches.

14 years agognulib-tool: Ensure cache variables are unique.
Ralf Wildenhues [Sun, 31 Jan 2010 21:37:41 +0000 (22:37 +0100)]
gnulib-tool: Ensure cache variables are unique.