aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-24 13:57:38 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-24 14:08:06 +0300
commitcaed2e42c7257a386ed433a8bccba028cc9437c8 (patch)
tree67834b37814a2fa96e897872f90618043c6ea03b /contrib
parentef897b418a4487196e1dbc18a97046f8f0aea2e8 (diff)
downloadsciteco-caed2e42c7257a386ed433a8bccba028cc9437c8.tar.gz
added AX_WITH_CURSES for more robust ncurses checks
* Turns out that on SunOS/OmniOS the ncurses port does not ship with a ncursesw pkg-config file, but the ncurses file is for a version, that does contain widechar support as well. * Instead of adding yet another recursive PKG_CHECK_MODULES() call, we now use the AX_WITH_CURSES() macro, which is probably more robust. This should at least fix ./configure on OmniOS. * It also adds a number of feature C macros, that could be useful to check in the future. * At the moment, we strive to support all X/Open-compatible Curses libraries, but both enhanced and color functions are required. Therefore plain SVr4 Curses is not supported. * source: https://www.gnu.org/software/autoconf-archive/ax_with_curses.html
Diffstat (limited to 'contrib')
-rw-r--r--contrib/scintilla.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scintilla.am b/contrib/scintilla.am
index 9ba728b..46159c1 100644
--- a/contrib/scintilla.am
+++ b/contrib/scintilla.am
@@ -26,7 +26,7 @@ MAKE_SCINTILLA = $(MAKE) -C @top_builddir@/contrib/scintilla/bin \
srcdir=@SCINTERM_PATH@ basedir=@SCINTILLA_PATH@ \
scintilla=$(LIBSCINTILLA) \
CXXFLAGS='@SCINTILLA_CXXFLAGS@' \
- CURSES_FLAGS='@PDCURSES_CFLAGS@ @XCURSES_CFLAGS@ @NCURSES_CFLAGS@'
+ CURSES_FLAGS='@PDCURSES_CFLAGS@ @XCURSES_CFLAGS@ @CURSES_CFLAGS@'
endif
# Pass toolchain configuration to Scintilla.