From e16cbdb249fb37fcf577b69b4f37504823940d14 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 12 Jul 2012 23:41:45 +0100 Subject: [PATCH] Change build to work without ncurses pkg-config --- Makefile.am | 2 +- configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index b1498e8e..1a50dfd8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ profanity_SOURCES = src/command.c src/contact.c src/history.c src/jabber.h \ src/main.c src/profanity.h src/prof_history.h src/util.c profanity_CFLAGS = -O3 -Werror -Wall -Wextra -Wno-unused-parameter \ -Wno-unused-but-set-variable -Wno-unused-result \ - -lstrophe -lxml2 -lexpat $(DEPS_CFLAGS) $(DEPS_LIBS) -lresolv \ + -lstrophe -lxml2 -lexpat -lncurses $(DEPS_CFLAGS) $(DEPS_LIBS) -lresolv \ $(NOTIFY_CFLAGS) $(NOTIFY_LIBS) TESTS = tests/testsuite diff --git a/configure.ac b/configure.ac index c211d106..0030c54a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_PREREQ([2.68]) +AC_PREREQ([2.67]) AC_INIT([profanity], [0.10], [boothj5web@gmail.com]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADERS([src/config.h]) @@ -34,7 +34,7 @@ AC_CHECK_LIB([headunit], [main], [], # Checks for header files. AC_CHECK_HEADERS([stdlib.h string.h]) -PKG_CHECK_MODULES([DEPS], [ncurses openssl glib-2.0]) +PKG_CHECK_MODULES([DEPS], [openssl glib-2.0]) PKG_CHECK_MODULES([NOTIFY], [libnotify], [], [AC_MSG_NOTICE([libnotify module not found])])