New upstream version 1.3.3
Robert Edmonds
4 years ago
0 | protobuf-c (1.3.3) | |
1 | ||
2 | [ Robert Edmonds ] | |
3 | * Release 1.3.3. | |
4 | ||
5 | * Fix build failure on protobuf 2.x (#398). | |
6 | ||
7 | [ msshapira ] | |
8 | * CMake: Fix support for MSVC static build (#350). | |
9 | ||
10 | [ Adam Cozzette ] | |
11 | * Fix some test assertions in test-generated-code2.c (#392). | |
12 | ||
13 | [ Ilya Lipnitskiy ] | |
14 | * protobuf-c.c: Make zigzag encoding more compact (#400). | |
15 | ||
16 | [ Markus Engel ] | |
17 | * CMake: Fix endianness check. | |
18 | ||
0 | 19 | protobuf-c (1.3.2) |
20 | ||
1 | 21 | [ Robert Edmonds ] |
2 | 22 | * Release 1.3.2. |
3 | 23 |
250 | 250 | t/issue251/issue251.proto |
251 | 251 | |
252 | 252 | # Issue #330 |
253 | if BUILD_PROTO3 | |
253 | 254 | check_PROGRAMS += \ |
254 | 255 | t/issue330/issue330 |
255 | 256 | TESTS += \ |
263 | 264 | $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue330/issue330.proto |
264 | 265 | BUILT_SOURCES += \ |
265 | 266 | t/issue330/issue330.pb-c.c t/issue330/issue330.pb-c.h |
267 | endif # BUILD_PROTO3 | |
266 | 268 | EXTRA_DIST += \ |
267 | 269 | t/issue330/issue330.proto |
268 | 270 |
91 | 91 | build_triplet = @build@ |
92 | 92 | host_triplet = @host@ |
93 | 93 | bin_PROGRAMS = $(am__EXEEXT_1) |
94 | check_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) | |
95 | noinst_PROGRAMS = $(am__EXEEXT_5) | |
96 | TESTS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) | |
94 | check_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \ | |
95 | $(am__EXEEXT_5) $(am__EXEEXT_6) | |
96 | noinst_PROGRAMS = $(am__EXEEXT_7) | |
97 | TESTS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \ | |
98 | $(am__EXEEXT_5) $(am__EXEEXT_6) | |
97 | 99 | @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = \ |
98 | 100 | @HAVE_LD_VERSION_SCRIPT_TRUE@ -Wl,--version-script=$(top_srcdir)/protobuf-c/libprotobuf-c.sym |
99 | 101 | |
138 | 140 | # Issue #220 |
139 | 141 | |
140 | 142 | # Issue #251 |
141 | ||
142 | # Issue #330 | |
143 | ||
144 | # Issue #375 | |
145 | 143 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_11 = t/issue220/issue220 \ |
146 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251 \ | |
147 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330 \ | |
148 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375 | |
144 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251 | |
149 | 145 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_12 = t/issue220/issue220 \ |
150 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251 \ | |
151 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330 \ | |
152 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375 | |
146 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251 | |
153 | 147 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_13 = t/issue220/issue220.pb-c.c \ |
154 | 148 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue220/issue220.pb-c.h \ |
155 | 149 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251.pb-c.c \ |
156 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251.pb-c.h \ | |
157 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.pb-c.c \ | |
158 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.pb-c.h \ | |
159 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375.pb-c.c \ | |
160 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375.pb-c.h | |
150 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251.pb-c.h | |
161 | 151 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_14 = t/issue220/issue220.proto \ |
162 | 152 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251.proto \ |
163 | 153 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.proto \ |
164 | 154 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375.proto |
155 | ||
156 | # Issue #330 | |
157 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__append_15 = \ | |
158 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330 | |
159 | ||
160 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__append_16 = \ | |
161 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330 | |
162 | ||
163 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__append_17 = \ | |
164 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.pb-c.c t/issue330/issue330.pb-c.h | |
165 | ||
166 | ||
167 | # Issue #375 | |
168 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_18 = \ | |
169 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375 | |
170 | ||
171 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_19 = \ | |
172 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375 | |
173 | ||
174 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_20 = \ | |
175 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375.pb-c.c t/issue375/issue375.pb-c.h | |
176 | ||
165 | 177 | subdir = . |
166 | 178 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
167 | 179 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \ |
191 | 203 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/version/version$(EXEEXT) |
192 | 204 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_3 = t/generated-code3/test-generated-code3$(EXEEXT) |
193 | 205 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_4 = t/issue220/issue220$(EXEEXT) \ |
194 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251$(EXEEXT) \ | |
195 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330$(EXEEXT) \ | |
196 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375$(EXEEXT) | |
197 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_5 = t/generated-code2/cxx-generate-packed-data$(EXEEXT) | |
206 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue251/issue251$(EXEEXT) | |
207 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_5 = t/issue330/issue330$(EXEEXT) | |
208 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_6 = t/issue375/issue375$(EXEEXT) | |
209 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_7 = t/generated-code2/cxx-generate-packed-data$(EXEEXT) | |
198 | 210 | PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) |
199 | 211 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
200 | 212 | am__vpath_adj = case $$p in \ |
322 | 334 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue251_issue251_DEPENDENCIES = protobuf-c/libprotobuf-c.la |
323 | 335 | am__t_issue330_issue330_SOURCES_DIST = t/issue330/issue330.c \ |
324 | 336 | t/issue330/issue330.pb-c.c |
325 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am_t_issue330_issue330_OBJECTS = t/issue330/issue330.$(OBJEXT) \ | |
326 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.pb-c.$(OBJEXT) | |
337 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am_t_issue330_issue330_OBJECTS = t/issue330/issue330.$(OBJEXT) \ | |
338 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.pb-c.$(OBJEXT) | |
327 | 339 | t_issue330_issue330_OBJECTS = $(am_t_issue330_issue330_OBJECTS) |
328 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_DEPENDENCIES = protobuf-c/libprotobuf-c.la | |
340 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_DEPENDENCIES = protobuf-c/libprotobuf-c.la | |
329 | 341 | am__t_issue375_issue375_SOURCES_DIST = t/issue375/issue375.c \ |
330 | 342 | t/issue375/issue375.pb-c.c |
331 | 343 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am_t_issue375_issue375_OBJECTS = t/issue375/issue375.$(OBJEXT) \ |
817 | 829 | lib_LTLIBRARIES = protobuf-c/libprotobuf-c.la |
818 | 830 | nobase_include_HEADERS = protobuf-c/protobuf-c.h |
819 | 831 | pkgconfig_DATA = protobuf-c/libprotobuf-c.pc |
820 | BUILT_SOURCES = $(am__append_7) $(am__append_10) $(am__append_13) | |
832 | BUILT_SOURCES = $(am__append_7) $(am__append_10) $(am__append_13) \ | |
833 | $(am__append_17) $(am__append_20) | |
821 | 834 | |
822 | 835 | # |
823 | 836 | # |
958 | 971 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue251_issue251_LDADD = \ |
959 | 972 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ protobuf-c/libprotobuf-c.la |
960 | 973 | |
961 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_SOURCES = \ | |
962 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.c \ | |
963 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.pb-c.c | |
964 | ||
965 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_LDADD = \ | |
966 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ protobuf-c/libprotobuf-c.la | |
974 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_SOURCES = \ | |
975 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.c \ | |
976 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ t/issue330/issue330.pb-c.c | |
977 | ||
978 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_LDADD = \ | |
979 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ protobuf-c/libprotobuf-c.la | |
967 | 980 | |
968 | 981 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue375_issue375_SOURCES = \ |
969 | 982 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ t/issue375/issue375.c \ |
2239 | 2252 | @echo "This command is intended for maintainers to use" |
2240 | 2253 | @echo "it deletes files that may require special tools to rebuild." |
2241 | 2254 | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) |
2255 | @HAVE_DOXYGEN_FALSE@clean-local: | |
2242 | 2256 | @HAVE_DOXYGEN_FALSE@html-local: |
2243 | @HAVE_DOXYGEN_FALSE@clean-local: | |
2244 | 2257 | @BUILD_COMPILER_FALSE@install-exec-hook: |
2245 | 2258 | clean: clean-am |
2246 | 2259 | |
2445 | 2458 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue220/issue220.proto |
2446 | 2459 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue251/issue251.pb-c.c t/issue251/issue251.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue251/issue251.proto |
2447 | 2460 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue251/issue251.proto |
2448 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue330/issue330.pb-c.c t/issue330/issue330.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue330/issue330.proto | |
2449 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue330/issue330.proto | |
2461 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t/issue330/issue330.pb-c.c t/issue330/issue330.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue330/issue330.proto | |
2462 | @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue330/issue330.proto | |
2450 | 2463 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue375/issue375.pb-c.c t/issue375/issue375.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/issue375/issue375.proto |
2451 | 2464 | @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@ $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue375/issue375.proto |
2452 | 2465 |
30 | 30 | |
31 | 31 | PROGRAM=libtool |
32 | 32 | PACKAGE=libtool |
33 | VERSION="2.4.6 Debian-2.4.6-10" | |
33 | VERSION="2.4.6 Debian-2.4.6-12" | |
34 | 34 | package_revision=2.4.6 |
35 | 35 | |
36 | 36 | |
386 | 386 | # putting '$debug_cmd' at the start of all your functions, you can get |
387 | 387 | # bash to show function call trace with: |
388 | 388 | # |
389 | # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name | |
389 | # debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name | |
390 | 390 | debug_cmd=${debug_cmd-":"} |
391 | 391 | exit_cmd=: |
392 | 392 | |
2140 | 2140 | compiler: $LTCC |
2141 | 2141 | compiler flags: $LTCFLAGS |
2142 | 2142 | linker: $LD (gnu? $with_gnu_ld) |
2143 | version: $progname $scriptversion Debian-2.4.6-10 | |
2143 | version: $progname $scriptversion Debian-2.4.6-12 | |
2144 | 2144 | automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` |
2145 | 2145 | autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` |
2146 | 2146 | |
7367 | 7367 | # -stdlib=* select c++ std lib with clang |
7368 | 7368 | # -fsanitize=* Clang/GCC memory and address sanitizer |
7369 | 7369 | # -fuse-ld=* Linker select flags for GCC |
7370 | # -static-* direct GCC to link specific libraries statically | |
7371 | # -fcilkplus Cilk Plus language extension features for C/C++ | |
7370 | 7372 | -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ |
7371 | 7373 | -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ |
7372 | 7374 | -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ |
7373 | -specs=*|-fsanitize=*|-fuse-ld=*) | |
7375 | -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus) | |
7374 | 7376 | func_quote_for_eval "$arg" |
7375 | 7377 | arg=$func_quote_for_eval_result |
7376 | 7378 | func_append compile_command " $arg" |
0 | 0 | SET(PACKAGE protobuf-c) |
1 | 1 | SET(PACKAGE_NAME protobuf-c) |
2 | SET(PACKAGE_VERSION 1.3.2) | |
2 | SET(PACKAGE_VERSION 1.3.3) | |
3 | 3 | |
4 | 4 | |
5 | 5 | CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) |
16 | 16 | SET(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
17 | 17 | ADD_DEFINITIONS(-DPACKAGE_VERSION="${PACKAGE_VERSION}") |
18 | 18 | ADD_DEFINITIONS(-DPACKAGE_STRING="${PACKAGE_STRING}") |
19 | ADD_DEFINITIONS(-DWORDS_BIGENDIAN=${WORDS_BIGENDIAN}) | |
19 | if (${WORDS_BIGENDIAN}) | |
20 | ADD_DEFINITIONS(-DWORDS_BIGENDIAN) | |
21 | endif() | |
20 | 22 | |
21 | 23 | if(MSVC) |
22 | 24 | # using Visual Studio C++ |
54 | 56 | # http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F |
55 | 57 | foreach(flag_var |
56 | 58 | CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE |
57 | CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) | |
59 | CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO | |
60 | CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE | |
61 | CMAKE_C_FLAGS_MINSIZEREL CMAKE_FLAGS_RELWITHDEBINFO) | |
58 | 62 | if(${flag_var} MATCHES "/MD") |
59 | 63 | string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}") |
60 | 64 | endif(${flag_var} MATCHES "/MD") |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for protobuf-c 1.3.2. | |
2 | # Generated by GNU Autoconf 2.69 for protobuf-c 1.3.3. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://github.com/protobuf-c/protobuf-c/issues>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='protobuf-c' |
591 | 591 | PACKAGE_TARNAME='protobuf-c' |
592 | PACKAGE_VERSION='1.3.2' | |
593 | PACKAGE_STRING='protobuf-c 1.3.2' | |
592 | PACKAGE_VERSION='1.3.3' | |
593 | PACKAGE_STRING='protobuf-c 1.3.3' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/protobuf-c/protobuf-c/issues' |
595 | 595 | PACKAGE_URL='https://github.com/protobuf-c/protobuf-c' |
596 | 596 | |
1377 | 1377 | # Omit some internal or obsolete options to make the list less imposing. |
1378 | 1378 | # This message is too long to be a string in the A/UX 3.1 sh. |
1379 | 1379 | cat <<_ACEOF |
1380 | \`configure' configures protobuf-c 1.3.2 to adapt to many kinds of systems. | |
1380 | \`configure' configures protobuf-c 1.3.3 to adapt to many kinds of systems. | |
1381 | 1381 | |
1382 | 1382 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1383 | 1383 | |
1448 | 1448 | |
1449 | 1449 | if test -n "$ac_init_help"; then |
1450 | 1450 | case $ac_init_help in |
1451 | short | recursive ) echo "Configuration of protobuf-c 1.3.2:";; | |
1451 | short | recursive ) echo "Configuration of protobuf-c 1.3.3:";; | |
1452 | 1452 | esac |
1453 | 1453 | cat <<\_ACEOF |
1454 | 1454 | |
1581 | 1581 | test -n "$ac_init_help" && exit $ac_status |
1582 | 1582 | if $ac_init_version; then |
1583 | 1583 | cat <<\_ACEOF |
1584 | protobuf-c configure 1.3.2 | |
1584 | protobuf-c configure 1.3.3 | |
1585 | 1585 | generated by GNU Autoconf 2.69 |
1586 | 1586 | |
1587 | 1587 | Copyright (C) 2012 Free Software Foundation, Inc. |
2204 | 2204 | This file contains any messages produced by compilers while |
2205 | 2205 | running configure, to aid debugging if configure makes a mistake. |
2206 | 2206 | |
2207 | It was created by protobuf-c $as_me 1.3.2, which was | |
2207 | It was created by protobuf-c $as_me 1.3.3, which was | |
2208 | 2208 | generated by GNU Autoconf 2.69. Invocation command line was |
2209 | 2209 | |
2210 | 2210 | $ $0 $@ |
3071 | 3071 | |
3072 | 3072 | # Define the identity of the package. |
3073 | 3073 | PACKAGE='protobuf-c' |
3074 | VERSION='1.3.2' | |
3074 | VERSION='1.3.3' | |
3075 | 3075 | |
3076 | 3076 | |
3077 | 3077 | cat >>confdefs.h <<_ACEOF |
7121 | 7121 | fi |
7122 | 7122 | |
7123 | 7123 | : ${AR=ar} |
7124 | : ${AR_FLAGS=cru} | |
7124 | : ${AR_FLAGS=cr} | |
7125 | 7125 | |
7126 | 7126 | |
7127 | 7127 | |
8842 | 8842 | _LT_EOF |
8843 | 8843 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
8844 | 8844 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
8845 | echo "$AR cru libconftest.a conftest.o" >&5 | |
8846 | $AR cru libconftest.a conftest.o 2>&5 | |
8845 | echo "$AR cr libconftest.a conftest.o" >&5 | |
8846 | $AR cr libconftest.a conftest.o 2>&5 | |
8847 | 8847 | echo "$RANLIB libconftest.a" >&5 |
8848 | 8848 | $RANLIB libconftest.a 2>&5 |
8849 | 8849 | cat > conftest.c << _LT_EOF |
18858 | 18858 | # report actual input values of CONFIG_FILES etc. instead of their |
18859 | 18859 | # values after options handling. |
18860 | 18860 | ac_log=" |
18861 | This file was extended by protobuf-c $as_me 1.3.2, which was | |
18861 | This file was extended by protobuf-c $as_me 1.3.3, which was | |
18862 | 18862 | generated by GNU Autoconf 2.69. Invocation command line was |
18863 | 18863 | |
18864 | 18864 | CONFIG_FILES = $CONFIG_FILES |
18925 | 18925 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
18926 | 18926 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
18927 | 18927 | ac_cs_version="\\ |
18928 | protobuf-c config.status 1.3.2 | |
18928 | protobuf-c config.status 1.3.3 | |
18929 | 18929 | configured by $0, generated by GNU Autoconf 2.69, |
18930 | 18930 | with options \\"\$ac_cs_config\\" |
18931 | 18931 |
0 | 0 | AC_PREREQ(2.63) |
1 | 1 | |
2 | 2 | AC_INIT([protobuf-c], |
3 | [1.3.2], | |
3 | [1.3.3], | |
4 | 4 | [https://github.com/protobuf-c/protobuf-c/issues], |
5 | 5 | [protobuf-c], |
6 | 6 | [https://github.com/protobuf-c/protobuf-c]) |
1040 | 1040 | _LT_EOF |
1041 | 1041 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
1042 | 1042 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD |
1043 | echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD | |
1044 | $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD | |
1043 | echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD | |
1044 | $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD | |
1045 | 1045 | echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
1046 | 1046 | $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
1047 | 1047 | cat > conftest.c << _LT_EOF |
1491 | 1491 | m4_defun([_LT_PROG_AR], |
1492 | 1492 | [AC_CHECK_TOOLS(AR, [ar], false) |
1493 | 1493 | : ${AR=ar} |
1494 | : ${AR_FLAGS=cru} | |
1494 | : ${AR_FLAGS=cr} | |
1495 | 1495 | _LT_DECL([], [AR], [1], [The archiver]) |
1496 | 1496 | _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) |
1497 | 1497 |
311 | 311 | static inline uint32_t |
312 | 312 | zigzag32(int32_t v) |
313 | 313 | { |
314 | if (v < 0) | |
315 | return (-(uint32_t)v) * 2 - 1; | |
316 | else | |
317 | return (uint32_t)(v) * 2; | |
314 | // Note: the right-shift must be arithmetic | |
315 | // Note: left shift must be unsigned because of overflow | |
316 | return ((uint32_t)(v) << 1) ^ (uint32_t)(v >> 31); | |
318 | 317 | } |
319 | 318 | |
320 | 319 | /** |
376 | 375 | static inline uint64_t |
377 | 376 | zigzag64(int64_t v) |
378 | 377 | { |
379 | if (v < 0) | |
380 | return (-(uint64_t)v) * 2 - 1; | |
381 | else | |
382 | return (uint64_t)(v) * 2; | |
378 | // Note: the right-shift must be arithmetic | |
379 | // Note: left shift must be unsigned because of overflow | |
380 | return ((uint64_t)(v) << 1) ^ (uint64_t)(v >> 63); | |
383 | 381 | } |
384 | 382 | |
385 | 383 | /** |
2422 | 2420 | static inline int32_t |
2423 | 2421 | unzigzag32(uint32_t v) |
2424 | 2422 | { |
2425 | if (v & 1) | |
2426 | return -(v >> 1) - 1; | |
2427 | else | |
2428 | return v >> 1; | |
2423 | // Note: Using unsigned types prevents undefined behavior | |
2424 | return (int32_t)((v >> 1) ^ (~(v & 1) + 1)); | |
2429 | 2425 | } |
2430 | 2426 | |
2431 | 2427 | static inline uint32_t |
2466 | 2462 | static inline int64_t |
2467 | 2463 | unzigzag64(uint64_t v) |
2468 | 2464 | { |
2469 | if (v & 1) | |
2470 | return -(v >> 1) - 1; | |
2471 | else | |
2472 | return v >> 1; | |
2465 | // Note: Using unsigned types prevents undefined behavior | |
2466 | return (int64_t)((v >> 1) ^ (~(v & 1) + 1)); | |
2473 | 2467 | } |
2474 | 2468 | |
2475 | 2469 | static inline uint64_t |
789 | 789 | * The version of the protobuf-c headers, represented as a string using the same |
790 | 790 | * format as protobuf_c_version(). |
791 | 791 | */ |
792 | #define PROTOBUF_C_VERSION "1.3.2" | |
792 | #define PROTOBUF_C_VERSION "1.3.3" | |
793 | 793 | |
794 | 794 | /** |
795 | 795 | * The version of the protobuf-c headers, represented as an integer using the |
796 | 796 | * same format as protobuf_c_version_number(). |
797 | 797 | */ |
798 | #define PROTOBUF_C_VERSION_NUMBER 1003002 | |
798 | #define PROTOBUF_C_VERSION_NUMBER 1003003 | |
799 | 799 | |
800 | 800 | /** |
801 | 801 | * The minimum protoc-c version which works with the current version of the |
1682 | 1682 | assert (mess->v_float == 2.5); |
1683 | 1683 | assert (mess->v_double == 4.5); |
1684 | 1684 | assert (strcmp (mess->v_string, "hi mom\n") == 0); |
1685 | assert (mess->v_bytes.len = /* a */ 1 | |
1685 | assert (mess->v_bytes.len == /* a */ 1 | |
1686 | 1686 | + /* space */ 1 |
1687 | 1687 | + /* NUL */ 1 |
1688 | 1688 | + /* space */ 1 |
1721 | 1721 | assert (mess->v_double == 4.5); |
1722 | 1722 | assert (strcmp (mess->v_string, "hi mom\n") == 0); |
1723 | 1723 | assert (!mess->has_v_bytes); |
1724 | assert (mess->v_bytes.len = /* a */ 1 | |
1724 | assert (mess->v_bytes.len == /* a */ 1 | |
1725 | 1725 | + /* space */ 1 |
1726 | 1726 | + /* NUL */ 1 |
1727 | 1727 | + /* space */ 1 |