This commit is contained in:
= 2015-07-01 15:25:05 -07:00
parent 15a430c93a
commit 2cb39990ef
3 changed files with 2 additions and 6 deletions

View File

@ -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}

View File

@ -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], [], [], [[

Binary file not shown.