Remove use of gnulib (part 2)
authorWerner Koch <wk@gnupg.org>
Tue, 11 Nov 2014 14:14:31 +0000 (15:14 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 11 Nov 2014 14:14:31 +0000 (15:14 +0100)
commitb8cdfac353ad96d4ef025c066c16dbde34805661
treef26e4c6589c0dfc0bb8ff25b645262eb05d24677
parent1adf719b2d8e2d5b912bf6655731e7e586402654
Remove use of gnulib (part 2)

* configure.ac (strpbrk): Add to AC_CHECK_FUNCS.
(gl_EARLY): Remove.
* common/stringhelp.c (strpbrk) [!HAVE_STRPBRK]: New.
* common/sysutils.c (gnupg_mkdtemp): New.  Based on code from
glibc-2.6.
(gnupg_setenv): Rewrite.
(gnupg_unsetenv): Rewrite.
* g10/exec.c: Include sysutils.h and replace mkdtemp by gnupg_mkdtemp.
* g13/be-encfs.c: Ditto.
* g13/mount.c: Ditto.
* tools/symcryptrun.c (confucius_mktmpdir): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/stringhelp.c
common/stringhelp.h
common/sysutils.c
common/sysutils.h
common/t-sysutils.c
configure.ac
g10/exec.c
g13/be-encfs.c
g13/mount.c
tools/symcryptrun.c