Some cleanup:

Changed the optimization value to -O3
Moved the (n)curses autoconf tests to the (n)curses driver section.
Removed commented commands in configure.in
Added define ACS_* test for curses driver
This commit is contained in:
gfk
2001-10-31 22:05:14 +00:00
parent 7a4f465560
commit 39874bbf87
4 changed files with 57 additions and 20 deletions
+7 -3
View File
@@ -454,10 +454,14 @@ curses_drv_num (int x, int num)
void
curses_drv_vbar (int x, int len)
{
//char map[] = "_.,,ooO8";
char map[] = { ACS_S9, ACS_S9, ACS_S7, ACS_S7, ACS_S3, ACS_S3, ACS_S1, ACS_S1 };
int y;
// Some curses.h do not define ACS_S* preprocessor macros, so we take a guess.
#ifdef DEFINED_ACS
char map[] = { ACS_S9, ACS_S9, ACS_S7, ACS_S7, ACS_S3, ACS_S3, ACS_S1, ACS_S1 };
#else
char map[] = "_.,,ooO8";
#endif
ValidX(x);
#define MAX_LINES (curses_drv->cellhgt * curses_drv->hgt)