Line 0
Link Here
|
|
|
1 |
--- configure.orig 2013-06-09 11:59:19.000000000 -0700 |
2 |
+++ configure 2014-07-27 14:46:31.000000000 -0700 |
3 |
@@ -4233,9 +4233,9 @@ |
4 |
|
5 |
done |
6 |
|
7 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf_c_data_buffer_init in -lprotobuf-c" >&5 |
8 |
-$as_echo_n "checking for protobuf_c_data_buffer_init in -lprotobuf-c... " >&6; } |
9 |
-if ${ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init+:} false; then : |
10 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf_c_version_number in -lprotobuf-c" >&5 |
11 |
+$as_echo_n "checking for protobuf_c_version_number in -lprotobuf-c... " >&6; } |
12 |
+if ${ac_cv_lib_protobuf_c_version_number+:} false; then : |
13 |
$as_echo_n "(cached) " >&6 |
14 |
else |
15 |
ac_check_lib_save_LIBS=$LIBS |
16 |
@@ -4246,30 +4246,31 @@ |
17 |
/* Override any GCC internal prototype to avoid an error. |
18 |
Use char because int might match the return type of a GCC |
19 |
builtin and then its argument prototype would still apply. */ |
20 |
+#include <stdint.h> |
21 |
#ifdef __cplusplus |
22 |
extern "C" |
23 |
#endif |
24 |
-char protobuf_c_data_buffer_init (); |
25 |
+uint32_t protobuf_c_version_number (); |
26 |
int |
27 |
main () |
28 |
{ |
29 |
-return protobuf_c_data_buffer_init (); |
30 |
+return protobuf_c_version_number () == 0; |
31 |
; |
32 |
return 0; |
33 |
} |
34 |
_ACEOF |
35 |
if ac_fn_c_try_link "$LINENO"; then : |
36 |
- ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init=yes |
37 |
+ ac_cv_lib_protobuf_c_version_number=yes |
38 |
else |
39 |
- ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init=no |
40 |
+ ac_cv_lib_protobuf_c_version_number=no |
41 |
fi |
42 |
rm -f core conftest.err conftest.$ac_objext \ |
43 |
conftest$ac_exeext conftest.$ac_ext |
44 |
LIBS=$ac_check_lib_save_LIBS |
45 |
fi |
46 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" >&5 |
47 |
-$as_echo "$ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" >&6; } |
48 |
-if test "x$ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" = xyes; then : |
49 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_protobuf_c_version_number" >&5 |
50 |
+$as_echo "$ac_cv_lib_protobuf_c_version_number" >&6; } |
51 |
+if test "x$ac_cv_lib_protobuf_c_version_number" = xyes; then : |
52 |
cat >>confdefs.h <<_ACEOF |
53 |
#define HAVE_LIBPROTOBUF_C 1 |
54 |
_ACEOF |