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 cb04fff..934d5a6 100755 Binary files a/examples/test and b/examples/test differ