From 2cb39990ef42eda6dff04d2c5d4ec63407d9487b Mon Sep 17 00:00:00 2001
From: = <=>
Date: Wed, 1 Jul 2015 15:25:05 -0700
Subject: [PATCH] Fixes
---
Makefile.am | 2 +-
configure.ac | 6 +-----
examples/test | Bin 8696 -> 8097 bytes
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 55fe1b0..14a587c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,7 @@ libtool: $(LIBTOOL_DEPS)
lib_LTLIBRARIES = libpipecolors.la
libpipecolors_la_SOURCES = libpipecolors.cpp
-libpipecolors_la_LIBADD = -ltermcap
+#libpipecolors_la_LIBADD = -ltermcap
libpipecolors_la_CFLAGS = -fPIC -DPIC -pthread
libpipecolors_la_LDFLAGS = -module \
-release ${PIPECOLORS_VERSION}
diff --git a/configure.ac b/configure.ac
index bc75db5..2acab6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,11 +80,7 @@ AC_HEADER_STDC
AC_CHECK_FUNCS([vprintf vsprintf printf])
# Checks for libraries.
-AC_CHECK_HEADERS([stdarg.h regex.h termcap.h])
-AC_CHECK_LIB([termcap], [getenv], [termcap=yes], [termcap=no])
-if test "${termcap}" = "no"; then
- AC_MSG_ERROR([requirement not found : getenv in -ltermcap])
-fi
+AC_CHECK_HEADERS([stdarg.h regex.h])
AC_CHECK_TYPE([size_t])
AC_CHECK_TYPES([std::string], [], [], [[
diff --git a/examples/test b/examples/test
index cb04fffbbac151440c8a000f278959de49658425..934d5a6cdd1357706bd23c8fa3374bb742115d57 100755
GIT binary patch
literal 8097
zcmeHMYj7LY6~2;e$9W(tffP49vTeyUJiM$N$2g@eD?3is;D8BENom7MvDUFVvLvK+
zaHyt)nxu6}XolCM{n2JxhT#Wv@{57alsF9~Y5NDtFq4_K)3k-D!=rVkz~o1X`klM?
zNUOC>nRfb*quD+8eCKiRUfp|k@4ff;4{i#FLV_tQzAQ+ZX)z__-Gw-^T#5?o5le(A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