Tue May 2 10:49:30 2017 UTC ()
Updated protobuf to 3.3.0.

2017-04-05 version 3.3.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)
  Planned Future Changes
  * There are some changes that are not included in this release but are
    planned for the near future:
      - Preserve unknown fields in proto3: please read this doc:

          https://docs.google.com/document/d/1KMRX-G91Aa-Y2FkEaHeeviLRRNblgIahbsk4wA14gRk/view

        for the timeline and follow up this github issue:

          https://github.com/google/protobuf/issues/272

        for discussion.
      - Make C++ implementation C++11 only: we plan to require C++11 to build
        protobuf code starting from 3.4.0 or 3.5.0 release. Please join this
        github issue:

          https://github.com/google/protobuf/issues/2780

        to provide your feedback.

  C++
  * Fixed map fields serialization of DynamicMessage to correctly serialize
    both key and value regardless of their presence.
  * Parser now rejects field number 0 correctly.
  * New API Message::SpaceUsedLong() that窶冱 equivalent to
    Message::SpaceUsed() but returns the value in size_t.
  * JSON support
    - New flag always_print_enums_as_ints in JsonPrintOptions.
    - New flag preserve_proto_field_names in JsonPrintOptions. It will instruct
      the JSON printer to use the original field name declared in the .proto
      file instead of converting them to lowerCamelCase when printing JSON.
    - JsonPrintOptions.always_print_primtive_fields now works for oneof message
      fields.
    - Fixed a bug that doesn窶冲 allow different fields to set the same json_name
      value.
    - Fixed a performance bug that causes excessive memory copy when printing
      large messages.
  * Various performance optimizations.

  Java
  * Map field setters eagerly validate inputs and throw NullPointerExceptions
    as appropriate.
  * Added ByteBuffer overloads to the generated parsing methods and the Parser
    interface.
  * proto3 enum's getNumber() method now throws on UNRECOGNIZED values.
  * Output of JsonFormat is now locale independent.

  Python
  * Added FindServiceByName() in the pure-Python DescriptorPool. This works only
    for descriptors added with DescriptorPool.Add(). Generated descriptor_pool
    does not support this yet.
  * Added a descriptor_pool parameter for parsing Any in text_format.Parse().
  * descriptor_pool.FindFileContainingSymbol() now is able to find nested
    extensions.
  * Extending empty [] to repeated field now sets parent message presence.

  PHP
  * Added file option php_class_prefix. The prefix will be prepended to all
    generated classes defined in the file.
  * When encoding, negative int32 values are sign-extended to int64.
  * Repeated/Map field setter accepts a regular PHP array. Type checking is
    done on the array elements.
  * encode/decode are renamed to serializeToString/mergeFromString.
  * Added mergeFrom, clear method on Message.
  * Fixed a bug that oneof accessor didn窶冲 return the field name that is
    actually set.
  * C extension now works with php7.
  * This is the first GA release of PHP. We guarantee that old generated code
    can always work with new runtime and new generated code.

  Objective-C
  * Fixed help for GPBTimestamp for dates before the epoch that contain
    fractional seconds.
  * Added GPBMessageDropUnknownFieldsRecursively() to remove unknowns from a
    message and any sub messages.
  * Addressed a threading race in extension registration/lookup.
  * Increased the max message parsing depth to 100 to match the other languages.
  * Removed some use of dispatch_once in favor of atomic compare/set since it
    needs to be heap based.
  * Fixes for new Xcode 8.3 warnings.

  C#
  * Fixed MapField.Values.CopyTo, which would throw an exception unnecessarily
    if provided exactly the right size of array to copy to.
  * Fixed enum JSON formatting when multiple names mapped to the same numeric
    value.
  * Added JSON formatting option to format enums as integers.
  * Modified RepeatedField<T> to implement IReadOnlyList<T>.
  * Introduced the start of custom option handling; it's not as pleasant as it
    might be, but the information is at least present. We expect to extend code
    generation to improve this in the future.
  * Introduced ByteString.FromStream and ByteString.FromStreamAsync to
    efficiently create a ByteString from a stream.
  * Added whole-message deprecation, which decorates the class with [Obsolete].

  Ruby
  * Fixed Message#to_h for messages with map fields.
  * Fixed memcpy() in binary gems to work for old glibc, without breaking the
    build for non-glibc libc窶冱 like musl.

  Javascript
  * Added compatibility tests for version 3.0.0.
  * Added conformance tests.
  * Fixed serialization of extensions: we need to emit a value even if it is
    falsy (like the number 0).
  * Use closurebuilder.py in favor of calcdeps.py for compiling JavaScript.


(wiz)
diff -r1.6 -r1.7 pkgsrc/devel/protobuf/Makefile.common
diff -r1.6 -r1.7 pkgsrc/devel/protobuf/PLIST
diff -r1.13 -r1.14 pkgsrc/devel/protobuf/distinfo
diff -r0 -r1.1 pkgsrc/devel/protobuf/patches/patch-configure
diff -r0 -r1.1 pkgsrc/devel/protobuf/patches/patch-configure.ac

cvs diff -r1.6 -r1.7 pkgsrc/devel/protobuf/Attic/Makefile.common (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/Attic/Makefile.common 2017/02/07 13:50:31 1.6
+++ pkgsrc/devel/protobuf/Attic/Makefile.common 2017/05/02 10:49:30 1.7
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile.common,v 1.6 2017/02/07 13:50:31 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.7 2017/05/02 10:49:30 wiz Exp $
2# 2#
3# used by devel/protobuf/Makefile 3# used by devel/protobuf/Makefile
4# used by devel/py-protobuf/Makefile 4# used by devel/py-protobuf/Makefile
5 5
6PROTOBUFVER= 3.2.0 6PROTOBUFVER= 3.3.0
7 7
8MASTER_SITES= ${MASTER_SITE_GITHUB:=google/} 8MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
9GITHUB_PROJECT= protobuf 9GITHUB_PROJECT= protobuf
10GITHUB_RELEASE= v${PKGVERSION_NOREV} 10GITHUB_RELEASE= v${PKGVERSION_NOREV}
11 11
12CATEGORIES= devel 12CATEGORIES= devel
13HOMEPAGE= https://github.com/google/protobuf 13HOMEPAGE= https://github.com/google/protobuf
14LICENSE= modified-bsd 14LICENSE= modified-bsd
15 15
16WRKSRC= ${WRKDIR}/protobuf-${PKGVERSION_NOREV} 16WRKSRC= ${WRKDIR}/protobuf-${PKGVERSION_NOREV}
17 17
18PATCHDIR= ${.CURDIR}/../../devel/protobuf/patches 18PATCHDIR= ${.CURDIR}/../../devel/protobuf/patches

cvs diff -r1.6 -r1.7 pkgsrc/devel/protobuf/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/PLIST 2017/02/07 13:50:31 1.6
+++ pkgsrc/devel/protobuf/PLIST 2017/05/02 10:49:30 1.7
@@ -1,94 +1,97 @@ @@ -1,94 +1,97 @@
1@comment $NetBSD: PLIST,v 1.6 2017/02/07 13:50:31 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.7 2017/05/02 10:49:30 wiz Exp $
2bin/protoc 2bin/protoc
3include/google/protobuf/any.h 3include/google/protobuf/any.h
4include/google/protobuf/any.pb.h 4include/google/protobuf/any.pb.h
5include/google/protobuf/any.proto 5include/google/protobuf/any.proto
6include/google/protobuf/api.pb.h 6include/google/protobuf/api.pb.h
7include/google/protobuf/api.proto 7include/google/protobuf/api.proto
8include/google/protobuf/arena.h 8include/google/protobuf/arena.h
9include/google/protobuf/arenastring.h 9include/google/protobuf/arenastring.h
10include/google/protobuf/compiler/code_generator.h 10include/google/protobuf/compiler/code_generator.h
11include/google/protobuf/compiler/command_line_interface.h 11include/google/protobuf/compiler/command_line_interface.h
12include/google/protobuf/compiler/cpp/cpp_generator.h 12include/google/protobuf/compiler/cpp/cpp_generator.h
13include/google/protobuf/compiler/csharp/csharp_generator.h 13include/google/protobuf/compiler/csharp/csharp_generator.h
14include/google/protobuf/compiler/csharp/csharp_names.h 14include/google/protobuf/compiler/csharp/csharp_names.h
15include/google/protobuf/compiler/importer.h 15include/google/protobuf/compiler/importer.h
16include/google/protobuf/compiler/java/java_generator.h 16include/google/protobuf/compiler/java/java_generator.h
17include/google/protobuf/compiler/java/java_names.h 17include/google/protobuf/compiler/java/java_names.h
18include/google/protobuf/compiler/javanano/javanano_generator.h 18include/google/protobuf/compiler/javanano/javanano_generator.h
19include/google/protobuf/compiler/js/js_generator.h 19include/google/protobuf/compiler/js/js_generator.h
20include/google/protobuf/compiler/js/well_known_types_embed.h 20include/google/protobuf/compiler/js/well_known_types_embed.h
21include/google/protobuf/compiler/objectivec/objectivec_generator.h 21include/google/protobuf/compiler/objectivec/objectivec_generator.h
22include/google/protobuf/compiler/objectivec/objectivec_helpers.h 22include/google/protobuf/compiler/objectivec/objectivec_helpers.h
23include/google/protobuf/compiler/parser.h 23include/google/protobuf/compiler/parser.h
24include/google/protobuf/compiler/php/php_generator.h 24include/google/protobuf/compiler/php/php_generator.h
25include/google/protobuf/compiler/plugin.h 25include/google/protobuf/compiler/plugin.h
26include/google/protobuf/compiler/plugin.pb.h 26include/google/protobuf/compiler/plugin.pb.h
27include/google/protobuf/compiler/plugin.proto 27include/google/protobuf/compiler/plugin.proto
 28include/google/protobuf/compiler/profile.pb.h
 29include/google/protobuf/compiler/profile.proto
28include/google/protobuf/compiler/python/python_generator.h 30include/google/protobuf/compiler/python/python_generator.h
29include/google/protobuf/compiler/ruby/ruby_generator.h 31include/google/protobuf/compiler/ruby/ruby_generator.h
30include/google/protobuf/descriptor.h 32include/google/protobuf/descriptor.h
31include/google/protobuf/descriptor.pb.h 33include/google/protobuf/descriptor.pb.h
32include/google/protobuf/descriptor.proto 34include/google/protobuf/descriptor.proto
33include/google/protobuf/descriptor_database.h 35include/google/protobuf/descriptor_database.h
34include/google/protobuf/duration.pb.h 36include/google/protobuf/duration.pb.h
35include/google/protobuf/duration.proto 37include/google/protobuf/duration.proto
36include/google/protobuf/dynamic_message.h 38include/google/protobuf/dynamic_message.h
37include/google/protobuf/empty.pb.h 39include/google/protobuf/empty.pb.h
38include/google/protobuf/empty.proto 40include/google/protobuf/empty.proto
39include/google/protobuf/extension_set.h 41include/google/protobuf/extension_set.h
40include/google/protobuf/field_mask.pb.h 42include/google/protobuf/field_mask.pb.h
41include/google/protobuf/field_mask.proto 43include/google/protobuf/field_mask.proto
42include/google/protobuf/generated_enum_reflection.h 44include/google/protobuf/generated_enum_reflection.h
43include/google/protobuf/generated_enum_util.h 45include/google/protobuf/generated_enum_util.h
44include/google/protobuf/generated_message_reflection.h 46include/google/protobuf/generated_message_reflection.h
 47include/google/protobuf/generated_message_table_driven.h
45include/google/protobuf/generated_message_util.h 48include/google/protobuf/generated_message_util.h
46include/google/protobuf/has_bits.h 49include/google/protobuf/has_bits.h
47include/google/protobuf/io/coded_stream.h 50include/google/protobuf/io/coded_stream.h
48include/google/protobuf/io/gzip_stream.h 51include/google/protobuf/io/gzip_stream.h
49include/google/protobuf/io/printer.h 52include/google/protobuf/io/printer.h
50include/google/protobuf/io/strtod.h 53include/google/protobuf/io/strtod.h
51include/google/protobuf/io/tokenizer.h 54include/google/protobuf/io/tokenizer.h
52include/google/protobuf/io/zero_copy_stream.h 55include/google/protobuf/io/zero_copy_stream.h
53include/google/protobuf/io/zero_copy_stream_impl.h 56include/google/protobuf/io/zero_copy_stream_impl.h
54include/google/protobuf/io/zero_copy_stream_impl_lite.h 57include/google/protobuf/io/zero_copy_stream_impl_lite.h
55include/google/protobuf/map.h 58include/google/protobuf/map.h
56include/google/protobuf/map_entry.h 59include/google/protobuf/map_entry.h
57include/google/protobuf/map_entry_lite.h 60include/google/protobuf/map_entry_lite.h
58include/google/protobuf/map_field.h 61include/google/protobuf/map_field.h
59include/google/protobuf/map_field_inl.h 62include/google/protobuf/map_field_inl.h
60include/google/protobuf/map_field_lite.h 63include/google/protobuf/map_field_lite.h
61include/google/protobuf/map_type_handler.h 64include/google/protobuf/map_type_handler.h
62include/google/protobuf/message.h 65include/google/protobuf/message.h
63include/google/protobuf/message_lite.h 66include/google/protobuf/message_lite.h
64include/google/protobuf/metadata.h 67include/google/protobuf/metadata.h
 68include/google/protobuf/metadata_lite.h
65include/google/protobuf/reflection.h 69include/google/protobuf/reflection.h
66include/google/protobuf/reflection_ops.h 70include/google/protobuf/reflection_ops.h
67include/google/protobuf/repeated_field.h 71include/google/protobuf/repeated_field.h
68include/google/protobuf/service.h 72include/google/protobuf/service.h
69include/google/protobuf/source_context.pb.h 73include/google/protobuf/source_context.pb.h
70include/google/protobuf/source_context.proto 74include/google/protobuf/source_context.proto
71include/google/protobuf/struct.pb.h 75include/google/protobuf/struct.pb.h
72include/google/protobuf/struct.proto 76include/google/protobuf/struct.proto
73include/google/protobuf/stubs/atomic_sequence_num.h 77include/google/protobuf/stubs/atomic_sequence_num.h
74include/google/protobuf/stubs/atomicops.h 78include/google/protobuf/stubs/atomicops.h
75include/google/protobuf/stubs/atomicops_internals_arm64_gcc.h 79include/google/protobuf/stubs/atomicops_internals_arm64_gcc.h
76include/google/protobuf/stubs/atomicops_internals_arm_gcc.h 80include/google/protobuf/stubs/atomicops_internals_arm_gcc.h
77include/google/protobuf/stubs/atomicops_internals_arm_qnx.h 81include/google/protobuf/stubs/atomicops_internals_arm_qnx.h
78include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h 82include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h
79include/google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h 83include/google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h
80include/google/protobuf/stubs/atomicops_internals_generic_gcc.h 84include/google/protobuf/stubs/atomicops_internals_generic_gcc.h
81include/google/protobuf/stubs/atomicops_internals_macosx.h 
82include/google/protobuf/stubs/atomicops_internals_mips_gcc.h 85include/google/protobuf/stubs/atomicops_internals_mips_gcc.h
83include/google/protobuf/stubs/atomicops_internals_power.h 86include/google/protobuf/stubs/atomicops_internals_power.h
84include/google/protobuf/stubs/atomicops_internals_ppc_gcc.h 87include/google/protobuf/stubs/atomicops_internals_ppc_gcc.h
85include/google/protobuf/stubs/atomicops_internals_solaris.h 88include/google/protobuf/stubs/atomicops_internals_solaris.h
86include/google/protobuf/stubs/atomicops_internals_tsan.h 89include/google/protobuf/stubs/atomicops_internals_tsan.h
87include/google/protobuf/stubs/atomicops_internals_x86_gcc.h 90include/google/protobuf/stubs/atomicops_internals_x86_gcc.h
88include/google/protobuf/stubs/atomicops_internals_x86_msvc.h 91include/google/protobuf/stubs/atomicops_internals_x86_msvc.h
89include/google/protobuf/stubs/bytestream.h 92include/google/protobuf/stubs/bytestream.h
90include/google/protobuf/stubs/callback.h 93include/google/protobuf/stubs/callback.h
91include/google/protobuf/stubs/casts.h 94include/google/protobuf/stubs/casts.h
92include/google/protobuf/stubs/common.h 95include/google/protobuf/stubs/common.h
93include/google/protobuf/stubs/fastmem.h 96include/google/protobuf/stubs/fastmem.h
94include/google/protobuf/stubs/hash.h 97include/google/protobuf/stubs/hash.h
@@ -102,26 +105,27 @@ include/google/protobuf/stubs/scoped_ptr @@ -102,26 +105,27 @@ include/google/protobuf/stubs/scoped_ptr
102include/google/protobuf/stubs/shared_ptr.h 105include/google/protobuf/stubs/shared_ptr.h
103include/google/protobuf/stubs/singleton.h 106include/google/protobuf/stubs/singleton.h
104include/google/protobuf/stubs/status.h 107include/google/protobuf/stubs/status.h
105include/google/protobuf/stubs/stl_util.h 108include/google/protobuf/stubs/stl_util.h
106include/google/protobuf/stubs/stringpiece.h 109include/google/protobuf/stubs/stringpiece.h
107include/google/protobuf/stubs/template_util.h 110include/google/protobuf/stubs/template_util.h
108include/google/protobuf/stubs/type_traits.h 111include/google/protobuf/stubs/type_traits.h
109include/google/protobuf/text_format.h 112include/google/protobuf/text_format.h
110include/google/protobuf/timestamp.pb.h 113include/google/protobuf/timestamp.pb.h
111include/google/protobuf/timestamp.proto 114include/google/protobuf/timestamp.proto
112include/google/protobuf/type.pb.h 115include/google/protobuf/type.pb.h
113include/google/protobuf/type.proto 116include/google/protobuf/type.proto
114include/google/protobuf/unknown_field_set.h 117include/google/protobuf/unknown_field_set.h
 118include/google/protobuf/util/delimited_message_util.h
115include/google/protobuf/util/field_comparator.h 119include/google/protobuf/util/field_comparator.h
116include/google/protobuf/util/field_mask_util.h 120include/google/protobuf/util/field_mask_util.h
117include/google/protobuf/util/json_util.h 121include/google/protobuf/util/json_util.h
118include/google/protobuf/util/message_differencer.h 122include/google/protobuf/util/message_differencer.h
119include/google/protobuf/util/time_util.h 123include/google/protobuf/util/time_util.h
120include/google/protobuf/util/type_resolver.h 124include/google/protobuf/util/type_resolver.h
121include/google/protobuf/util/type_resolver_util.h 125include/google/protobuf/util/type_resolver_util.h
122include/google/protobuf/wire_format.h 126include/google/protobuf/wire_format.h
123include/google/protobuf/wire_format_lite.h 127include/google/protobuf/wire_format_lite.h
124include/google/protobuf/wire_format_lite_inl.h 128include/google/protobuf/wire_format_lite_inl.h
125include/google/protobuf/wrappers.pb.h 129include/google/protobuf/wrappers.pb.h
126include/google/protobuf/wrappers.proto 130include/google/protobuf/wrappers.proto
127lib/libprotobuf-lite.la 131lib/libprotobuf-lite.la

cvs diff -r1.13 -r1.14 pkgsrc/devel/protobuf/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/distinfo 2017/02/07 13:50:31 1.13
+++ pkgsrc/devel/protobuf/distinfo 2017/05/02 10:49:30 1.14
@@ -1,12 +1,13 @@ @@ -1,12 +1,13 @@
1$NetBSD: distinfo,v 1.13 2017/02/07 13:50:31 wiz Exp $ 1$NetBSD: distinfo,v 1.14 2017/05/02 10:49:30 wiz Exp $
2 2
3SHA1 (protobuf-cpp-3.2.0.tar.gz) = 7518aef2471e7398ebd0d85a53836d6a076222d5 3SHA1 (protobuf-cpp-3.3.0.tar.gz) = 886010a222d5d52bba137ce35da369949d0e8913
4RMD160 (protobuf-cpp-3.2.0.tar.gz) = f83bddecef7c2b545ea342d1acac568fa5454242 4RMD160 (protobuf-cpp-3.3.0.tar.gz) = fd8611a77b5d70295ae925e3b66ff3091af3b109
5SHA512 (protobuf-cpp-3.2.0.tar.gz) = dd005f5e862ff24bb233b9eaed1d7f44c42f1cc8c647c0839fe2ecc2d91178845195d79776cfa2e31d224c16eed11b05ad824b66b743e685334057d8180f17aa 5SHA512 (protobuf-cpp-3.3.0.tar.gz) = 3fbee5ebaf8aa83793af87ce593fb2511057e26251ff7276c0cb108edd8c4699cbe376e30679f23953900219d89cd13f5bf5232eb717e6ce6e702ed48dadfaa8
6Size (protobuf-cpp-3.2.0.tar.gz) = 4148324 bytes 6Size (protobuf-cpp-3.3.0.tar.gz) = 4214662 bytes
 7SHA1 (patch-configure) = 5faf2311cc163d49e2beacb030845ffe14d3b9a2
 8SHA1 (patch-configure.ac) = f6556f2f82e728459da7d7b090ccdfbd7be1411a
7SHA1 (patch-gmock_configure) = 49a4c9301ad4c1973ee7058213df50a7833161f0 9SHA1 (patch-gmock_configure) = 49a4c9301ad4c1973ee7058213df50a7833161f0
8SHA1 (patch-gmock_configure.ac) = cfd7b7c87eff4b06ce6ecb34dec046561bbdc113 10SHA1 (patch-gmock_configure.ac) = cfd7b7c87eff4b06ce6ecb34dec046561bbdc113
9SHA1 (patch-src_google_protobuf_compiler_plugin.pb.h) = e13704e04858e747e5c3e52fd3d399458face3f0 
10SHA1 (patch-src_google_protobuf_message__lite.cc) = 8f2ffe07b2710de5365148153978ad6d9939f522 11SHA1 (patch-src_google_protobuf_message__lite.cc) = 8f2ffe07b2710de5365148153978ad6d9939f522
11SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = 9ec851134da674980a49302e9582a432a47f7974 12SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = 9ec851134da674980a49302e9582a432a47f7974
12SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = d60c554be8ff7fc9370bb036eef9101f9a6433e3 13SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = d60c554be8ff7fc9370bb036eef9101f9a6433e3

File Added: pkgsrc/devel/protobuf/patches/patch-configure
$NetBSD: patch-configure,v 1.1 2017/05/02 10:49:30 wiz Exp $

--- configure.orig	2017-04-06 00:37:52.000000000 +0000
+++ configure
@@ -18003,7 +18003,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 LDFLAGS=$save_LDFLAGS
- if test "$have_ld_version_script" == "yes"; then
+ if test "$have_ld_version_script" = "yes"; then
   HAVE_LD_VERSION_SCRIPT_TRUE=
   HAVE_LD_VERSION_SCRIPT_FALSE='#'
 else

File Added: pkgsrc/devel/protobuf/patches/Attic/patch-configure.ac
$NetBSD: patch-configure.ac,v 1.1 2017/05/02 10:49:30 wiz Exp $

--- configure.ac.orig	2017-04-06 00:15:19.000000000 +0000
+++ configure.ac
@@ -110,7 +110,7 @@ AC_LINK_IFELSE(
   [have_ld_version_script=yes; AC_MSG_RESULT(yes)],
   [have_ld_version_script=no; AC_MSG_RESULT(no)])
 LDFLAGS=$save_LDFLAGS
-AM_CONDITIONAL([HAVE_LD_VERSION_SCRIPT], [test "$have_ld_version_script" == "yes"])
+AM_CONDITIONAL([HAVE_LD_VERSION_SCRIPT], [test "$have_ld_version_script" = "yes"])
 
 # Checks for header files.
 AC_HEADER_STDC