543dd9f689
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/pinfo#33f9551bc874c81c25bf902bbbafe0a80848a7af
23 lines
457 B
Diff
23 lines
457 B
Diff
--- a/macros/curses.m4
|
|
+++ b/macros/curses.m4
|
|
@@ -257,8 +257,8 @@
|
|
dnl save CFLAGS and LDFLAGS and set new ones
|
|
CFLAGS_OLD=$CFLAGS
|
|
CFLAGS="$CFLAGS $curses_includes"
|
|
- LDFLAGS_OLD=$LDFLAGS
|
|
- LDFLAGS="$LDFLAGS $curses_libs"
|
|
+ LIBS_OLD=$LIBS
|
|
+ LIBS="$LIBS $curses_libs"
|
|
|
|
dnl do the compile test
|
|
AC_MSG_CHECKING([if curses is usable])
|
|
@@ -288,7 +288,7 @@
|
|
|
|
dnl restore variables
|
|
CFLAGS=$CFLAGS_OLD
|
|
- LDFLAGS=$LDFLAGS_OLD
|
|
+ LIBS=$LIBS_OLD
|
|
|
|
])
|
|
|