commit: 88b36fde36e2b0fe9dbcbf236b266cc5a28df9b8
parent 43f114a9d8b2f739a5129af7a5af8ff57eaf6445
Author: Michael Forney <mforney@mforney.org>
Date: Sun, 22 Oct 2017 21:31:38 -0700
kbd: Don't use config-posix.h
Diffstat:
3 files changed, 45 insertions(+), 3 deletions(-)
diff --git a/pkg/kbd/README.md b/pkg/kbd/README.md
@@ -0,0 +1,7 @@
+# kbd
+kbd provides keyboard layouts and utilities for the linux console.
+
+## config.h
+Generated with
+
+ ./configure --disable-vlock
diff --git a/pkg/kbd/config.h b/pkg/kbd/config.h
@@ -1,19 +1,53 @@
-#include <config-posix.h>
-
/* #undef CLOSEDIR_VOID */
/* #undef ENABLE_NLS */
+#define HAVE_ALARM 1
+#define HAVE_CHOWN 1
/* #undef HAVE_DCGETTEXT */
+#define HAVE_DIRENT_H 1
+#define HAVE_DLFCN_H 1
+#define HAVE_FCNTL_H 1
+#define HAVE_FORK 1
/* #undef HAVE_GETTEXT */
+#define HAVE_ICONV 1
+#define HAVE_INTTYPES_H 1
#define HAVE_LIBINTL_H 1
+#define HAVE_LOCALE_H 1
+#define HAVE_MALLOC 1
#define HAVE_MEMORY_H 1
+#define HAVE_MEMSET 1
/* #undef HAVE_NDIR_H */
+#define HAVE_REALLOC 1
+#define HAVE_SETLOCALE 1
+#define HAVE_SETPGRP 1
/* #undef HAVE_STAT_EMPTY_STRING_BUG */
+#define HAVE_STDINT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRCASECMP 1
+#define HAVE_STRCHR 1
+#define HAVE_STRDUP 1
+#define HAVE_STRERROR 1
+#define HAVE_STRINGS_H 1
+#define HAVE_STRING_H 1
+#define HAVE_STRSPN 1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
/* #undef HAVE_SYS_DIR_H */
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_IOCTL_H 1
/* #undef HAVE_SYS_NDIR_H */
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_WAIT_H 1
+#define HAVE_TERMIOS_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_VFORK 1
/* #undef HAVE_VFORK_H */
+#define HAVE_WORKING_FORK 1
+#define HAVE_WORKING_VFORK 1
+#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define LT_OBJDIR ".libs/"
+/* #undef NO_MINUS_C_MINUS_O */
#define PACKAGE "kbd"
#define PACKAGE_BUGREPORT "gladkov.alexey@gmail.com"
#define PACKAGE_NAME "kbd"
@@ -21,6 +55,8 @@
#define PACKAGE_TARNAME "kbd"
#define PACKAGE_URL "http://kbd-project.org/"
#define PACKAGE_VERSION "2.0.4"
+#define RETSIGTYPE void
+#define STDC_HEADERS 1
/* #undef TM_IN_SYS_TIME */
#define VERSION "2.0.4"
/* #undef YYTEXT_POINTER */
diff --git a/pkg/kbd/gen.lua b/pkg/kbd/gen.lua
@@ -1,6 +1,5 @@
cflags{
[[-D 'DATADIR="/share/kbd"']],
- '-I include',
'-I $dir',
'-I $srcdir',
'-I $srcdir/src',