passenger 4.0.20 → 4.0.21
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +8 -8
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/.gitignore +1 -0
- data/.travis.yml +1 -1
- data/NEWS +15 -0
- data/README.md +5 -3
- data/Rakefile +1 -0
- data/bin/passenger-config +1 -5
- data/bin/passenger-install-apache2-module +53 -5
- data/bin/passenger-install-nginx-module +19 -6
- data/bin/passenger-memory-stats +3 -3
- data/build/agents.rb +11 -8
- data/build/apache2.rb +9 -5
- data/build/basics.rb +15 -21
- data/build/common_library.rb +16 -6
- data/build/cplusplus_support.rb +5 -5
- data/build/cxx_tests.rb +3 -3
- data/build/documentation.rb +1 -1
- data/build/misc.rb +4 -37
- data/build/node_tests.rb +29 -0
- data/build/oxt_tests.rb +1 -1
- data/build/packaging.rb +29 -10
- data/build/preprocessor.rb +2 -1
- data/build/test_basics.rb +15 -6
- data/debian.template/locations.ini.template +1 -0
- data/debian.template/passenger.install.template +1 -0
- data/dev/copy_boost_headers.rb +7 -3
- data/dev/run_travis.sh +32 -16
- data/doc/Users guide Apache.idmap.txt +22 -34
- data/doc/Users guide Apache.txt +20 -234
- data/doc/Users guide Nginx.idmap.txt +84 -66
- data/doc/Users guide Nginx.txt +50 -1
- data/doc/Users guide Standalone.idmap.txt +74 -0
- data/doc/Users guide Standalone.txt +22 -9
- data/doc/Users guide.txt +51 -0
- data/doc/users_guide_snippets/environment_variables.txt +0 -3
- data/doc/users_guide_snippets/installation.txt +337 -380
- data/doc/users_guide_snippets/installation/run_installer.txt +58 -0
- data/doc/users_guide_snippets/installation/verify_running_epilogue.txt +6 -0
- data/doc/users_guide_snippets/support_information.txt +2 -9
- data/doc/users_guide_snippets/troubleshooting/default.txt +112 -0
- data/doc/users_guide_snippets/troubleshooting/rails.txt +56 -0
- data/doc/users_guide_snippets/where_to_get_support.txt +9 -0
- data/ext/apache2/Bucket.h +1 -1
- data/ext/apache2/Configuration.hpp +0 -44
- data/ext/apache2/CreateDirConfig.cpp +1 -1
- data/ext/apache2/CreateDirConfig.cpp.erb +1 -1
- data/ext/apache2/Hooks.cpp +28 -21
- data/ext/apache2/MergeDirConfig.cpp +1 -0
- data/ext/apache2/MergeDirConfig.cpp.erb +1 -1
- data/ext/apache2/SetHeaders.cpp +73 -0
- data/ext/apache2/SetHeaders.cpp.erb +88 -0
- data/ext/boost/algorithm/string/detail/find_format.hpp +5 -5
- data/ext/boost/algorithm/string/detail/find_format_all.hpp +5 -5
- data/ext/boost/algorithm/string/detail/finder.hpp +1 -1
- data/ext/boost/algorithm/string/formatter.hpp +2 -2
- data/ext/boost/assert.hpp +6 -1
- data/ext/boost/atomic.hpp +18 -0
- data/ext/boost/atomic/atomic.hpp +241 -0
- data/ext/boost/atomic/detail/base.hpp +585 -0
- data/ext/boost/atomic/detail/cas32strong.hpp +885 -0
- data/ext/boost/atomic/detail/cas32weak.hpp +947 -0
- data/ext/boost/atomic/detail/cas64strong.hpp +443 -0
- data/ext/boost/atomic/detail/config.hpp +54 -0
- data/ext/boost/atomic/detail/gcc-alpha.hpp +368 -0
- data/ext/boost/atomic/detail/gcc-armv6plus.hpp +252 -0
- data/ext/boost/atomic/detail/gcc-cas.hpp +157 -0
- data/ext/boost/atomic/detail/gcc-ppc.hpp +2850 -0
- data/ext/boost/atomic/detail/gcc-sparcv9.hpp +1259 -0
- data/ext/boost/atomic/detail/gcc-x86.hpp +1766 -0
- data/ext/boost/atomic/detail/generic-cas.hpp +206 -0
- data/ext/boost/atomic/detail/interlocked.hpp +200 -0
- data/ext/boost/atomic/detail/linux-arm.hpp +189 -0
- data/ext/boost/atomic/detail/lockpool.hpp +97 -0
- data/ext/boost/atomic/detail/platform.hpp +62 -0
- data/ext/boost/atomic/detail/type-classification.hpp +45 -0
- data/ext/boost/chrono/config.hpp +8 -3
- data/ext/boost/chrono/duration.hpp +9 -10
- data/ext/boost/chrono/system_clocks.hpp +1 -1
- data/ext/boost/chrono/time_point.hpp +4 -3
- data/ext/boost/config/auto_link.hpp +53 -52
- data/ext/boost/config/compiler/borland.hpp +1 -0
- data/ext/boost/config/compiler/clang.hpp +24 -1
- data/ext/boost/config/compiler/codegear.hpp +1 -0
- data/ext/boost/config/compiler/common_edg.hpp +1 -0
- data/ext/boost/config/compiler/cray.hpp +1 -0
- data/ext/boost/config/compiler/digitalmars.hpp +1 -0
- data/ext/boost/config/compiler/gcc.hpp +29 -3
- data/ext/boost/config/compiler/gcc_xml.hpp +2 -1
- data/ext/boost/config/compiler/hp_acc.hpp +1 -0
- data/ext/boost/config/compiler/intel.hpp +1 -1
- data/ext/boost/config/compiler/metrowerks.hpp +1 -0
- data/ext/boost/config/compiler/mpw.hpp +1 -0
- data/ext/boost/config/compiler/pathscale.hpp +1 -0
- data/ext/boost/config/compiler/pgi.hpp +1 -0
- data/ext/boost/config/compiler/sunpro_cc.hpp +1 -0
- data/ext/boost/config/compiler/vacpp.hpp +3 -2
- data/ext/boost/config/compiler/visualc.hpp +25 -11
- data/ext/boost/config/platform/vxworks.hpp +353 -15
- data/ext/boost/config/select_compiler_config.hpp +4 -4
- data/ext/boost/config/stdlib/dinkumware.hpp +10 -3
- data/ext/boost/config/stdlib/libstdcpp3.hpp +2 -1
- data/ext/boost/config/suffix.hpp +45 -19
- data/ext/boost/date_time/format_date_parser.hpp +1 -11
- data/ext/boost/date_time/strings_from_facet.hpp +5 -3
- data/ext/boost/detail/atomic_redef_macros.hpp +19 -0
- data/ext/boost/detail/atomic_undef_macros.hpp +39 -0
- data/ext/boost/detail/endian.hpp +52 -4
- data/ext/boost/detail/scoped_enum_emulation.hpp +10 -10
- data/ext/boost/detail/select_type.hpp +36 -0
- data/ext/boost/exception/current_exception_cast.hpp +1 -1
- data/ext/boost/exception/detail/error_info_impl.hpp +3 -5
- data/ext/boost/exception/detail/exception_ptr.hpp +3 -3
- data/ext/boost/exception/detail/is_output_streamable.hpp +1 -1
- data/ext/boost/exception/detail/object_hex_dump.hpp +1 -1
- data/ext/boost/exception/detail/type_info.hpp +1 -1
- data/ext/boost/exception/diagnostic_information.hpp +15 -14
- data/ext/boost/exception/exception.hpp +1 -1
- data/ext/boost/exception/get_error_info.hpp +1 -1
- data/ext/boost/exception/info.hpp +12 -13
- data/ext/boost/exception/to_string.hpp +6 -1
- data/ext/boost/exception/to_string_stub.hpp +9 -1
- data/ext/boost/foreach.hpp +5 -5
- data/ext/boost/function/function_template.hpp +6 -6
- data/ext/boost/functional/hash/detail/float_functions.hpp +90 -0
- data/ext/boost/functional/hash/detail/hash_float.hpp +11 -2
- data/ext/boost/functional/hash/extensions.hpp +14 -2
- data/ext/boost/functional/hash/hash.hpp +26 -5
- data/ext/boost/get_pointer.hpp +17 -2
- data/ext/boost/integer_traits.hpp +1 -1
- data/ext/boost/lexical_cast.hpp +615 -395
- data/ext/boost/libs/atomic/lockpool.cpp +24 -0
- data/ext/boost/libs/system/src/error_code.cpp +25 -18
- data/ext/boost/libs/thread/src/future.cpp +7 -5
- data/ext/boost/libs/thread/src/pthread/once.cpp +9 -3
- data/ext/boost/libs/thread/src/pthread/once_atomic.cpp +90 -0
- data/ext/boost/libs/thread/src/pthread/thread.cpp +129 -95
- data/ext/boost/libs/thread/src/pthread/timeconv.inl +20 -1
- data/ext/boost/limits.hpp +1 -1
- data/ext/boost/math/policies/policy.hpp +10 -0
- data/ext/boost/math/special_functions/detail/round_fwd.hpp +17 -4
- data/ext/boost/math/special_functions/fpclassify.hpp +114 -45
- data/ext/boost/math/special_functions/math_fwd.hpp +195 -83
- data/ext/boost/math/special_functions/sign.hpp +13 -8
- data/ext/boost/math/tools/config.hpp +38 -16
- data/ext/boost/move/algorithm.hpp +275 -0
- data/ext/boost/move/core.hpp +332 -0
- data/ext/boost/move/detail/config_begin.hpp +23 -0
- data/ext/boost/move/detail/config_end.hpp +20 -0
- data/ext/boost/move/detail/meta_utils.hpp +158 -0
- data/ext/boost/move/iterator.hpp +298 -0
- data/ext/boost/move/move.hpp +10 -1256
- data/ext/boost/move/traits.hpp +142 -0
- data/ext/boost/move/utility.hpp +194 -0
- data/ext/boost/mpl/assert.hpp +72 -4
- data/ext/boost/noncopyable.hpp +15 -3
- data/ext/boost/pointer_to_other.hpp +55 -0
- data/ext/boost/range/concepts.hpp +4 -4
- data/ext/boost/range/detail/extract_optional_type.hpp +1 -1
- data/ext/boost/range/empty.hpp +1 -1
- data/ext/boost/range/iterator_range_core.hpp +4 -1
- data/ext/boost/range/iterator_range_io.hpp +2 -2
- data/ext/boost/ratio/config.hpp +6 -0
- data/ext/boost/ratio/detail/overflow_helpers.hpp +2 -2
- data/ext/boost/smart_ptr/allocate_shared_array.hpp +250 -0
- data/ext/boost/smart_ptr/detail/allocate_array_helper.hpp +169 -0
- data/ext/boost/smart_ptr/detail/array_deleter.hpp +124 -0
- data/ext/boost/smart_ptr/detail/array_traits.hpp +53 -0
- data/ext/boost/smart_ptr/detail/array_utility.hpp +178 -0
- data/ext/boost/smart_ptr/detail/make_array_helper.hpp +157 -0
- data/ext/boost/smart_ptr/detail/operator_bool.hpp +16 -9
- data/ext/boost/smart_ptr/detail/shared_count.hpp +78 -7
- data/ext/boost/smart_ptr/detail/sp_convertible.hpp +15 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base.hpp +12 -6
- data/ext/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_aix.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_nt.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_pt.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +162 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_solaris.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_spin.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_sync.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +1 -0
- data/ext/boost/smart_ptr/detail/sp_counted_impl.hpp +15 -0
- data/ext/boost/smart_ptr/detail/sp_forward.hpp +39 -0
- data/ext/boost/smart_ptr/detail/sp_has_sync.hpp +19 -3
- data/ext/boost/smart_ptr/detail/sp_if_array.hpp +31 -0
- data/ext/boost/smart_ptr/detail/sp_nullptr_t.hpp +45 -0
- data/ext/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +5 -12
- data/ext/boost/smart_ptr/enable_shared_from_this.hpp +4 -4
- data/ext/boost/smart_ptr/make_shared.hpp +5 -1060
- data/ext/boost/smart_ptr/make_shared_array.hpp +247 -0
- data/ext/boost/smart_ptr/make_shared_object.hpp +1128 -0
- data/ext/boost/smart_ptr/scoped_array.hpp +32 -7
- data/ext/boost/smart_ptr/scoped_ptr.hpp +31 -5
- data/ext/boost/smart_ptr/shared_array.hpp +135 -20
- data/ext/boost/smart_ptr/shared_ptr.hpp +444 -126
- data/ext/boost/smart_ptr/weak_ptr.hpp +39 -28
- data/ext/boost/static_assert.hpp +74 -17
- data/ext/boost/system/error_code.hpp +76 -68
- data/ext/boost/system/system_error.hpp +5 -1
- data/ext/boost/thread/barrier.hpp +6 -2
- data/ext/boost/thread/completion_latch.hpp +233 -0
- data/ext/boost/thread/condition.hpp +6 -1
- data/ext/boost/thread/detail/async_func.hpp +571 -0
- data/ext/boost/thread/detail/config.hpp +248 -40
- data/ext/boost/thread/detail/counter.hpp +93 -0
- data/ext/boost/thread/detail/delete.hpp +12 -0
- data/ext/boost/thread/detail/invoke.hpp +1351 -0
- data/ext/boost/thread/detail/is_convertible.hpp +48 -0
- data/ext/boost/thread/detail/lockable_wrapper.hpp +45 -0
- data/ext/boost/thread/detail/log.hpp +83 -0
- data/ext/boost/thread/detail/make_tuple_indices.hpp +224 -0
- data/ext/boost/thread/detail/move.hpp +32 -16
- data/ext/boost/thread/detail/thread.hpp +236 -41
- data/ext/boost/thread/detail/thread_group.hpp +55 -9
- data/ext/boost/thread/detail/thread_interruption.hpp +4 -1
- data/ext/boost/thread/exceptions.hpp +2 -0
- data/ext/boost/thread/externally_locked.hpp +351 -0
- data/ext/boost/thread/externally_locked_stream.hpp +170 -0
- data/ext/boost/thread/future.hpp +2517 -455
- data/ext/boost/thread/future_error_code.hpp +61 -0
- data/ext/boost/thread/is_locked_by_this_thread.hpp +39 -0
- data/ext/boost/thread/latch.hpp +142 -0
- data/ext/boost/thread/lock_algorithms.hpp +468 -0
- data/ext/boost/thread/lock_concepts.hpp +197 -0
- data/ext/boost/thread/lock_factories.hpp +78 -0
- data/ext/boost/thread/lock_guard.hpp +88 -0
- data/ext/boost/thread/lock_options.hpp +31 -0
- data/ext/boost/thread/lock_traits.hpp +45 -0
- data/ext/boost/thread/lock_types.hpp +1226 -0
- data/ext/boost/thread/lockable_adapter.hpp +226 -0
- data/ext/boost/thread/lockable_concepts.hpp +157 -0
- data/ext/boost/thread/lockable_traits.hpp +207 -0
- data/ext/boost/thread/locks.hpp +5 -1816
- data/ext/boost/thread/mutex.hpp +33 -1
- data/ext/boost/thread/null_mutex.hpp +243 -0
- data/ext/boost/thread/once.hpp +10 -1
- data/ext/boost/thread/poly_lockable.hpp +68 -0
- data/ext/boost/thread/poly_lockable_adapter.hpp +89 -0
- data/ext/boost/thread/poly_shared_lockable.hpp +135 -0
- data/ext/boost/thread/poly_shared_lockable_adapter.hpp +170 -0
- data/ext/boost/thread/pthread/condition_variable.hpp +74 -26
- data/ext/boost/thread/pthread/condition_variable_fwd.hpp +54 -27
- data/ext/boost/thread/pthread/mutex.hpp +101 -38
- data/ext/boost/thread/pthread/once.hpp +459 -44
- data/ext/boost/thread/pthread/once_atomic.hpp +313 -0
- data/ext/boost/thread/pthread/recursive_mutex.hpp +19 -10
- data/ext/boost/thread/pthread/shared_mutex.hpp +226 -61
- data/ext/boost/thread/pthread/shared_mutex_assert.hpp +724 -0
- data/ext/boost/thread/pthread/thread_data.hpp +53 -50
- data/ext/boost/thread/pthread/timespec.hpp +96 -12
- data/ext/boost/thread/recursive_mutex.hpp +44 -1
- data/ext/boost/thread/reverse_lock.hpp +3 -2
- data/ext/boost/thread/scoped_thread.hpp +285 -0
- data/ext/boost/thread/shared_lock_guard.hpp +2 -1
- data/ext/boost/thread/shared_mutex.hpp +23 -0
- data/ext/boost/thread/strict_lock.hpp +235 -0
- data/ext/boost/thread/sync_bounded_queue.hpp +594 -0
- data/ext/boost/thread/sync_queue.hpp +516 -0
- data/ext/boost/thread/synchronized_value.hpp +1001 -0
- data/ext/boost/thread/testable_mutex.hpp +148 -0
- data/ext/boost/thread/thread.hpp +1 -13
- data/ext/boost/thread/thread_functors.hpp +57 -0
- data/ext/boost/thread/thread_guard.hpp +46 -0
- data/ext/boost/thread/thread_only.hpp +29 -0
- data/ext/boost/thread/v2/shared_mutex.hpp +1062 -0
- data/ext/boost/thread/v2/thread.hpp +37 -10
- data/ext/boost/thread/xtime.hpp +2 -1
- data/ext/boost/token_functions.hpp +16 -16
- data/ext/boost/type_traits/add_lvalue_reference.hpp +26 -0
- data/ext/boost/type_traits/add_reference.hpp +1 -1
- data/ext/boost/type_traits/add_rvalue_reference.hpp +4 -4
- data/ext/boost/type_traits/aligned_storage.hpp +13 -0
- data/ext/boost/type_traits/common_type.hpp +11 -12
- data/ext/boost/type_traits/config.hpp +1 -1
- data/ext/boost/type_traits/detail/common_type_imp.hpp +1 -1
- data/ext/boost/type_traits/detail/has_binary_operator.hpp +1 -1
- data/ext/boost/type_traits/detail/is_function_ptr_tester.hpp +1 -1
- data/ext/boost/type_traits/has_left_shift.hpp +49 -0
- data/ext/boost/type_traits/has_right_shift.hpp +49 -0
- data/ext/boost/type_traits/has_trivial_move_assign.hpp +57 -0
- data/ext/boost/type_traits/has_trivial_move_constructor.hpp +57 -0
- data/ext/boost/type_traits/intrinsics.hpp +18 -2
- data/ext/boost/type_traits/is_abstract.hpp +1 -1
- data/ext/boost/type_traits/is_array.hpp +1 -1
- data/ext/boost/type_traits/is_const.hpp +1 -1
- data/ext/boost/type_traits/is_convertible.hpp +78 -17
- data/ext/boost/type_traits/is_function.hpp +6 -1
- data/ext/boost/type_traits/is_integral.hpp +6 -1
- data/ext/boost/type_traits/is_nothrow_move_assignable.hpp +84 -0
- data/ext/boost/type_traits/is_nothrow_move_constructible.hpp +84 -0
- data/ext/boost/type_traits/is_pod.hpp +3 -1
- data/ext/boost/type_traits/is_rvalue_reference.hpp +1 -1
- data/ext/boost/type_traits/is_volatile.hpp +1 -1
- data/ext/boost/type_traits/make_signed.hpp +153 -0
- data/ext/boost/type_traits/make_unsigned.hpp +16 -0
- data/ext/boost/type_traits/remove_const.hpp +1 -1
- data/ext/boost/type_traits/remove_cv.hpp +1 -1
- data/ext/boost/type_traits/remove_reference.hpp +1 -1
- data/ext/boost/type_traits/remove_volatile.hpp +1 -1
- data/ext/boost/unordered/detail/allocate.hpp +1120 -0
- data/ext/boost/unordered/detail/buckets.hpp +876 -0
- data/ext/boost/unordered/detail/equivalent.hpp +680 -0
- data/ext/boost/unordered/detail/extract_key.hpp +183 -0
- data/ext/boost/unordered/detail/fwd.hpp +23 -0
- data/ext/boost/unordered/detail/table.hpp +861 -0
- data/ext/boost/unordered/detail/unique.hpp +622 -0
- data/ext/boost/unordered/detail/util.hpp +260 -0
- data/ext/boost/unordered/unordered_map.hpp +1652 -0
- data/ext/boost/unordered/unordered_map_fwd.hpp +65 -0
- data/ext/boost/unordered/unordered_set.hpp +1549 -0
- data/ext/boost/unordered/unordered_set_fwd.hpp +63 -0
- data/ext/boost/unordered_map.hpp +18 -0
- data/ext/boost/unordered_set.hpp +18 -0
- data/ext/boost/utility/addressof.hpp +2 -2
- data/ext/boost/utility/result_of.hpp +8 -1
- data/ext/boost/version.hpp +2 -2
- data/ext/common/Account.h +1 -1
- data/ext/common/AccountsDatabase.h +1 -1
- data/ext/common/AgentsStarter.cpp +3 -1
- data/ext/common/AgentsStarter.h +2 -2
- data/ext/common/ApplicationPool2/AppTypes.cpp +24 -6
- data/ext/common/ApplicationPool2/AppTypes.h +17 -8
- data/ext/common/ApplicationPool2/Common.h +12 -12
- data/ext/common/ApplicationPool2/DirectSpawner.h +2 -2
- data/ext/common/ApplicationPool2/DummySpawner.h +3 -3
- data/ext/common/ApplicationPool2/Group.h +6 -6
- data/ext/common/ApplicationPool2/Implementation.cpp +19 -19
- data/ext/common/ApplicationPool2/PipeWatcher.h +5 -5
- data/ext/common/ApplicationPool2/Pool.h +21 -21
- data/ext/common/ApplicationPool2/Process.h +6 -6
- data/ext/common/ApplicationPool2/Session.h +1 -1
- data/ext/common/ApplicationPool2/SmartSpawner.h +24 -12
- data/ext/common/ApplicationPool2/Socket.h +2 -2
- data/ext/common/ApplicationPool2/Spawner.h +64 -14
- data/ext/common/ApplicationPool2/SpawnerFactory.h +7 -7
- data/ext/common/ApplicationPool2/SuperGroup.h +5 -5
- data/ext/common/BackgroundEventLoop.cpp +4 -4
- data/ext/common/BackgroundEventLoop.h +1 -1
- data/ext/common/Constants.h +13 -1
- data/ext/common/EventedBufferedInput.h +8 -8
- data/ext/common/Exceptions.cpp +71 -0
- data/ext/common/Exceptions.h +60 -7
- data/ext/common/FileDescriptor.h +4 -4
- data/ext/common/MessageClient.h +1 -1
- data/ext/common/MessageServer.h +5 -5
- data/ext/common/MultiLibeio.cpp +3 -3
- data/ext/common/MultiLibeio.h +2 -2
- data/ext/common/RandomGenerator.h +11 -11
- data/ext/common/ResourceLocator.h +8 -1
- data/ext/common/SafeLibev.h +12 -12
- data/ext/common/ServerInstanceDir.h +11 -3
- data/ext/common/UnionStation.h +10 -10
- data/ext/common/Utils.cpp +11 -13
- data/ext/common/Utils.h +9 -9
- data/ext/common/Utils/BlockingQueue.h +10 -10
- data/ext/common/Utils/BufferedIO.h +1 -1
- data/ext/common/Utils/CachedFileStat.hpp +2 -2
- data/ext/common/Utils/FileChangeChecker.h +1 -1
- data/ext/common/Utils/HashMap.h +13 -4
- data/ext/common/Utils/IOUtils.cpp +33 -10
- data/ext/common/Utils/IniFile.h +3 -3
- data/ext/common/Utils/Lock.h +2 -2
- data/ext/common/Utils/MessagePassing.h +10 -10
- data/ext/common/Utils/ProcessMetricsCollector.h +24 -6
- data/ext/common/Utils/ScopeGuard.h +5 -5
- data/ext/common/Utils/jsoncpp.cpp +2 -0
- data/ext/common/agents/HelperAgent/FileBackedPipe.h +26 -26
- data/ext/common/agents/HelperAgent/Main.cpp +18 -18
- data/ext/common/agents/HelperAgent/RequestHandler.cpp +4 -4
- data/ext/common/agents/HelperAgent/RequestHandler.h +30 -21
- data/ext/common/agents/LoggingAgent/AdminController.h +1 -1
- data/ext/common/agents/LoggingAgent/FilterSupport.h +13 -11
- data/ext/common/agents/LoggingAgent/LoggingServer.h +11 -11
- data/ext/common/agents/LoggingAgent/Main.cpp +9 -9
- data/ext/common/agents/LoggingAgent/RemoteSender.h +3 -3
- data/ext/common/agents/SpawnPreparer.cpp +1 -0
- data/ext/common/agents/Watchdog/AgentWatcher.cpp +8 -7
- data/ext/common/agents/Watchdog/Main.cpp +81 -73
- data/ext/common/agents/Watchdog/ServerInstanceDirToucher.cpp +1 -1
- data/ext/libev/Changes +57 -0
- data/ext/libev/LICENSE +2 -1
- data/ext/libev/Makefile.in +110 -50
- data/ext/libev/README +8 -8
- data/ext/libev/aclocal.m4 +1503 -861
- data/ext/libev/config.guess +290 -304
- data/ext/libev/config.sub +77 -198
- data/ext/libev/configure +1735 -890
- data/ext/libev/configure.ac +3 -2
- data/ext/libev/ev++.h +6 -6
- data/ext/libev/ev.c +541 -214
- data/ext/libev/ev.h +106 -100
- data/ext/libev/ev_epoll.c +1 -1
- data/ext/libev/ev_kqueue.c +20 -4
- data/ext/libev/ev_vars.h +15 -16
- data/ext/libev/ev_win32.c +12 -2
- data/ext/libev/ev_wrap.h +162 -160
- data/ext/libev/event.c +29 -6
- data/ext/libev/event.h +9 -2
- data/ext/libev/ltmain.sh +2632 -1384
- data/ext/nginx/ConfigurationCommands.c +1 -1
- data/ext/nginx/ConfigurationCommands.c.erb +3 -1
- data/ext/nginx/ContentHandler.c +25 -2
- data/ext/nginx/CreateLocationConfig.c +1 -0
- data/ext/nginx/CreateLocationConfig.c.erb +1 -1
- data/ext/nginx/MergeLocationConfig.c +1 -0
- data/ext/nginx/MergeLocationConfig.c.erb +1 -1
- data/ext/nginx/config +12 -0
- data/ext/oxt/dynamic_thread_group.hpp +7 -4
- data/ext/oxt/system_calls.cpp +5 -1
- data/ext/oxt/system_calls.hpp +3 -0
- data/helper-scripts/node-loader.js +117 -249
- data/lib/phusion_passenger.rb +27 -5
- data/lib/phusion_passenger/abstract_installer.rb +104 -9
- data/lib/phusion_passenger/admin_tools/memory_stats.rb +10 -9
- data/lib/phusion_passenger/apache2/config_options.rb +6 -3
- data/lib/phusion_passenger/common_library.rb +7 -1
- data/lib/phusion_passenger/constants.rb +6 -0
- data/lib/phusion_passenger/loader_shared_helpers.rb +7 -4
- data/lib/phusion_passenger/nginx/config_options.rb +2 -1
- data/lib/phusion_passenger/packaging.rb +3 -0
- data/lib/phusion_passenger/platform_info/apache.rb +43 -6
- data/lib/phusion_passenger/platform_info/apache_detector.rb +15 -5
- data/lib/phusion_passenger/platform_info/compiler.rb +167 -32
- data/lib/phusion_passenger/platform_info/cxx_portability.rb +133 -77
- data/lib/phusion_passenger/platform_info/depcheck.rb +17 -7
- data/lib/phusion_passenger/platform_info/depcheck_specs/apache2.rb +3 -3
- data/lib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb +4 -4
- data/lib/phusion_passenger/platform_info/depcheck_specs/ruby.rb +5 -6
- data/lib/phusion_passenger/platform_info/linux.rb +2 -1
- data/lib/phusion_passenger/platform_info/operating_system.rb +1 -1
- data/lib/phusion_passenger/platform_info/ruby.rb +18 -3
- data/lib/phusion_passenger/standalone/runtime_installer.rb +6 -2
- data/lib/phusion_passenger/standalone/start_command.rb +8 -2
- data/lib/phusion_passenger/utils/ansi_colors.rb +9 -0
- data/lib/phusion_passenger/utils/hosts_file_parser.rb +4 -2
- data/node_lib/phusion_passenger/httplib_emulation.js +141 -0
- data/node_lib/phusion_passenger/line_reader.js +154 -0
- data/node_lib/phusion_passenger/request_handler.js +65 -0
- data/node_lib/phusion_passenger/session_protocol_parser.js +113 -0
- data/resources/templates/apache2/deployment_example.txt.erb +2 -1
- data/resources/templates/apache2/installing_against_a_different_apache.txt.erb +14 -0
- data/resources/templates/apache2/multiple_apache_installations_detected.txt.erb +15 -0
- data/resources/templates/apache2/possible_solutions_for_compilation_and_installation_problems.txt.erb +4 -5
- data/resources/templates/general_error_with_html.html.template +1 -1
- data/resources/templates/installer_common/gem_install_permission_problems.txt.erb +17 -0
- data/resources/templates/installer_common/low_amount_of_memory_warning.txt.erb +6 -4
- data/resources/templates/installer_common/world_inaccessible_directories.txt.erb +16 -0
- data/resources/templates/nginx/deployment_example.txt.erb +2 -1
- data/resources/templates/nginx/possible_solutions_for_compilation_and_installation_problems.txt.erb +4 -5
- data/resources/templates/standalone/config.erb +1 -0
- data/test/cxx/ApplicationPool2/DirectSpawnerTest.cpp +3 -3
- data/test/cxx/ApplicationPool2/PoolTest.cpp +4 -4
- data/test/cxx/ApplicationPool2/ProcessTest.cpp +5 -5
- data/test/cxx/ApplicationPool2/SmartSpawnerTest.cpp +5 -5
- data/test/cxx/ApplicationPool2/SpawnerTestCases.cpp +1 -1
- data/test/cxx/EventedBufferedInputTest.cpp +6 -6
- data/test/cxx/FileBackedPipeTest.cpp +1 -1
- data/test/cxx/MessagePassingTest.cpp +1 -1
- data/test/cxx/MessageServerTest.cpp +4 -4
- data/test/cxx/RequestHandlerTest.cpp +7 -7
- data/test/cxx/UnionStationTest.cpp +2 -2
- data/test/node/line_reader_spec.js +338 -0
- data/test/node/spec_helper.js +27 -0
- data/test/ruby/standalone/runtime_installer_spec.rb +2 -1
- metadata +131 -22
- metadata.gz.asc +7 -7
- data/ext/boost/functional/hash/detail/container_fwd_0x.hpp +0 -29
- data/ext/boost/lambda/core.hpp +0 -79
- data/ext/boost/lambda/detail/actions.hpp +0 -174
- data/ext/boost/lambda/detail/arity_code.hpp +0 -110
- data/ext/boost/lambda/detail/function_adaptors.hpp +0 -789
- data/ext/boost/lambda/detail/is_instance_of.hpp +0 -104
- data/ext/boost/lambda/detail/lambda_config.hpp +0 -48
- data/ext/boost/lambda/detail/lambda_functor_base.hpp +0 -615
- data/ext/boost/lambda/detail/lambda_functors.hpp +0 -324
- data/ext/boost/lambda/detail/lambda_fwd.hpp +0 -74
- data/ext/boost/lambda/detail/lambda_traits.hpp +0 -578
- data/ext/boost/lambda/detail/member_ptr.hpp +0 -737
- data/ext/boost/lambda/detail/operator_actions.hpp +0 -139
- data/ext/boost/lambda/detail/operator_lambda_func_base.hpp +0 -271
- data/ext/boost/lambda/detail/operator_return_type_traits.hpp +0 -917
- data/ext/boost/lambda/detail/operators.hpp +0 -370
- data/ext/boost/lambda/detail/ret.hpp +0 -325
- data/ext/boost/lambda/detail/return_type_traits.hpp +0 -282
- data/ext/boost/lambda/detail/select_functions.hpp +0 -74
- data/ext/boost/lambda/lambda.hpp +0 -34
data/ext/libev/configure
CHANGED
@@ -196,6 +196,14 @@ test -x / || exit 1"
|
|
196
196
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
197
197
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
198
198
|
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
199
|
+
|
200
|
+
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
|
201
|
+
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
202
|
+
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
203
|
+
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
204
|
+
PATH=/empty FPATH=/empty; export PATH FPATH
|
205
|
+
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
|
206
|
+
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
|
199
207
|
test \$(( 1 + 1 )) = 2 || exit 1"
|
200
208
|
if (eval "$as_required") 2>/dev/null; then :
|
201
209
|
as_have_required=yes
|
@@ -553,155 +561,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
553
561
|
# Sed expression to map a string onto a valid variable name.
|
554
562
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
555
563
|
|
556
|
-
|
557
|
-
|
558
|
-
# Check that we are running under the correct shell.
|
559
564
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
560
565
|
|
561
|
-
case X$lt_ECHO in
|
562
|
-
X*--fallback-echo)
|
563
|
-
# Remove one level of quotation (which was required for Make).
|
564
|
-
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
|
565
|
-
;;
|
566
|
-
esac
|
567
|
-
|
568
|
-
ECHO=${lt_ECHO-echo}
|
569
|
-
if test "X$1" = X--no-reexec; then
|
570
|
-
# Discard the --no-reexec flag, and continue.
|
571
|
-
shift
|
572
|
-
elif test "X$1" = X--fallback-echo; then
|
573
|
-
# Avoid inline document here, it may be left over
|
574
|
-
:
|
575
|
-
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
|
576
|
-
# Yippee, $ECHO works!
|
577
|
-
:
|
578
|
-
else
|
579
|
-
# Restart under the correct shell.
|
580
|
-
exec $SHELL "$0" --no-reexec ${1+"$@"}
|
581
|
-
fi
|
582
|
-
|
583
|
-
if test "X$1" = X--fallback-echo; then
|
584
|
-
# used as fallback echo
|
585
|
-
shift
|
586
|
-
cat <<_LT_EOF
|
587
|
-
$*
|
588
|
-
_LT_EOF
|
589
|
-
exit 0
|
590
|
-
fi
|
591
|
-
|
592
|
-
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
593
|
-
# if CDPATH is set.
|
594
|
-
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
595
|
-
|
596
|
-
if test -z "$lt_ECHO"; then
|
597
|
-
if test "X${echo_test_string+set}" != Xset; then
|
598
|
-
# find a string as large as possible, as long as the shell can cope with it
|
599
|
-
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
|
600
|
-
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
|
601
|
-
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
|
602
|
-
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
|
603
|
-
then
|
604
|
-
break
|
605
|
-
fi
|
606
|
-
done
|
607
|
-
fi
|
608
|
-
|
609
|
-
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
|
610
|
-
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
|
611
|
-
test "X$echo_testing_string" = "X$echo_test_string"; then
|
612
|
-
:
|
613
|
-
else
|
614
|
-
# The Solaris, AIX, and Digital Unix default echo programs unquote
|
615
|
-
# backslashes. This makes it impossible to quote backslashes using
|
616
|
-
# echo "$something" | sed 's/\\/\\\\/g'
|
617
|
-
#
|
618
|
-
# So, first we look for a working echo in the user's PATH.
|
619
|
-
|
620
|
-
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
621
|
-
for dir in $PATH /usr/ucb; do
|
622
|
-
IFS="$lt_save_ifs"
|
623
|
-
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
|
624
|
-
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
|
625
|
-
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
|
626
|
-
test "X$echo_testing_string" = "X$echo_test_string"; then
|
627
|
-
ECHO="$dir/echo"
|
628
|
-
break
|
629
|
-
fi
|
630
|
-
done
|
631
|
-
IFS="$lt_save_ifs"
|
632
|
-
|
633
|
-
if test "X$ECHO" = Xecho; then
|
634
|
-
# We didn't find a better echo, so look for alternatives.
|
635
|
-
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
|
636
|
-
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
|
637
|
-
test "X$echo_testing_string" = "X$echo_test_string"; then
|
638
|
-
# This shell has a builtin print -r that does the trick.
|
639
|
-
ECHO='print -r'
|
640
|
-
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
|
641
|
-
test "X$CONFIG_SHELL" != X/bin/ksh; then
|
642
|
-
# If we have ksh, try running configure again with it.
|
643
|
-
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
644
|
-
export ORIGINAL_CONFIG_SHELL
|
645
|
-
CONFIG_SHELL=/bin/ksh
|
646
|
-
export CONFIG_SHELL
|
647
|
-
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
|
648
|
-
else
|
649
|
-
# Try using printf.
|
650
|
-
ECHO='printf %s\n'
|
651
|
-
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
|
652
|
-
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
|
653
|
-
test "X$echo_testing_string" = "X$echo_test_string"; then
|
654
|
-
# Cool, printf works
|
655
|
-
:
|
656
|
-
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
|
657
|
-
test "X$echo_testing_string" = 'X\t' &&
|
658
|
-
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
|
659
|
-
test "X$echo_testing_string" = "X$echo_test_string"; then
|
660
|
-
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
|
661
|
-
export CONFIG_SHELL
|
662
|
-
SHELL="$CONFIG_SHELL"
|
663
|
-
export SHELL
|
664
|
-
ECHO="$CONFIG_SHELL $0 --fallback-echo"
|
665
|
-
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
|
666
|
-
test "X$echo_testing_string" = 'X\t' &&
|
667
|
-
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
|
668
|
-
test "X$echo_testing_string" = "X$echo_test_string"; then
|
669
|
-
ECHO="$CONFIG_SHELL $0 --fallback-echo"
|
670
|
-
else
|
671
|
-
# maybe with a smaller string...
|
672
|
-
prev=:
|
673
|
-
|
674
|
-
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
|
675
|
-
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
|
676
|
-
then
|
677
|
-
break
|
678
|
-
fi
|
679
|
-
prev="$cmd"
|
680
|
-
done
|
681
|
-
|
682
|
-
if test "$prev" != 'sed 50q "$0"'; then
|
683
|
-
echo_test_string=`eval $prev`
|
684
|
-
export echo_test_string
|
685
|
-
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
|
686
|
-
else
|
687
|
-
# Oops. We lost completely, so just stick with echo.
|
688
|
-
ECHO=echo
|
689
|
-
fi
|
690
|
-
fi
|
691
|
-
fi
|
692
|
-
fi
|
693
|
-
fi
|
694
|
-
fi
|
695
|
-
|
696
|
-
# Copy echo and quote the copy suitably for passing to libtool from
|
697
|
-
# the Makefile, instead of quoting the original, which is used later.
|
698
|
-
lt_ECHO=$ECHO
|
699
|
-
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
|
700
|
-
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
|
701
|
-
fi
|
702
|
-
|
703
|
-
|
704
|
-
|
705
566
|
|
706
567
|
test -n "$DJDIR" || exec 7<&0 </dev/null
|
707
568
|
exec 6>&1
|
@@ -778,9 +639,11 @@ OTOOL
|
|
778
639
|
LIPO
|
779
640
|
NMEDIT
|
780
641
|
DSYMUTIL
|
781
|
-
|
642
|
+
MANIFEST_TOOL
|
782
643
|
RANLIB
|
644
|
+
ac_ct_AR
|
783
645
|
AR
|
646
|
+
DLLTOOL
|
784
647
|
OBJDUMP
|
785
648
|
LN_S
|
786
649
|
NM
|
@@ -803,6 +666,7 @@ LIBTOOL
|
|
803
666
|
am__fastdepCC_FALSE
|
804
667
|
am__fastdepCC_TRUE
|
805
668
|
CCDEPMODE
|
669
|
+
am__nodep
|
806
670
|
AMDEPBACKSLASH
|
807
671
|
AMDEP_FALSE
|
808
672
|
AMDEP_TRUE
|
@@ -890,6 +754,7 @@ enable_static
|
|
890
754
|
with_pic
|
891
755
|
enable_fast_install
|
892
756
|
with_gnu_ld
|
757
|
+
with_sysroot
|
893
758
|
enable_libtool_lock
|
894
759
|
'
|
895
760
|
ac_precious_vars='build_alias
|
@@ -1530,9 +1395,11 @@ Optional Features:
|
|
1530
1395
|
Optional Packages:
|
1531
1396
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
1532
1397
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
1533
|
-
--with-pic
|
1398
|
+
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
1534
1399
|
both]
|
1535
1400
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
1401
|
+
--with-sysroot=DIR Search for dependent libraries within DIR
|
1402
|
+
(or the compiler's sysroot if not specified).
|
1536
1403
|
|
1537
1404
|
Some influential environment variables:
|
1538
1405
|
CC C compiler command
|
@@ -2324,6 +2191,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
2324
2191
|
|
2325
2192
|
|
2326
2193
|
|
2194
|
+
orig_CFLAGS="$CFLAGS"
|
2195
|
+
|
2196
|
+
|
2327
2197
|
|
2328
2198
|
am__api_version='1.11'
|
2329
2199
|
|
@@ -2792,7 +2662,7 @@ fi
|
|
2792
2662
|
|
2793
2663
|
# Define the identity of the package.
|
2794
2664
|
PACKAGE=libev
|
2795
|
-
VERSION=4.
|
2665
|
+
VERSION=4.15
|
2796
2666
|
|
2797
2667
|
|
2798
2668
|
cat >>confdefs.h <<_ACEOF
|
@@ -2822,11 +2692,11 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
2822
2692
|
|
2823
2693
|
# We need awk for the "check" target. The system "awk" is bad on
|
2824
2694
|
# some platforms.
|
2825
|
-
# Always define AMTAR for backward compatibility.
|
2826
|
-
|
2827
|
-
AMTAR
|
2695
|
+
# Always define AMTAR for backward compatibility. Yes, it's still used
|
2696
|
+
# in the wild :-( We should find a proper way to deprecate it ...
|
2697
|
+
AMTAR='$${TAR-tar}'
|
2828
2698
|
|
2829
|
-
am__tar='
|
2699
|
+
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
|
2830
2700
|
|
2831
2701
|
|
2832
2702
|
|
@@ -3697,6 +3567,7 @@ fi
|
|
3697
3567
|
if test "x$enable_dependency_tracking" != xno; then
|
3698
3568
|
am_depcomp="$ac_aux_dir/depcomp"
|
3699
3569
|
AMDEPBACKSLASH='\'
|
3570
|
+
am__nodep='_no'
|
3700
3571
|
fi
|
3701
3572
|
if test "x$enable_dependency_tracking" != xno; then
|
3702
3573
|
AMDEP_TRUE=
|
@@ -3721,6 +3592,7 @@ else
|
|
3721
3592
|
# instance it was reported that on HP-UX the gcc test will end up
|
3722
3593
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
3723
3594
|
# in D'.
|
3595
|
+
rm -rf conftest.dir
|
3724
3596
|
mkdir conftest.dir
|
3725
3597
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
3726
3598
|
# using a relative directory.
|
@@ -3780,7 +3652,7 @@ else
|
|
3780
3652
|
break
|
3781
3653
|
fi
|
3782
3654
|
;;
|
3783
|
-
msvisualcpp | msvcmsys)
|
3655
|
+
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
3784
3656
|
# This compiler won't grok `-c -o', but also, the minuso test has
|
3785
3657
|
# not run yet. These depmodes are late enough in the game, and
|
3786
3658
|
# so weak that their functioning should not be impacted.
|
@@ -3851,8 +3723,8 @@ esac
|
|
3851
3723
|
|
3852
3724
|
|
3853
3725
|
|
3854
|
-
macro_version='2.2
|
3855
|
-
macro_revision='1.
|
3726
|
+
macro_version='2.4.2'
|
3727
|
+
macro_revision='1.3337'
|
3856
3728
|
|
3857
3729
|
|
3858
3730
|
|
@@ -3939,6 +3811,75 @@ IFS=$ac_save_IFS
|
|
3939
3811
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
3940
3812
|
|
3941
3813
|
|
3814
|
+
# Backslashify metacharacters that are still active within
|
3815
|
+
# double-quoted strings.
|
3816
|
+
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
3817
|
+
|
3818
|
+
# Same as above, but do not quote variable references.
|
3819
|
+
double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
3820
|
+
|
3821
|
+
# Sed substitution to delay expansion of an escaped shell variable in a
|
3822
|
+
# double_quote_subst'ed string.
|
3823
|
+
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
3824
|
+
|
3825
|
+
# Sed substitution to delay expansion of an escaped single quote.
|
3826
|
+
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
|
3827
|
+
|
3828
|
+
# Sed substitution to avoid accidental globbing in evaled expressions
|
3829
|
+
no_glob_subst='s/\*/\\\*/g'
|
3830
|
+
|
3831
|
+
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
3832
|
+
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
|
3833
|
+
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
3834
|
+
|
3835
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
3836
|
+
$as_echo_n "checking how to print strings... " >&6; }
|
3837
|
+
# Test print first, because it will be a builtin if present.
|
3838
|
+
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
3839
|
+
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
3840
|
+
ECHO='print -r --'
|
3841
|
+
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
|
3842
|
+
ECHO='printf %s\n'
|
3843
|
+
else
|
3844
|
+
# Use this function as a fallback that always works.
|
3845
|
+
func_fallback_echo ()
|
3846
|
+
{
|
3847
|
+
eval 'cat <<_LTECHO_EOF
|
3848
|
+
$1
|
3849
|
+
_LTECHO_EOF'
|
3850
|
+
}
|
3851
|
+
ECHO='func_fallback_echo'
|
3852
|
+
fi
|
3853
|
+
|
3854
|
+
# func_echo_all arg...
|
3855
|
+
# Invoke $ECHO with all args, space-separated.
|
3856
|
+
func_echo_all ()
|
3857
|
+
{
|
3858
|
+
$ECHO ""
|
3859
|
+
}
|
3860
|
+
|
3861
|
+
case "$ECHO" in
|
3862
|
+
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
3863
|
+
$as_echo "printf" >&6; } ;;
|
3864
|
+
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
3865
|
+
$as_echo "print -r" >&6; } ;;
|
3866
|
+
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
3867
|
+
$as_echo "cat" >&6; } ;;
|
3868
|
+
esac
|
3869
|
+
|
3870
|
+
|
3871
|
+
|
3872
|
+
|
3873
|
+
|
3874
|
+
|
3875
|
+
|
3876
|
+
|
3877
|
+
|
3878
|
+
|
3879
|
+
|
3880
|
+
|
3881
|
+
|
3882
|
+
|
3942
3883
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
3943
3884
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
3944
3885
|
if ${ac_cv_path_SED+:} false; then :
|
@@ -4404,8 +4345,11 @@ if test "$lt_cv_path_NM" != "no"; then
|
|
4404
4345
|
NM="$lt_cv_path_NM"
|
4405
4346
|
else
|
4406
4347
|
# Didn't find any BSD compatible name lister, look for dumpbin.
|
4407
|
-
if test -n "$
|
4408
|
-
|
4348
|
+
if test -n "$DUMPBIN"; then :
|
4349
|
+
# Let the user override the test.
|
4350
|
+
else
|
4351
|
+
if test -n "$ac_tool_prefix"; then
|
4352
|
+
for ac_prog in dumpbin "link -dump"
|
4409
4353
|
do
|
4410
4354
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
4411
4355
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
@@ -4449,7 +4393,7 @@ fi
|
|
4449
4393
|
fi
|
4450
4394
|
if test -z "$DUMPBIN"; then
|
4451
4395
|
ac_ct_DUMPBIN=$DUMPBIN
|
4452
|
-
for ac_prog in
|
4396
|
+
for ac_prog in dumpbin "link -dump"
|
4453
4397
|
do
|
4454
4398
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4455
4399
|
set dummy $ac_prog; ac_word=$2
|
@@ -4504,6 +4448,15 @@ esac
|
|
4504
4448
|
fi
|
4505
4449
|
fi
|
4506
4450
|
|
4451
|
+
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
|
4452
|
+
*COFF*)
|
4453
|
+
DUMPBIN="$DUMPBIN -symbols"
|
4454
|
+
;;
|
4455
|
+
*)
|
4456
|
+
DUMPBIN=:
|
4457
|
+
;;
|
4458
|
+
esac
|
4459
|
+
fi
|
4507
4460
|
|
4508
4461
|
if test "$DUMPBIN" != ":"; then
|
4509
4462
|
NM="$DUMPBIN"
|
@@ -4523,13 +4476,13 @@ if ${lt_cv_nm_interface+:} false; then :
|
|
4523
4476
|
else
|
4524
4477
|
lt_cv_nm_interface="BSD nm"
|
4525
4478
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
4526
|
-
(eval echo "\"\$as_me:
|
4479
|
+
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
|
4527
4480
|
(eval "$ac_compile" 2>conftest.err)
|
4528
4481
|
cat conftest.err >&5
|
4529
|
-
(eval echo "\"\$as_me:
|
4482
|
+
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
4530
4483
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
4531
4484
|
cat conftest.err >&5
|
4532
|
-
(eval echo "\"\$as_me:
|
4485
|
+
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
|
4533
4486
|
cat conftest.out >&5
|
4534
4487
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
4535
4488
|
lt_cv_nm_interface="MS dumpbin"
|
@@ -4586,6 +4539,11 @@ else
|
|
4586
4539
|
lt_cv_sys_max_cmd_len=8192;
|
4587
4540
|
;;
|
4588
4541
|
|
4542
|
+
mint*)
|
4543
|
+
# On MiNT this can take a long time and run out of memory.
|
4544
|
+
lt_cv_sys_max_cmd_len=8192;
|
4545
|
+
;;
|
4546
|
+
|
4589
4547
|
amigaos*)
|
4590
4548
|
# On AmigaOS with pdksh, this test takes hours, literally.
|
4591
4549
|
# So we just punt and use a minimum line length of 8192.
|
@@ -4611,6 +4569,11 @@ else
|
|
4611
4569
|
lt_cv_sys_max_cmd_len=196608
|
4612
4570
|
;;
|
4613
4571
|
|
4572
|
+
os2*)
|
4573
|
+
# The test takes a long time on OS/2.
|
4574
|
+
lt_cv_sys_max_cmd_len=8192
|
4575
|
+
;;
|
4576
|
+
|
4614
4577
|
osf*)
|
4615
4578
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
4616
4579
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
@@ -4650,8 +4613,8 @@ else
|
|
4650
4613
|
# If test is not a shell built-in, we'll probably end up computing a
|
4651
4614
|
# maximum length that is only half of the actual maximum length, but
|
4652
4615
|
# we can't tell.
|
4653
|
-
while { test "X"
|
4654
|
-
= "
|
4616
|
+
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
|
4617
|
+
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
4655
4618
|
test $i != 17 # 1/2 MB should be enough
|
4656
4619
|
do
|
4657
4620
|
i=`expr $i + 1`
|
@@ -4693,8 +4656,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
|
|
4693
4656
|
# Try some XSI features
|
4694
4657
|
xsi_shell=no
|
4695
4658
|
( _lt_dummy="a/b/c"
|
4696
|
-
test "${_lt_dummy##*/},${_lt_dummy%/*}
|
4697
|
-
= c,a/b
|
4659
|
+
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
|
4660
|
+
= c,a/b,b/c, \
|
4698
4661
|
&& eval 'test $(( 1 + 1 )) -eq 2 \
|
4699
4662
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
|
4700
4663
|
&& xsi_shell=yes
|
@@ -4743,6 +4706,80 @@ esac
|
|
4743
4706
|
|
4744
4707
|
|
4745
4708
|
|
4709
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
4710
|
+
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
|
4711
|
+
if ${lt_cv_to_host_file_cmd+:} false; then :
|
4712
|
+
$as_echo_n "(cached) " >&6
|
4713
|
+
else
|
4714
|
+
case $host in
|
4715
|
+
*-*-mingw* )
|
4716
|
+
case $build in
|
4717
|
+
*-*-mingw* ) # actually msys
|
4718
|
+
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
4719
|
+
;;
|
4720
|
+
*-*-cygwin* )
|
4721
|
+
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
|
4722
|
+
;;
|
4723
|
+
* ) # otherwise, assume *nix
|
4724
|
+
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
|
4725
|
+
;;
|
4726
|
+
esac
|
4727
|
+
;;
|
4728
|
+
*-*-cygwin* )
|
4729
|
+
case $build in
|
4730
|
+
*-*-mingw* ) # actually msys
|
4731
|
+
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
4732
|
+
;;
|
4733
|
+
*-*-cygwin* )
|
4734
|
+
lt_cv_to_host_file_cmd=func_convert_file_noop
|
4735
|
+
;;
|
4736
|
+
* ) # otherwise, assume *nix
|
4737
|
+
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
|
4738
|
+
;;
|
4739
|
+
esac
|
4740
|
+
;;
|
4741
|
+
* ) # unhandled hosts (and "normal" native builds)
|
4742
|
+
lt_cv_to_host_file_cmd=func_convert_file_noop
|
4743
|
+
;;
|
4744
|
+
esac
|
4745
|
+
|
4746
|
+
fi
|
4747
|
+
|
4748
|
+
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
4749
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
4750
|
+
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
|
4751
|
+
|
4752
|
+
|
4753
|
+
|
4754
|
+
|
4755
|
+
|
4756
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
4757
|
+
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
|
4758
|
+
if ${lt_cv_to_tool_file_cmd+:} false; then :
|
4759
|
+
$as_echo_n "(cached) " >&6
|
4760
|
+
else
|
4761
|
+
#assume ordinary cross tools, or native build.
|
4762
|
+
lt_cv_to_tool_file_cmd=func_convert_file_noop
|
4763
|
+
case $host in
|
4764
|
+
*-*-mingw* )
|
4765
|
+
case $build in
|
4766
|
+
*-*-mingw* ) # actually msys
|
4767
|
+
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
|
4768
|
+
;;
|
4769
|
+
esac
|
4770
|
+
;;
|
4771
|
+
esac
|
4772
|
+
|
4773
|
+
fi
|
4774
|
+
|
4775
|
+
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
4776
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
4777
|
+
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
|
4778
|
+
|
4779
|
+
|
4780
|
+
|
4781
|
+
|
4782
|
+
|
4746
4783
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
4747
4784
|
$as_echo_n "checking for $LD option to reload object files... " >&6; }
|
4748
4785
|
if ${lt_cv_ld_reload_flag+:} false; then :
|
@@ -4759,6 +4796,11 @@ case $reload_flag in
|
|
4759
4796
|
esac
|
4760
4797
|
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
4761
4798
|
case $host_os in
|
4799
|
+
cygwin* | mingw* | pw32* | cegcc*)
|
4800
|
+
if test "$GCC" != yes; then
|
4801
|
+
reload_cmds=false
|
4802
|
+
fi
|
4803
|
+
;;
|
4762
4804
|
darwin*)
|
4763
4805
|
if test "$GCC" = yes; then
|
4764
4806
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
|
@@ -4922,16 +4964,18 @@ mingw* | pw32*)
|
|
4922
4964
|
# Base MSYS/MinGW do not provide the 'file' command needed by
|
4923
4965
|
# func_win32_libid shell function, so use a weaker test based on 'objdump',
|
4924
4966
|
# unless we find 'file', for example because we are cross-compiling.
|
4925
|
-
|
4967
|
+
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
|
4968
|
+
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
|
4926
4969
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
4927
4970
|
lt_cv_file_magic_cmd='func_win32_libid'
|
4928
4971
|
else
|
4929
|
-
|
4972
|
+
# Keep this pattern in sync with the one in func_win32_libid.
|
4973
|
+
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
|
4930
4974
|
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
4931
4975
|
fi
|
4932
4976
|
;;
|
4933
4977
|
|
4934
|
-
cegcc)
|
4978
|
+
cegcc*)
|
4935
4979
|
# use the weaker test based on 'objdump'. See mingw*.
|
4936
4980
|
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
|
4937
4981
|
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
@@ -4957,7 +5001,7 @@ freebsd* | dragonfly*)
|
|
4957
5001
|
fi
|
4958
5002
|
;;
|
4959
5003
|
|
4960
|
-
|
5004
|
+
haiku*)
|
4961
5005
|
lt_cv_deplibs_check_method=pass_all
|
4962
5006
|
;;
|
4963
5007
|
|
@@ -4969,11 +5013,11 @@ hpux10.20* | hpux11*)
|
|
4969
5013
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
|
4970
5014
|
;;
|
4971
5015
|
hppa*64*)
|
4972
|
-
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9]
|
5016
|
+
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
|
4973
5017
|
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
|
4974
5018
|
;;
|
4975
5019
|
*)
|
4976
|
-
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]
|
5020
|
+
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
|
4977
5021
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
4978
5022
|
;;
|
4979
5023
|
esac
|
@@ -4994,8 +5038,8 @@ irix5* | irix6* | nonstopux*)
|
|
4994
5038
|
lt_cv_deplibs_check_method=pass_all
|
4995
5039
|
;;
|
4996
5040
|
|
4997
|
-
# This must be
|
4998
|
-
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
5041
|
+
# This must be glibc/ELF.
|
5042
|
+
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
4999
5043
|
lt_cv_deplibs_check_method=pass_all
|
5000
5044
|
;;
|
5001
5045
|
|
@@ -5076,6 +5120,21 @@ esac
|
|
5076
5120
|
fi
|
5077
5121
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
5078
5122
|
$as_echo "$lt_cv_deplibs_check_method" >&6; }
|
5123
|
+
|
5124
|
+
file_magic_glob=
|
5125
|
+
want_nocaseglob=no
|
5126
|
+
if test "$build" = "$host"; then
|
5127
|
+
case $host_os in
|
5128
|
+
mingw* | pw32*)
|
5129
|
+
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
|
5130
|
+
want_nocaseglob=yes
|
5131
|
+
else
|
5132
|
+
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
|
5133
|
+
fi
|
5134
|
+
;;
|
5135
|
+
esac
|
5136
|
+
fi
|
5137
|
+
|
5079
5138
|
file_magic_cmd=$lt_cv_file_magic_cmd
|
5080
5139
|
deplibs_check_method=$lt_cv_deplibs_check_method
|
5081
5140
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
@@ -5089,18 +5148,28 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
|
5089
5148
|
|
5090
5149
|
|
5091
5150
|
|
5151
|
+
|
5152
|
+
|
5153
|
+
|
5154
|
+
|
5155
|
+
|
5156
|
+
|
5157
|
+
|
5158
|
+
|
5159
|
+
|
5160
|
+
|
5092
5161
|
|
5093
5162
|
|
5094
5163
|
if test -n "$ac_tool_prefix"; then
|
5095
|
-
# Extract the first word of "${ac_tool_prefix}
|
5096
|
-
set dummy ${ac_tool_prefix}
|
5164
|
+
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
5165
|
+
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
5097
5166
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5098
5167
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5099
|
-
if ${
|
5168
|
+
if ${ac_cv_prog_DLLTOOL+:} false; then :
|
5100
5169
|
$as_echo_n "(cached) " >&6
|
5101
5170
|
else
|
5102
|
-
if test -n "$
|
5103
|
-
|
5171
|
+
if test -n "$DLLTOOL"; then
|
5172
|
+
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
5104
5173
|
else
|
5105
5174
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5106
5175
|
for as_dir in $PATH
|
@@ -5109,7 +5178,7 @@ do
|
|
5109
5178
|
test -z "$as_dir" && as_dir=.
|
5110
5179
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5111
5180
|
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5112
|
-
|
5181
|
+
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
5113
5182
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5114
5183
|
break 2
|
5115
5184
|
fi
|
@@ -5119,10 +5188,10 @@ IFS=$as_save_IFS
|
|
5119
5188
|
|
5120
5189
|
fi
|
5121
5190
|
fi
|
5122
|
-
|
5123
|
-
if test -n "$
|
5124
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $
|
5125
|
-
$as_echo "$
|
5191
|
+
DLLTOOL=$ac_cv_prog_DLLTOOL
|
5192
|
+
if test -n "$DLLTOOL"; then
|
5193
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
5194
|
+
$as_echo "$DLLTOOL" >&6; }
|
5126
5195
|
else
|
5127
5196
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5128
5197
|
$as_echo "no" >&6; }
|
@@ -5130,17 +5199,17 @@ fi
|
|
5130
5199
|
|
5131
5200
|
|
5132
5201
|
fi
|
5133
|
-
if test -z "$
|
5134
|
-
|
5135
|
-
# Extract the first word of "
|
5136
|
-
set dummy
|
5202
|
+
if test -z "$ac_cv_prog_DLLTOOL"; then
|
5203
|
+
ac_ct_DLLTOOL=$DLLTOOL
|
5204
|
+
# Extract the first word of "dlltool", so it can be a program name with args.
|
5205
|
+
set dummy dlltool; ac_word=$2
|
5137
5206
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5138
5207
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5139
|
-
if ${
|
5208
|
+
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
|
5140
5209
|
$as_echo_n "(cached) " >&6
|
5141
5210
|
else
|
5142
|
-
if test -n "$
|
5143
|
-
|
5211
|
+
if test -n "$ac_ct_DLLTOOL"; then
|
5212
|
+
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
5144
5213
|
else
|
5145
5214
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5146
5215
|
for as_dir in $PATH
|
@@ -5149,7 +5218,7 @@ do
|
|
5149
5218
|
test -z "$as_dir" && as_dir=.
|
5150
5219
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5151
5220
|
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5152
|
-
|
5221
|
+
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
5153
5222
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5154
5223
|
break 2
|
5155
5224
|
fi
|
@@ -5159,17 +5228,17 @@ IFS=$as_save_IFS
|
|
5159
5228
|
|
5160
5229
|
fi
|
5161
5230
|
fi
|
5162
|
-
|
5163
|
-
if test -n "$
|
5164
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $
|
5165
|
-
$as_echo "$
|
5231
|
+
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
5232
|
+
if test -n "$ac_ct_DLLTOOL"; then
|
5233
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
5234
|
+
$as_echo "$ac_ct_DLLTOOL" >&6; }
|
5166
5235
|
else
|
5167
5236
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5168
5237
|
$as_echo "no" >&6; }
|
5169
5238
|
fi
|
5170
5239
|
|
5171
|
-
if test "x$
|
5172
|
-
|
5240
|
+
if test "x$ac_ct_DLLTOOL" = x; then
|
5241
|
+
DLLTOOL="false"
|
5173
5242
|
else
|
5174
5243
|
case $cross_compiling:$ac_tool_warned in
|
5175
5244
|
yes:)
|
@@ -5177,19 +5246,56 @@ yes:)
|
|
5177
5246
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5178
5247
|
ac_tool_warned=yes ;;
|
5179
5248
|
esac
|
5180
|
-
|
5249
|
+
DLLTOOL=$ac_ct_DLLTOOL
|
5181
5250
|
fi
|
5182
5251
|
else
|
5183
|
-
|
5252
|
+
DLLTOOL="$ac_cv_prog_DLLTOOL"
|
5184
5253
|
fi
|
5185
5254
|
|
5186
|
-
test -z "$
|
5187
|
-
|
5255
|
+
test -z "$DLLTOOL" && DLLTOOL=dlltool
|
5256
|
+
|
5257
|
+
|
5258
|
+
|
5259
|
+
|
5260
|
+
|
5188
5261
|
|
5189
5262
|
|
5190
5263
|
|
5191
5264
|
|
5192
5265
|
|
5266
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
5267
|
+
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
|
5268
|
+
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
|
5269
|
+
$as_echo_n "(cached) " >&6
|
5270
|
+
else
|
5271
|
+
lt_cv_sharedlib_from_linklib_cmd='unknown'
|
5272
|
+
|
5273
|
+
case $host_os in
|
5274
|
+
cygwin* | mingw* | pw32* | cegcc*)
|
5275
|
+
# two different shell functions defined in ltmain.sh
|
5276
|
+
# decide which to use based on capabilities of $DLLTOOL
|
5277
|
+
case `$DLLTOOL --help 2>&1` in
|
5278
|
+
*--identify-strict*)
|
5279
|
+
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
|
5280
|
+
;;
|
5281
|
+
*)
|
5282
|
+
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
|
5283
|
+
;;
|
5284
|
+
esac
|
5285
|
+
;;
|
5286
|
+
*)
|
5287
|
+
# fallback: assume linklib IS sharedlib
|
5288
|
+
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
|
5289
|
+
;;
|
5290
|
+
esac
|
5291
|
+
|
5292
|
+
fi
|
5293
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
5294
|
+
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
5295
|
+
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
|
5296
|
+
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
5297
|
+
|
5298
|
+
|
5193
5299
|
|
5194
5300
|
|
5195
5301
|
|
@@ -5197,15 +5303,17 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
|
|
5197
5303
|
|
5198
5304
|
|
5199
5305
|
if test -n "$ac_tool_prefix"; then
|
5200
|
-
|
5201
|
-
|
5306
|
+
for ac_prog in ar
|
5307
|
+
do
|
5308
|
+
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
5309
|
+
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
5202
5310
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5203
5311
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5204
|
-
if ${
|
5312
|
+
if ${ac_cv_prog_AR+:} false; then :
|
5205
5313
|
$as_echo_n "(cached) " >&6
|
5206
5314
|
else
|
5207
|
-
if test -n "$
|
5208
|
-
|
5315
|
+
if test -n "$AR"; then
|
5316
|
+
ac_cv_prog_AR="$AR" # Let the user override the test.
|
5209
5317
|
else
|
5210
5318
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5211
5319
|
for as_dir in $PATH
|
@@ -5214,7 +5322,7 @@ do
|
|
5214
5322
|
test -z "$as_dir" && as_dir=.
|
5215
5323
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5216
5324
|
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5217
|
-
|
5325
|
+
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
5218
5326
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5219
5327
|
break 2
|
5220
5328
|
fi
|
@@ -5224,28 +5332,32 @@ IFS=$as_save_IFS
|
|
5224
5332
|
|
5225
5333
|
fi
|
5226
5334
|
fi
|
5227
|
-
|
5228
|
-
if test -n "$
|
5229
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $
|
5230
|
-
$as_echo "$
|
5335
|
+
AR=$ac_cv_prog_AR
|
5336
|
+
if test -n "$AR"; then
|
5337
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
5338
|
+
$as_echo "$AR" >&6; }
|
5231
5339
|
else
|
5232
5340
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5233
5341
|
$as_echo "no" >&6; }
|
5234
5342
|
fi
|
5235
5343
|
|
5236
5344
|
|
5345
|
+
test -n "$AR" && break
|
5346
|
+
done
|
5237
5347
|
fi
|
5238
|
-
if test -z "$
|
5239
|
-
|
5240
|
-
|
5241
|
-
|
5348
|
+
if test -z "$AR"; then
|
5349
|
+
ac_ct_AR=$AR
|
5350
|
+
for ac_prog in ar
|
5351
|
+
do
|
5352
|
+
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5353
|
+
set dummy $ac_prog; ac_word=$2
|
5242
5354
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5243
5355
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5244
|
-
if ${
|
5356
|
+
if ${ac_cv_prog_ac_ct_AR+:} false; then :
|
5245
5357
|
$as_echo_n "(cached) " >&6
|
5246
5358
|
else
|
5247
|
-
if test -n "$
|
5248
|
-
|
5359
|
+
if test -n "$ac_ct_AR"; then
|
5360
|
+
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
5249
5361
|
else
|
5250
5362
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5251
5363
|
for as_dir in $PATH
|
@@ -5254,7 +5366,7 @@ do
|
|
5254
5366
|
test -z "$as_dir" && as_dir=.
|
5255
5367
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5256
5368
|
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5257
|
-
|
5369
|
+
ac_cv_prog_ac_ct_AR="$ac_prog"
|
5258
5370
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5259
5371
|
break 2
|
5260
5372
|
fi
|
@@ -5264,18 +5376,183 @@ IFS=$as_save_IFS
|
|
5264
5376
|
|
5265
5377
|
fi
|
5266
5378
|
fi
|
5267
|
-
|
5268
|
-
if test -n "$
|
5269
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $
|
5270
|
-
$as_echo "$
|
5379
|
+
ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
5380
|
+
if test -n "$ac_ct_AR"; then
|
5381
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
5382
|
+
$as_echo "$ac_ct_AR" >&6; }
|
5271
5383
|
else
|
5272
5384
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5273
5385
|
$as_echo "no" >&6; }
|
5274
5386
|
fi
|
5275
5387
|
|
5276
|
-
|
5277
|
-
|
5278
|
-
|
5388
|
+
|
5389
|
+
test -n "$ac_ct_AR" && break
|
5390
|
+
done
|
5391
|
+
|
5392
|
+
if test "x$ac_ct_AR" = x; then
|
5393
|
+
AR="false"
|
5394
|
+
else
|
5395
|
+
case $cross_compiling:$ac_tool_warned in
|
5396
|
+
yes:)
|
5397
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5398
|
+
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5399
|
+
ac_tool_warned=yes ;;
|
5400
|
+
esac
|
5401
|
+
AR=$ac_ct_AR
|
5402
|
+
fi
|
5403
|
+
fi
|
5404
|
+
|
5405
|
+
: ${AR=ar}
|
5406
|
+
: ${AR_FLAGS=cru}
|
5407
|
+
|
5408
|
+
|
5409
|
+
|
5410
|
+
|
5411
|
+
|
5412
|
+
|
5413
|
+
|
5414
|
+
|
5415
|
+
|
5416
|
+
|
5417
|
+
|
5418
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
5419
|
+
$as_echo_n "checking for archiver @FILE support... " >&6; }
|
5420
|
+
if ${lt_cv_ar_at_file+:} false; then :
|
5421
|
+
$as_echo_n "(cached) " >&6
|
5422
|
+
else
|
5423
|
+
lt_cv_ar_at_file=no
|
5424
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5425
|
+
/* end confdefs.h. */
|
5426
|
+
|
5427
|
+
int
|
5428
|
+
main ()
|
5429
|
+
{
|
5430
|
+
|
5431
|
+
;
|
5432
|
+
return 0;
|
5433
|
+
}
|
5434
|
+
_ACEOF
|
5435
|
+
if ac_fn_c_try_compile "$LINENO"; then :
|
5436
|
+
echo conftest.$ac_objext > conftest.lst
|
5437
|
+
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
|
5438
|
+
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
5439
|
+
(eval $lt_ar_try) 2>&5
|
5440
|
+
ac_status=$?
|
5441
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5442
|
+
test $ac_status = 0; }
|
5443
|
+
if test "$ac_status" -eq 0; then
|
5444
|
+
# Ensure the archiver fails upon bogus file names.
|
5445
|
+
rm -f conftest.$ac_objext libconftest.a
|
5446
|
+
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
5447
|
+
(eval $lt_ar_try) 2>&5
|
5448
|
+
ac_status=$?
|
5449
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5450
|
+
test $ac_status = 0; }
|
5451
|
+
if test "$ac_status" -ne 0; then
|
5452
|
+
lt_cv_ar_at_file=@
|
5453
|
+
fi
|
5454
|
+
fi
|
5455
|
+
rm -f conftest.* libconftest.a
|
5456
|
+
|
5457
|
+
fi
|
5458
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5459
|
+
|
5460
|
+
fi
|
5461
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
5462
|
+
$as_echo "$lt_cv_ar_at_file" >&6; }
|
5463
|
+
|
5464
|
+
if test "x$lt_cv_ar_at_file" = xno; then
|
5465
|
+
archiver_list_spec=
|
5466
|
+
else
|
5467
|
+
archiver_list_spec=$lt_cv_ar_at_file
|
5468
|
+
fi
|
5469
|
+
|
5470
|
+
|
5471
|
+
|
5472
|
+
|
5473
|
+
|
5474
|
+
|
5475
|
+
|
5476
|
+
if test -n "$ac_tool_prefix"; then
|
5477
|
+
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
5478
|
+
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
5479
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5480
|
+
$as_echo_n "checking for $ac_word... " >&6; }
|
5481
|
+
if ${ac_cv_prog_STRIP+:} false; then :
|
5482
|
+
$as_echo_n "(cached) " >&6
|
5483
|
+
else
|
5484
|
+
if test -n "$STRIP"; then
|
5485
|
+
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
5486
|
+
else
|
5487
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5488
|
+
for as_dir in $PATH
|
5489
|
+
do
|
5490
|
+
IFS=$as_save_IFS
|
5491
|
+
test -z "$as_dir" && as_dir=.
|
5492
|
+
for ac_exec_ext in '' $ac_executable_extensions; do
|
5493
|
+
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5494
|
+
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
5495
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5496
|
+
break 2
|
5497
|
+
fi
|
5498
|
+
done
|
5499
|
+
done
|
5500
|
+
IFS=$as_save_IFS
|
5501
|
+
|
5502
|
+
fi
|
5503
|
+
fi
|
5504
|
+
STRIP=$ac_cv_prog_STRIP
|
5505
|
+
if test -n "$STRIP"; then
|
5506
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
5507
|
+
$as_echo "$STRIP" >&6; }
|
5508
|
+
else
|
5509
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5510
|
+
$as_echo "no" >&6; }
|
5511
|
+
fi
|
5512
|
+
|
5513
|
+
|
5514
|
+
fi
|
5515
|
+
if test -z "$ac_cv_prog_STRIP"; then
|
5516
|
+
ac_ct_STRIP=$STRIP
|
5517
|
+
# Extract the first word of "strip", so it can be a program name with args.
|
5518
|
+
set dummy strip; ac_word=$2
|
5519
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5520
|
+
$as_echo_n "checking for $ac_word... " >&6; }
|
5521
|
+
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
5522
|
+
$as_echo_n "(cached) " >&6
|
5523
|
+
else
|
5524
|
+
if test -n "$ac_ct_STRIP"; then
|
5525
|
+
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
5526
|
+
else
|
5527
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5528
|
+
for as_dir in $PATH
|
5529
|
+
do
|
5530
|
+
IFS=$as_save_IFS
|
5531
|
+
test -z "$as_dir" && as_dir=.
|
5532
|
+
for ac_exec_ext in '' $ac_executable_extensions; do
|
5533
|
+
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5534
|
+
ac_cv_prog_ac_ct_STRIP="strip"
|
5535
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5536
|
+
break 2
|
5537
|
+
fi
|
5538
|
+
done
|
5539
|
+
done
|
5540
|
+
IFS=$as_save_IFS
|
5541
|
+
|
5542
|
+
fi
|
5543
|
+
fi
|
5544
|
+
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
5545
|
+
if test -n "$ac_ct_STRIP"; then
|
5546
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
5547
|
+
$as_echo "$ac_ct_STRIP" >&6; }
|
5548
|
+
else
|
5549
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5550
|
+
$as_echo "no" >&6; }
|
5551
|
+
fi
|
5552
|
+
|
5553
|
+
if test "x$ac_ct_STRIP" = x; then
|
5554
|
+
STRIP=":"
|
5555
|
+
else
|
5279
5556
|
case $cross_compiling:$ac_tool_warned in
|
5280
5557
|
yes:)
|
5281
5558
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
@@ -5402,15 +5679,27 @@ old_postuninstall_cmds=
|
|
5402
5679
|
if test -n "$RANLIB"; then
|
5403
5680
|
case $host_os in
|
5404
5681
|
openbsd*)
|
5405
|
-
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$
|
5682
|
+
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
|
5406
5683
|
;;
|
5407
5684
|
*)
|
5408
|
-
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$
|
5685
|
+
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
|
5409
5686
|
;;
|
5410
5687
|
esac
|
5411
|
-
old_archive_cmds="$old_archive_cmds~\$RANLIB \$
|
5688
|
+
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
|
5412
5689
|
fi
|
5413
5690
|
|
5691
|
+
case $host_os in
|
5692
|
+
darwin*)
|
5693
|
+
lock_old_archive_extraction=yes ;;
|
5694
|
+
*)
|
5695
|
+
lock_old_archive_extraction=no ;;
|
5696
|
+
esac
|
5697
|
+
|
5698
|
+
|
5699
|
+
|
5700
|
+
|
5701
|
+
|
5702
|
+
|
5414
5703
|
|
5415
5704
|
|
5416
5705
|
|
@@ -5518,8 +5807,8 @@ esac
|
|
5518
5807
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
|
5519
5808
|
|
5520
5809
|
# Transform an extracted symbol line into symbol name and symbol address
|
5521
|
-
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)
|
5522
|
-
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)
|
5810
|
+
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
|
5811
|
+
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
|
5523
5812
|
|
5524
5813
|
# Handle CRLF in mingw tool chain
|
5525
5814
|
opt_cr=
|
@@ -5543,6 +5832,7 @@ for ac_symprfx in "" "_"; do
|
|
5543
5832
|
# which start with @ or ?.
|
5544
5833
|
lt_cv_sys_global_symbol_pipe="$AWK '"\
|
5545
5834
|
" {last_section=section; section=\$ 3};"\
|
5835
|
+
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
|
5546
5836
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
5547
5837
|
" \$ 0!~/External *\|/{next};"\
|
5548
5838
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
@@ -5555,6 +5845,7 @@ for ac_symprfx in "" "_"; do
|
|
5555
5845
|
else
|
5556
5846
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
5557
5847
|
fi
|
5848
|
+
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
5558
5849
|
|
5559
5850
|
# Check to see that the pipe works correctly.
|
5560
5851
|
pipe_works=no
|
@@ -5580,8 +5871,8 @@ _LT_EOF
|
|
5580
5871
|
test $ac_status = 0; }; then
|
5581
5872
|
# Now try to grab the symbols.
|
5582
5873
|
nlist=conftest.nm
|
5583
|
-
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
|
5584
|
-
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
|
5874
|
+
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
|
5875
|
+
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
|
5585
5876
|
ac_status=$?
|
5586
5877
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5587
5878
|
test $ac_status = 0; } && test -s "$nlist"; then
|
@@ -5596,6 +5887,18 @@ _LT_EOF
|
|
5596
5887
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
|
5597
5888
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
|
5598
5889
|
cat <<_LT_EOF > conftest.$ac_ext
|
5890
|
+
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
5891
|
+
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
5892
|
+
/* DATA imports from DLLs on WIN32 con't be const, because runtime
|
5893
|
+
relocations are performed -- see ld's documentation on pseudo-relocs. */
|
5894
|
+
# define LT_DLSYM_CONST
|
5895
|
+
#elif defined(__osf__)
|
5896
|
+
/* This system does not cope well with relocations in const data. */
|
5897
|
+
# define LT_DLSYM_CONST
|
5898
|
+
#else
|
5899
|
+
# define LT_DLSYM_CONST const
|
5900
|
+
#endif
|
5901
|
+
|
5599
5902
|
#ifdef __cplusplus
|
5600
5903
|
extern "C" {
|
5601
5904
|
#endif
|
@@ -5607,7 +5910,7 @@ _LT_EOF
|
|
5607
5910
|
cat <<_LT_EOF >> conftest.$ac_ext
|
5608
5911
|
|
5609
5912
|
/* The mapping between symbol names and symbols. */
|
5610
|
-
|
5913
|
+
LT_DLSYM_CONST struct {
|
5611
5914
|
const char *name;
|
5612
5915
|
void *address;
|
5613
5916
|
}
|
@@ -5633,8 +5936,8 @@ static const void *lt_preloaded_setup() {
|
|
5633
5936
|
_LT_EOF
|
5634
5937
|
# Now try linking the two files.
|
5635
5938
|
mv conftest.$ac_objext conftstm.$ac_objext
|
5636
|
-
|
5637
|
-
|
5939
|
+
lt_globsym_save_LIBS=$LIBS
|
5940
|
+
lt_globsym_save_CFLAGS=$CFLAGS
|
5638
5941
|
LIBS="conftstm.$ac_objext"
|
5639
5942
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
|
5640
5943
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
@@ -5644,8 +5947,8 @@ _LT_EOF
|
|
5644
5947
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
|
5645
5948
|
pipe_works=yes
|
5646
5949
|
fi
|
5647
|
-
LIBS
|
5648
|
-
CFLAGS
|
5950
|
+
LIBS=$lt_globsym_save_LIBS
|
5951
|
+
CFLAGS=$lt_globsym_save_CFLAGS
|
5649
5952
|
else
|
5650
5953
|
echo "cannot find nm_test_func in $nlist" >&5
|
5651
5954
|
fi
|
@@ -5682,6 +5985,13 @@ else
|
|
5682
5985
|
$as_echo "ok" >&6; }
|
5683
5986
|
fi
|
5684
5987
|
|
5988
|
+
# Response file support.
|
5989
|
+
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
5990
|
+
nm_file_list_spec='@'
|
5991
|
+
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
|
5992
|
+
nm_file_list_spec='@'
|
5993
|
+
fi
|
5994
|
+
|
5685
5995
|
|
5686
5996
|
|
5687
5997
|
|
@@ -5701,6 +6011,47 @@ fi
|
|
5701
6011
|
|
5702
6012
|
|
5703
6013
|
|
6014
|
+
|
6015
|
+
|
6016
|
+
|
6017
|
+
|
6018
|
+
|
6019
|
+
|
6020
|
+
|
6021
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
6022
|
+
$as_echo_n "checking for sysroot... " >&6; }
|
6023
|
+
|
6024
|
+
# Check whether --with-sysroot was given.
|
6025
|
+
if test "${with_sysroot+set}" = set; then :
|
6026
|
+
withval=$with_sysroot;
|
6027
|
+
else
|
6028
|
+
with_sysroot=no
|
6029
|
+
fi
|
6030
|
+
|
6031
|
+
|
6032
|
+
lt_sysroot=
|
6033
|
+
case ${with_sysroot} in #(
|
6034
|
+
yes)
|
6035
|
+
if test "$GCC" = yes; then
|
6036
|
+
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
|
6037
|
+
fi
|
6038
|
+
;; #(
|
6039
|
+
/*)
|
6040
|
+
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
6041
|
+
;; #(
|
6042
|
+
no|'')
|
6043
|
+
;; #(
|
6044
|
+
*)
|
6045
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
|
6046
|
+
$as_echo "${with_sysroot}" >&6; }
|
6047
|
+
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
|
6048
|
+
;;
|
6049
|
+
esac
|
6050
|
+
|
6051
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
6052
|
+
$as_echo "${lt_sysroot:-no}" >&6; }
|
6053
|
+
|
6054
|
+
|
5704
6055
|
|
5705
6056
|
|
5706
6057
|
|
@@ -5735,7 +6086,7 @@ ia64-*-hpux*)
|
|
5735
6086
|
;;
|
5736
6087
|
*-*-irix6*)
|
5737
6088
|
# Find out which ABI we are using.
|
5738
|
-
echo '#line
|
6089
|
+
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
|
5739
6090
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
5740
6091
|
(eval $ac_compile) 2>&5
|
5741
6092
|
ac_status=$?
|
@@ -5870,7 +6221,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
|
5870
6221
|
CFLAGS="$SAVE_CFLAGS"
|
5871
6222
|
fi
|
5872
6223
|
;;
|
5873
|
-
|
6224
|
+
*-*solaris*)
|
5874
6225
|
# Find out which ABI we are using.
|
5875
6226
|
echo 'int i;' > conftest.$ac_ext
|
5876
6227
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
@@ -5881,7 +6232,20 @@ sparc*-*solaris*)
|
|
5881
6232
|
case `/usr/bin/file conftest.o` in
|
5882
6233
|
*64-bit*)
|
5883
6234
|
case $lt_cv_prog_gnu_ld in
|
5884
|
-
yes*)
|
6235
|
+
yes*)
|
6236
|
+
case $host in
|
6237
|
+
i?86-*-solaris*)
|
6238
|
+
LD="${LD-ld} -m elf_x86_64"
|
6239
|
+
;;
|
6240
|
+
sparc*-*-solaris*)
|
6241
|
+
LD="${LD-ld} -m elf64_sparc"
|
6242
|
+
;;
|
6243
|
+
esac
|
6244
|
+
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
|
6245
|
+
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
|
6246
|
+
LD="${LD-ld}_sol2"
|
6247
|
+
fi
|
6248
|
+
;;
|
5885
6249
|
*)
|
5886
6250
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
5887
6251
|
LD="${LD-ld} -64"
|
@@ -5897,6 +6261,123 @@ esac
|
|
5897
6261
|
|
5898
6262
|
need_locks="$enable_libtool_lock"
|
5899
6263
|
|
6264
|
+
if test -n "$ac_tool_prefix"; then
|
6265
|
+
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
|
6266
|
+
set dummy ${ac_tool_prefix}mt; ac_word=$2
|
6267
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6268
|
+
$as_echo_n "checking for $ac_word... " >&6; }
|
6269
|
+
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
|
6270
|
+
$as_echo_n "(cached) " >&6
|
6271
|
+
else
|
6272
|
+
if test -n "$MANIFEST_TOOL"; then
|
6273
|
+
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
|
6274
|
+
else
|
6275
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6276
|
+
for as_dir in $PATH
|
6277
|
+
do
|
6278
|
+
IFS=$as_save_IFS
|
6279
|
+
test -z "$as_dir" && as_dir=.
|
6280
|
+
for ac_exec_ext in '' $ac_executable_extensions; do
|
6281
|
+
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6282
|
+
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
6283
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6284
|
+
break 2
|
6285
|
+
fi
|
6286
|
+
done
|
6287
|
+
done
|
6288
|
+
IFS=$as_save_IFS
|
6289
|
+
|
6290
|
+
fi
|
6291
|
+
fi
|
6292
|
+
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
|
6293
|
+
if test -n "$MANIFEST_TOOL"; then
|
6294
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
6295
|
+
$as_echo "$MANIFEST_TOOL" >&6; }
|
6296
|
+
else
|
6297
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6298
|
+
$as_echo "no" >&6; }
|
6299
|
+
fi
|
6300
|
+
|
6301
|
+
|
6302
|
+
fi
|
6303
|
+
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
|
6304
|
+
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
|
6305
|
+
# Extract the first word of "mt", so it can be a program name with args.
|
6306
|
+
set dummy mt; ac_word=$2
|
6307
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6308
|
+
$as_echo_n "checking for $ac_word... " >&6; }
|
6309
|
+
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
|
6310
|
+
$as_echo_n "(cached) " >&6
|
6311
|
+
else
|
6312
|
+
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
6313
|
+
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
|
6314
|
+
else
|
6315
|
+
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6316
|
+
for as_dir in $PATH
|
6317
|
+
do
|
6318
|
+
IFS=$as_save_IFS
|
6319
|
+
test -z "$as_dir" && as_dir=.
|
6320
|
+
for ac_exec_ext in '' $ac_executable_extensions; do
|
6321
|
+
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6322
|
+
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
6323
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6324
|
+
break 2
|
6325
|
+
fi
|
6326
|
+
done
|
6327
|
+
done
|
6328
|
+
IFS=$as_save_IFS
|
6329
|
+
|
6330
|
+
fi
|
6331
|
+
fi
|
6332
|
+
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
|
6333
|
+
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
6334
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
6335
|
+
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
|
6336
|
+
else
|
6337
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6338
|
+
$as_echo "no" >&6; }
|
6339
|
+
fi
|
6340
|
+
|
6341
|
+
if test "x$ac_ct_MANIFEST_TOOL" = x; then
|
6342
|
+
MANIFEST_TOOL=":"
|
6343
|
+
else
|
6344
|
+
case $cross_compiling:$ac_tool_warned in
|
6345
|
+
yes:)
|
6346
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6347
|
+
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6348
|
+
ac_tool_warned=yes ;;
|
6349
|
+
esac
|
6350
|
+
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
|
6351
|
+
fi
|
6352
|
+
else
|
6353
|
+
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
|
6354
|
+
fi
|
6355
|
+
|
6356
|
+
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
6357
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
6358
|
+
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
6359
|
+
if ${lt_cv_path_mainfest_tool+:} false; then :
|
6360
|
+
$as_echo_n "(cached) " >&6
|
6361
|
+
else
|
6362
|
+
lt_cv_path_mainfest_tool=no
|
6363
|
+
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
|
6364
|
+
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
6365
|
+
cat conftest.err >&5
|
6366
|
+
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
|
6367
|
+
lt_cv_path_mainfest_tool=yes
|
6368
|
+
fi
|
6369
|
+
rm -f conftest*
|
6370
|
+
fi
|
6371
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
6372
|
+
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
|
6373
|
+
if test "x$lt_cv_path_mainfest_tool" != xyes; then
|
6374
|
+
MANIFEST_TOOL=:
|
6375
|
+
fi
|
6376
|
+
|
6377
|
+
|
6378
|
+
|
6379
|
+
|
6380
|
+
|
5900
6381
|
|
5901
6382
|
case $host_os in
|
5902
6383
|
rhapsody* | darwin*)
|
@@ -6404,7 +6885,13 @@ else
|
|
6404
6885
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
6405
6886
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
6406
6887
|
_lt_result=$?
|
6407
|
-
|
6888
|
+
# If there is a non-empty error log, and "single_module"
|
6889
|
+
# appears in it, assume the flag caused a linker warning
|
6890
|
+
if test -s conftest.err && $GREP single_module conftest.err; then
|
6891
|
+
cat conftest.err >&5
|
6892
|
+
# Otherwise, if the output was created with a 0 exit code from
|
6893
|
+
# the compiler, it worked.
|
6894
|
+
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
|
6408
6895
|
lt_cv_apple_cc_single_mod=yes
|
6409
6896
|
else
|
6410
6897
|
cat conftest.err >&5
|
@@ -6415,6 +6902,7 @@ else
|
|
6415
6902
|
fi
|
6416
6903
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
6417
6904
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
6905
|
+
|
6418
6906
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
6419
6907
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
6420
6908
|
if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
@@ -6447,6 +6935,41 @@ rm -f core conftest.err conftest.$ac_objext \
|
|
6447
6935
|
fi
|
6448
6936
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
6449
6937
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
6938
|
+
|
6939
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
6940
|
+
$as_echo_n "checking for -force_load linker flag... " >&6; }
|
6941
|
+
if ${lt_cv_ld_force_load+:} false; then :
|
6942
|
+
$as_echo_n "(cached) " >&6
|
6943
|
+
else
|
6944
|
+
lt_cv_ld_force_load=no
|
6945
|
+
cat > conftest.c << _LT_EOF
|
6946
|
+
int forced_loaded() { return 2;}
|
6947
|
+
_LT_EOF
|
6948
|
+
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
6949
|
+
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
6950
|
+
echo "$AR cru libconftest.a conftest.o" >&5
|
6951
|
+
$AR cru libconftest.a conftest.o 2>&5
|
6952
|
+
echo "$RANLIB libconftest.a" >&5
|
6953
|
+
$RANLIB libconftest.a 2>&5
|
6954
|
+
cat > conftest.c << _LT_EOF
|
6955
|
+
int main() { return 0;}
|
6956
|
+
_LT_EOF
|
6957
|
+
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
|
6958
|
+
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
6959
|
+
_lt_result=$?
|
6960
|
+
if test -s conftest.err && $GREP force_load conftest.err; then
|
6961
|
+
cat conftest.err >&5
|
6962
|
+
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
|
6963
|
+
lt_cv_ld_force_load=yes
|
6964
|
+
else
|
6965
|
+
cat conftest.err >&5
|
6966
|
+
fi
|
6967
|
+
rm -f conftest.err libconftest.a conftest conftest.c
|
6968
|
+
rm -rf conftest.dSYM
|
6969
|
+
|
6970
|
+
fi
|
6971
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
6972
|
+
$as_echo "$lt_cv_ld_force_load" >&6; }
|
6450
6973
|
case $host_os in
|
6451
6974
|
rhapsody* | darwin1.[012])
|
6452
6975
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
@@ -6474,7 +6997,7 @@ $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
|
6474
6997
|
else
|
6475
6998
|
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
6476
6999
|
fi
|
6477
|
-
if test "$DSYMUTIL" != ":"; then
|
7000
|
+
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
|
6478
7001
|
_lt_dsymutil='~$DSYMUTIL $lib || :'
|
6479
7002
|
else
|
6480
7003
|
_lt_dsymutil=
|
@@ -6764,6 +7287,8 @@ done
|
|
6764
7287
|
|
6765
7288
|
|
6766
7289
|
|
7290
|
+
|
7291
|
+
|
6767
7292
|
# Set options
|
6768
7293
|
|
6769
7294
|
|
@@ -6839,7 +7364,22 @@ fi
|
|
6839
7364
|
|
6840
7365
|
# Check whether --with-pic was given.
|
6841
7366
|
if test "${with_pic+set}" = set; then :
|
6842
|
-
withval=$with_pic;
|
7367
|
+
withval=$with_pic; lt_p=${PACKAGE-default}
|
7368
|
+
case $withval in
|
7369
|
+
yes|no) pic_mode=$withval ;;
|
7370
|
+
*)
|
7371
|
+
pic_mode=default
|
7372
|
+
# Look at the argument we got. We use all the common list separators.
|
7373
|
+
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
7374
|
+
for lt_pkg in $withval; do
|
7375
|
+
IFS="$lt_save_ifs"
|
7376
|
+
if test "X$lt_pkg" = "X$lt_p"; then
|
7377
|
+
pic_mode=yes
|
7378
|
+
fi
|
7379
|
+
done
|
7380
|
+
IFS="$lt_save_ifs"
|
7381
|
+
;;
|
7382
|
+
esac
|
6843
7383
|
else
|
6844
7384
|
pic_mode=default
|
6845
7385
|
fi
|
@@ -6910,6 +7450,11 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
6910
7450
|
|
6911
7451
|
|
6912
7452
|
|
7453
|
+
|
7454
|
+
|
7455
|
+
|
7456
|
+
|
7457
|
+
|
6913
7458
|
|
6914
7459
|
|
6915
7460
|
|
@@ -6965,19 +7510,6 @@ _ACEOF
|
|
6965
7510
|
|
6966
7511
|
|
6967
7512
|
|
6968
|
-
|
6969
|
-
|
6970
|
-
|
6971
|
-
|
6972
|
-
|
6973
|
-
|
6974
|
-
|
6975
|
-
|
6976
|
-
|
6977
|
-
|
6978
|
-
|
6979
|
-
|
6980
|
-
|
6981
7513
|
case $host_os in
|
6982
7514
|
aix3*)
|
6983
7515
|
# AIX sometimes has problems with the GCC collect2 program. For some
|
@@ -6990,23 +7522,6 @@ aix3*)
|
|
6990
7522
|
;;
|
6991
7523
|
esac
|
6992
7524
|
|
6993
|
-
# Sed substitution that helps us do robust quoting. It backslashifies
|
6994
|
-
# metacharacters that are still active within double-quoted strings.
|
6995
|
-
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
6996
|
-
|
6997
|
-
# Same as above, but do not quote variable references.
|
6998
|
-
double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
6999
|
-
|
7000
|
-
# Sed substitution to delay expansion of an escaped shell variable in a
|
7001
|
-
# double_quote_subst'ed string.
|
7002
|
-
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
7003
|
-
|
7004
|
-
# Sed substitution to delay expansion of an escaped single quote.
|
7005
|
-
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
|
7006
|
-
|
7007
|
-
# Sed substitution to avoid accidental globbing in evaled expressions
|
7008
|
-
no_glob_subst='s/\*/\\\*/g'
|
7009
|
-
|
7010
7525
|
# Global variables:
|
7011
7526
|
ofile=libtool
|
7012
7527
|
can_build_shared=yes
|
@@ -7035,7 +7550,7 @@ for cc_temp in $compiler""; do
|
|
7035
7550
|
*) break;;
|
7036
7551
|
esac
|
7037
7552
|
done
|
7038
|
-
cc_basename=`$ECHO "
|
7553
|
+
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
7039
7554
|
|
7040
7555
|
|
7041
7556
|
# Only perform the check for file, if the check method requires it
|
@@ -7240,7 +7755,12 @@ if test -n "$compiler"; then
|
|
7240
7755
|
lt_prog_compiler_no_builtin_flag=
|
7241
7756
|
|
7242
7757
|
if test "$GCC" = yes; then
|
7243
|
-
|
7758
|
+
case $cc_basename in
|
7759
|
+
nvcc*)
|
7760
|
+
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
|
7761
|
+
*)
|
7762
|
+
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
|
7763
|
+
esac
|
7244
7764
|
|
7245
7765
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
7246
7766
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
@@ -7260,15 +7780,15 @@ else
|
|
7260
7780
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7261
7781
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7262
7782
|
-e 's:$: $lt_compiler_flag:'`
|
7263
|
-
(eval echo "\"\$as_me:
|
7783
|
+
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
7264
7784
|
(eval "$lt_compile" 2>conftest.err)
|
7265
7785
|
ac_status=$?
|
7266
7786
|
cat conftest.err >&5
|
7267
|
-
echo "$as_me:
|
7787
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7268
7788
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7269
7789
|
# The compiler can only warn and ignore the option if not recognized
|
7270
7790
|
# So say no if there are warnings other than the usual output.
|
7271
|
-
$ECHO "
|
7791
|
+
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
7272
7792
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
7273
7793
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
7274
7794
|
lt_cv_prog_compiler_rtti_exceptions=yes
|
@@ -7297,8 +7817,6 @@ fi
|
|
7297
7817
|
lt_prog_compiler_pic=
|
7298
7818
|
lt_prog_compiler_static=
|
7299
7819
|
|
7300
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
7301
|
-
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
7302
7820
|
|
7303
7821
|
if test "$GCC" = yes; then
|
7304
7822
|
lt_prog_compiler_wl='-Wl,'
|
@@ -7346,6 +7864,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
7346
7864
|
lt_prog_compiler_pic='-fno-common'
|
7347
7865
|
;;
|
7348
7866
|
|
7867
|
+
haiku*)
|
7868
|
+
# PIC is the default for Haiku.
|
7869
|
+
# The "-static" flag exists, but is broken.
|
7870
|
+
lt_prog_compiler_static=
|
7871
|
+
;;
|
7872
|
+
|
7349
7873
|
hpux*)
|
7350
7874
|
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
7351
7875
|
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
@@ -7388,6 +7912,15 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
7388
7912
|
lt_prog_compiler_pic='-fPIC'
|
7389
7913
|
;;
|
7390
7914
|
esac
|
7915
|
+
|
7916
|
+
case $cc_basename in
|
7917
|
+
nvcc*) # Cuda Compiler Driver 2.2
|
7918
|
+
lt_prog_compiler_wl='-Xlinker '
|
7919
|
+
if test -n "$lt_prog_compiler_pic"; then
|
7920
|
+
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
|
7921
|
+
fi
|
7922
|
+
;;
|
7923
|
+
esac
|
7391
7924
|
else
|
7392
7925
|
# PORTME Check for flag to pass linker flags through the system compiler.
|
7393
7926
|
case $host_os in
|
@@ -7429,7 +7962,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
7429
7962
|
lt_prog_compiler_static='-non_shared'
|
7430
7963
|
;;
|
7431
7964
|
|
7432
|
-
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
7965
|
+
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
7433
7966
|
case $cc_basename in
|
7434
7967
|
# old Intel for x86_64 which still supported -KPIC.
|
7435
7968
|
ecc*)
|
@@ -7450,7 +7983,13 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
7450
7983
|
lt_prog_compiler_pic='--shared'
|
7451
7984
|
lt_prog_compiler_static='--static'
|
7452
7985
|
;;
|
7453
|
-
|
7986
|
+
nagfor*)
|
7987
|
+
# NAG Fortran compiler
|
7988
|
+
lt_prog_compiler_wl='-Wl,-Wl,,'
|
7989
|
+
lt_prog_compiler_pic='-PIC'
|
7990
|
+
lt_prog_compiler_static='-Bstatic'
|
7991
|
+
;;
|
7992
|
+
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
7454
7993
|
# Portland Group compilers (*not* the Pentium gcc compiler,
|
7455
7994
|
# which looks to be a dead project)
|
7456
7995
|
lt_prog_compiler_wl='-Wl,'
|
@@ -7462,25 +8001,40 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
7462
8001
|
# All Alpha code is PIC.
|
7463
8002
|
lt_prog_compiler_static='-non_shared'
|
7464
8003
|
;;
|
7465
|
-
xl*)
|
7466
|
-
# IBM XL C 8.0/Fortran 10.1 on PPC
|
8004
|
+
xl* | bgxl* | bgf* | mpixl*)
|
8005
|
+
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
|
7467
8006
|
lt_prog_compiler_wl='-Wl,'
|
7468
8007
|
lt_prog_compiler_pic='-qpic'
|
7469
8008
|
lt_prog_compiler_static='-qstaticlink'
|
7470
8009
|
;;
|
7471
8010
|
*)
|
7472
8011
|
case `$CC -V 2>&1 | sed 5q` in
|
8012
|
+
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
|
8013
|
+
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
8014
|
+
lt_prog_compiler_pic='-KPIC'
|
8015
|
+
lt_prog_compiler_static='-Bstatic'
|
8016
|
+
lt_prog_compiler_wl=''
|
8017
|
+
;;
|
8018
|
+
*Sun\ F* | *Sun*Fortran*)
|
8019
|
+
lt_prog_compiler_pic='-KPIC'
|
8020
|
+
lt_prog_compiler_static='-Bstatic'
|
8021
|
+
lt_prog_compiler_wl='-Qoption ld '
|
8022
|
+
;;
|
7473
8023
|
*Sun\ C*)
|
7474
8024
|
# Sun C 5.9
|
7475
8025
|
lt_prog_compiler_pic='-KPIC'
|
7476
8026
|
lt_prog_compiler_static='-Bstatic'
|
7477
8027
|
lt_prog_compiler_wl='-Wl,'
|
7478
8028
|
;;
|
7479
|
-
|
7480
|
-
|
7481
|
-
lt_prog_compiler_pic='-
|
8029
|
+
*Intel*\ [CF]*Compiler*)
|
8030
|
+
lt_prog_compiler_wl='-Wl,'
|
8031
|
+
lt_prog_compiler_pic='-fPIC'
|
8032
|
+
lt_prog_compiler_static='-static'
|
8033
|
+
;;
|
8034
|
+
*Portland\ Group*)
|
8035
|
+
lt_prog_compiler_wl='-Wl,'
|
8036
|
+
lt_prog_compiler_pic='-fpic'
|
7482
8037
|
lt_prog_compiler_static='-Bstatic'
|
7483
|
-
lt_prog_compiler_wl=''
|
7484
8038
|
;;
|
7485
8039
|
esac
|
7486
8040
|
;;
|
@@ -7512,7 +8066,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
7512
8066
|
lt_prog_compiler_pic='-KPIC'
|
7513
8067
|
lt_prog_compiler_static='-Bstatic'
|
7514
8068
|
case $cc_basename in
|
7515
|
-
f77* | f90* | f95*)
|
8069
|
+
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
|
7516
8070
|
lt_prog_compiler_wl='-Qoption ld ';;
|
7517
8071
|
*)
|
7518
8072
|
lt_prog_compiler_wl='-Wl,';;
|
@@ -7569,13 +8123,17 @@ case $host_os in
|
|
7569
8123
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
|
7570
8124
|
;;
|
7571
8125
|
esac
|
7572
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
|
7573
|
-
$as_echo "$lt_prog_compiler_pic" >&6; }
|
7574
|
-
|
7575
|
-
|
7576
|
-
|
7577
|
-
|
7578
8126
|
|
8127
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
8128
|
+
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
8129
|
+
if ${lt_cv_prog_compiler_pic+:} false; then :
|
8130
|
+
$as_echo_n "(cached) " >&6
|
8131
|
+
else
|
8132
|
+
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
|
8133
|
+
fi
|
8134
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
8135
|
+
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
|
8136
|
+
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
|
7579
8137
|
|
7580
8138
|
#
|
7581
8139
|
# Check to make sure the PIC flag actually works.
|
@@ -7599,15 +8157,15 @@ else
|
|
7599
8157
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7600
8158
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7601
8159
|
-e 's:$: $lt_compiler_flag:'`
|
7602
|
-
(eval echo "\"\$as_me:
|
8160
|
+
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
7603
8161
|
(eval "$lt_compile" 2>conftest.err)
|
7604
8162
|
ac_status=$?
|
7605
8163
|
cat conftest.err >&5
|
7606
|
-
echo "$as_me:
|
8164
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7607
8165
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7608
8166
|
# The compiler can only warn and ignore the option if not recognized
|
7609
8167
|
# So say no if there are warnings other than the usual output.
|
7610
|
-
$ECHO "
|
8168
|
+
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
7611
8169
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
7612
8170
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
7613
8171
|
lt_cv_prog_compiler_pic_works=yes
|
@@ -7636,6 +8194,11 @@ fi
|
|
7636
8194
|
|
7637
8195
|
|
7638
8196
|
|
8197
|
+
|
8198
|
+
|
8199
|
+
|
8200
|
+
|
8201
|
+
|
7639
8202
|
#
|
7640
8203
|
# Check to make sure the static flag actually works.
|
7641
8204
|
#
|
@@ -7655,7 +8218,7 @@ else
|
|
7655
8218
|
if test -s conftest.err; then
|
7656
8219
|
# Append any errors to the config.log.
|
7657
8220
|
cat conftest.err 1>&5
|
7658
|
-
$ECHO "
|
8221
|
+
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
7659
8222
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
7660
8223
|
if diff conftest.exp conftest.er2 >/dev/null; then
|
7661
8224
|
lt_cv_prog_compiler_static_works=yes
|
@@ -7704,16 +8267,16 @@ else
|
|
7704
8267
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7705
8268
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7706
8269
|
-e 's:$: $lt_compiler_flag:'`
|
7707
|
-
(eval echo "\"\$as_me:
|
8270
|
+
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
7708
8271
|
(eval "$lt_compile" 2>out/conftest.err)
|
7709
8272
|
ac_status=$?
|
7710
8273
|
cat out/conftest.err >&5
|
7711
|
-
echo "$as_me:
|
8274
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7712
8275
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
7713
8276
|
then
|
7714
8277
|
# The compiler can only warn and ignore the option if not recognized
|
7715
8278
|
# So say no if there are warnings
|
7716
|
-
$ECHO "
|
8279
|
+
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
7717
8280
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
7718
8281
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
7719
8282
|
lt_cv_prog_compiler_c_o=yes
|
@@ -7759,16 +8322,16 @@ else
|
|
7759
8322
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7760
8323
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7761
8324
|
-e 's:$: $lt_compiler_flag:'`
|
7762
|
-
(eval echo "\"\$as_me:
|
8325
|
+
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
7763
8326
|
(eval "$lt_compile" 2>out/conftest.err)
|
7764
8327
|
ac_status=$?
|
7765
8328
|
cat out/conftest.err >&5
|
7766
|
-
echo "$as_me:
|
8329
|
+
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7767
8330
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
7768
8331
|
then
|
7769
8332
|
# The compiler can only warn and ignore the option if not recognized
|
7770
8333
|
# So say no if there are warnings
|
7771
|
-
$ECHO "
|
8334
|
+
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
7772
8335
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
7773
8336
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
7774
8337
|
lt_cv_prog_compiler_c_o=yes
|
@@ -7834,7 +8397,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
|
|
7834
8397
|
hardcode_direct=no
|
7835
8398
|
hardcode_direct_absolute=no
|
7836
8399
|
hardcode_libdir_flag_spec=
|
7837
|
-
hardcode_libdir_flag_spec_ld=
|
7838
8400
|
hardcode_libdir_separator=
|
7839
8401
|
hardcode_minus_L=no
|
7840
8402
|
hardcode_shlibpath_var=unsupported
|
@@ -7878,13 +8440,39 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
|
|
7878
8440
|
openbsd*)
|
7879
8441
|
with_gnu_ld=no
|
7880
8442
|
;;
|
7881
|
-
linux* | k*bsd*-gnu)
|
8443
|
+
linux* | k*bsd*-gnu | gnu*)
|
7882
8444
|
link_all_deplibs=no
|
7883
8445
|
;;
|
7884
8446
|
esac
|
7885
8447
|
|
7886
8448
|
ld_shlibs=yes
|
8449
|
+
|
8450
|
+
# On some targets, GNU ld is compatible enough with the native linker
|
8451
|
+
# that we're better off using the native interface for both.
|
8452
|
+
lt_use_gnu_ld_interface=no
|
7887
8453
|
if test "$with_gnu_ld" = yes; then
|
8454
|
+
case $host_os in
|
8455
|
+
aix*)
|
8456
|
+
# The AIX port of GNU ld has always aspired to compatibility
|
8457
|
+
# with the native linker. However, as the warning in the GNU ld
|
8458
|
+
# block says, versions before 2.19.5* couldn't really create working
|
8459
|
+
# shared libraries, regardless of the interface used.
|
8460
|
+
case `$LD -v 2>&1` in
|
8461
|
+
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
|
8462
|
+
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
|
8463
|
+
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
|
8464
|
+
*)
|
8465
|
+
lt_use_gnu_ld_interface=yes
|
8466
|
+
;;
|
8467
|
+
esac
|
8468
|
+
;;
|
8469
|
+
*)
|
8470
|
+
lt_use_gnu_ld_interface=yes
|
8471
|
+
;;
|
8472
|
+
esac
|
8473
|
+
fi
|
8474
|
+
|
8475
|
+
if test "$lt_use_gnu_ld_interface" = yes; then
|
7888
8476
|
# If archive_cmds runs LD, not CC, wlarc should be empty
|
7889
8477
|
wlarc='${wl}'
|
7890
8478
|
|
@@ -7918,11 +8506,12 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
|
|
7918
8506
|
ld_shlibs=no
|
7919
8507
|
cat <<_LT_EOF 1>&2
|
7920
8508
|
|
7921
|
-
*** Warning: the GNU linker, at least up to release 2.
|
8509
|
+
*** Warning: the GNU linker, at least up to release 2.19, is reported
|
7922
8510
|
*** to be unable to reliably create shared libraries on AIX.
|
7923
8511
|
*** Therefore, libtool is disabling shared libraries support. If you
|
7924
|
-
*** really care for shared libraries, you may want to
|
7925
|
-
*** so that a non-GNU linker is found
|
8512
|
+
*** really care for shared libraries, you may want to install binutils
|
8513
|
+
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
|
8514
|
+
*** You will then need to restart the configuration process.
|
7926
8515
|
|
7927
8516
|
_LT_EOF
|
7928
8517
|
fi
|
@@ -7958,10 +8547,12 @@ _LT_EOF
|
|
7958
8547
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
|
7959
8548
|
# as there is no search path for DLLs.
|
7960
8549
|
hardcode_libdir_flag_spec='-L$libdir'
|
8550
|
+
export_dynamic_flag_spec='${wl}--export-all-symbols'
|
7961
8551
|
allow_undefined_flag=unsupported
|
7962
8552
|
always_export_symbols=no
|
7963
8553
|
enable_shared_with_static_runtimes=yes
|
7964
|
-
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA
|
8554
|
+
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
|
8555
|
+
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
|
7965
8556
|
|
7966
8557
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
|
7967
8558
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
@@ -7979,6 +8570,11 @@ _LT_EOF
|
|
7979
8570
|
fi
|
7980
8571
|
;;
|
7981
8572
|
|
8573
|
+
haiku*)
|
8574
|
+
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8575
|
+
link_all_deplibs=yes
|
8576
|
+
;;
|
8577
|
+
|
7982
8578
|
interix[3-9]*)
|
7983
8579
|
hardcode_direct=no
|
7984
8580
|
hardcode_shlibpath_var=no
|
@@ -8004,15 +8600,16 @@ _LT_EOF
|
|
8004
8600
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
|
8005
8601
|
&& test "$tmp_diet" = no
|
8006
8602
|
then
|
8007
|
-
tmp_addflag=
|
8603
|
+
tmp_addflag=' $pic_flag'
|
8008
8604
|
tmp_sharedflag='-shared'
|
8009
8605
|
case $cc_basename,$host_cpu in
|
8010
8606
|
pgcc*) # Portland Group C compiler
|
8011
|
-
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done;
|
8607
|
+
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
8012
8608
|
tmp_addflag=' $pic_flag'
|
8013
8609
|
;;
|
8014
|
-
pgf77* | pgf90* | pgf95*
|
8015
|
-
|
8610
|
+
pgf77* | pgf90* | pgf95* | pgfortran*)
|
8611
|
+
# Portland Group f77 and f90 compilers
|
8612
|
+
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
8016
8613
|
tmp_addflag=' $pic_flag -Mnomain' ;;
|
8017
8614
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
|
8018
8615
|
tmp_addflag=' -i_dynamic' ;;
|
@@ -8023,13 +8620,17 @@ _LT_EOF
|
|
8023
8620
|
lf95*) # Lahey Fortran 8.1
|
8024
8621
|
whole_archive_flag_spec=
|
8025
8622
|
tmp_sharedflag='--shared' ;;
|
8026
|
-
xl[cC]*)
|
8623
|
+
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
|
8027
8624
|
tmp_sharedflag='-qmkshrobj'
|
8028
8625
|
tmp_addflag= ;;
|
8626
|
+
nvcc*) # Cuda Compiler Driver 2.2
|
8627
|
+
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
8628
|
+
compiler_needs_object=yes
|
8629
|
+
;;
|
8029
8630
|
esac
|
8030
8631
|
case `$CC -V 2>&1 | sed 5q` in
|
8031
8632
|
*Sun\ C*) # Sun C 5.9
|
8032
|
-
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done;
|
8633
|
+
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
8033
8634
|
compiler_needs_object=yes
|
8034
8635
|
tmp_sharedflag='-G' ;;
|
8035
8636
|
*Sun\ F*) # Sun Fortran 8.3
|
@@ -8045,17 +8646,16 @@ _LT_EOF
|
|
8045
8646
|
fi
|
8046
8647
|
|
8047
8648
|
case $cc_basename in
|
8048
|
-
xlf*)
|
8649
|
+
xlf* | bgf* | bgxlf* | mpixlf*)
|
8049
8650
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
8050
8651
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
|
8051
|
-
hardcode_libdir_flag_spec=
|
8052
|
-
|
8053
|
-
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
|
8652
|
+
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
8653
|
+
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
8054
8654
|
if test "x$supports_anon_versioning" = xyes; then
|
8055
8655
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
8056
8656
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
8057
8657
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
8058
|
-
$LD -shared $libobjs $deplibs $
|
8658
|
+
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
8059
8659
|
fi
|
8060
8660
|
;;
|
8061
8661
|
esac
|
@@ -8069,8 +8669,8 @@ _LT_EOF
|
|
8069
8669
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
8070
8670
|
wlarc=
|
8071
8671
|
else
|
8072
|
-
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8073
|
-
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8672
|
+
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8673
|
+
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8074
8674
|
fi
|
8075
8675
|
;;
|
8076
8676
|
|
@@ -8088,8 +8688,8 @@ _LT_EOF
|
|
8088
8688
|
|
8089
8689
|
_LT_EOF
|
8090
8690
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
8091
|
-
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8092
|
-
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8691
|
+
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8692
|
+
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8093
8693
|
else
|
8094
8694
|
ld_shlibs=no
|
8095
8695
|
fi
|
@@ -8135,8 +8735,8 @@ _LT_EOF
|
|
8135
8735
|
|
8136
8736
|
*)
|
8137
8737
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
8138
|
-
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8139
|
-
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8738
|
+
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8739
|
+
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8140
8740
|
else
|
8141
8741
|
ld_shlibs=no
|
8142
8742
|
fi
|
@@ -8176,8 +8776,10 @@ _LT_EOF
|
|
8176
8776
|
else
|
8177
8777
|
# If we're using GNU nm, then we don't want the "-C" option.
|
8178
8778
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm
|
8779
|
+
# Also, AIX nm treats weak defined symbols like other global
|
8780
|
+
# defined symbols, whereas GNU nm marks them as "W".
|
8179
8781
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
8180
|
-
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
8782
|
+
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
8181
8783
|
else
|
8182
8784
|
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
8183
8785
|
fi
|
@@ -8265,7 +8867,13 @@ _LT_EOF
|
|
8265
8867
|
allow_undefined_flag='-berok'
|
8266
8868
|
# Determine the default libpath from the value encoded in an
|
8267
8869
|
# empty executable.
|
8268
|
-
|
8870
|
+
if test "${lt_cv_aix_libpath+set}" = set; then
|
8871
|
+
aix_libpath=$lt_cv_aix_libpath
|
8872
|
+
else
|
8873
|
+
if ${lt_cv_aix_libpath_+:} false; then :
|
8874
|
+
$as_echo_n "(cached) " >&6
|
8875
|
+
else
|
8876
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8269
8877
|
/* end confdefs.h. */
|
8270
8878
|
|
8271
8879
|
int
|
@@ -8278,25 +8886,32 @@ main ()
|
|
8278
8886
|
_ACEOF
|
8279
8887
|
if ac_fn_c_try_link "$LINENO"; then :
|
8280
8888
|
|
8281
|
-
lt_aix_libpath_sed='
|
8282
|
-
|
8283
|
-
|
8284
|
-
|
8285
|
-
|
8286
|
-
|
8287
|
-
|
8288
|
-
|
8289
|
-
# Check for a 64-bit object if we didn't find anything.
|
8290
|
-
if test -z "$
|
8291
|
-
|
8292
|
-
fi
|
8889
|
+
lt_aix_libpath_sed='
|
8890
|
+
/Import File Strings/,/^$/ {
|
8891
|
+
/^0/ {
|
8892
|
+
s/^0 *\([^ ]*\) *$/\1/
|
8893
|
+
p
|
8894
|
+
}
|
8895
|
+
}'
|
8896
|
+
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
8897
|
+
# Check for a 64-bit object if we didn't find anything.
|
8898
|
+
if test -z "$lt_cv_aix_libpath_"; then
|
8899
|
+
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
8900
|
+
fi
|
8293
8901
|
fi
|
8294
8902
|
rm -f core conftest.err conftest.$ac_objext \
|
8295
8903
|
conftest$ac_exeext conftest.$ac_ext
|
8296
|
-
if test -z "$
|
8904
|
+
if test -z "$lt_cv_aix_libpath_"; then
|
8905
|
+
lt_cv_aix_libpath_="/usr/lib:/lib"
|
8906
|
+
fi
|
8907
|
+
|
8908
|
+
fi
|
8909
|
+
|
8910
|
+
aix_libpath=$lt_cv_aix_libpath_
|
8911
|
+
fi
|
8297
8912
|
|
8298
8913
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
8299
|
-
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then
|
8914
|
+
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
|
8300
8915
|
else
|
8301
8916
|
if test "$host_cpu" = ia64; then
|
8302
8917
|
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
@@ -8305,7 +8920,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8305
8920
|
else
|
8306
8921
|
# Determine the default libpath from the value encoded in an
|
8307
8922
|
# empty executable.
|
8308
|
-
|
8923
|
+
if test "${lt_cv_aix_libpath+set}" = set; then
|
8924
|
+
aix_libpath=$lt_cv_aix_libpath
|
8925
|
+
else
|
8926
|
+
if ${lt_cv_aix_libpath_+:} false; then :
|
8927
|
+
$as_echo_n "(cached) " >&6
|
8928
|
+
else
|
8929
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8309
8930
|
/* end confdefs.h. */
|
8310
8931
|
|
8311
8932
|
int
|
@@ -8318,30 +8939,42 @@ main ()
|
|
8318
8939
|
_ACEOF
|
8319
8940
|
if ac_fn_c_try_link "$LINENO"; then :
|
8320
8941
|
|
8321
|
-
lt_aix_libpath_sed='
|
8322
|
-
|
8323
|
-
|
8324
|
-
|
8325
|
-
|
8326
|
-
|
8327
|
-
|
8328
|
-
|
8329
|
-
# Check for a 64-bit object if we didn't find anything.
|
8330
|
-
if test -z "$
|
8331
|
-
|
8332
|
-
fi
|
8942
|
+
lt_aix_libpath_sed='
|
8943
|
+
/Import File Strings/,/^$/ {
|
8944
|
+
/^0/ {
|
8945
|
+
s/^0 *\([^ ]*\) *$/\1/
|
8946
|
+
p
|
8947
|
+
}
|
8948
|
+
}'
|
8949
|
+
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
8950
|
+
# Check for a 64-bit object if we didn't find anything.
|
8951
|
+
if test -z "$lt_cv_aix_libpath_"; then
|
8952
|
+
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
8953
|
+
fi
|
8333
8954
|
fi
|
8334
8955
|
rm -f core conftest.err conftest.$ac_objext \
|
8335
8956
|
conftest$ac_exeext conftest.$ac_ext
|
8336
|
-
if test -z "$
|
8957
|
+
if test -z "$lt_cv_aix_libpath_"; then
|
8958
|
+
lt_cv_aix_libpath_="/usr/lib:/lib"
|
8959
|
+
fi
|
8960
|
+
|
8961
|
+
fi
|
8962
|
+
|
8963
|
+
aix_libpath=$lt_cv_aix_libpath_
|
8964
|
+
fi
|
8337
8965
|
|
8338
8966
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
8339
8967
|
# Warning - without using the other run time loading flags,
|
8340
8968
|
# -berok will link without error, but may produce a broken library.
|
8341
8969
|
no_undefined_flag=' ${wl}-bernotok'
|
8342
8970
|
allow_undefined_flag=' ${wl}-berok'
|
8343
|
-
|
8344
|
-
|
8971
|
+
if test "$with_gnu_ld" = yes; then
|
8972
|
+
# We only use this code for GNU lds that support --whole-archive.
|
8973
|
+
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
|
8974
|
+
else
|
8975
|
+
# Exported symbols can be pulled into shared objects from archives
|
8976
|
+
whole_archive_flag_spec='$convenience'
|
8977
|
+
fi
|
8345
8978
|
archive_cmds_need_lc=yes
|
8346
8979
|
# This is similar to how AIX traditionally builds its shared libraries.
|
8347
8980
|
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
|
@@ -8373,20 +9006,64 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8373
9006
|
# Microsoft Visual C++.
|
8374
9007
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
8375
9008
|
# no search path for DLLs.
|
8376
|
-
|
8377
|
-
|
8378
|
-
|
8379
|
-
|
8380
|
-
|
8381
|
-
|
8382
|
-
|
8383
|
-
|
8384
|
-
|
8385
|
-
|
8386
|
-
|
8387
|
-
|
8388
|
-
|
8389
|
-
|
9009
|
+
case $cc_basename in
|
9010
|
+
cl*)
|
9011
|
+
# Native MSVC
|
9012
|
+
hardcode_libdir_flag_spec=' '
|
9013
|
+
allow_undefined_flag=unsupported
|
9014
|
+
always_export_symbols=yes
|
9015
|
+
file_list_spec='@'
|
9016
|
+
# Tell ltmain to make .lib files, not .a files.
|
9017
|
+
libext=lib
|
9018
|
+
# Tell ltmain to make .dll files, not .so files.
|
9019
|
+
shrext_cmds=".dll"
|
9020
|
+
# FIXME: Setting linknames here is a bad hack.
|
9021
|
+
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
|
9022
|
+
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
9023
|
+
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
|
9024
|
+
else
|
9025
|
+
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
|
9026
|
+
fi~
|
9027
|
+
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
|
9028
|
+
linknames='
|
9029
|
+
# The linker will not automatically build a static lib if we build a DLL.
|
9030
|
+
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
|
9031
|
+
enable_shared_with_static_runtimes=yes
|
9032
|
+
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
9033
|
+
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
|
9034
|
+
# Don't use ranlib
|
9035
|
+
old_postinstall_cmds='chmod 644 $oldlib'
|
9036
|
+
postlink_cmds='lt_outputfile="@OUTPUT@"~
|
9037
|
+
lt_tool_outputfile="@TOOL_OUTPUT@"~
|
9038
|
+
case $lt_outputfile in
|
9039
|
+
*.exe|*.EXE) ;;
|
9040
|
+
*)
|
9041
|
+
lt_outputfile="$lt_outputfile.exe"
|
9042
|
+
lt_tool_outputfile="$lt_tool_outputfile.exe"
|
9043
|
+
;;
|
9044
|
+
esac~
|
9045
|
+
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
|
9046
|
+
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
|
9047
|
+
$RM "$lt_outputfile.manifest";
|
9048
|
+
fi'
|
9049
|
+
;;
|
9050
|
+
*)
|
9051
|
+
# Assume MSVC wrapper
|
9052
|
+
hardcode_libdir_flag_spec=' '
|
9053
|
+
allow_undefined_flag=unsupported
|
9054
|
+
# Tell ltmain to make .lib files, not .a files.
|
9055
|
+
libext=lib
|
9056
|
+
# Tell ltmain to make .dll files, not .so files.
|
9057
|
+
shrext_cmds=".dll"
|
9058
|
+
# FIXME: Setting linknames here is a bad hack.
|
9059
|
+
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
|
9060
|
+
# The linker will automatically build a .lib file if we build a DLL.
|
9061
|
+
old_archive_from_new_cmds='true'
|
9062
|
+
# FIXME: Should let the user specify the lib program.
|
9063
|
+
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
|
9064
|
+
enable_shared_with_static_runtimes=yes
|
9065
|
+
;;
|
9066
|
+
esac
|
8390
9067
|
;;
|
8391
9068
|
|
8392
9069
|
darwin* | rhapsody*)
|
@@ -8396,7 +9073,12 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8396
9073
|
hardcode_direct=no
|
8397
9074
|
hardcode_automatic=yes
|
8398
9075
|
hardcode_shlibpath_var=unsupported
|
8399
|
-
|
9076
|
+
if test "$lt_cv_ld_force_load" = "yes"; then
|
9077
|
+
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
9078
|
+
|
9079
|
+
else
|
9080
|
+
whole_archive_flag_spec=''
|
9081
|
+
fi
|
8400
9082
|
link_all_deplibs=yes
|
8401
9083
|
allow_undefined_flag="$_lt_dar_allow_undefined"
|
8402
9084
|
case $cc_basename in
|
@@ -8404,7 +9086,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8404
9086
|
*) _lt_dar_can_shared=$GCC ;;
|
8405
9087
|
esac
|
8406
9088
|
if test "$_lt_dar_can_shared" = "yes"; then
|
8407
|
-
output_verbose_link_cmd=
|
9089
|
+
output_verbose_link_cmd=func_echo_all
|
8408
9090
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
|
8409
9091
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
|
8410
9092
|
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
|
@@ -8422,10 +9104,6 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8422
9104
|
hardcode_shlibpath_var=no
|
8423
9105
|
;;
|
8424
9106
|
|
8425
|
-
freebsd1*)
|
8426
|
-
ld_shlibs=no
|
8427
|
-
;;
|
8428
|
-
|
8429
9107
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
8430
9108
|
# support. Future versions do this automatically, but an explicit c++rt0.o
|
8431
9109
|
# does not break anything, and helps significantly (at the cost of a little
|
@@ -8438,7 +9116,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8438
9116
|
;;
|
8439
9117
|
|
8440
9118
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
8441
|
-
freebsd2
|
9119
|
+
freebsd2.*)
|
8442
9120
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
8443
9121
|
hardcode_direct=yes
|
8444
9122
|
hardcode_minus_L=yes
|
@@ -8447,7 +9125,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8447
9125
|
|
8448
9126
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
8449
9127
|
freebsd* | dragonfly*)
|
8450
|
-
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
9128
|
+
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
8451
9129
|
hardcode_libdir_flag_spec='-R$libdir'
|
8452
9130
|
hardcode_direct=yes
|
8453
9131
|
hardcode_shlibpath_var=no
|
@@ -8455,7 +9133,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8455
9133
|
|
8456
9134
|
hpux9*)
|
8457
9135
|
if test "$GCC" = yes; then
|
8458
|
-
archive_cmds='$RM $output_objdir/$soname~$CC -shared
|
9136
|
+
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
8459
9137
|
else
|
8460
9138
|
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
8461
9139
|
fi
|
@@ -8470,14 +9148,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8470
9148
|
;;
|
8471
9149
|
|
8472
9150
|
hpux10*)
|
8473
|
-
if test "$GCC" = yes
|
8474
|
-
archive_cmds='$CC -shared
|
9151
|
+
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
9152
|
+
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
8475
9153
|
else
|
8476
9154
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
8477
9155
|
fi
|
8478
9156
|
if test "$with_gnu_ld" = no; then
|
8479
9157
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
8480
|
-
hardcode_libdir_flag_spec_ld='+b $libdir'
|
8481
9158
|
hardcode_libdir_separator=:
|
8482
9159
|
hardcode_direct=yes
|
8483
9160
|
hardcode_direct_absolute=yes
|
@@ -8488,29 +9165,68 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8488
9165
|
fi
|
8489
9166
|
;;
|
8490
9167
|
|
8491
|
-
hpux11*)
|
8492
|
-
if test "$GCC" = yes
|
8493
|
-
case $host_cpu in
|
8494
|
-
hppa*64*)
|
8495
|
-
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
8496
|
-
;;
|
8497
|
-
ia64*)
|
8498
|
-
archive_cmds='$CC -shared
|
8499
|
-
;;
|
8500
|
-
*)
|
8501
|
-
archive_cmds='$CC -shared
|
8502
|
-
;;
|
8503
|
-
esac
|
8504
|
-
else
|
8505
|
-
case $host_cpu in
|
8506
|
-
hppa*64*)
|
8507
|
-
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
8508
|
-
;;
|
8509
|
-
ia64*)
|
8510
|
-
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
8511
|
-
;;
|
8512
|
-
*)
|
8513
|
-
|
9168
|
+
hpux11*)
|
9169
|
+
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
9170
|
+
case $host_cpu in
|
9171
|
+
hppa*64*)
|
9172
|
+
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
9173
|
+
;;
|
9174
|
+
ia64*)
|
9175
|
+
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
9176
|
+
;;
|
9177
|
+
*)
|
9178
|
+
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
9179
|
+
;;
|
9180
|
+
esac
|
9181
|
+
else
|
9182
|
+
case $host_cpu in
|
9183
|
+
hppa*64*)
|
9184
|
+
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
9185
|
+
;;
|
9186
|
+
ia64*)
|
9187
|
+
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
9188
|
+
;;
|
9189
|
+
*)
|
9190
|
+
|
9191
|
+
# Older versions of the 11.00 compiler do not understand -b yet
|
9192
|
+
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
9193
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
9194
|
+
$as_echo_n "checking if $CC understands -b... " >&6; }
|
9195
|
+
if ${lt_cv_prog_compiler__b+:} false; then :
|
9196
|
+
$as_echo_n "(cached) " >&6
|
9197
|
+
else
|
9198
|
+
lt_cv_prog_compiler__b=no
|
9199
|
+
save_LDFLAGS="$LDFLAGS"
|
9200
|
+
LDFLAGS="$LDFLAGS -b"
|
9201
|
+
echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
9202
|
+
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
9203
|
+
# The linker can only warn and ignore the option if not recognized
|
9204
|
+
# So say no if there are warnings
|
9205
|
+
if test -s conftest.err; then
|
9206
|
+
# Append any errors to the config.log.
|
9207
|
+
cat conftest.err 1>&5
|
9208
|
+
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
9209
|
+
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
9210
|
+
if diff conftest.exp conftest.er2 >/dev/null; then
|
9211
|
+
lt_cv_prog_compiler__b=yes
|
9212
|
+
fi
|
9213
|
+
else
|
9214
|
+
lt_cv_prog_compiler__b=yes
|
9215
|
+
fi
|
9216
|
+
fi
|
9217
|
+
$RM -r conftest*
|
9218
|
+
LDFLAGS="$save_LDFLAGS"
|
9219
|
+
|
9220
|
+
fi
|
9221
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
9222
|
+
$as_echo "$lt_cv_prog_compiler__b" >&6; }
|
9223
|
+
|
9224
|
+
if test x"$lt_cv_prog_compiler__b" = xyes; then
|
9225
|
+
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
9226
|
+
else
|
9227
|
+
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
9228
|
+
fi
|
9229
|
+
|
8514
9230
|
;;
|
8515
9231
|
esac
|
8516
9232
|
fi
|
@@ -8538,26 +9254,39 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
8538
9254
|
|
8539
9255
|
irix5* | irix6* | nonstopux*)
|
8540
9256
|
if test "$GCC" = yes; then
|
8541
|
-
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" &&
|
9257
|
+
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
8542
9258
|
# Try to use the -exported_symbol ld option, if it does not
|
8543
9259
|
# work, assume that -exports_file does not work either and
|
8544
9260
|
# implicitly export all symbols.
|
8545
|
-
|
8546
|
-
|
8547
|
-
|
9261
|
+
# This should be the same for all languages, so no per-tag cache variable.
|
9262
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
9263
|
+
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
9264
|
+
if ${lt_cv_irix_exported_symbol+:} false; then :
|
9265
|
+
$as_echo_n "(cached) " >&6
|
9266
|
+
else
|
9267
|
+
save_LDFLAGS="$LDFLAGS"
|
9268
|
+
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
|
9269
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8548
9270
|
/* end confdefs.h. */
|
8549
|
-
int foo(void) {}
|
9271
|
+
int foo (void) { return 0; }
|
8550
9272
|
_ACEOF
|
8551
9273
|
if ac_fn_c_try_link "$LINENO"; then :
|
8552
|
-
|
8553
|
-
|
9274
|
+
lt_cv_irix_exported_symbol=yes
|
9275
|
+
else
|
9276
|
+
lt_cv_irix_exported_symbol=no
|
8554
9277
|
fi
|
8555
9278
|
rm -f core conftest.err conftest.$ac_objext \
|
8556
9279
|
conftest$ac_exeext conftest.$ac_ext
|
8557
|
-
|
9280
|
+
LDFLAGS="$save_LDFLAGS"
|
9281
|
+
fi
|
9282
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
9283
|
+
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
9284
|
+
if test "$lt_cv_irix_exported_symbol" = yes; then
|
9285
|
+
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
|
9286
|
+
fi
|
8558
9287
|
else
|
8559
|
-
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" &&
|
8560
|
-
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" &&
|
9288
|
+
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
9289
|
+
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
|
8561
9290
|
fi
|
8562
9291
|
archive_cmds_need_lc='no'
|
8563
9292
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
@@ -8619,17 +9348,17 @@ rm -f core conftest.err conftest.$ac_objext \
|
|
8619
9348
|
hardcode_libdir_flag_spec='-L$libdir'
|
8620
9349
|
hardcode_minus_L=yes
|
8621
9350
|
allow_undefined_flag=unsupported
|
8622
|
-
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def
|
9351
|
+
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
|
8623
9352
|
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
8624
9353
|
;;
|
8625
9354
|
|
8626
9355
|
osf3*)
|
8627
9356
|
if test "$GCC" = yes; then
|
8628
9357
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
8629
|
-
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" &&
|
9358
|
+
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
8630
9359
|
else
|
8631
9360
|
allow_undefined_flag=' -expect_unresolved \*'
|
8632
|
-
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" &&
|
9361
|
+
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
8633
9362
|
fi
|
8634
9363
|
archive_cmds_need_lc='no'
|
8635
9364
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
@@ -8639,13 +9368,13 @@ rm -f core conftest.err conftest.$ac_objext \
|
|
8639
9368
|
osf4* | osf5*) # as osf3* with the addition of -msym flag
|
8640
9369
|
if test "$GCC" = yes; then
|
8641
9370
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
8642
|
-
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" &&
|
9371
|
+
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
8643
9372
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
8644
9373
|
else
|
8645
9374
|
allow_undefined_flag=' -expect_unresolved \*'
|
8646
|
-
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" &&
|
9375
|
+
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
8647
9376
|
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
|
8648
|
-
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "
|
9377
|
+
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
|
8649
9378
|
|
8650
9379
|
# Both c and cxx compiler support -rpath directly
|
8651
9380
|
hardcode_libdir_flag_spec='-rpath $libdir'
|
@@ -8658,9 +9387,9 @@ rm -f core conftest.err conftest.$ac_objext \
|
|
8658
9387
|
no_undefined_flag=' -z defs'
|
8659
9388
|
if test "$GCC" = yes; then
|
8660
9389
|
wlarc='${wl}'
|
8661
|
-
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
9390
|
+
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
8662
9391
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
8663
|
-
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
|
9392
|
+
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
|
8664
9393
|
else
|
8665
9394
|
case `$CC -V 2>&1` in
|
8666
9395
|
*"Compilers 5.0"*)
|
@@ -8848,44 +9577,50 @@ x|xyes)
|
|
8848
9577
|
# to ld, don't add -lc before -lgcc.
|
8849
9578
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
8850
9579
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
8851
|
-
|
8852
|
-
|
9580
|
+
if ${lt_cv_archive_cmds_need_lc+:} false; then :
|
9581
|
+
$as_echo_n "(cached) " >&6
|
9582
|
+
else
|
9583
|
+
$RM conftest*
|
9584
|
+
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
8853
9585
|
|
8854
|
-
|
9586
|
+
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
8855
9587
|
(eval $ac_compile) 2>&5
|
8856
9588
|
ac_status=$?
|
8857
9589
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
8858
9590
|
test $ac_status = 0; } 2>conftest.err; then
|
8859
|
-
|
8860
|
-
|
8861
|
-
|
8862
|
-
|
8863
|
-
|
8864
|
-
|
8865
|
-
|
8866
|
-
|
8867
|
-
|
8868
|
-
|
8869
|
-
|
8870
|
-
|
8871
|
-
|
8872
|
-
|
9591
|
+
soname=conftest
|
9592
|
+
lib=conftest
|
9593
|
+
libobjs=conftest.$ac_objext
|
9594
|
+
deplibs=
|
9595
|
+
wl=$lt_prog_compiler_wl
|
9596
|
+
pic_flag=$lt_prog_compiler_pic
|
9597
|
+
compiler_flags=-v
|
9598
|
+
linker_flags=-v
|
9599
|
+
verstring=
|
9600
|
+
output_objdir=.
|
9601
|
+
libname=conftest
|
9602
|
+
lt_save_allow_undefined_flag=$allow_undefined_flag
|
9603
|
+
allow_undefined_flag=
|
9604
|
+
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
8873
9605
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
8874
9606
|
ac_status=$?
|
8875
9607
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
8876
9608
|
test $ac_status = 0; }
|
8877
|
-
|
8878
|
-
|
8879
|
-
|
8880
|
-
|
8881
|
-
|
8882
|
-
|
8883
|
-
|
8884
|
-
|
8885
|
-
|
8886
|
-
|
8887
|
-
|
8888
|
-
|
9609
|
+
then
|
9610
|
+
lt_cv_archive_cmds_need_lc=no
|
9611
|
+
else
|
9612
|
+
lt_cv_archive_cmds_need_lc=yes
|
9613
|
+
fi
|
9614
|
+
allow_undefined_flag=$lt_save_allow_undefined_flag
|
9615
|
+
else
|
9616
|
+
cat conftest.err 1>&5
|
9617
|
+
fi
|
9618
|
+
$RM conftest*
|
9619
|
+
|
9620
|
+
fi
|
9621
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
9622
|
+
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
|
9623
|
+
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
8889
9624
|
;;
|
8890
9625
|
esac
|
8891
9626
|
fi
|
@@ -9037,11 +9772,6 @@ esac
|
|
9037
9772
|
|
9038
9773
|
|
9039
9774
|
|
9040
|
-
|
9041
|
-
|
9042
|
-
|
9043
|
-
|
9044
|
-
|
9045
9775
|
|
9046
9776
|
|
9047
9777
|
|
@@ -9056,16 +9786,23 @@ if test "$GCC" = yes; then
|
|
9056
9786
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
|
9057
9787
|
*) lt_awk_arg="/^libraries:/" ;;
|
9058
9788
|
esac
|
9059
|
-
|
9060
|
-
|
9789
|
+
case $host_os in
|
9790
|
+
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
|
9791
|
+
*) lt_sed_strip_eq="s,=/,/,g" ;;
|
9792
|
+
esac
|
9793
|
+
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
|
9794
|
+
case $lt_search_path_spec in
|
9795
|
+
*\;*)
|
9061
9796
|
# if the path contains ";" then we assume it to be the separator
|
9062
9797
|
# otherwise default to the standard path separator (i.e. ":") - it is
|
9063
9798
|
# assumed that no part of a normal pathname contains ";" but that should
|
9064
9799
|
# okay in the real world where ";" in dirpaths is itself problematic.
|
9065
|
-
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED
|
9066
|
-
|
9067
|
-
|
9068
|
-
|
9800
|
+
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
|
9801
|
+
;;
|
9802
|
+
*)
|
9803
|
+
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
|
9804
|
+
;;
|
9805
|
+
esac
|
9069
9806
|
# Ok, now we have the path, separated by spaces, we can step through it
|
9070
9807
|
# and add multilib dir if necessary.
|
9071
9808
|
lt_tmp_lt_search_path_spec=
|
@@ -9078,7 +9815,7 @@ if test "$GCC" = yes; then
|
|
9078
9815
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
9079
9816
|
fi
|
9080
9817
|
done
|
9081
|
-
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
|
9818
|
+
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
|
9082
9819
|
BEGIN {RS=" "; FS="/|\n";} {
|
9083
9820
|
lt_foo="";
|
9084
9821
|
lt_count=0;
|
@@ -9098,7 +9835,13 @@ BEGIN {RS=" "; FS="/|\n";} {
|
|
9098
9835
|
if (lt_foo != "") { lt_freq[lt_foo]++; }
|
9099
9836
|
if (lt_freq[lt_foo] == 1) { print lt_foo; }
|
9100
9837
|
}'`
|
9101
|
-
|
9838
|
+
# AWK program above erroneously prepends '/' to C:/dos/paths
|
9839
|
+
# for these hosts.
|
9840
|
+
case $host_os in
|
9841
|
+
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
|
9842
|
+
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
|
9843
|
+
esac
|
9844
|
+
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
|
9102
9845
|
else
|
9103
9846
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
9104
9847
|
fi
|
@@ -9124,7 +9867,7 @@ need_version=unknown
|
|
9124
9867
|
|
9125
9868
|
case $host_os in
|
9126
9869
|
aix3*)
|
9127
|
-
version_type=linux
|
9870
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9128
9871
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
9129
9872
|
shlibpath_var=LIBPATH
|
9130
9873
|
|
@@ -9133,7 +9876,7 @@ aix3*)
|
|
9133
9876
|
;;
|
9134
9877
|
|
9135
9878
|
aix[4-9]*)
|
9136
|
-
version_type=linux
|
9879
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9137
9880
|
need_lib_prefix=no
|
9138
9881
|
need_version=no
|
9139
9882
|
hardcode_into_libs=yes
|
@@ -9186,7 +9929,7 @@ amigaos*)
|
|
9186
9929
|
m68k)
|
9187
9930
|
library_names_spec='$libname.ixlibrary $libname.a'
|
9188
9931
|
# Create ${libname}_ixlibrary.a entries in /sys/libs.
|
9189
|
-
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname
|
9932
|
+
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
|
9190
9933
|
;;
|
9191
9934
|
esac
|
9192
9935
|
;;
|
@@ -9198,7 +9941,7 @@ beos*)
|
|
9198
9941
|
;;
|
9199
9942
|
|
9200
9943
|
bsdi[45]*)
|
9201
|
-
version_type=linux
|
9944
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9202
9945
|
need_version=no
|
9203
9946
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
9204
9947
|
soname_spec='${libname}${release}${shared_ext}$major'
|
@@ -9217,8 +9960,9 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|
9217
9960
|
need_version=no
|
9218
9961
|
need_lib_prefix=no
|
9219
9962
|
|
9220
|
-
case $GCC,$
|
9221
|
-
yes
|
9963
|
+
case $GCC,$cc_basename in
|
9964
|
+
yes,*)
|
9965
|
+
# gcc
|
9222
9966
|
library_names_spec='$libname.dll.a'
|
9223
9967
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds
|
9224
9968
|
postinstall_cmds='base_file=`basename \${file}`~
|
@@ -9239,36 +9983,83 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|
9239
9983
|
cygwin*)
|
9240
9984
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
9241
9985
|
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
9242
|
-
|
9986
|
+
|
9987
|
+
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
9243
9988
|
;;
|
9244
9989
|
mingw* | cegcc*)
|
9245
9990
|
# MinGW DLLs use traditional 'lib' prefix
|
9246
9991
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
9247
|
-
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
9248
|
-
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
|
9249
|
-
# It is most probably a Windows format PATH printed by
|
9250
|
-
# mingw gcc, but we are running on Cygwin. Gcc prints its search
|
9251
|
-
# path with ; separators, and with drive letters. We can handle the
|
9252
|
-
# drive letters (cygwin fileutils understands them), so leave them,
|
9253
|
-
# especially as we might pass files found there to a mingw objdump,
|
9254
|
-
# which wouldn't understand a cygwinified path. Ahh.
|
9255
|
-
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
9256
|
-
else
|
9257
|
-
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
9258
|
-
fi
|
9259
9992
|
;;
|
9260
9993
|
pw32*)
|
9261
9994
|
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
9262
9995
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
9263
9996
|
;;
|
9264
9997
|
esac
|
9998
|
+
dynamic_linker='Win32 ld.exe'
|
9999
|
+
;;
|
10000
|
+
|
10001
|
+
*,cl*)
|
10002
|
+
# Native MSVC
|
10003
|
+
libname_spec='$name'
|
10004
|
+
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
10005
|
+
library_names_spec='${libname}.dll.lib'
|
10006
|
+
|
10007
|
+
case $build_os in
|
10008
|
+
mingw*)
|
10009
|
+
sys_lib_search_path_spec=
|
10010
|
+
lt_save_ifs=$IFS
|
10011
|
+
IFS=';'
|
10012
|
+
for lt_path in $LIB
|
10013
|
+
do
|
10014
|
+
IFS=$lt_save_ifs
|
10015
|
+
# Let DOS variable expansion print the short 8.3 style file name.
|
10016
|
+
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
|
10017
|
+
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
|
10018
|
+
done
|
10019
|
+
IFS=$lt_save_ifs
|
10020
|
+
# Convert to MSYS style.
|
10021
|
+
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
10022
|
+
;;
|
10023
|
+
cygwin*)
|
10024
|
+
# Convert to unix form, then to dos form, then back to unix form
|
10025
|
+
# but this time dos style (no spaces!) so that the unix form looks
|
10026
|
+
# like /cygdrive/c/PROGRA~1:/cygdr...
|
10027
|
+
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
|
10028
|
+
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
|
10029
|
+
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
10030
|
+
;;
|
10031
|
+
*)
|
10032
|
+
sys_lib_search_path_spec="$LIB"
|
10033
|
+
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
|
10034
|
+
# It is most probably a Windows format PATH.
|
10035
|
+
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
10036
|
+
else
|
10037
|
+
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
10038
|
+
fi
|
10039
|
+
# FIXME: find the short name or the path components, as spaces are
|
10040
|
+
# common. (e.g. "Program Files" -> "PROGRA~1")
|
10041
|
+
;;
|
10042
|
+
esac
|
10043
|
+
|
10044
|
+
# DLL is installed to $(libdir)/../bin by postinstall_cmds
|
10045
|
+
postinstall_cmds='base_file=`basename \${file}`~
|
10046
|
+
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
10047
|
+
dldir=$destdir/`dirname \$dlpath`~
|
10048
|
+
test -d \$dldir || mkdir -p \$dldir~
|
10049
|
+
$install_prog $dir/$dlname \$dldir/$dlname'
|
10050
|
+
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
10051
|
+
dlpath=$dir/\$dldll~
|
10052
|
+
$RM \$dlpath'
|
10053
|
+
shlibpath_overrides_runpath=yes
|
10054
|
+
dynamic_linker='Win32 link.exe'
|
9265
10055
|
;;
|
9266
10056
|
|
9267
10057
|
*)
|
10058
|
+
# Assume MSVC wrapper
|
9268
10059
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
|
10060
|
+
dynamic_linker='Win32 ld.exe'
|
9269
10061
|
;;
|
9270
10062
|
esac
|
9271
|
-
dynamic_linker='Win32 ld.exe'
|
9272
10063
|
# FIXME: first we should search . and the directory the executable is in
|
9273
10064
|
shlibpath_var=PATH
|
9274
10065
|
;;
|
@@ -9289,7 +10080,7 @@ darwin* | rhapsody*)
|
|
9289
10080
|
;;
|
9290
10081
|
|
9291
10082
|
dgux*)
|
9292
|
-
version_type=linux
|
10083
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9293
10084
|
need_lib_prefix=no
|
9294
10085
|
need_version=no
|
9295
10086
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
@@ -9297,10 +10088,6 @@ dgux*)
|
|
9297
10088
|
shlibpath_var=LD_LIBRARY_PATH
|
9298
10089
|
;;
|
9299
10090
|
|
9300
|
-
freebsd1*)
|
9301
|
-
dynamic_linker=no
|
9302
|
-
;;
|
9303
|
-
|
9304
10091
|
freebsd* | dragonfly*)
|
9305
10092
|
# DragonFly does not have aout. When/if they implement a new
|
9306
10093
|
# versioning mechanism, adjust this.
|
@@ -9308,7 +10095,7 @@ freebsd* | dragonfly*)
|
|
9308
10095
|
objformat=`/usr/bin/objformat`
|
9309
10096
|
else
|
9310
10097
|
case $host_os in
|
9311
|
-
freebsd[
|
10098
|
+
freebsd[23].*) objformat=aout ;;
|
9312
10099
|
*) objformat=elf ;;
|
9313
10100
|
esac
|
9314
10101
|
fi
|
@@ -9326,7 +10113,7 @@ freebsd* | dragonfly*)
|
|
9326
10113
|
esac
|
9327
10114
|
shlibpath_var=LD_LIBRARY_PATH
|
9328
10115
|
case $host_os in
|
9329
|
-
freebsd2
|
10116
|
+
freebsd2.*)
|
9330
10117
|
shlibpath_overrides_runpath=yes
|
9331
10118
|
;;
|
9332
10119
|
freebsd3.[01]* | freebsdelf3.[01]*)
|
@@ -9345,13 +10132,16 @@ freebsd* | dragonfly*)
|
|
9345
10132
|
esac
|
9346
10133
|
;;
|
9347
10134
|
|
9348
|
-
|
9349
|
-
version_type=linux
|
10135
|
+
haiku*)
|
10136
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9350
10137
|
need_lib_prefix=no
|
9351
10138
|
need_version=no
|
10139
|
+
dynamic_linker="$host_os runtime_loader"
|
9352
10140
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
9353
10141
|
soname_spec='${libname}${release}${shared_ext}$major'
|
9354
|
-
shlibpath_var=
|
10142
|
+
shlibpath_var=LIBRARY_PATH
|
10143
|
+
shlibpath_overrides_runpath=yes
|
10144
|
+
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
|
9355
10145
|
hardcode_into_libs=yes
|
9356
10146
|
;;
|
9357
10147
|
|
@@ -9397,12 +10187,14 @@ hpux9* | hpux10* | hpux11*)
|
|
9397
10187
|
soname_spec='${libname}${release}${shared_ext}$major'
|
9398
10188
|
;;
|
9399
10189
|
esac
|
9400
|
-
# HP-UX runs *really* slowly unless shared libraries are mode 555
|
10190
|
+
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
|
9401
10191
|
postinstall_cmds='chmod 555 $lib'
|
10192
|
+
# or fails outright, so override atomically:
|
10193
|
+
install_override_mode=555
|
9402
10194
|
;;
|
9403
10195
|
|
9404
10196
|
interix[3-9]*)
|
9405
|
-
version_type=linux
|
10197
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9406
10198
|
need_lib_prefix=no
|
9407
10199
|
need_version=no
|
9408
10200
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
@@ -9418,7 +10210,7 @@ irix5* | irix6* | nonstopux*)
|
|
9418
10210
|
nonstopux*) version_type=nonstopux ;;
|
9419
10211
|
*)
|
9420
10212
|
if test "$lt_cv_prog_gnu_ld" = yes; then
|
9421
|
-
version_type=linux
|
10213
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9422
10214
|
else
|
9423
10215
|
version_type=irix
|
9424
10216
|
fi ;;
|
@@ -9455,9 +10247,9 @@ linux*oldld* | linux*aout* | linux*coff*)
|
|
9455
10247
|
dynamic_linker=no
|
9456
10248
|
;;
|
9457
10249
|
|
9458
|
-
# This must be
|
9459
|
-
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
9460
|
-
version_type=linux
|
10250
|
+
# This must be glibc/ELF.
|
10251
|
+
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
10252
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9461
10253
|
need_lib_prefix=no
|
9462
10254
|
need_version=no
|
9463
10255
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
@@ -9465,12 +10257,17 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
9465
10257
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
9466
10258
|
shlibpath_var=LD_LIBRARY_PATH
|
9467
10259
|
shlibpath_overrides_runpath=no
|
10260
|
+
|
9468
10261
|
# Some binutils ld are patched to set DT_RUNPATH
|
9469
|
-
|
9470
|
-
|
9471
|
-
|
9472
|
-
|
9473
|
-
|
10262
|
+
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
10263
|
+
$as_echo_n "(cached) " >&6
|
10264
|
+
else
|
10265
|
+
lt_cv_shlibpath_overrides_runpath=no
|
10266
|
+
save_LDFLAGS=$LDFLAGS
|
10267
|
+
save_libdir=$libdir
|
10268
|
+
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
10269
|
+
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
10270
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9474
10271
|
/* end confdefs.h. */
|
9475
10272
|
|
9476
10273
|
int
|
@@ -9483,13 +10280,17 @@ main ()
|
|
9483
10280
|
_ACEOF
|
9484
10281
|
if ac_fn_c_try_link "$LINENO"; then :
|
9485
10282
|
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
9486
|
-
|
10283
|
+
lt_cv_shlibpath_overrides_runpath=yes
|
9487
10284
|
fi
|
9488
10285
|
fi
|
9489
10286
|
rm -f core conftest.err conftest.$ac_objext \
|
9490
10287
|
conftest$ac_exeext conftest.$ac_ext
|
9491
|
-
|
9492
|
-
|
10288
|
+
LDFLAGS=$save_LDFLAGS
|
10289
|
+
libdir=$save_libdir
|
10290
|
+
|
10291
|
+
fi
|
10292
|
+
|
10293
|
+
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
|
9493
10294
|
|
9494
10295
|
# This implies no fast_install, which is unacceptable.
|
9495
10296
|
# Some rework will be needed to allow for fast_install
|
@@ -9498,7 +10299,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
|
9498
10299
|
|
9499
10300
|
# Append ld.so.conf contents to the search path
|
9500
10301
|
if test -f /etc/ld.so.conf; then
|
9501
|
-
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
10302
|
+
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
9502
10303
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
9503
10304
|
fi
|
9504
10305
|
|
@@ -9542,7 +10343,7 @@ netbsd*)
|
|
9542
10343
|
;;
|
9543
10344
|
|
9544
10345
|
newsos6)
|
9545
|
-
version_type=linux
|
10346
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9546
10347
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
9547
10348
|
shlibpath_var=LD_LIBRARY_PATH
|
9548
10349
|
shlibpath_overrides_runpath=yes
|
@@ -9611,7 +10412,7 @@ rdos*)
|
|
9611
10412
|
;;
|
9612
10413
|
|
9613
10414
|
solaris*)
|
9614
|
-
version_type=linux
|
10415
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9615
10416
|
need_lib_prefix=no
|
9616
10417
|
need_version=no
|
9617
10418
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
@@ -9636,7 +10437,7 @@ sunos4*)
|
|
9636
10437
|
;;
|
9637
10438
|
|
9638
10439
|
sysv4 | sysv4.3*)
|
9639
|
-
version_type=linux
|
10440
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9640
10441
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
9641
10442
|
soname_spec='${libname}${release}${shared_ext}$major'
|
9642
10443
|
shlibpath_var=LD_LIBRARY_PATH
|
@@ -9660,7 +10461,7 @@ sysv4 | sysv4.3*)
|
|
9660
10461
|
|
9661
10462
|
sysv4*MP*)
|
9662
10463
|
if test -d /usr/nec ;then
|
9663
|
-
version_type=linux
|
10464
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9664
10465
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
9665
10466
|
soname_spec='$libname${shared_ext}.$major'
|
9666
10467
|
shlibpath_var=LD_LIBRARY_PATH
|
@@ -9691,7 +10492,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
|
9691
10492
|
|
9692
10493
|
tpf*)
|
9693
10494
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
9694
|
-
version_type=linux
|
10495
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9695
10496
|
need_lib_prefix=no
|
9696
10497
|
need_version=no
|
9697
10498
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
@@ -9701,7 +10502,7 @@ tpf*)
|
|
9701
10502
|
;;
|
9702
10503
|
|
9703
10504
|
uts4*)
|
9704
|
-
version_type=linux
|
10505
|
+
version_type=linux # correct to gnu/linux during the next big refactor
|
9705
10506
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
9706
10507
|
soname_spec='${libname}${release}${shared_ext}$major'
|
9707
10508
|
shlibpath_var=LD_LIBRARY_PATH
|
@@ -9807,6 +10608,11 @@ fi
|
|
9807
10608
|
|
9808
10609
|
|
9809
10610
|
|
10611
|
+
|
10612
|
+
|
10613
|
+
|
10614
|
+
|
10615
|
+
|
9810
10616
|
|
9811
10617
|
|
9812
10618
|
|
@@ -10143,7 +10949,7 @@ else
|
|
10143
10949
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
10144
10950
|
lt_status=$lt_dlunknown
|
10145
10951
|
cat > conftest.$ac_ext <<_LT_EOF
|
10146
|
-
#line
|
10952
|
+
#line $LINENO "configure"
|
10147
10953
|
#include "confdefs.h"
|
10148
10954
|
|
10149
10955
|
#if HAVE_DLFCN_H
|
@@ -10184,7 +10990,13 @@ else
|
|
10184
10990
|
# endif
|
10185
10991
|
#endif
|
10186
10992
|
|
10187
|
-
|
10993
|
+
/* When -fvisbility=hidden is used, assume the code has been annotated
|
10994
|
+
correspondingly for the symbols needed. */
|
10995
|
+
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
10996
|
+
int fnord () __attribute__((visibility("default")));
|
10997
|
+
#endif
|
10998
|
+
|
10999
|
+
int fnord () { return 42; }
|
10188
11000
|
int main ()
|
10189
11001
|
{
|
10190
11002
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
@@ -10193,7 +11005,11 @@ int main ()
|
|
10193
11005
|
if (self)
|
10194
11006
|
{
|
10195
11007
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
10196
|
-
else
|
11008
|
+
else
|
11009
|
+
{
|
11010
|
+
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
11011
|
+
else puts (dlerror ());
|
11012
|
+
}
|
10197
11013
|
/* dlclose (self); */
|
10198
11014
|
}
|
10199
11015
|
else
|
@@ -10239,7 +11055,7 @@ else
|
|
10239
11055
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
10240
11056
|
lt_status=$lt_dlunknown
|
10241
11057
|
cat > conftest.$ac_ext <<_LT_EOF
|
10242
|
-
#line
|
11058
|
+
#line $LINENO "configure"
|
10243
11059
|
#include "confdefs.h"
|
10244
11060
|
|
10245
11061
|
#if HAVE_DLFCN_H
|
@@ -10280,7 +11096,13 @@ else
|
|
10280
11096
|
# endif
|
10281
11097
|
#endif
|
10282
11098
|
|
10283
|
-
|
11099
|
+
/* When -fvisbility=hidden is used, assume the code has been annotated
|
11100
|
+
correspondingly for the symbols needed. */
|
11101
|
+
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
11102
|
+
int fnord () __attribute__((visibility("default")));
|
11103
|
+
#endif
|
11104
|
+
|
11105
|
+
int fnord () { return 42; }
|
10284
11106
|
int main ()
|
10285
11107
|
{
|
10286
11108
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
@@ -10289,7 +11111,11 @@ int main ()
|
|
10289
11111
|
if (self)
|
10290
11112
|
{
|
10291
11113
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
10292
|
-
else
|
11114
|
+
else
|
11115
|
+
{
|
11116
|
+
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
11117
|
+
else puts (dlerror ());
|
11118
|
+
}
|
10293
11119
|
/* dlclose (self); */
|
10294
11120
|
}
|
10295
11121
|
else
|
@@ -10458,6 +11284,8 @@ CC="$lt_save_CC"
|
|
10458
11284
|
|
10459
11285
|
|
10460
11286
|
|
11287
|
+
|
11288
|
+
|
10461
11289
|
ac_config_commands="$ac_config_commands libtool"
|
10462
11290
|
|
10463
11291
|
|
@@ -11460,131 +12288,154 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
11460
12288
|
sed_quote_subst='$sed_quote_subst'
|
11461
12289
|
double_quote_subst='$double_quote_subst'
|
11462
12290
|
delay_variable_subst='$delay_variable_subst'
|
11463
|
-
macro_version='`$ECHO "
|
11464
|
-
macro_revision='`$ECHO "
|
11465
|
-
enable_shared='`$ECHO "
|
11466
|
-
enable_static='`$ECHO "
|
11467
|
-
pic_mode='`$ECHO "
|
11468
|
-
enable_fast_install='`$ECHO "
|
11469
|
-
|
11470
|
-
|
11471
|
-
|
11472
|
-
|
11473
|
-
|
11474
|
-
|
11475
|
-
|
11476
|
-
|
11477
|
-
|
11478
|
-
|
11479
|
-
|
11480
|
-
|
11481
|
-
|
11482
|
-
|
11483
|
-
|
11484
|
-
|
11485
|
-
|
11486
|
-
|
11487
|
-
|
11488
|
-
|
11489
|
-
|
11490
|
-
|
11491
|
-
|
11492
|
-
|
11493
|
-
|
11494
|
-
|
11495
|
-
|
11496
|
-
|
11497
|
-
|
11498
|
-
|
11499
|
-
|
11500
|
-
|
11501
|
-
|
11502
|
-
|
11503
|
-
|
11504
|
-
|
11505
|
-
|
11506
|
-
|
11507
|
-
|
11508
|
-
|
11509
|
-
|
11510
|
-
|
11511
|
-
|
11512
|
-
|
11513
|
-
|
11514
|
-
|
11515
|
-
|
11516
|
-
|
11517
|
-
|
11518
|
-
|
11519
|
-
|
11520
|
-
|
11521
|
-
|
11522
|
-
|
11523
|
-
|
11524
|
-
|
11525
|
-
|
11526
|
-
|
11527
|
-
|
11528
|
-
|
11529
|
-
|
11530
|
-
|
11531
|
-
|
11532
|
-
|
11533
|
-
|
11534
|
-
|
11535
|
-
|
11536
|
-
|
11537
|
-
|
11538
|
-
|
11539
|
-
|
11540
|
-
|
11541
|
-
|
11542
|
-
|
11543
|
-
|
11544
|
-
|
11545
|
-
|
11546
|
-
|
11547
|
-
|
11548
|
-
|
11549
|
-
|
11550
|
-
|
11551
|
-
|
11552
|
-
|
11553
|
-
|
11554
|
-
|
11555
|
-
|
11556
|
-
|
11557
|
-
|
11558
|
-
|
11559
|
-
|
11560
|
-
|
11561
|
-
|
11562
|
-
|
11563
|
-
|
11564
|
-
|
11565
|
-
|
11566
|
-
|
11567
|
-
|
11568
|
-
|
11569
|
-
|
11570
|
-
|
11571
|
-
|
11572
|
-
|
11573
|
-
|
11574
|
-
|
11575
|
-
|
11576
|
-
|
11577
|
-
|
11578
|
-
|
11579
|
-
|
11580
|
-
|
12291
|
+
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
|
12292
|
+
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
|
12293
|
+
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
|
12294
|
+
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
|
12295
|
+
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
|
12296
|
+
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
|
12297
|
+
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
|
12298
|
+
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
|
12299
|
+
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
|
12300
|
+
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
|
12301
|
+
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
|
12302
|
+
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
|
12303
|
+
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
|
12304
|
+
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
|
12305
|
+
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
|
12306
|
+
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
|
12307
|
+
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
|
12308
|
+
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
|
12309
|
+
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
|
12310
|
+
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
|
12311
|
+
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
|
12312
|
+
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
|
12313
|
+
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
|
12314
|
+
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
|
12315
|
+
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
|
12316
|
+
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
|
12317
|
+
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
|
12318
|
+
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
|
12319
|
+
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
|
12320
|
+
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
|
12321
|
+
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
12322
|
+
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
12323
|
+
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
12324
|
+
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
|
12325
|
+
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
12326
|
+
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
12327
|
+
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
|
12328
|
+
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
|
12329
|
+
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
|
12330
|
+
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
12331
|
+
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
12332
|
+
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
12333
|
+
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
12334
|
+
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
12335
|
+
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
|
12336
|
+
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
12337
|
+
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
12338
|
+
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
|
12339
|
+
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
|
12340
|
+
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
|
12341
|
+
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
|
12342
|
+
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
|
12343
|
+
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
|
12344
|
+
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
|
12345
|
+
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
|
12346
|
+
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
|
12347
|
+
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
|
12348
|
+
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
|
12349
|
+
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
|
12350
|
+
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
|
12351
|
+
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
|
12352
|
+
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
|
12353
|
+
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
|
12354
|
+
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
|
12355
|
+
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
|
12356
|
+
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
|
12357
|
+
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
|
12358
|
+
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
|
12359
|
+
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
|
12360
|
+
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
|
12361
|
+
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
|
12362
|
+
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
|
12363
|
+
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
|
12364
|
+
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
|
12365
|
+
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
|
12366
|
+
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
12367
|
+
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
|
12368
|
+
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
|
12369
|
+
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
|
12370
|
+
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
|
12371
|
+
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
|
12372
|
+
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
|
12373
|
+
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
12374
|
+
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
|
12375
|
+
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
12376
|
+
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
|
12377
|
+
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
12378
|
+
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
|
12379
|
+
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
12380
|
+
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
12381
|
+
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
|
12382
|
+
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
|
12383
|
+
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
|
12384
|
+
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
|
12385
|
+
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
|
12386
|
+
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
12387
|
+
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
|
12388
|
+
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
|
12389
|
+
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
|
12390
|
+
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
|
12391
|
+
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
|
12392
|
+
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
|
12393
|
+
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
|
12394
|
+
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
|
12395
|
+
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
|
12396
|
+
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
|
12397
|
+
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
|
12398
|
+
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
|
12399
|
+
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
|
12400
|
+
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
|
12401
|
+
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
|
12402
|
+
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
12403
|
+
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
|
12404
|
+
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
|
12405
|
+
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
|
12406
|
+
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
|
12407
|
+
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
|
12408
|
+
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
12409
|
+
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
12410
|
+
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
|
12411
|
+
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
|
12412
|
+
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
|
12413
|
+
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
|
12414
|
+
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
|
12415
|
+
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
|
12416
|
+
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
|
12417
|
+
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
|
12418
|
+
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
|
12419
|
+
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
|
12420
|
+
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
|
11581
12421
|
|
11582
12422
|
LTCC='$LTCC'
|
11583
12423
|
LTCFLAGS='$LTCFLAGS'
|
11584
12424
|
compiler='$compiler_DEFAULT'
|
11585
12425
|
|
12426
|
+
# A function that is used when there is no print builtin or printf.
|
12427
|
+
func_fallback_echo ()
|
12428
|
+
{
|
12429
|
+
eval 'cat <<_LTECHO_EOF
|
12430
|
+
\$1
|
12431
|
+
_LTECHO_EOF'
|
12432
|
+
}
|
12433
|
+
|
11586
12434
|
# Quote evaled strings.
|
11587
|
-
for var in
|
12435
|
+
for var in SHELL \
|
12436
|
+
ECHO \
|
12437
|
+
PATH_SEPARATOR \
|
12438
|
+
SED \
|
11588
12439
|
GREP \
|
11589
12440
|
EGREP \
|
11590
12441
|
FGREP \
|
@@ -11597,8 +12448,13 @@ reload_flag \
|
|
11597
12448
|
OBJDUMP \
|
11598
12449
|
deplibs_check_method \
|
11599
12450
|
file_magic_cmd \
|
12451
|
+
file_magic_glob \
|
12452
|
+
want_nocaseglob \
|
12453
|
+
DLLTOOL \
|
12454
|
+
sharedlib_from_linklib_cmd \
|
11600
12455
|
AR \
|
11601
12456
|
AR_FLAGS \
|
12457
|
+
archiver_list_spec \
|
11602
12458
|
STRIP \
|
11603
12459
|
RANLIB \
|
11604
12460
|
CC \
|
@@ -11608,14 +12464,14 @@ lt_cv_sys_global_symbol_pipe \
|
|
11608
12464
|
lt_cv_sys_global_symbol_to_cdecl \
|
11609
12465
|
lt_cv_sys_global_symbol_to_c_name_address \
|
11610
12466
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
|
11611
|
-
|
11612
|
-
ECHO \
|
12467
|
+
nm_file_list_spec \
|
11613
12468
|
lt_prog_compiler_no_builtin_flag \
|
11614
|
-
lt_prog_compiler_wl \
|
11615
12469
|
lt_prog_compiler_pic \
|
12470
|
+
lt_prog_compiler_wl \
|
11616
12471
|
lt_prog_compiler_static \
|
11617
12472
|
lt_cv_prog_compiler_c_o \
|
11618
12473
|
need_locks \
|
12474
|
+
MANIFEST_TOOL \
|
11619
12475
|
DSYMUTIL \
|
11620
12476
|
NMEDIT \
|
11621
12477
|
LIPO \
|
@@ -11629,9 +12485,7 @@ with_gnu_ld \
|
|
11629
12485
|
allow_undefined_flag \
|
11630
12486
|
no_undefined_flag \
|
11631
12487
|
hardcode_libdir_flag_spec \
|
11632
|
-
hardcode_libdir_flag_spec_ld \
|
11633
12488
|
hardcode_libdir_separator \
|
11634
|
-
fix_srcfile_path \
|
11635
12489
|
exclude_expsyms \
|
11636
12490
|
include_expsyms \
|
11637
12491
|
file_list_spec \
|
@@ -11639,12 +12493,13 @@ variables_saved_for_relink \
|
|
11639
12493
|
libname_spec \
|
11640
12494
|
library_names_spec \
|
11641
12495
|
soname_spec \
|
12496
|
+
install_override_mode \
|
11642
12497
|
finish_eval \
|
11643
12498
|
old_striplib \
|
11644
12499
|
striplib; do
|
11645
|
-
case \`eval \\\\\$ECHO "
|
12500
|
+
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
11646
12501
|
*[\\\\\\\`\\"\\\$]*)
|
11647
|
-
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"
|
12502
|
+
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
|
11648
12503
|
;;
|
11649
12504
|
*)
|
11650
12505
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
@@ -11666,14 +12521,15 @@ module_cmds \
|
|
11666
12521
|
module_expsym_cmds \
|
11667
12522
|
export_symbols_cmds \
|
11668
12523
|
prelink_cmds \
|
12524
|
+
postlink_cmds \
|
11669
12525
|
postinstall_cmds \
|
11670
12526
|
postuninstall_cmds \
|
11671
12527
|
finish_cmds \
|
11672
12528
|
sys_lib_search_path_spec \
|
11673
12529
|
sys_lib_dlsearch_path_spec; do
|
11674
|
-
case \`eval \\\\\$ECHO "
|
12530
|
+
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
11675
12531
|
*[\\\\\\\`\\"\\\$]*)
|
11676
|
-
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"
|
12532
|
+
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
|
11677
12533
|
;;
|
11678
12534
|
*)
|
11679
12535
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
@@ -11681,12 +12537,6 @@ sys_lib_dlsearch_path_spec; do
|
|
11681
12537
|
esac
|
11682
12538
|
done
|
11683
12539
|
|
11684
|
-
# Fix-up fallback echo if it was mangled by the above quoting rules.
|
11685
|
-
case \$lt_ECHO in
|
11686
|
-
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
|
11687
|
-
;;
|
11688
|
-
esac
|
11689
|
-
|
11690
12540
|
ac_aux_dir='$ac_aux_dir'
|
11691
12541
|
xsi_shell='$xsi_shell'
|
11692
12542
|
lt_shell_append='$lt_shell_append'
|
@@ -12430,7 +13280,8 @@ $as_echo X"$file" |
|
|
12430
13280
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
12431
13281
|
#
|
12432
13282
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
12433
|
-
# 2006, 2007, 2008 Free Software
|
13283
|
+
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
13284
|
+
# Foundation, Inc.
|
12434
13285
|
# Written by Gordon Matzigkeit, 1996
|
12435
13286
|
#
|
12436
13287
|
# This file is part of GNU Libtool.
|
@@ -12478,6 +13329,15 @@ pic_mode=$pic_mode
|
|
12478
13329
|
# Whether or not to optimize for fast installation.
|
12479
13330
|
fast_install=$enable_fast_install
|
12480
13331
|
|
13332
|
+
# Shell to use when invoking shell scripts.
|
13333
|
+
SHELL=$lt_SHELL
|
13334
|
+
|
13335
|
+
# An echo program that protects backslashes.
|
13336
|
+
ECHO=$lt_ECHO
|
13337
|
+
|
13338
|
+
# The PATH separator for the build system.
|
13339
|
+
PATH_SEPARATOR=$lt_PATH_SEPARATOR
|
13340
|
+
|
12481
13341
|
# The host system.
|
12482
13342
|
host_alias=$host_alias
|
12483
13343
|
host=$host
|
@@ -12527,9 +13387,11 @@ SP2NL=$lt_lt_SP2NL
|
|
12527
13387
|
# turn newlines into spaces.
|
12528
13388
|
NL2SP=$lt_lt_NL2SP
|
12529
13389
|
|
12530
|
-
#
|
12531
|
-
|
12532
|
-
|
13390
|
+
# convert \$build file names to \$host format.
|
13391
|
+
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
13392
|
+
|
13393
|
+
# convert \$build files to toolchain format.
|
13394
|
+
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
12533
13395
|
|
12534
13396
|
# An object symbol dumper.
|
12535
13397
|
OBJDUMP=$lt_OBJDUMP
|
@@ -12537,13 +13399,30 @@ OBJDUMP=$lt_OBJDUMP
|
|
12537
13399
|
# Method to check whether dependent libraries are shared objects.
|
12538
13400
|
deplibs_check_method=$lt_deplibs_check_method
|
12539
13401
|
|
12540
|
-
# Command to use when deplibs_check_method
|
13402
|
+
# Command to use when deplibs_check_method = "file_magic".
|
12541
13403
|
file_magic_cmd=$lt_file_magic_cmd
|
12542
13404
|
|
13405
|
+
# How to find potential files when deplibs_check_method = "file_magic".
|
13406
|
+
file_magic_glob=$lt_file_magic_glob
|
13407
|
+
|
13408
|
+
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
|
13409
|
+
want_nocaseglob=$lt_want_nocaseglob
|
13410
|
+
|
13411
|
+
# DLL creation program.
|
13412
|
+
DLLTOOL=$lt_DLLTOOL
|
13413
|
+
|
13414
|
+
# Command to associate shared and link libraries.
|
13415
|
+
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
|
13416
|
+
|
12543
13417
|
# The archiver.
|
12544
13418
|
AR=$lt_AR
|
13419
|
+
|
13420
|
+
# Flags to create an archive.
|
12545
13421
|
AR_FLAGS=$lt_AR_FLAGS
|
12546
13422
|
|
13423
|
+
# How to feed a file listing to the archiver.
|
13424
|
+
archiver_list_spec=$lt_archiver_list_spec
|
13425
|
+
|
12547
13426
|
# A symbol stripping program.
|
12548
13427
|
STRIP=$lt_STRIP
|
12549
13428
|
|
@@ -12552,6 +13431,9 @@ RANLIB=$lt_RANLIB
|
|
12552
13431
|
old_postinstall_cmds=$lt_old_postinstall_cmds
|
12553
13432
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
12554
13433
|
|
13434
|
+
# Whether to use a lock for old archive extraction.
|
13435
|
+
lock_old_archive_extraction=$lock_old_archive_extraction
|
13436
|
+
|
12555
13437
|
# A C compiler.
|
12556
13438
|
LTCC=$lt_CC
|
12557
13439
|
|
@@ -12570,14 +13452,14 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
|
12570
13452
|
# Transform the output of nm in a C name address pair when lib prefix is needed.
|
12571
13453
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
|
12572
13454
|
|
12573
|
-
#
|
12574
|
-
|
13455
|
+
# Specify filename containing input files for \$NM.
|
13456
|
+
nm_file_list_spec=$lt_nm_file_list_spec
|
12575
13457
|
|
12576
|
-
#
|
12577
|
-
|
13458
|
+
# The root where to search for dependent libraries,and in which our libraries should be installed.
|
13459
|
+
lt_sysroot=$lt_sysroot
|
12578
13460
|
|
12579
|
-
#
|
12580
|
-
|
13461
|
+
# The name of the directory that contains temporary libtool files.
|
13462
|
+
objdir=$objdir
|
12581
13463
|
|
12582
13464
|
# Used to examine libraries when file_magic_cmd begins with "file".
|
12583
13465
|
MAGIC_CMD=$MAGIC_CMD
|
@@ -12585,6 +13467,9 @@ MAGIC_CMD=$MAGIC_CMD
|
|
12585
13467
|
# Must we lock files when doing compilation?
|
12586
13468
|
need_locks=$lt_need_locks
|
12587
13469
|
|
13470
|
+
# Manifest tool.
|
13471
|
+
MANIFEST_TOOL=$lt_MANIFEST_TOOL
|
13472
|
+
|
12588
13473
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
12589
13474
|
DSYMUTIL=$lt_DSYMUTIL
|
12590
13475
|
|
@@ -12641,6 +13526,9 @@ library_names_spec=$lt_library_names_spec
|
|
12641
13526
|
# The coded name of the library, if different from the real name.
|
12642
13527
|
soname_spec=$lt_soname_spec
|
12643
13528
|
|
13529
|
+
# Permission mode override for installation of shared libraries.
|
13530
|
+
install_override_mode=$lt_install_override_mode
|
13531
|
+
|
12644
13532
|
# Command to use after installation of a shared archive.
|
12645
13533
|
postinstall_cmds=$lt_postinstall_cmds
|
12646
13534
|
|
@@ -12680,6 +13568,10 @@ striplib=$lt_striplib
|
|
12680
13568
|
# The linker used to build libraries.
|
12681
13569
|
LD=$lt_LD
|
12682
13570
|
|
13571
|
+
# How to create reloadable object files.
|
13572
|
+
reload_flag=$lt_reload_flag
|
13573
|
+
reload_cmds=$lt_reload_cmds
|
13574
|
+
|
12683
13575
|
# Commands used to build an old-style archive.
|
12684
13576
|
old_archive_cmds=$lt_old_archive_cmds
|
12685
13577
|
|
@@ -12692,12 +13584,12 @@ with_gcc=$GCC
|
|
12692
13584
|
# Compiler flag to turn off builtin functions.
|
12693
13585
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
|
12694
13586
|
|
12695
|
-
# How to pass a linker flag through the compiler.
|
12696
|
-
wl=$lt_lt_prog_compiler_wl
|
12697
|
-
|
12698
13587
|
# Additional compiler flags for building library objects.
|
12699
13588
|
pic_flag=$lt_lt_prog_compiler_pic
|
12700
13589
|
|
13590
|
+
# How to pass a linker flag through the compiler.
|
13591
|
+
wl=$lt_lt_prog_compiler_wl
|
13592
|
+
|
12701
13593
|
# Compiler flag to prevent dynamic linking.
|
12702
13594
|
link_static_flag=$lt_lt_prog_compiler_static
|
12703
13595
|
|
@@ -12747,10 +13639,6 @@ no_undefined_flag=$lt_no_undefined_flag
|
|
12747
13639
|
# This must work even if \$libdir does not exist
|
12748
13640
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
12749
13641
|
|
12750
|
-
# If ld is used when linking, flag to hardcode \$libdir into a binary
|
12751
|
-
# during linking. This must work even if \$libdir does not exist.
|
12752
|
-
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
|
12753
|
-
|
12754
13642
|
# Whether we need a single "-rpath" flag with a separated argument.
|
12755
13643
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
12756
13644
|
|
@@ -12784,9 +13672,6 @@ inherit_rpath=$inherit_rpath
|
|
12784
13672
|
# Whether libtool must link a program against all its dependency libraries.
|
12785
13673
|
link_all_deplibs=$link_all_deplibs
|
12786
13674
|
|
12787
|
-
# Fix the shell variable \$srcfile for the compiler.
|
12788
|
-
fix_srcfile_path=$lt_fix_srcfile_path
|
12789
|
-
|
12790
13675
|
# Set to "yes" if exported symbols are required.
|
12791
13676
|
always_export_symbols=$always_export_symbols
|
12792
13677
|
|
@@ -12802,6 +13687,9 @@ include_expsyms=$lt_include_expsyms
|
|
12802
13687
|
# Commands necessary for linking programs (against libraries) with templates.
|
12803
13688
|
prelink_cmds=$lt_prelink_cmds
|
12804
13689
|
|
13690
|
+
# Commands necessary for finishing linking programs.
|
13691
|
+
postlink_cmds=$lt_postlink_cmds
|
13692
|
+
|
12805
13693
|
# Specify filename containing input files.
|
12806
13694
|
file_list_spec=$lt_file_list_spec
|
12807
13695
|
|
@@ -12834,212 +13722,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
|
|
12834
13722
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
12835
13723
|
# text mode, it properly converts lines to CR/LF. This bash problem
|
12836
13724
|
# is reportedly fixed, but why not run on old versions too?
|
12837
|
-
sed '
|
12838
|
-
|
12839
|
-
|
12840
|
-
|
12841
|
-
|
12842
|
-
|
12843
|
-
|
12844
|
-
|
12845
|
-
|
12846
|
-
|
12847
|
-
|
12848
|
-
|
12849
|
-
|
12850
|
-
|
12851
|
-
|
12852
|
-
|
12853
|
-
|
12854
|
-
|
12855
|
-
|
12856
|
-
|
12857
|
-
{
|
12858
|
-
|
12859
|
-
|
12860
|
-
|
12861
|
-
|
12862
|
-
|
12863
|
-
|
12864
|
-
|
12865
|
-
|
12866
|
-
|
12867
|
-
|
12868
|
-
|
12869
|
-
|
12870
|
-
|
12871
|
-
|
12872
|
-
#
|
12873
|
-
|
12874
|
-
|
12875
|
-
|
12876
|
-
|
12877
|
-
|
12878
|
-
|
12879
|
-
|
12880
|
-
|
12881
|
-
|
12882
|
-
#
|
12883
|
-
|
12884
|
-
#
|
12885
|
-
|
12886
|
-
#
|
12887
|
-
|
12888
|
-
|
12889
|
-
|
12890
|
-
|
12891
|
-
|
12892
|
-
|
12893
|
-
|
12894
|
-
|
12895
|
-
|
12896
|
-
|
12897
|
-
|
12898
|
-
|
12899
|
-
|
12900
|
-
|
12901
|
-
|
12902
|
-
|
12903
|
-
#
|
12904
|
-
|
12905
|
-
{
|
12906
|
-
|
12907
|
-
|
12908
|
-
|
12909
|
-
|
12910
|
-
|
12911
|
-
|
12912
|
-
|
12913
|
-
|
12914
|
-
|
12915
|
-
|
12916
|
-
|
12917
|
-
|
12918
|
-
|
12919
|
-
|
12920
|
-
|
12921
|
-
|
12922
|
-
|
12923
|
-
|
12924
|
-
|
12925
|
-
|
12926
|
-
|
12927
|
-
|
12928
|
-
|
12929
|
-
|
12930
|
-
|
12931
|
-
|
12932
|
-
|
12933
|
-
|
12934
|
-
|
12935
|
-
|
12936
|
-
|
12937
|
-
|
12938
|
-
|
12939
|
-
|
12940
|
-
|
12941
|
-
|
12942
|
-
|
12943
|
-
|
12944
|
-
|
12945
|
-
|
12946
|
-
|
12947
|
-
|
12948
|
-
|
12949
|
-
|
12950
|
-
#
|
12951
|
-
|
12952
|
-
|
12953
|
-
|
12954
|
-
|
12955
|
-
|
12956
|
-
|
12957
|
-
|
12958
|
-
|
12959
|
-
|
12960
|
-
|
12961
|
-
|
12962
|
-
|
12963
|
-
|
12964
|
-
|
12965
|
-
|
12966
|
-
|
12967
|
-
|
12968
|
-
|
12969
|
-
|
12970
|
-
|
12971
|
-
|
12972
|
-
|
12973
|
-
|
12974
|
-
|
12975
|
-
|
12976
|
-
|
12977
|
-
|
12978
|
-
|
12979
|
-
|
12980
|
-
|
12981
|
-
|
12982
|
-
|
12983
|
-
|
12984
|
-
|
12985
|
-
|
12986
|
-
|
12987
|
-
|
12988
|
-
|
12989
|
-
|
12990
|
-
|
12991
|
-
|
12992
|
-
|
12993
|
-
|
12994
|
-
}
|
12995
|
-
|
12996
|
-
|
12997
|
-
|
12998
|
-
|
12999
|
-
|
13000
|
-
}
|
13001
|
-
|
13002
|
-
# func_len string
|
13003
|
-
# STRING may not start with a hyphen.
|
13004
|
-
func_len ()
|
13005
|
-
{
|
13006
|
-
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
|
13007
|
-
}
|
13008
|
-
|
13009
|
-
_LT_EOF
|
13010
|
-
esac
|
13011
|
-
|
13012
|
-
case $lt_shell_append in
|
13013
|
-
yes)
|
13014
|
-
cat << \_LT_EOF >> "$cfgfile"
|
13015
|
-
|
13016
|
-
# func_append var value
|
13017
|
-
# Append VALUE to the end of shell variable VAR.
|
13018
|
-
func_append ()
|
13019
|
-
{
|
13020
|
-
eval "$1+=\$2"
|
13021
|
-
}
|
13022
|
-
_LT_EOF
|
13023
|
-
;;
|
13024
|
-
*)
|
13025
|
-
cat << \_LT_EOF >> "$cfgfile"
|
13026
|
-
|
13027
|
-
# func_append var value
|
13028
|
-
# Append VALUE to the end of shell variable VAR.
|
13029
|
-
func_append ()
|
13030
|
-
{
|
13031
|
-
eval "$1=\$$1\$2"
|
13032
|
-
}
|
13033
|
-
|
13034
|
-
_LT_EOF
|
13035
|
-
;;
|
13036
|
-
esac
|
13037
|
-
|
13038
|
-
|
13039
|
-
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
|
13040
|
-
|| (rm -f "$cfgfile"; exit 1)
|
13041
|
-
|
13042
|
-
mv -f "$cfgfile" "$ofile" ||
|
13725
|
+
sed '$q' "$ltmain" >> "$cfgfile" \
|
13726
|
+
|| (rm -f "$cfgfile"; exit 1)
|
13727
|
+
|
13728
|
+
if test x"$xsi_shell" = xyes; then
|
13729
|
+
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
|
13730
|
+
func_dirname ()\
|
13731
|
+
{\
|
13732
|
+
\ case ${1} in\
|
13733
|
+
\ */*) func_dirname_result="${1%/*}${2}" ;;\
|
13734
|
+
\ * ) func_dirname_result="${3}" ;;\
|
13735
|
+
\ esac\
|
13736
|
+
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
|
13737
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13738
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13739
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13740
|
+
|
13741
|
+
|
13742
|
+
sed -e '/^func_basename ()$/,/^} # func_basename /c\
|
13743
|
+
func_basename ()\
|
13744
|
+
{\
|
13745
|
+
\ func_basename_result="${1##*/}"\
|
13746
|
+
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
13747
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13748
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13749
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13750
|
+
|
13751
|
+
|
13752
|
+
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
|
13753
|
+
func_dirname_and_basename ()\
|
13754
|
+
{\
|
13755
|
+
\ case ${1} in\
|
13756
|
+
\ */*) func_dirname_result="${1%/*}${2}" ;;\
|
13757
|
+
\ * ) func_dirname_result="${3}" ;;\
|
13758
|
+
\ esac\
|
13759
|
+
\ func_basename_result="${1##*/}"\
|
13760
|
+
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
13761
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13762
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13763
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13764
|
+
|
13765
|
+
|
13766
|
+
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
|
13767
|
+
func_stripname ()\
|
13768
|
+
{\
|
13769
|
+
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
|
13770
|
+
\ # positional parameters, so assign one to ordinary parameter first.\
|
13771
|
+
\ func_stripname_result=${3}\
|
13772
|
+
\ func_stripname_result=${func_stripname_result#"${1}"}\
|
13773
|
+
\ func_stripname_result=${func_stripname_result%"${2}"}\
|
13774
|
+
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
|
13775
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13776
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13777
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13778
|
+
|
13779
|
+
|
13780
|
+
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
|
13781
|
+
func_split_long_opt ()\
|
13782
|
+
{\
|
13783
|
+
\ func_split_long_opt_name=${1%%=*}\
|
13784
|
+
\ func_split_long_opt_arg=${1#*=}\
|
13785
|
+
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
13786
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13787
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13788
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13789
|
+
|
13790
|
+
|
13791
|
+
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
|
13792
|
+
func_split_short_opt ()\
|
13793
|
+
{\
|
13794
|
+
\ func_split_short_opt_arg=${1#??}\
|
13795
|
+
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
|
13796
|
+
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
13797
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13798
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13799
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13800
|
+
|
13801
|
+
|
13802
|
+
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
|
13803
|
+
func_lo2o ()\
|
13804
|
+
{\
|
13805
|
+
\ case ${1} in\
|
13806
|
+
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
|
13807
|
+
\ *) func_lo2o_result=${1} ;;\
|
13808
|
+
\ esac\
|
13809
|
+
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
|
13810
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13811
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13812
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13813
|
+
|
13814
|
+
|
13815
|
+
sed -e '/^func_xform ()$/,/^} # func_xform /c\
|
13816
|
+
func_xform ()\
|
13817
|
+
{\
|
13818
|
+
func_xform_result=${1%.*}.lo\
|
13819
|
+
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
|
13820
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13821
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13822
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13823
|
+
|
13824
|
+
|
13825
|
+
sed -e '/^func_arith ()$/,/^} # func_arith /c\
|
13826
|
+
func_arith ()\
|
13827
|
+
{\
|
13828
|
+
func_arith_result=$(( $* ))\
|
13829
|
+
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
|
13830
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13831
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13832
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13833
|
+
|
13834
|
+
|
13835
|
+
sed -e '/^func_len ()$/,/^} # func_len /c\
|
13836
|
+
func_len ()\
|
13837
|
+
{\
|
13838
|
+
func_len_result=${#1}\
|
13839
|
+
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
|
13840
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13841
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13842
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13843
|
+
|
13844
|
+
fi
|
13845
|
+
|
13846
|
+
if test x"$lt_shell_append" = xyes; then
|
13847
|
+
sed -e '/^func_append ()$/,/^} # func_append /c\
|
13848
|
+
func_append ()\
|
13849
|
+
{\
|
13850
|
+
eval "${1}+=\\${2}"\
|
13851
|
+
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
|
13852
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13853
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13854
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13855
|
+
|
13856
|
+
|
13857
|
+
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
|
13858
|
+
func_append_quoted ()\
|
13859
|
+
{\
|
13860
|
+
\ func_quote_for_eval "${2}"\
|
13861
|
+
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
|
13862
|
+
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
|
13863
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13864
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13865
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13866
|
+
|
13867
|
+
|
13868
|
+
# Save a `func_append' function call where possible by direct use of '+='
|
13869
|
+
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
|
13870
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13871
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13872
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13873
|
+
else
|
13874
|
+
# Save a `func_append' function call even when '+=' is not available
|
13875
|
+
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
|
13876
|
+
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
13877
|
+
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
13878
|
+
test 0 -eq $? || _lt_function_replace_fail=:
|
13879
|
+
fi
|
13880
|
+
|
13881
|
+
if test x"$_lt_function_replace_fail" = x":"; then
|
13882
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
|
13883
|
+
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
|
13884
|
+
fi
|
13885
|
+
|
13886
|
+
|
13887
|
+
mv -f "$cfgfile" "$ofile" ||
|
13043
13888
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
13044
13889
|
chmod +x "$ofile"
|
13045
13890
|
|