changeset 222:a666e4a034ed

Fix curses library detection. A custom autoconf macro searched for the curses library, and provided an option to use ncurses instead of a (presumably deficient) curses implementation. Unfortunately, some of the Makefiles ignored the search's results. Now that this is fixed, building against pdcurses should be easier too.
author John "Elwin" Edwards
date Fri, 12 Feb 2016 15:12:37 -0500
parents 71cb5b647f2b
children 0e99eade579c
files arogue5/Makefile.in rogue3/Makefile.in srogue/Makefile.in
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/arogue5/Makefile.in	Fri Feb 12 14:25:47 2016 -0500
+++ b/arogue5/Makefile.in	Fri Feb 12 15:12:37 2016 -0500
@@ -54,7 +54,7 @@
 CC    = gcc
 CPPFLAGS =@DEFS@
 CFLAGS=
-CRLIB = -lcurses
+CRLIB = @LIBS@
 RM    = rm -f
 TAR   = tar
 INSTALL=@INSTALL@
--- a/rogue3/Makefile.in	Fri Feb 12 14:25:47 2016 -0500
+++ b/rogue3/Makefile.in	Fri Feb 12 15:12:37 2016 -0500
@@ -57,7 +57,7 @@
 ROPTS =
 COPTS =
 CFLAGS= $(COPTS) $(ROPTS)
-LIBS  = -lcurses
+LIBS  = @LIBS@
 RM    = rm -f
 LD    = $(CC)
 LDOUT = -o 
--- a/srogue/Makefile.in	Fri Feb 12 14:25:47 2016 -0500
+++ b/srogue/Makefile.in	Fri Feb 12 15:12:37 2016 -0500
@@ -44,7 +44,7 @@
 CC    = gcc
 CFLAGS=
 CPPFLAGS=@DEFS@
-CRLIB = -lcurses
+CRLIB = @LIBS@
 RM    = rm -f
 TAR   = tar
 INSTALL=@INSTALL@