build: Remove gnulib.

As part of our efforts to clean up and simplify libguestfs, removing
gnulib deletes a large dependency that we mostly no longer use and
causes problems for new users trying to build the library from source.

A few modules from gnulib are still used (under a compatible license)
and these are copied into gnulib/lib/
This commit is contained in:
Richard W.M. Jones
2021-04-06 11:30:42 +01:00
parent 48e7520ec5
commit 0f54df53d2
50 changed files with 3964 additions and 798 deletions

View File

@@ -33,6 +33,7 @@
#include <signal.h>
#include <errno.h>
#include <error.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <locale.h>
@@ -52,7 +53,6 @@
#include "progress.h"
#include "c-ctype.h"
#include "closeout.h"
#include "ignore-value.h"
#include "getprogname.h"
@@ -178,9 +178,6 @@ usage (int status)
int
main (int argc, char *argv[])
{
/* Initialize gnulib closeout module. */
atexit (close_stdout);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEBASEDIR);
textdomain (PACKAGE);