summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/Makefile.am
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-07-19 17:07:31 -0700
committerGeoff Levand <geoff@infradead.org>2013-07-23 10:39:08 -0700
commitf1599796efed1eb67759cf42f47fe4bf6a9bf93c (patch)
tree5cf13ffb598e62a45ed9830f76a74958785b2a44 /ui/ncurses/Makefile.am
parentf2747434dcdfe71c3a4d1b841070f4c9d8dc4965 (diff)
downloadtalos-petitboot-f1599796efed1eb67759cf42f47fe4bf6a9bf93c.tar.gz
talos-petitboot-f1599796efed1eb67759cf42f47fe4bf6a9bf93c.zip
configure: Update to use AX_WITH_CURSES
For a more portable build system convert to using the autoconf-archive AX_WITH_CURSES macros. Allows building on openSUSE, which has a different header file layout than other distros, and fixes menu entries with UTF-8 characters; this causes fedora installs (codename "Schrödinger´s cat") to break the UI. Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui/ncurses/Makefile.am')
-rw-r--r--ui/ncurses/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/ncurses/Makefile.am b/ui/ncurses/Makefile.am
index 6d360d2..64b6eb1 100644
--- a/ui/ncurses/Makefile.am
+++ b/ui/ncurses/Makefile.am
@@ -20,12 +20,11 @@ AM_CPPFLAGS = \
AM_CFLAGS = \
$(DEFAULT_CFLAGS)
-AM_LDFLAGS = -lmenu -lform -lncurses
-
common_libs = \
libpbnc.la \
$(top_builddir)/ui/common/libpbui.la \
- $(top_builddir)/lib/libpbcore.la
+ $(top_builddir)/lib/libpbcore.la \
+ @MENU_LIB@ @FORM_LIB@ @CURSES_LIB@
noinst_LTLIBRARIES = libpbnc.la
OpenPOWER on IntegriCloud