]>
Commit | Line | Data |
---|---|---|
2c61822f | 1 | --- squidview-0.78/configure.in.orig 2011-01-20 03:22:46.000000000 +0100 |
2 | +++ squidview-0.78/configure.in 2011-02-02 23:59:12.335738189 +0100 | |
3 | @@ -5,7 +5,7 @@ if test "x$sv_curses" = xno; then | |
4 | sv_pass="no" | |
5 | AC_MSG_CHECKING([name is $sv_test]) | |
6 | LIBS="-l$sv_test" | |
7 | - AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curses.h>], [initscr();])], | |
8 | + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ncurses/curses.h>], [initscr();])], | |
9 | [sv_pass="yes"]) | |
10 | AC_MSG_RESULT([$sv_pass]) | |
11 | test "$sv_pass" = yes && sv_curses=$sv_test | |
12 | @@ -19,7 +19,7 @@ AM_INIT_AUTOMAKE(squidview,0.78) | |
8f49d164 AA |
13 | AC_PROG_CXX |
14 | AC_PROG_INSTALL | |
15 | ||
2c61822f | 16 | -AC_CHECK_HEADERS(curses.h, signal.h sys/time.h sys/types.h sys/stat.h \ |
8f49d164 | 17 | +AC_CHECK_HEADERS(ncurses/curses.h signal.h sys/time.h sys/types.h sys/stat.h \ |
2c61822f | 18 | unistd.h fcntl.h time.h stdlib.h math.h stdio.h,, \ |
8f49d164 | 19 | AC_MSG_ERROR([header missing])) |
2c61822f | 20 |