* [kbd] [PATCH 1/2] [loadkeys branch] fix up libtool warnings
@ 2013-01-20 18:32 Mike Frysinger
2013-01-20 18:32 ` [kbd] [PATCH 2/2] [loadkeys branch] delete unused var Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2013-01-20 18:32 UTC (permalink / raw)
To: kbd
Use AM_PROG_AR with newer automake, and drop old libtool prog.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c89b042..15fa07d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,9 +23,10 @@ AC_PROG_SED
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_PROG_LIBTOOL
AC_CANONICAL_HOST
+dnl older versions of automake didn't include this macro
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_INIT
AM_GNU_GETTEXT_VERSION([0.14.1])
--
1.8.0.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [kbd] [PATCH 2/2] [loadkeys branch] delete unused var
2013-01-20 18:32 [kbd] [PATCH 1/2] [loadkeys branch] fix up libtool warnings Mike Frysinger
@ 2013-01-20 18:32 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2013-01-20 18:32 UTC (permalink / raw)
To: kbd
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
src/getkeycodes.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/getkeycodes.c b/src/getkeycodes.c
index 9bee144..9d6fad6 100644
--- a/src/getkeycodes.c
+++ b/src/getkeycodes.c
@@ -24,7 +24,6 @@ main(int argc, char **argv) {
int fd;
unsigned int sc, sc0;
struct kbkeycode a;
- int old_kernel = 0;
set_progname(argv[0]);
@@ -43,7 +42,6 @@ main(int argc, char **argv) {
a.scancode = 0;
a.keycode = 0;
if (ioctl(fd, KDGETKEYCODE, &a)) {
- old_kernel = 1;
sc0 = 89;
} else
for (sc0 = 1; sc0 <= 88; sc0++) {
--
1.8.0.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-20 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-20 18:32 [kbd] [PATCH 1/2] [loadkeys branch] fix up libtool warnings Mike Frysinger
2013-01-20 18:32 ` [kbd] [PATCH 2/2] [loadkeys branch] delete unused var Mike Frysinger
Linux console tools development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
public-inbox-index kbd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.kbd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git