configure: Fix compiler warning in config.log (integer from pointer)
warning: return makes integer from pointer without a cast v2: Removed type cast. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
182eacc0fd
commit
ef9a252442
6
configure
vendored
6
configure
vendored
@ -1841,7 +1841,11 @@ if test "$curses" != "no" ; then
|
|||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
#define resize_term resizeterm
|
#define resize_term resizeterm
|
||||||
#endif
|
#endif
|
||||||
int main(void) { resize_term(0, 0); return curses_version(); }
|
int main(void) {
|
||||||
|
const char *s = curses_version();
|
||||||
|
resize_term(0, 0);
|
||||||
|
return s != 0;
|
||||||
|
}
|
||||||
EOF
|
EOF
|
||||||
for curses_lib in $curses_list; do
|
for curses_lib in $curses_list; do
|
||||||
if compile_prog "" "$curses_lib" ; then
|
if compile_prog "" "$curses_lib" ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user