configury: use AM_PROG_AR for automake 1.13.

* configure.ac (AM_PROG_AR): Required by recent automake releases,
but not available in very old releases.
configury: keep gnulib revision under version control.

It's important to keep the gnulib revision number used by any
particular checkout of luaposix under version control rather than
hoping that whatever the current HEAD is will work.
* .gitignore: Remove gnulib.
* gnulib: Add current master revision.
bootstrap: sync with upstream.

This revision fixes some small bugs, and is compatible with
non-gnu awk and non-gnu sed again.
* bootstrap: sync with upstream.
configury: remove automake -Werror option.

This option causes automake to bail out after warning about the
use of gmake extensions.
* configure.ac (AM_INIT_AUTOMAKE): Remove -Werror.
configury: no need to fork for libtool.m4 variables.

libtool.m4 is expanded into configure already, so the values are
available after LT_INIT in configure.in without creating config.lt
to copy the values we already have into an early libtool script,
and then fork again to grep the content of those copies back into
configure!!  (LT_OUTPUT is only necessary if you need to run
configure time compilation tests using the libtool script to
wrap the actual compiler).
* configure.ac (LT_OUTPUT): Remove.
(shrext): shrext_cmds is already set by LT_INIT, so just use it
without calling the early libtool script.
curses: don't waddstr() each string twice.

Fix a bug introduced by commit 5aa297512.
* lcurses.c (Waddstr): Only add the string one time!
curses: conditional resizeterm support.

* configure.ac (AC_CHECK_FUNCS): Check whether resizeterm is
implemented by the selected curses library.
* lcurses.c (Cresizeterm): If it is, use it, otherwis throw an
error to explain why not.
(curseslib): Add it to the toplevel curses functions.
Merge pull request #54 from gvvaughan/pull-request/no-need-for-lt-output

configury: no need to fork for libtool.m4 variables.
Merge pull request #51 from gvvaughan/pull-request/sync-upstream-bootstrap

bootstrap: sync with upstream.
Merge pull request #50 from gvvaughan/pull-request/keep-gnulib-revision-under-version-control

configury: keep gnulib revision under version control.
Merge pull request #52 from gvvaughan/pull-request/add-am-prog-ar

configury: use AM_PROG_AR for automake 1.13.
Merge pull request #53 from gvvaughan/pull-request/remove-automake-werror

configury: remove automake -Werror option.
Merge pull request #55 from gvvaughan/pull-request/fix-waddstr-double-append-bug

curses: don't waddstr() each string twice.
Merge pull request #56 from gvvaughan/pull-request/curses-resizeterm-support

curses: conditional resizeterm support.
configury: handle missing ldoc binary.

* configure.ac (LDOC): Set with AX_WITH_PROG.
(HAVE_LDOC): New conditional.
* Makefile.am (HTML): Fold into...
(dist_doc_DATA): ...here.
Run ldoc when available, otherwise touch the requried files to
prevent build failure.
Merge pull request #59 from gvvaughan/pull-request/handle-missing-ldoc

configury: handle missing ldoc binary.