Lines 257-264
AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
Link Here
|
257 |
dnl save CFLAGS and LDFLAGS and set new ones |
257 |
dnl save CFLAGS and LDFLAGS and set new ones |
258 |
CFLAGS_OLD=$CFLAGS |
258 |
CFLAGS_OLD=$CFLAGS |
259 |
CFLAGS="$CFLAGS $curses_includes" |
259 |
CFLAGS="$CFLAGS $curses_includes" |
260 |
LDFLAGS_OLD=$LDFLAGS |
260 |
LIBS_OLD=$LIBS |
261 |
LDFLAGS="$LDFLAGS $curses_libs" |
261 |
LIBS="$LIBS $curses_libs" |
262 |
|
262 |
|
263 |
dnl do the compile test |
263 |
dnl do the compile test |
264 |
AC_MSG_CHECKING([if curses is usable]) |
264 |
AC_MSG_CHECKING([if curses is usable]) |
Lines 288-294
AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
Link Here
|
288 |
|
288 |
|
289 |
dnl restore variables |
289 |
dnl restore variables |
290 |
CFLAGS=$CFLAGS_OLD |
290 |
CFLAGS=$CFLAGS_OLD |
291 |
LDFLAGS=$LDFLAGS_OLD |
291 |
LIBS=$LIBS_OLD |
292 |
|
292 |
|
293 |
]) |
293 |
]) |
294 |
|
294 |
|
295 |
- |
|
|