]>
Commit | Line | Data |
---|---|---|
60792152 | 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 | |
60792152 | 3 | @@ -254,11 +254,11 @@ |
4 | dnl | |
5 | AC_DEFUN([AC_CHECK_CURSES_COMPILE], [ | |
6 | ||
7 | - dnl save CFLAGS and LDFLAGS and set new ones | |
8 | + dnl save CFLAGS and LIBS and set new ones | |
9 | CFLAGS_OLD=$CFLAGS | |
10 | CFLAGS="$CFLAGS $curses_includes" | |
11 | - LDFLAGS_OLD=$LDFLAGS | |
12 | - LDFLAGS="$LDFLAGS $curses_libs" | |
13 | + LIBS_OLD=$LIBS | |
14 | + LIBS="$LIBS $curses_libs" | |
15 | ||
16 | dnl do the compile test | |
17 | AC_MSG_CHECKING([if curses is usable]) | |
18 | @@ -288,7 +288,7 @@ | |
19 | ||
20 | dnl restore variables | |
21 | CFLAGS=$CFLAGS_OLD | |
22 | - LDFLAGS=$LDFLAGS_OLD | |
23 | + LIBS=$LIBS_OLD | |
24 | ||
25 | ]) | |
26 |