mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Change build to work without ncurses pkg-config
This commit is contained in:
parent
81a6d671d0
commit
e16cbdb249
@ -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
|
||||
|
@ -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])])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user