Commit | Line | Data |
---|---|---|
b35f4f07 FF |
1 | diff -u -r ../cgdb-0.7.0/configure ./configure |
2 | --- ../cgdb-0.7.0/configure 2017-03-21 14:30:21.000000000 +0100 | |
3 | +++ ./configure 2017-05-23 00:03:31.352677383 +0200 | |
4 | @@ -6146,41 +6146,8 @@ | |
5 | curses_lib_name="curses" | |
6 | fi | |
7 | ||
8 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking attribute printf support" >&5 | |
9 | -$as_echo_n "checking Checking attribute printf support... " >&6; } | |
10 | - if test "$cross_compiling" = yes; then : | |
11 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
12 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
13 | -as_fn_error $? "cannot run test program while cross compiling | |
14 | -See \`config.log' for more details" "$LINENO" 5; } | |
15 | -else | |
16 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
17 | -/* end confdefs.h. */ | |
18 | - | |
19 | -#include <stdlib.h> | |
20 | - | |
21 | -static void test(const char *fmt, ...) __attribute__((format(__printf__, 1, 2))); | |
22 | -static void test(const char *fmt, ...) { (void)fmt; } | |
23 | - | |
24 | -int main() { | |
25 | - test("foobar"); | |
26 | - return 0; | |
27 | -} | |
28 | -_ACEOF | |
29 | -if ac_fn_c_try_run "$LINENO"; then : | |
30 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
31 | -$as_echo "yes" >&6; } | |
32 | - | |
33 | $as_echo "#define HAVE_ATTRIBUTE_PRINTF 1" >>confdefs.h | |
34 | ||
35 | -else | |
36 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
37 | -$as_echo "no" >&6; } | |
38 | -fi | |
39 | -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
40 | - conftest.$ac_objext conftest.beam conftest.$ac_ext | |
41 | -fi | |
42 | - | |
43 | ||
44 | ||
45 | if test "X$bash_cv_termcap_lib" = "X"; then |