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.
This commit is contained in:
John "Elwin" Edwards 2016-02-12 15:12:37 -05:00
parent c4365554c4
commit eab5aa2ec4
3 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ DOCS= arogue58.doc arogue58.html
CC = gcc CC = gcc
CPPFLAGS =@DEFS@ CPPFLAGS =@DEFS@
CFLAGS= CFLAGS=
CRLIB = -lcurses CRLIB = @LIBS@
RM = rm -f RM = rm -f
TAR = tar TAR = tar
INSTALL=@INSTALL@ INSTALL=@INSTALL@

View file

@ -57,7 +57,7 @@ CPPFLAGS =@DEFS@
ROPTS = ROPTS =
COPTS = COPTS =
CFLAGS= $(COPTS) $(ROPTS) CFLAGS= $(COPTS) $(ROPTS)
LIBS = -lcurses LIBS = @LIBS@
RM = rm -f RM = rm -f
LD = $(CC) LD = $(CC)
LDOUT = -o LDOUT = -o

View file

@ -44,7 +44,7 @@ MISC= Makefile LICENSE.TXT rogue.nr
CC = gcc CC = gcc
CFLAGS= CFLAGS=
CPPFLAGS=@DEFS@ CPPFLAGS=@DEFS@
CRLIB = -lcurses CRLIB = @LIBS@
RM = rm -f RM = rm -f
TAR = tar TAR = tar
INSTALL=@INSTALL@ INSTALL=@INSTALL@