From 582d3bf96bc0ff3e3b242536d2433a8ed8d01e40 Mon Sep 17 00:00:00 2001 From: Joshua Judson Rosen Date: Fri, 31 Mar 2017 05:28:00 -0400 Subject: Drop undocumented readline dependency Yet another of the niceties that comes out of just using guile's REPL is that readline support is just figured out when building guile; so by the time gnurobots is being built, readline support is either there or it isn't--and even if our guile isn't readline-enabled, we can still just run without readline (though, in practice, I don't think I've ever seen a build of guile in the last 15 years that didn't have readline...). --- src/Makefile.am | 4 ++-- src/ui-cmdwin.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 75f16de..4900c93 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,7 @@ bin_PROGRAMS = gnurobots AM_CFLAGS = -pedantic-errors -Werror -Wall -INCLUDES = $(GUILE_CFLAGS) $(READLINE_CFLAGS) $(GTK2_CFLAGS) \ +INCLUDES = $(GUILE_CFLAGS) $(GTK2_CFLAGS) \ $(VTE_CFLAGS) $(GTHREAD2_CFLAGS) \ -I$(top_builddir)/include \ -DPKGLIBDIR=\"$(pkglibdir)\" \ @@ -30,5 +30,5 @@ INCLUDES = $(GUILE_CFLAGS) $(READLINE_CFLAGS) $(GTK2_CFLAGS) \ gnurobots_SOURCES = main.c api.c map.c grobot.c \ ui-window.c ui-cmdwin.c ui-arena.c -gnurobots_LDFLAGS = $(GUILE_LDFLAGS) $(READLINE_LIBS) $(GTHREAD2_LIBS) \ +gnurobots_LDFLAGS = $(GUILE_LDFLAGS) $(GTHREAD2_LIBS) \ $(GTK2_LIBS) $(VTE_LIBS) -lutil diff --git a/src/ui-cmdwin.c b/src/ui-cmdwin.c index 003b845..f48e72f 100644 --- a/src/ui-cmdwin.c +++ b/src/ui-cmdwin.c @@ -22,8 +22,6 @@ #include #include -#include -#include struct _UICmdWinPrivate { -- cgit v1.1