* configure.ac (gl_INIT): Add gnulib stuff.
authorWerner Koch <wk@gnupg.org>
Wed, 1 Jun 2005 15:46:01 +0000 (15:46 +0000)
committerWerner Koch <wk@gnupg.org>
Wed, 1 Jun 2005 15:46:01 +0000 (15:46 +0000)
commitcad9562436e61cdaf1a2f03ba96bcc82077205e6
tree6db1dde6998d0ad1ae13a4581f66cace736a2399
parent6e522257a9beb9e7b12888533c9274f1e198ff0d
* configure.ac (gl_INIT): Add gnulib stuff.
(fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS
by a simple check.
(putc_unlocked): Removed check.  Not used.
(strsep, mkdtemp, asprintf): Replaced checks by gnulib checks.
(xsize): Added will probably come handy soon.
(CFLAGS): Use -Wformat-security instead of
-Wformat-nonliteral. Add --Wno-format-y2k.
* gl/, gl/m4/: New.

* gpg-agent.c: Include setenv.h.

* Makefile.am (AM_CPPFLAGS): Added.

* util.h: Add some includes for gnulib.
(ttyname, isascii): Define them inline.
* fseeko.c, ftello.c: Removed.
* strsep.c, mkdtemp.c: Removed.
* ttyname.c, isascii.c: Removed.

* mkdtemp.c: Removed.
* exec.c: Include mkdtemp.h

* keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement
function.  Copied from ../common/ftello.c.
* keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement
function.  Copied from ../common/iobuf.c.

* scdaemon.c: Include mkdtemp.h.

* misc.c: Include setenv.h.

* symcryptrun.c: Include mkdtemp.h.
34 files changed:
ChangeLog
Makefile.am
agent/ChangeLog
agent/Makefile.am
agent/gpg-agent.c
autogen.sh
common/ChangeLog
common/Makefile.am
common/fseeko.c [deleted file]
common/ftello.c [deleted file]
common/mkdtemp.c [deleted file]
common/putc_unlocked.c [deleted file]
common/strsep.c [deleted file]
common/ttyname.c [deleted file]
common/util.h
common/xasprintf.c
configure.ac
g10/ChangeLog
g10/Makefile.am
g10/exec.c
g10/mkdtemp.c [deleted file]
kbx/ChangeLog
kbx/Makefile.am
kbx/keybox-file.c
kbx/keybox-update.c
scd/ChangeLog
scd/Makefile.am
scd/scdaemon.c
sm/ChangeLog
sm/Makefile.am
sm/misc.c
tools/ChangeLog
tools/Makefile.am
tools/symcryptrun.c