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
5 AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
7 - dnl save CFLAGS and LDFLAGS and set new ones
8 + dnl save CFLAGS and LIBS and set new ones
10 CFLAGS="$CFLAGS $curses_includes"
11 - LDFLAGS_OLD=$LDFLAGS
12 - LDFLAGS="$LDFLAGS $curses_libs"
14 + LIBS="$LIBS $curses_libs"
16 dnl do the compile test
17 AC_MSG_CHECKING([if curses is usable])
22 - LDFLAGS=$LDFLAGS_OLD