1 --- pinfo-0.6.9/macros/curses.m4~ 2006-03-09 20:44:38.000000000 +0100
2 +++ pinfo-0.6.9/macros/curses.m4 2007-02-28 00:11:39.000000000 +0100
8 + curses_libs="$3 -ltinfo"
14 AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
16 - dnl save CFLAGS and LDFLAGS and set new ones
17 + dnl save CFLAGS and LIBS and set new ones
19 CFLAGS="$CFLAGS $curses_includes"
20 - LDFLAGS_OLD=$LDFLAGS
21 - LDFLAGS="$LDFLAGS $curses_libs"
23 + LIBS="$LIBS $curses_libs"
25 dnl do the compile test
26 AC_MSG_CHECKING([if curses is usable])
31 - LDFLAGS=$LDFLAGS_OLD