Parent Directory
|
Revision Log
...and to go with it, an updated buildprep.
| 1 | chrsmrtn-guest | 1393 | diff -Nru kdeaccessibility-3.4.2.orig/acinclude.m4 kdeaccessibility-3.4.2/acinclude.m4 |
| 2 | --- kdeaccessibility-3.4.2.orig/acinclude.m4 2005-07-20 19:49:49.000000000 +0000 | ||
| 3 | +++ kdeaccessibility-3.4.2/acinclude.m4 2005-07-27 18:11:47.651369048 +0000 | ||
| 4 | @@ -1688,15 +1688,6 @@ | ||
| 5 | madcoder-guest | 653 | KDE_USE_CLOSURE_TRUE="#" |
| 6 | KDE_USE_CLOSURE_FALSE="" | ||
| 7 | KDE_NO_UNDEFINED="" | ||
| 8 | - case $host in | ||
| 9 | - *-*-linux-gnu) | ||
| 10 | - KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined], | ||
| 11 | - [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined], | ||
| 12 | - [KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"], | ||
| 13 | - [KDE_NO_UNDEFINED=""])], | ||
| 14 | - [KDE_NO_UNDEFINED=""]) | ||
| 15 | - ;; | ||
| 16 | - esac | ||
| 17 | fi | ||
| 18 | AC_SUBST(KDE_USE_CLOSURE_TRUE) | ||
| 19 | AC_SUBST(KDE_USE_CLOSURE_FALSE) | ||
| 20 | chrsmrtn-guest | 1393 | @@ -2138,9 +2129,6 @@ |
| 21 | madcoder-guest | 653 | save_CXXFLAGS="$CXXFLAGS" |
| 22 | kde_safe_LIBS="$LIBS" | ||
| 23 | LIBS="$LIBS $X_EXTRA_LIBS" | ||
| 24 | -if test "$GXX" = "yes"; then | ||
| 25 | -CXXFLAGS="$CXXFLAGS -pedantic-errors" | ||
| 26 | -fi | ||
| 27 | AC_TRY_COMPILE([ | ||
| 28 | $2 | ||
| 29 | ], | ||
| 30 | chrsmrtn-guest | 1393 | @@ -3288,39 +3276,39 @@ |
| 31 | |||
| 32 | if test "x$GXX" = "xyes"; then | ||
| 33 | kde_have_gcc_visibility=no | ||
| 34 | - KDE_CHECK_COMPILER_FLAG(fvisibility=hidden, | ||
| 35 | - [ | ||
| 36 | - kde_have_gcc_visibility=yes | ||
| 37 | - AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched, | ||
| 38 | - [ | ||
| 39 | - AC_LANG_SAVE | ||
| 40 | - AC_LANG_CPLUSPLUS | ||
| 41 | - | ||
| 42 | - safe_CXXFLAGS=$CXXFLAGS | ||
| 43 | - CXXFLAGS="$CXXFLAGS $all_includes" | ||
| 44 | - | ||
| 45 | - AC_TRY_COMPILE( | ||
| 46 | - [ | ||
| 47 | -#include <qglobal.h> | ||
| 48 | -#if Q_EXPORT - 0 != 0 | ||
| 49 | -/* if this compiles, then Q_EXPORT is undefined */ | ||
| 50 | -/* if Q_EXPORT is nonempty, this will break compilation */ | ||
| 51 | -#endif | ||
| 52 | - ], [/* elvis is alive */], | ||
| 53 | - kde_cv_val_qt_gcc_visibility_patched=no, kde_cv_val_qt_gcc_visibility_patched=yes) | ||
| 54 | - | ||
| 55 | - CXXFLAGS=$safe_CXXFLAGS | ||
| 56 | - AC_LANG_RESTORE | ||
| 57 | - ] | ||
| 58 | - ) | ||
| 59 | - | ||
| 60 | - if test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then | ||
| 61 | - CXXFLAGS="$CXXFLAGS -fvisibility=hidden" | ||
| 62 | - KDE_CHECK_VISIBILITY_GCC_BUG | ||
| 63 | - HAVE_GCC_VISIBILITY=1 | ||
| 64 | - AC_DEFINE_UNQUOTED(__KDE_HAVE_GCC_VISIBILITY, "$HAVE_GCC_VISIBILITY", [define to 1 if -fvisibility is supported]) | ||
| 65 | - fi | ||
| 66 | - ]) | ||
| 67 | +dnl KDE_CHECK_COMPILER_FLAG(fvisibility=hidden, | ||
| 68 | +dnl [ | ||
| 69 | +dnl kde_have_gcc_visibility=yes | ||
| 70 | +dnl AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched, | ||
| 71 | +dnl [ | ||
| 72 | +dnl AC_LANG_SAVE | ||
| 73 | +dnl AC_LANG_CPLUSPLUS | ||
| 74 | +dnl | ||
| 75 | +dnl safe_CXXFLAGS=$CXXFLAGS | ||
| 76 | +dnl CXXFLAGS="$CXXFLAGS $all_includes" | ||
| 77 | +dnl | ||
| 78 | +dnl AC_TRY_COMPILE( | ||
| 79 | +dnl [ | ||
| 80 | +dnl #include <qglobal.h> | ||
| 81 | +dnl #if Q_EXPORT - 0 != 0 | ||
| 82 | +dnl /* if this compiles, then Q_EXPORT is undefined */ | ||
| 83 | +dnl /* if Q_EXPORT is nonempty, this will break compilation */ | ||
| 84 | +dnl #endif | ||
| 85 | +dnl ], [/* elvis is alive */], | ||
| 86 | +dnl kde_cv_val_qt_gcc_visibility_patched=no, kde_cv_val_qt_gcc_visibility_patched=yes) | ||
| 87 | +dnl | ||
| 88 | +dnl CXXFLAGS=$safe_CXXFLAGS | ||
| 89 | +dnl AC_LANG_RESTORE | ||
| 90 | +dnl ] | ||
| 91 | +dnl ) | ||
| 92 | +dnl | ||
| 93 | +dnl if test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then | ||
| 94 | +dnl CXXFLAGS="$CXXFLAGS -fvisibility=hidden" | ||
| 95 | +dnl KDE_CHECK_VISIBILITY_GCC_BUG | ||
| 96 | +dnl HAVE_GCC_VISIBILITY=1 | ||
| 97 | +dnl AC_DEFINE_UNQUOTED(__KDE_HAVE_GCC_VISIBILITY, "$HAVE_GCC_VISIBILITY", [define to 1 if -fvisibility is supported]) | ||
| 98 | +dnl fi | ||
| 99 | +dnl ]) | ||
| 100 | fi | ||
| 101 | ]) | ||
| 102 | |||
| 103 | @@ -5799,6 +5787,7 @@ | ||
| 104 | madcoder-guest | 653 | ## the same distribution terms that you use for the rest of that program. |
| 105 | |||
| 106 | # serial 47 AC_PROG_LIBTOOL | ||
| 107 | +# Debian $Rev: 214 $ | ||
| 108 | |||
| 109 | |||
| 110 | # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) | ||
| 111 | chrsmrtn-guest | 1393 | @@ -5858,7 +5847,7 @@ |
| 112 | madcoder-guest | 653 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" |
| 113 | |||
| 114 | # Always use our own libtool. | ||
| 115 | -LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent' | ||
| 116 | +LIBTOOL='$(SHELL) $(top_builddir)/libtool' | ||
| 117 | AC_SUBST(LIBTOOL)dnl | ||
| 118 | |||
| 119 | # Prevent multiple expansion | ||
| 120 | chrsmrtn-guest | 1393 | @@ -6272,12 +6261,11 @@ |
| 121 | madcoder-guest | 653 | if AC_TRY_EVAL(ac_compile); then |
| 122 | case "`/usr/bin/file conftest.o`" in | ||
| 123 | *32-bit*) | ||
| 124 | - LINUX_64_MODE="32" | ||
| 125 | case $host in | ||
| 126 | x86_64-*linux*) | ||
| 127 | LD="${LD-ld} -m elf_i386" | ||
| 128 | ;; | ||
| 129 | - ppc64-*linux*) | ||
| 130 | + ppc64-*linux*|powerpc64-*linux*) | ||
| 131 | LD="${LD-ld} -m elf32ppclinux" | ||
| 132 | ;; | ||
| 133 | s390x-*linux*) | ||
| 134 | chrsmrtn-guest | 1393 | @@ -6289,7 +6277,6 @@ |
| 135 | madcoder-guest | 653 | esac |
| 136 | ;; | ||
| 137 | *64-bit*) | ||
| 138 | - LINUX_64_MODE="64" | ||
| 139 | case $host in | ||
| 140 | x86_64-*linux*) | ||
| 141 | LD="${LD-ld} -m elf_x86_64" | ||
| 142 | chrsmrtn-guest | 1393 | @@ -6419,7 +6406,7 @@ |
| 143 | madcoder-guest | 653 | AC_MSG_CHECKING([the maximum length of command line arguments]) |
| 144 | AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl | ||
| 145 | i=0 | ||
| 146 | - testring="ABCD" | ||
| 147 | + teststring="ABCD" | ||
| 148 | |||
| 149 | case $build_os in | ||
| 150 | msdosdjgpp*) | ||
| 151 | chrsmrtn-guest | 1393 | @@ -6448,20 +6435,26 @@ |
| 152 | madcoder-guest | 653 | lt_cv_sys_max_cmd_len=8192; |
| 153 | ;; | ||
| 154 | |||
| 155 | + amigaos*) | ||
| 156 | + # On AmigaOS with pdksh, this test takes hours, literally. | ||
| 157 | + # So we just punt and use a minimum line length of 8192. | ||
| 158 | + lt_cv_sys_max_cmd_len=8192; | ||
| 159 | + ;; | ||
| 160 | + | ||
| 161 | *) | ||
| 162 | # If test is not a shell built-in, we'll probably end up computing a | ||
| 163 | # maximum length that is only half of the actual maximum length, but | ||
| 164 | # we can't tell. | ||
| 165 | - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ | ||
| 166 | - = "XX$testring") >/dev/null 2>&1 && | ||
| 167 | - new_result=`expr "X$testring" : ".*" 2>&1` && | ||
| 168 | + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ | ||
| 169 | + = "XX$teststring") >/dev/null 2>&1 && | ||
| 170 | + new_result=`expr "X$teststring" : ".*" 2>&1` && | ||
| 171 | lt_cv_sys_max_cmd_len=$new_result && | ||
| 172 | test $i != 17 # 1/2 MB should be enough | ||
| 173 | do | ||
| 174 | i=`expr $i + 1` | ||
| 175 | - testring=$testring$testring | ||
| 176 | + teststring=$teststring$teststring | ||
| 177 | done | ||
| 178 | - testring= | ||
| 179 | + teststring= | ||
| 180 | # Add a significant safety factor because C++ compilers can tack on massive | ||
| 181 | # amounts of additional arguments before passing them to the linker. | ||
| 182 | # It appears as though 1/2 is a usable value. | ||
| 183 | chrsmrtn-guest | 1393 | @@ -6611,7 +6604,7 @@ |
| 184 | madcoder-guest | 653 | lt_cv_dlopen_self=yes |
| 185 | ]) | ||
| 186 | ;; | ||
| 187 | - | ||
| 188 | + | ||
| 189 | *) | ||
| 190 | AC_CHECK_FUNC([shl_load], | ||
| 191 | [lt_cv_dlopen="shl_load"], | ||
| 192 | chrsmrtn-guest | 1393 | @@ -6700,13 +6693,6 @@ |
| 193 | madcoder-guest | 653 | mkdir out |
| 194 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | ||
| 195 | |||
| 196 | - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | ||
| 197 | - # that will create temporary files in the current directory regardless of | ||
| 198 | - # the output directory. Thus, making CWD read-only will cause this test | ||
| 199 | - # to fail, enabling locking or at least warning the user not to do parallel | ||
| 200 | - # builds. | ||
| 201 | - chmod -w . | ||
| 202 | - | ||
| 203 | lt_compiler_flag="-o out/conftest2.$ac_objext" | ||
| 204 | # Insert the option either (1) after the last *FLAGS variable, or | ||
| 205 | # (2) before a word containing "conftest.", or (3) at the end. | ||
| 206 | chrsmrtn-guest | 1393 | @@ -6730,8 +6716,11 @@ |
| 207 | madcoder-guest | 653 | fi |
| 208 | fi | ||
| 209 | chmod u+w . | ||
| 210 | - $rm conftest* out/* | ||
| 211 | - rmdir out | ||
| 212 | + $rm conftest* | ||
| 213 | + # SGI C++ compiler will create directory out/ii_files/ for | ||
| 214 | + # template instantiation | ||
| 215 | + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files | ||
| 216 | + $rm out/* && rmdir out | ||
| 217 | cd .. | ||
| 218 | rmdir conftest | ||
| 219 | $rm conftest* | ||
| 220 | chrsmrtn-guest | 1393 | @@ -6848,7 +6837,7 @@ |
| 221 | madcoder-guest | 653 | *) |
| 222 | AC_MSG_RESULT([no]) | ||
| 223 | ;; | ||
| 224 | - esac | ||
| 225 | + esac | ||
| 226 | fi | ||
| 227 | ])# AC_LIBTOOL_SYS_LIB_STRIP | ||
| 228 | |||
| 229 | chrsmrtn-guest | 1393 | @@ -6861,7 +6850,7 @@ |
| 230 | madcoder-guest | 653 | library_names_spec= |
| 231 | libname_spec='lib$name' | ||
| 232 | soname_spec= | ||
| 233 | -shrext=".so" | ||
| 234 | +shrext_cmds=".so" | ||
| 235 | postinstall_cmds= | ||
| 236 | postuninstall_cmds= | ||
| 237 | finish_cmds= | ||
| 238 | chrsmrtn-guest | 1393 | @@ -6871,7 +6860,20 @@ |
| 239 | madcoder-guest | 653 | version_type=none |
| 240 | dynamic_linker="$host_os ld.so" | ||
| 241 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | ||
| 242 | -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | ||
| 243 | +if test "$GCC" = yes; then | ||
| 244 | + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | ||
| 245 | + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | ||
| 246 | + # if the path contains ";" then we assume it to be the separator | ||
| 247 | + # otherwise default to the standard path separator (i.e. ":") - it is | ||
| 248 | + # assumed that no part of a normal pathname contains ";" but that should | ||
| 249 | + # okay in the real world where ";" in dirpaths is itself problematic. | ||
| 250 | + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | ||
| 251 | + else | ||
| 252 | + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | ||
| 253 | + fi | ||
| 254 | +else | ||
| 255 | + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | ||
| 256 | +fi | ||
| 257 | need_lib_prefix=unknown | ||
| 258 | hardcode_into_libs=no | ||
| 259 | |||
| 260 | chrsmrtn-guest | 1393 | @@ -6936,7 +6938,7 @@ |
| 261 | madcoder-guest | 653 | amigaos*) |
| 262 | library_names_spec='$libname.ixlibrary $libname.a' | ||
| 263 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | ||
| 264 | - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | ||
| 265 | + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | ||
| 266 | ;; | ||
| 267 | |||
| 268 | beos*) | ||
| 269 | chrsmrtn-guest | 1393 | @@ -6961,7 +6963,7 @@ |
| 270 | madcoder-guest | 653 | |
| 271 | cygwin* | mingw* | pw32*) | ||
| 272 | version_type=windows | ||
| 273 | - shrext=".dll" | ||
| 274 | + shrext_cmds=".dll" | ||
| 275 | need_version=no | ||
| 276 | need_lib_prefix=no | ||
| 277 | |||
| 278 | chrsmrtn-guest | 1393 | @@ -7026,7 +7028,7 @@ |
| 279 | madcoder-guest | 653 | soname_spec='${libname}${release}${major}$shared_ext' |
| 280 | shlibpath_overrides_runpath=yes | ||
| 281 | shlibpath_var=DYLD_LIBRARY_PATH | ||
| 282 | - shrext='$(test .$module = .yes && echo .so || echo .dylib)' | ||
| 283 | + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' | ||
| 284 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | ||
| 285 | if test "$GCC" = yes; then | ||
| 286 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | ||
| 287 | chrsmrtn-guest | 1393 | @@ -7049,7 +7051,7 @@ |
| 288 | madcoder-guest | 653 | dynamic_linker=no |
| 289 | ;; | ||
| 290 | |||
| 291 | -freebsd*-gnu*) | ||
| 292 | +kfreebsd*-gnu) | ||
| 293 | version_type=linux | ||
| 294 | need_lib_prefix=no | ||
| 295 | need_version=no | ||
| 296 | chrsmrtn-guest | 1393 | @@ -7109,7 +7111,7 @@ |
| 297 | madcoder-guest | 653 | need_version=no |
| 298 | case "$host_cpu" in | ||
| 299 | ia64*) | ||
| 300 | - shrext='.so' | ||
| 301 | + shrext_cmds='.so' | ||
| 302 | hardcode_into_libs=yes | ||
| 303 | dynamic_linker="$host_os dld.so" | ||
| 304 | shlibpath_var=LD_LIBRARY_PATH | ||
| 305 | chrsmrtn-guest | 1393 | @@ -7124,7 +7126,7 @@ |
| 306 | madcoder-guest | 653 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 307 | ;; | ||
| 308 | hppa*64*) | ||
| 309 | - shrext='.sl' | ||
| 310 | + shrext_cmds='.sl' | ||
| 311 | hardcode_into_libs=yes | ||
| 312 | dynamic_linker="$host_os dld.sl" | ||
| 313 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | ||
| 314 | chrsmrtn-guest | 1393 | @@ -7135,7 +7137,7 @@ |
| 315 | madcoder-guest | 653 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 316 | ;; | ||
| 317 | *) | ||
| 318 | - shrext='.sl' | ||
| 319 | + shrext_cmds='.sl' | ||
| 320 | dynamic_linker="$host_os dld.sl" | ||
| 321 | shlibpath_var=SHLIB_PATH | ||
| 322 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | ||
| 323 | chrsmrtn-guest | 1393 | @@ -7197,22 +7199,19 @@ |
| 324 | madcoder-guest | 653 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 325 | soname_spec='${libname}${release}${shared_ext}$major' | ||
| 326 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | ||
| 327 | - libsuff= | ||
| 328 | - if test "x$LINUX_64_MODE" = x64; then | ||
| 329 | - # Some platforms are per default 64-bit, so there's no /lib64 | ||
| 330 | - if test -d /lib64; then | ||
| 331 | - libsuff=64 | ||
| 332 | - fi | ||
| 333 | - fi | ||
| 334 | shlibpath_var=LD_LIBRARY_PATH | ||
| 335 | shlibpath_overrides_runpath=no | ||
| 336 | - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" | ||
| 337 | - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" | ||
| 338 | # This implies no fast_install, which is unacceptable. | ||
| 339 | # Some rework will be needed to allow for fast_install | ||
| 340 | # before this can be enabled. | ||
| 341 | hardcode_into_libs=yes | ||
| 342 | |||
| 343 | + # Append ld.so.conf contents to the search path | ||
| 344 | + if test -f /etc/ld.so.conf; then | ||
| 345 | + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` | ||
| 346 | + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | ||
| 347 | + fi | ||
| 348 | + | ||
| 349 | # We used to test for /lib/ld.so.1 and disable shared libraries on | ||
| 350 | # powerpc, because MkLinux only supported shared libraries with the | ||
| 351 | # GNU dynamic linker. Since this was broken with cross compilers, | ||
| 352 | chrsmrtn-guest | 1393 | @@ -7222,6 +7221,30 @@ |
| 353 | madcoder-guest | 653 | dynamic_linker='GNU/Linux ld.so' |
| 354 | ;; | ||
| 355 | |||
| 356 | +netbsdelf*-gnu) | ||
| 357 | + version_type=linux | ||
| 358 | + need_lib_prefix=no | ||
| 359 | + need_version=no | ||
| 360 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | ||
| 361 | + soname_spec='${libname}${release}${shared_ext}$major' | ||
| 362 | + shlibpath_var=LD_LIBRARY_PATH | ||
| 363 | + shlibpath_overrides_runpath=no | ||
| 364 | + hardcode_into_libs=yes | ||
| 365 | + dynamic_linker='NetBSD ld.elf_so' | ||
| 366 | + ;; | ||
| 367 | + | ||
| 368 | +knetbsd*-gnu) | ||
| 369 | + version_type=linux | ||
| 370 | + need_lib_prefix=no | ||
| 371 | + need_version=no | ||
| 372 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | ||
| 373 | + soname_spec='${libname}${release}${shared_ext}$major' | ||
| 374 | + shlibpath_var=LD_LIBRARY_PATH | ||
| 375 | + shlibpath_overrides_runpath=no | ||
| 376 | + hardcode_into_libs=yes | ||
| 377 | + dynamic_linker='GNU ld.so' | ||
| 378 | + ;; | ||
| 379 | + | ||
| 380 | netbsd*) | ||
| 381 | version_type=sunos | ||
| 382 | need_lib_prefix=no | ||
| 383 | chrsmrtn-guest | 1393 | @@ -7231,7 +7254,7 @@ |
| 384 | madcoder-guest | 653 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 385 | dynamic_linker='NetBSD (a.out) ld.so' | ||
| 386 | else | ||
| 387 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | ||
| 388 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | ||
| 389 | soname_spec='${libname}${release}${shared_ext}$major' | ||
| 390 | dynamic_linker='NetBSD ld.elf_so' | ||
| 391 | fi | ||
| 392 | chrsmrtn-guest | 1393 | @@ -7260,7 +7283,7 @@ |
| 393 | madcoder-guest | 653 | openbsd*) |
| 394 | version_type=sunos | ||
| 395 | need_lib_prefix=no | ||
| 396 | - need_version=no | ||
| 397 | + need_version=yes | ||
| 398 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | ||
| 399 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | ||
| 400 | shlibpath_var=LD_LIBRARY_PATH | ||
| 401 | chrsmrtn-guest | 1393 | @@ -7280,7 +7303,7 @@ |
| 402 | madcoder-guest | 653 | |
| 403 | os2*) | ||
| 404 | libname_spec='$name' | ||
| 405 | - shrext=".dll" | ||
| 406 | + shrext_cmds=".dll" | ||
| 407 | need_lib_prefix=no | ||
| 408 | library_names_spec='$libname${shared_ext} $libname.a' | ||
| 409 | dynamic_linker='OS/2 ld.exe' | ||
| 410 | chrsmrtn-guest | 1393 | @@ -7871,31 +7894,23 @@ |
| 411 | madcoder-guest | 653 | ;; |
| 412 | |||
| 413 | cygwin*) | ||
| 414 | - lt_cv_deplibs_check_method=pass_all | ||
| 415 | + # func_win32_libid is a shell function defined in ltmain.sh | ||
| 416 | + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | ||
| 417 | + lt_cv_file_magic_cmd='func_win32_libid' | ||
| 418 | ;; | ||
| 419 | - | ||
| 420 | + | ||
| 421 | mingw* | pw32*) | ||
| 422 | - # win32_libid is a shell function defined in ltmain.sh | ||
| 423 | - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | ||
| 424 | - lt_cv_file_magic_cmd='win32_libid' | ||
| 425 | + # Base MSYS/MinGW do not provide the 'file' command needed by | ||
| 426 | + # func_win32_libid shell function, so use a weaker test based on 'objdump'. | ||
| 427 | + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | ||
| 428 | + lt_cv_file_magic_cmd='$OBJDUMP -f' | ||
| 429 | ;; | ||
| 430 | |||
| 431 | darwin* | rhapsody*) | ||
| 432 | - # this will be overwritten by pass_all, but leave it in just in case | ||
| 433 | - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | ||
| 434 | - lt_cv_file_magic_cmd='/usr/bin/file -L' | ||
| 435 | - case "$host_os" in | ||
| 436 | - rhapsody* | darwin1.[[012]]) | ||
| 437 | - lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` | ||
| 438 | - ;; | ||
| 439 | - *) # Darwin 1.3 on | ||
| 440 | - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | ||
| 441 | - ;; | ||
| 442 | - esac | ||
| 443 | lt_cv_deplibs_check_method=pass_all | ||
| 444 | ;; | ||
| 445 | |||
| 446 | -freebsd*) | ||
| 447 | +freebsd* | kfreebsd*-gnu) | ||
| 448 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
| 449 | case $host_cpu in | ||
| 450 | i*86 ) | ||
| 451 | chrsmrtn-guest | 1393 | @@ -7934,42 +7949,21 @@ |
| 452 | madcoder-guest | 653 | ;; |
| 453 | |||
| 454 | irix5* | irix6* | nonstopux*) | ||
| 455 | - case $host_os in | ||
| 456 | - irix5* | nonstopux*) | ||
| 457 | - # this will be overridden with pass_all, but let us keep it just in case | ||
| 458 | - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | ||
| 459 | - ;; | ||
| 460 | - *) | ||
| 461 | - case $LD in | ||
| 462 | - *-32|*"-32 ") libmagic=32-bit;; | ||
| 463 | - *-n32|*"-n32 ") libmagic=N32;; | ||
| 464 | - *-64|*"-64 ") libmagic=64-bit;; | ||
| 465 | - *) libmagic=never-match;; | ||
| 466 | - esac | ||
| 467 | - # this will be overridden with pass_all, but let us keep it just in case | ||
| 468 | - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" | ||
| 469 | - ;; | ||
| 470 | + case $LD in | ||
| 471 | + *-32|*"-32 ") libmagic=32-bit;; | ||
| 472 | + *-n32|*"-n32 ") libmagic=N32;; | ||
| 473 | + *-64|*"-64 ") libmagic=64-bit;; | ||
| 474 | + *) libmagic=never-match;; | ||
| 475 | esac | ||
| 476 | - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | ||
| 477 | lt_cv_deplibs_check_method=pass_all | ||
| 478 | ;; | ||
| 479 | |||
| 480 | # This must be Linux ELF. | ||
| 481 | linux*) | ||
| 482 | - case $host_cpu in | ||
| 483 | - alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* ) | ||
| 484 | - lt_cv_deplibs_check_method=pass_all ;; | ||
| 485 | - # the debian people say, arm and glibc 2.3.1 works for them with pass_all | ||
| 486 | - arm* ) | ||
| 487 | - lt_cv_deplibs_check_method=pass_all ;; | ||
| 488 | - *) | ||
| 489 | - # glibc up to 2.1.1 does not perform some relocations on ARM | ||
| 490 | - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; | ||
| 491 | - esac | ||
| 492 | - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | ||
| 493 | + lt_cv_deplibs_check_method=pass_all | ||
| 494 | ;; | ||
| 495 | |||
| 496 | -netbsd*) | ||
| 497 | +netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 498 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
| 499 | lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' | ||
| 500 | else | ||
| 501 | chrsmrtn-guest | 1393 | @@ -7998,9 +7992,6 @@ |
| 502 | madcoder-guest | 653 | ;; |
| 503 | |||
| 504 | osf3* | osf4* | osf5*) | ||
| 505 | - # this will be overridden with pass_all, but let us keep it just in case | ||
| 506 | - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | ||
| 507 | - lt_cv_file_magic_test_file=/shlib/libc.so | ||
| 508 | lt_cv_deplibs_check_method=pass_all | ||
| 509 | ;; | ||
| 510 | |||
| 511 | chrsmrtn-guest | 1393 | @@ -8010,7 +8001,6 @@ |
| 512 | madcoder-guest | 653 | |
| 513 | solaris*) | ||
| 514 | lt_cv_deplibs_check_method=pass_all | ||
| 515 | - lt_cv_file_magic_test_file=/lib/libc.so | ||
| 516 | ;; | ||
| 517 | |||
| 518 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | ||
| 519 | chrsmrtn-guest | 1393 | @@ -8276,7 +8266,7 @@ |
| 520 | madcoder-guest | 653 | fi |
| 521 | if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then | ||
| 522 | AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) | ||
| 523 | - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : | ||
| 524 | + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : | ||
| 525 | else | ||
| 526 | AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) | ||
| 527 | _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no | ||
| 528 | chrsmrtn-guest | 1393 | @@ -8326,7 +8316,7 @@ |
| 529 | madcoder-guest | 653 | fi |
| 530 | ;; | ||
| 531 | |||
| 532 | -aix4*) | ||
| 533 | +aix4* | aix5*) | ||
| 534 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | ||
| 535 | test "$enable_shared" = yes && enable_static=no | ||
| 536 | fi | ||
| 537 | chrsmrtn-guest | 1393 | @@ -8336,29 +8326,29 @@ |
| 538 | madcoder-guest | 653 | _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
| 539 | case "$host_os" in | ||
| 540 | rhapsody* | darwin1.[[012]]) | ||
| 541 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress' | ||
| 542 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' | ||
| 543 | ;; | ||
| 544 | *) # Darwin 1.3 on | ||
| 545 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 546 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 547 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' | ||
| 548 | else | ||
| 549 | - case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 550 | - 10.[012]) | ||
| 551 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 552 | - ;; | ||
| 553 | - 10.*) | ||
| 554 | - allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup' | ||
| 555 | - ;; | ||
| 556 | - esac | ||
| 557 | + case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 558 | + 10.[[012]]) | ||
| 559 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' | ||
| 560 | + ;; | ||
| 561 | + 10.*) | ||
| 562 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' | ||
| 563 | + ;; | ||
| 564 | + esac | ||
| 565 | fi | ||
| 566 | ;; | ||
| 567 | esac | ||
| 568 | output_verbose_link_cmd='echo' | ||
| 569 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' | ||
| 570 | - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' | ||
| 571 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' | ||
| 572 | + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | ||
| 573 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | ||
| 574 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 575 | - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 576 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 577 | + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 578 | _LT_AC_TAGVAR(hardcode_direct, $1)=no | ||
| 579 | _LT_AC_TAGVAR(hardcode_automatic, $1)=yes | ||
| 580 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported | ||
| 581 | chrsmrtn-guest | 1393 | @@ -8366,8 +8356,8 @@ |
| 582 | madcoder-guest | 653 | _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
| 583 | else | ||
| 584 | _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 585 | - fi | ||
| 586 | - ;; | ||
| 587 | + fi | ||
| 588 | + ;; | ||
| 589 | esac | ||
| 590 | AC_MSG_RESULT([$enable_shared]) | ||
| 591 | |||
| 592 | chrsmrtn-guest | 1393 | @@ -8475,8 +8465,8 @@ |
| 593 | madcoder-guest | 653 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
| 594 | # archiving commands below assume that GNU ld is being used. | ||
| 595 | if test "$with_gnu_ld" = yes; then | ||
| 596 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib' | ||
| 597 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 598 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 599 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 600 | |||
| 601 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' | ||
| 602 | _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | ||
| 603 | chrsmrtn-guest | 1393 | @@ -8502,7 +8492,7 @@ |
| 604 | madcoder-guest | 653 | # linker, instead of GNU ld. If possible, this setting should |
| 605 | # overridden to take advantage of the native linker features on | ||
| 606 | # the platform it is being used on. | ||
| 607 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib' | ||
| 608 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | ||
| 609 | fi | ||
| 610 | |||
| 611 | # Commands to make compiler produce verbose output that lists | ||
| 612 | chrsmrtn-guest | 1393 | @@ -8532,8 +8522,22 @@ |
| 613 | madcoder-guest | 653 | exp_sym_flag='-Bexport' |
| 614 | no_entry_flag="" | ||
| 615 | else | ||
| 616 | - # KDE requires run time linking. Make it the default. | ||
| 617 | - aix_use_runtimelinking=yes | ||
| 618 | + aix_use_runtimelinking=no | ||
| 619 | + | ||
| 620 | + # Test if we are trying to use run time linking or normal | ||
| 621 | + # AIX style linking. If -brtl is somewhere in LDFLAGS, we | ||
| 622 | + # need to do runtime linking. | ||
| 623 | + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) | ||
| 624 | + for ld_flag in $LDFLAGS; do | ||
| 625 | + case $ld_flag in | ||
| 626 | + *-brtl*) | ||
| 627 | + aix_use_runtimelinking=yes | ||
| 628 | + break | ||
| 629 | + ;; | ||
| 630 | + esac | ||
| 631 | + done | ||
| 632 | + esac | ||
| 633 | + | ||
| 634 | exp_sym_flag='-bexport' | ||
| 635 | no_entry_flag='-bnoentry' | ||
| 636 | fi | ||
| 637 | chrsmrtn-guest | 1393 | @@ -8579,15 +8583,16 @@ |
| 638 | madcoder-guest | 653 | shared_flag='-G' |
| 639 | else | ||
| 640 | if test "$aix_use_runtimelinking" = yes; then | ||
| 641 | - shared_flag='-qmkshrobj ${wl}-G' | ||
| 642 | + shared_flag='${wl}-G' | ||
| 643 | else | ||
| 644 | - shared_flag='-qmkshrobj' | ||
| 645 | + shared_flag='${wl}-bM:SRE' | ||
| 646 | fi | ||
| 647 | fi | ||
| 648 | fi | ||
| 649 | |||
| 650 | - # Let the compiler handle the export list. | ||
| 651 | - _LT_AC_TAGVAR(always_export_symbols, $1)=no | ||
| 652 | + # It seems that -bexpall does not export symbols beginning with | ||
| 653 | + # underscore (_), so it is better to generate a list of symbols to export. | ||
| 654 | + _LT_AC_TAGVAR(always_export_symbols, $1)=yes | ||
| 655 | if test "$aix_use_runtimelinking" = yes; then | ||
| 656 | # Warning - without using the other runtime loading flags (-brtl), | ||
| 657 | # -berok will link without error, but may produce a broken library. | ||
| 658 | chrsmrtn-guest | 1393 | @@ -8596,13 +8601,12 @@ |
| 659 | madcoder-guest | 653 | _LT_AC_SYS_LIBPATH_AIX |
| 660 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
| 661 | |||
| 662 | - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" | ||
| 663 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 664 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 665 | else | ||
| 666 | if test "$host_cpu" = ia64; then | ||
| 667 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' | ||
| 668 | _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" | ||
| 669 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 670 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 671 | else | ||
| 672 | # Determine the default libpath from the value encoded in an empty executable. | ||
| 673 | _LT_AC_SYS_LIBPATH_AIX | ||
| 674 | chrsmrtn-guest | 1393 | @@ -8617,7 +8621,7 @@ |
| 675 | madcoder-guest | 653 | _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' |
| 676 | _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes | ||
| 677 | # This is similar to how AIX traditionally builds it's shared libraries. | ||
| 678 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 679 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 680 | fi | ||
| 681 | fi | ||
| 682 | ;; | ||
| 683 | chrsmrtn-guest | 1393 | @@ -8634,12 +8638,12 @@ |
| 684 | madcoder-guest | 653 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
| 685 | # as there is no search path for DLLs. | ||
| 686 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | ||
| 687 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)=no | ||
| 688 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported | ||
| 689 | _LT_AC_TAGVAR(always_export_symbols, $1)=no | ||
| 690 | _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | ||
| 691 | |||
| 692 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | ||
| 693 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 694 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 695 | # If the export-symbols file already is a .def file (1st line | ||
| 696 | # is EXPORTS), use it as is; otherwise, prepend... | ||
| 697 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | ||
| 698 | chrsmrtn-guest | 1393 | @@ -8648,7 +8652,7 @@ |
| 699 | madcoder-guest | 653 | echo EXPORTS > $output_objdir/$soname.def; |
| 700 | cat $export_symbols >> $output_objdir/$soname.def; | ||
| 701 | fi~ | ||
| 702 | - $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 703 | + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 704 | else | ||
| 705 | _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 706 | fi | ||
| 707 | chrsmrtn-guest | 1393 | @@ -8659,20 +8663,20 @@ |
| 708 | madcoder-guest | 653 | _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
| 709 | case "$host_os" in | ||
| 710 | rhapsody* | darwin1.[[012]]) | ||
| 711 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress' | ||
| 712 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' | ||
| 713 | ;; | ||
| 714 | *) # Darwin 1.3 on | ||
| 715 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 716 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 717 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' | ||
| 718 | else | ||
| 719 | - case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 720 | - 10.[012]) | ||
| 721 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 722 | - ;; | ||
| 723 | - 10.*) | ||
| 724 | - allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup' | ||
| 725 | - ;; | ||
| 726 | - esac | ||
| 727 | + case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 728 | + 10.[[012]]) | ||
| 729 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' | ||
| 730 | + ;; | ||
| 731 | + 10.*) | ||
| 732 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' | ||
| 733 | + ;; | ||
| 734 | + esac | ||
| 735 | fi | ||
| 736 | ;; | ||
| 737 | esac | ||
| 738 | chrsmrtn-guest | 1393 | @@ -8682,19 +8686,19 @@ |
| 739 | madcoder-guest | 653 | lt_int_apple_cc_single_mod=yes |
| 740 | fi | ||
| 741 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 742 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' | ||
| 743 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 744 | else | ||
| 745 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring' | ||
| 746 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 747 | fi | ||
| 748 | - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' | ||
| 749 | + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | ||
| 750 | |||
| 751 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | ||
| 752 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 753 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 754 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 755 | else | ||
| 756 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 757 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 758 | fi | ||
| 759 | - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 760 | + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 761 | _LT_AC_TAGVAR(hardcode_direct, $1)=no | ||
| 762 | _LT_AC_TAGVAR(hardcode_automatic, $1)=yes | ||
| 763 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported | ||
| 764 | chrsmrtn-guest | 1393 | @@ -8729,7 +8733,7 @@ |
| 765 | madcoder-guest | 653 | freebsd-elf*) |
| 766 | _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no | ||
| 767 | ;; | ||
| 768 | - freebsd*) | ||
| 769 | + freebsd* | kfreebsd*-gnu) | ||
| 770 | # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | ||
| 771 | # conventions | ||
| 772 | _LT_AC_TAGVAR(ld_shlibs, $1)=yes | ||
| 773 | chrsmrtn-guest | 1393 | @@ -8751,7 +8755,7 @@ |
| 774 | madcoder-guest | 653 | _LT_AC_TAGVAR(ld_shlibs, $1)=no |
| 775 | ;; | ||
| 776 | aCC) | ||
| 777 | - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 778 | + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 779 | # Commands to make compiler produce verbose output that lists | ||
| 780 | # what "hidden" libraries, object files and flags are used when | ||
| 781 | # linking a shared library. | ||
| 782 | chrsmrtn-guest | 1393 | @@ -8760,11 +8764,11 @@ |
| 783 | madcoder-guest | 653 | # explicitly linking system object files so we need to strip them |
| 784 | # from the output so that they don't get included in the library | ||
| 785 | # dependencies. | ||
| 786 | - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | ||
| 787 | + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | ||
| 788 | ;; | ||
| 789 | *) | ||
| 790 | if test "$GXX" = yes; then | ||
| 791 | - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 792 | + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 793 | else | ||
| 794 | # FIXME: insert proper C++ library support | ||
| 795 | _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 796 | chrsmrtn-guest | 1393 | @@ -8821,7 +8825,7 @@ |
| 797 | madcoder-guest | 653 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
| 798 | ;; | ||
| 799 | *) | ||
| 800 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' | ||
| 801 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | ||
| 802 | ;; | ||
| 803 | esac | ||
| 804 | # Commands to make compiler produce verbose output that lists | ||
| 805 | chrsmrtn-guest | 1393 | @@ -8842,7 +8846,7 @@ |
| 806 | madcoder-guest | 653 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
| 807 | ;; | ||
| 808 | *) | ||
| 809 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' | ||
| 810 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | ||
| 811 | ;; | ||
| 812 | esac | ||
| 813 | fi | ||
| 814 | chrsmrtn-guest | 1393 | @@ -8857,7 +8861,7 @@ |
| 815 | madcoder-guest | 653 | case $cc_basename in |
| 816 | CC) | ||
| 817 | # SGI C++ | ||
| 818 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | ||
| 819 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | ||
| 820 | |||
| 821 | # Archives containing C++ object files must be created using | ||
| 822 | # "CC -ar", where "CC" is the IRIX C++ compiler. This is | ||
| 823 | chrsmrtn-guest | 1393 | @@ -8868,9 +8872,9 @@ |
| 824 | madcoder-guest | 653 | *) |
| 825 | if test "$GXX" = yes; then | ||
| 826 | if test "$with_gnu_ld" = no; then | ||
| 827 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | ||
| 828 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | ||
| 829 | else | ||
| 830 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' | ||
| 831 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' | ||
| 832 | fi | ||
| 833 | fi | ||
| 834 | _LT_AC_TAGVAR(link_all_deplibs, $1)=yes | ||
| 835 | chrsmrtn-guest | 1393 | @@ -8887,8 +8891,8 @@ |
| 836 | madcoder-guest | 653 | # KCC will only create a shared library if the output file |
| 837 | # ends with ".so" (or ".sl" for HP-UX), so rename the library | ||
| 838 | # to its proper name (with version) after linking. | ||
| 839 | - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib' | ||
| 840 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' | ||
| 841 | + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | ||
| 842 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' | ||
| 843 | # Commands to make compiler produce verbose output that lists | ||
| 844 | # what "hidden" libraries, object files and flags are used when | ||
| 845 | # linking a shared library. | ||
| 846 | chrsmrtn-guest | 1393 | @@ -8910,16 +8914,16 @@ |
| 847 | madcoder-guest | 653 | # Intel C++ |
| 848 | with_gnu_ld=yes | ||
| 849 | _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no | ||
| 850 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib' | ||
| 851 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 852 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 853 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 854 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | ||
| 855 | _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | ||
| 856 | _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | ||
| 857 | ;; | ||
| 858 | cxx) | ||
| 859 | # Compaq C++ | ||
| 860 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib' | ||
| 861 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' | ||
| 862 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 863 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' | ||
| 864 | |||
| 865 | runpath_var=LD_RUN_PATH | ||
| 866 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' | ||
| 867 | chrsmrtn-guest | 1393 | @@ -8957,7 +8961,7 @@ |
| 868 | madcoder-guest | 653 | ;; |
| 869 | esac | ||
| 870 | ;; | ||
| 871 | - netbsd*) | ||
| 872 | + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 873 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | ||
| 874 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | ||
| 875 | wlarc= | ||
| 876 | chrsmrtn-guest | 1393 | @@ -8976,7 +8980,7 @@ |
| 877 | madcoder-guest | 653 | # KCC will only create a shared library if the output file |
| 878 | # ends with ".so" (or ".sl" for HP-UX), so rename the library | ||
| 879 | # to its proper name (with version) after linking. | ||
| 880 | - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib' | ||
| 881 | + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | ||
| 882 | |||
| 883 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | ||
| 884 | _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: | ||
| 885 | chrsmrtn-guest | 1393 | @@ -8993,7 +8997,7 @@ |
| 886 | madcoder-guest | 653 | ;; |
| 887 | cxx) | ||
| 888 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' | ||
| 889 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | ||
| 890 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | ||
| 891 | |||
| 892 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | ||
| 893 | _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: | ||
| 894 | chrsmrtn-guest | 1393 | @@ -9011,7 +9015,7 @@ |
| 895 | madcoder-guest | 653 | *) |
| 896 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then | ||
| 897 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' | ||
| 898 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | ||
| 899 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | ||
| 900 | |||
| 901 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | ||
| 902 | _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: | ||
| 903 | chrsmrtn-guest | 1393 | @@ -9036,7 +9040,7 @@ |
| 904 | madcoder-guest | 653 | # KCC will only create a shared library if the output file |
| 905 | # ends with ".so" (or ".sl" for HP-UX), so rename the library | ||
| 906 | # to its proper name (with version) after linking. | ||
| 907 | - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib' | ||
| 908 | + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | ||
| 909 | |||
| 910 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | ||
| 911 | _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: | ||
| 912 | chrsmrtn-guest | 1393 | @@ -9052,10 +9056,10 @@ |
| 913 | madcoder-guest | 653 | ;; |
| 914 | cxx) | ||
| 915 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' | ||
| 916 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | ||
| 917 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | ||
| 918 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | ||
| 919 | echo "-hidden">> $lib.exp~ | ||
| 920 | - $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ | ||
| 921 | + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ | ||
| 922 | $rm $lib.exp' | ||
| 923 | |||
| 924 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' | ||
| 925 | chrsmrtn-guest | 1393 | @@ -9074,7 +9078,7 @@ |
| 926 | madcoder-guest | 653 | *) |
| 927 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then | ||
| 928 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' | ||
| 929 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | ||
| 930 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | ||
| 931 | |||
| 932 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | ||
| 933 | _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: | ||
| 934 | chrsmrtn-guest | 1393 | @@ -9131,9 +9135,9 @@ |
| 935 | madcoder-guest | 653 | CC) |
| 936 | # Sun C++ 4.2, 5.x and Centerline C++ | ||
| 937 | _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' | ||
| 938 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' | ||
| 939 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | ||
| 940 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | ||
| 941 | - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp' | ||
| 942 | + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | ||
| 943 | |||
| 944 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | ||
| 945 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no | ||
| 946 | chrsmrtn-guest | 1393 | @@ -9167,7 +9171,7 @@ |
| 947 | madcoder-guest | 653 | ;; |
| 948 | gcx) | ||
| 949 | # Green Hills C++ Compiler | ||
| 950 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib' | ||
| 951 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | ||
| 952 | |||
| 953 | # The C++ compiler must be used to create the archive. | ||
| 954 | _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' | ||
| 955 | chrsmrtn-guest | 1393 | @@ -9177,9 +9181,9 @@ |
| 956 | madcoder-guest | 653 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
| 957 | _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' | ||
| 958 | if $CC --version | grep -v '^2\.7' > /dev/null; then | ||
| 959 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib' | ||
| 960 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | ||
| 961 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | ||
| 962 | - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp' | ||
| 963 | + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | ||
| 964 | |||
| 965 | # Commands to make compiler produce verbose output that lists | ||
| 966 | # what "hidden" libraries, object files and flags are used when | ||
| 967 | chrsmrtn-guest | 1393 | @@ -9188,9 +9192,9 @@ |
| 968 | madcoder-guest | 653 | else |
| 969 | # g++ 2.7 appears to require `-G' NOT `-shared' on this | ||
| 970 | # platform. | ||
| 971 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib' | ||
| 972 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | ||
| 973 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | ||
| 974 | - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp' | ||
| 975 | + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | ||
| 976 | |||
| 977 | # Commands to make compiler produce verbose output that lists | ||
| 978 | # what "hidden" libraries, object files and flags are used when | ||
| 979 | chrsmrtn-guest | 1393 | @@ -9358,7 +9362,7 @@ |
| 980 | madcoder-guest | 653 | fi |
| 981 | ;; | ||
| 982 | |||
| 983 | - *.$objext|*.$libext) | ||
| 984 | + *.$objext) | ||
| 985 | # This assumes that the test object file only shows up | ||
| 986 | # once in the compiler output. | ||
| 987 | if test "$p" = "conftest.$objext"; then | ||
| 988 | chrsmrtn-guest | 1393 | @@ -9467,7 +9471,7 @@ |
| 989 | madcoder-guest | 653 | postinstall_cmds='$RANLIB $lib' |
| 990 | fi | ||
| 991 | ;; | ||
| 992 | -aix4*) | ||
| 993 | +aix4* | aix5*) | ||
| 994 | test "$enable_shared" = yes && enable_static=no | ||
| 995 | ;; | ||
| 996 | esac | ||
| 997 | chrsmrtn-guest | 1393 | @@ -9609,11 +9613,12 @@ |
| 998 | madcoder-guest | 653 | # without removal of \ escapes. |
| 999 | if test -n "${ZSH_VERSION+set}" ; then | ||
| 1000 | setopt NO_GLOB_SUBST | ||
| 1001 | - fi | ||
| 1002 | + fi | ||
| 1003 | # Now quote all the things that may contain metacharacters while being | ||
| 1004 | # careful not to overquote the AC_SUBSTed values. We take copies of the | ||
| 1005 | # variables and quote the copies for generation of the libtool script. | ||
| 1006 | - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | ||
| 1007 | + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ | ||
| 1008 | + SED SHELL STRIP \ | ||
| 1009 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | ||
| 1010 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | ||
| 1011 | deplibs_check_method reload_flag reload_cmds need_locks \ | ||
| 1012 | chrsmrtn-guest | 1393 | @@ -9663,7 +9668,7 @@ |
| 1013 | madcoder-guest | 653 | _LT_AC_TAGVAR(archive_cmds, $1) | \ |
| 1014 | _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ | ||
| 1015 | _LT_AC_TAGVAR(module_cmds, $1) | \ | ||
| 1016 | - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ | ||
| 1017 | + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ | ||
| 1018 | _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ | ||
| 1019 | _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ | ||
| 1020 | extract_expsyms_cmds | reload_cmds | finish_cmds | \ | ||
| 1021 | chrsmrtn-guest | 1393 | @@ -9794,7 +9799,7 @@ |
| 1022 | madcoder-guest | 653 | NM=$lt_NM |
| 1023 | |||
| 1024 | # A symbol stripping program | ||
| 1025 | -STRIP=$STRIP | ||
| 1026 | +STRIP=$lt_STRIP | ||
| 1027 | |||
| 1028 | # Used to examine libraries when file_magic_cmd begins "file" | ||
| 1029 | MAGIC_CMD=$MAGIC_CMD | ||
| 1030 | chrsmrtn-guest | 1393 | @@ -9825,7 +9830,7 @@ |
| 1031 | madcoder-guest | 653 | libext="$libext" |
| 1032 | |||
| 1033 | # Shared library suffix (normally ".so"). | ||
| 1034 | -shrext='$shrext' | ||
| 1035 | +shrext_cmds='$shrext_cmds' | ||
| 1036 | |||
| 1037 | # Executable file suffix (normally ""). | ||
| 1038 | exeext="$exeext" | ||
| 1039 | chrsmrtn-guest | 1393 | @@ -10069,7 +10074,10 @@ |
| 1040 | madcoder-guest | 653 | # If there is no Makefile yet, we rely on a make rule to execute |
| 1041 | # `config.status --recheck' to rerun these tests and create the | ||
| 1042 | # libtool script then. | ||
| 1043 | - test -f Makefile && make "$ltmain" | ||
| 1044 | + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` | ||
| 1045 | + if test -f "$ltmain_in"; then | ||
| 1046 | + test -f Makefile && make "$ltmain" | ||
| 1047 | + fi | ||
| 1048 | fi | ||
| 1049 | ])# AC_LIBTOOL_CONFIG | ||
| 1050 | |||
| 1051 | chrsmrtn-guest | 1393 | @@ -10142,7 +10150,7 @@ |
| 1052 | madcoder-guest | 653 | symcode='[[BCDEGQRST]]' |
| 1053 | ;; | ||
| 1054 | solaris* | sysv5*) | ||
| 1055 | - symcode='[[BDT]]' | ||
| 1056 | + symcode='[[BDRT]]' | ||
| 1057 | ;; | ||
| 1058 | sysv4) | ||
| 1059 | symcode='[[DFNSTU]]' | ||
| 1060 | chrsmrtn-guest | 1393 | @@ -10160,7 +10168,7 @@ |
| 1061 | madcoder-guest | 653 | # If we're using GNU nm, then use its standard symbol codes. |
| 1062 | case `$NM -V 2>&1` in | ||
| 1063 | *GNU* | *'with BFD'*) | ||
| 1064 | - symcode='[[ABCDGISTW]]' ;; | ||
| 1065 | + symcode='[[ABCDGIRSTW]]' ;; | ||
| 1066 | esac | ||
| 1067 | |||
| 1068 | # Try without a prefix undercore, then with it. | ||
| 1069 | chrsmrtn-guest | 1393 | @@ -10375,7 +10383,7 @@ |
| 1070 | madcoder-guest | 653 | ;; |
| 1071 | esac | ||
| 1072 | ;; | ||
| 1073 | - freebsd*) | ||
| 1074 | + freebsd* | kfreebsd*-gnu) | ||
| 1075 | # FreeBSD uses GNU C++ | ||
| 1076 | ;; | ||
| 1077 | hpux9* | hpux10* | hpux11*) | ||
| 1078 | chrsmrtn-guest | 1393 | @@ -10426,7 +10434,7 @@ |
| 1079 | madcoder-guest | 653 | _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 1080 | _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | ||
| 1081 | _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' | ||
| 1082 | - ;; | ||
| 1083 | + ;; | ||
| 1084 | cxx) | ||
| 1085 | # Compaq C++ | ||
| 1086 | # Make sure the PIC flag is empty. It appears that all Alpha | ||
| 1087 | chrsmrtn-guest | 1393 | @@ -10451,7 +10459,7 @@ |
| 1088 | madcoder-guest | 653 | ;; |
| 1089 | esac | ||
| 1090 | ;; | ||
| 1091 | - netbsd*) | ||
| 1092 | + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 1093 | ;; | ||
| 1094 | osf3* | osf4* | osf5*) | ||
| 1095 | case $cc_basename in | ||
| 1096 | chrsmrtn-guest | 1393 | @@ -10762,6 +10770,9 @@ |
| 1097 | madcoder-guest | 653 | cygwin* | mingw*) |
| 1098 | _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' | ||
| 1099 | ;; | ||
| 1100 | + linux*) | ||
| 1101 | + _LT_AC_TAGVAR(link_all_deplibs, $1)=no | ||
| 1102 | + ;; | ||
| 1103 | *) | ||
| 1104 | _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | ||
| 1105 | ;; | ||
| 1106 | chrsmrtn-guest | 1393 | @@ -10786,7 +10797,7 @@ |
| 1107 | madcoder-guest | 653 | _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown |
| 1108 | _LT_AC_TAGVAR(hardcode_automatic, $1)=no | ||
| 1109 | _LT_AC_TAGVAR(module_cmds, $1)= | ||
| 1110 | - _LT_AC_TAGVAR(module_expsym_cmds, $1)= | ||
| 1111 | + _LT_AC_TAGVAR(module_expsym_cmds, $1)= | ||
| 1112 | _LT_AC_TAGVAR(always_export_symbols, $1)=no | ||
| 1113 | _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | ||
| 1114 | # include_expsyms should be a list of space-separated symbols to be *always* | ||
| 1115 | chrsmrtn-guest | 1393 | @@ -10860,7 +10871,7 @@ |
| 1116 | madcoder-guest | 653 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 1117 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | ||
| 1118 | # support --undefined. This deserves some investigation. FIXME | ||
| 1119 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 1120 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 1121 | else | ||
| 1122 | _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 1123 | fi | ||
| 1124 | chrsmrtn-guest | 1393 | @@ -10870,13 +10881,13 @@ |
| 1125 | madcoder-guest | 653 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
| 1126 | # as there is no search path for DLLs. | ||
| 1127 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | ||
| 1128 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)=no | ||
| 1129 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported | ||
| 1130 | _LT_AC_TAGVAR(always_export_symbols, $1)=no | ||
| 1131 | _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | ||
| 1132 | _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' | ||
| 1133 | |||
| 1134 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | ||
| 1135 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 1136 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 1137 | # If the export-symbols file already is a .def file (1st line | ||
| 1138 | # is EXPORTS), use it as is; otherwise, prepend... | ||
| 1139 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | ||
| 1140 | chrsmrtn-guest | 1393 | @@ -10885,19 +10896,19 @@ |
| 1141 | madcoder-guest | 653 | echo EXPORTS > $output_objdir/$soname.def; |
| 1142 | cat $export_symbols >> $output_objdir/$soname.def; | ||
| 1143 | fi~ | ||
| 1144 | - $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 1145 | + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 1146 | else | ||
| 1147 | ld_shlibs=no | ||
| 1148 | fi | ||
| 1149 | ;; | ||
| 1150 | |||
| 1151 | - netbsd*) | ||
| 1152 | + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 1153 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | ||
| 1154 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | ||
| 1155 | wlarc= | ||
| 1156 | else | ||
| 1157 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 1158 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 1159 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 1160 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 1161 | fi | ||
| 1162 | ;; | ||
| 1163 | |||
| 1164 | chrsmrtn-guest | 1393 | @@ -10915,8 +10926,8 @@ |
| 1165 | madcoder-guest | 653 | |
| 1166 | EOF | ||
| 1167 | elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
| 1168 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 1169 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 1170 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 1171 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 1172 | else | ||
| 1173 | _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 1174 | fi | ||
| 1175 | chrsmrtn-guest | 1393 | @@ -10929,10 +10940,36 @@ |
| 1176 | madcoder-guest | 653 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 1177 | ;; | ||
| 1178 | |||
| 1179 | + linux*) | ||
| 1180 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
| 1181 | + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 1182 | + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" | ||
| 1183 | + supports_anon_versioning=no | ||
| 1184 | + case `$LD -v 2>/dev/null` in | ||
| 1185 | + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 | ||
| 1186 | + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | ||
| 1187 | + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | ||
| 1188 | + *\ 2.11.*) ;; # other 2.11 versions | ||
| 1189 | + *) supports_anon_versioning=yes ;; | ||
| 1190 | + esac | ||
| 1191 | + if test $supports_anon_versioning = yes; then | ||
| 1192 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ | ||
| 1193 | +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | ||
| 1194 | +$echo "local: *; };" >> $output_objdir/$libname.ver~ | ||
| 1195 | + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | ||
| 1196 | + else | ||
| 1197 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" | ||
| 1198 | + fi | ||
| 1199 | + _LT_AC_TAGVAR(link_all_deplibs, $1)=no | ||
| 1200 | + else | ||
| 1201 | + _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 1202 | + fi | ||
| 1203 | + ;; | ||
| 1204 | + | ||
| 1205 | *) | ||
| 1206 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
| 1207 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 1208 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 1209 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 1210 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 1211 | else | ||
| 1212 | _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 1213 | fi | ||
| 1214 | chrsmrtn-guest | 1393 | @@ -10982,9 +11019,20 @@ |
| 1215 | madcoder-guest | 653 | else |
| 1216 | _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' | ||
| 1217 | fi | ||
| 1218 | + aix_use_runtimelinking=no | ||
| 1219 | + | ||
| 1220 | + # Test if we are trying to use run time linking or normal | ||
| 1221 | + # AIX style linking. If -brtl is somewhere in LDFLAGS, we | ||
| 1222 | + # need to do runtime linking. | ||
| 1223 | + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) | ||
| 1224 | + for ld_flag in $LDFLAGS; do | ||
| 1225 | + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | ||
| 1226 | + aix_use_runtimelinking=yes | ||
| 1227 | + break | ||
| 1228 | + fi | ||
| 1229 | + done | ||
| 1230 | + esac | ||
| 1231 | |||
| 1232 | - # KDE requires run time linking. Make it the default. | ||
| 1233 | - aix_use_runtimelinking=yes | ||
| 1234 | exp_sym_flag='-bexport' | ||
| 1235 | no_entry_flag='-bnoentry' | ||
| 1236 | fi | ||
| 1237 | chrsmrtn-guest | 1393 | @@ -11030,29 +11078,29 @@ |
| 1238 | madcoder-guest | 653 | shared_flag='-G' |
| 1239 | else | ||
| 1240 | if test "$aix_use_runtimelinking" = yes; then | ||
| 1241 | - shared_flag='-qmkshrobj ${wl}-G' | ||
| 1242 | + shared_flag='${wl}-G' | ||
| 1243 | else | ||
| 1244 | - shared_flag='-qmkshrobj' | ||
| 1245 | + shared_flag='${wl}-bM:SRE' | ||
| 1246 | fi | ||
| 1247 | fi | ||
| 1248 | fi | ||
| 1249 | |||
| 1250 | - # Let the compiler handle the export list. | ||
| 1251 | - _LT_AC_TAGVAR(always_export_symbols, $1)=no | ||
| 1252 | + # It seems that -bexpall does not export symbols beginning with | ||
| 1253 | + # underscore (_), so it is better to generate a list of symbols to export. | ||
| 1254 | + _LT_AC_TAGVAR(always_export_symbols, $1)=yes | ||
| 1255 | if test "$aix_use_runtimelinking" = yes; then | ||
| 1256 | # Warning - without using the other runtime loading flags (-brtl), | ||
| 1257 | # -berok will link without error, but may produce a broken library. | ||
| 1258 | _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' | ||
| 1259 | # Determine the default libpath from the value encoded in an empty executable. | ||
| 1260 | - _LT_AC_SYS_LIBPATH_AIX | ||
| 1261 | - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
| 1262 | - _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" | ||
| 1263 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 1264 | + _LT_AC_SYS_LIBPATH_AIX | ||
| 1265 | + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
| 1266 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 1267 | else | ||
| 1268 | if test "$host_cpu" = ia64; then | ||
| 1269 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' | ||
| 1270 | _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" | ||
| 1271 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 1272 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 1273 | else | ||
| 1274 | # Determine the default libpath from the value encoded in an empty executable. | ||
| 1275 | _LT_AC_SYS_LIBPATH_AIX | ||
| 1276 | chrsmrtn-guest | 1393 | @@ -11067,7 +11115,7 @@ |
| 1277 | madcoder-guest | 653 | _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' |
| 1278 | _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes | ||
| 1279 | # This is similar to how AIX traditionally builds it's shared libraries. | ||
| 1280 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 1281 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 1282 | fi | ||
| 1283 | fi | ||
| 1284 | ;; | ||
| 1285 | chrsmrtn-guest | 1393 | @@ -11090,13 +11138,13 @@ |
| 1286 | madcoder-guest | 653 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 1287 | # no search path for DLLs. | ||
| 1288 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' | ||
| 1289 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)=no | ||
| 1290 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported | ||
| 1291 | # Tell ltmain to make .lib files, not .a files. | ||
| 1292 | libext=lib | ||
| 1293 | # Tell ltmain to make .dll files, not .so files. | ||
| 1294 | - shrext=".dll" | ||
| 1295 | + shrext_cmds=".dll" | ||
| 1296 | # FIXME: Setting linknames here is a bad hack. | ||
| 1297 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | ||
| 1298 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | ||
| 1299 | # The linker will automatically build a .lib file if we build a DLL. | ||
| 1300 | _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' | ||
| 1301 | # FIXME: Should let the user specify the lib program. | ||
| 1302 | chrsmrtn-guest | 1393 | @@ -11110,21 +11158,21 @@ |
| 1303 | madcoder-guest | 653 | _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
| 1304 | case "$host_os" in | ||
| 1305 | rhapsody* | darwin1.[[012]]) | ||
| 1306 | - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress' | ||
| 1307 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' | ||
| 1308 | ;; | ||
| 1309 | *) # Darwin 1.3 on | ||
| 1310 | - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 1311 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 1312 | - else | ||
| 1313 | - case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 1314 | - 10.[012]) | ||
| 1315 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 1316 | - ;; | ||
| 1317 | - 10.*) | ||
| 1318 | - allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup' | ||
| 1319 | - ;; | ||
| 1320 | - esac | ||
| 1321 | - fi | ||
| 1322 | + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 1323 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' | ||
| 1324 | + else | ||
| 1325 | + case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 1326 | + 10.[[012]]) | ||
| 1327 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' | ||
| 1328 | + ;; | ||
| 1329 | + 10.*) | ||
| 1330 | + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' | ||
| 1331 | + ;; | ||
| 1332 | + esac | ||
| 1333 | + fi | ||
| 1334 | ;; | ||
| 1335 | esac | ||
| 1336 | lt_int_apple_cc_single_mod=no | ||
| 1337 | chrsmrtn-guest | 1393 | @@ -11133,26 +11181,26 @@ |
| 1338 | madcoder-guest | 653 | lt_int_apple_cc_single_mod=yes |
| 1339 | fi | ||
| 1340 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 1341 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' | ||
| 1342 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 1343 | else | ||
| 1344 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring' | ||
| 1345 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 1346 | fi | ||
| 1347 | - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' | ||
| 1348 | + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | ||
| 1349 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | ||
| 1350 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 1351 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 1352 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 1353 | else | ||
| 1354 | - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 1355 | + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 1356 | fi | ||
| 1357 | - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 1358 | + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 1359 | _LT_AC_TAGVAR(hardcode_direct, $1)=no | ||
| 1360 | _LT_AC_TAGVAR(hardcode_automatic, $1)=yes | ||
| 1361 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported | ||
| 1362 | _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' | ||
| 1363 | _LT_AC_TAGVAR(link_all_deplibs, $1)=yes | ||
| 1364 | - else | ||
| 1365 | + else | ||
| 1366 | _LT_AC_TAGVAR(ld_shlibs, $1)=no | ||
| 1367 | - fi | ||
| 1368 | + fi | ||
| 1369 | ;; | ||
| 1370 | |||
| 1371 | dgux*) | ||
| 1372 | chrsmrtn-guest | 1393 | @@ -11185,8 +11233,8 @@ |
| 1373 | madcoder-guest | 653 | ;; |
| 1374 | |||
| 1375 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | ||
| 1376 | - freebsd*) | ||
| 1377 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1378 | + freebsd* | kfreebsd*-gnu) | ||
| 1379 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1380 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | ||
| 1381 | _LT_AC_TAGVAR(hardcode_direct, $1)=yes | ||
| 1382 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no | ||
| 1383 | chrsmrtn-guest | 1393 | @@ -11194,7 +11242,7 @@ |
| 1384 | madcoder-guest | 653 | |
| 1385 | hpux9*) | ||
| 1386 | if test "$GCC" = yes; then | ||
| 1387 | - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 1388 | + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 1389 | else | ||
| 1390 | _LT_AC_TAGVAR(archive_cmds, $1)='$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' | ||
| 1391 | fi | ||
| 1392 | chrsmrtn-guest | 1393 | @@ -11212,10 +11260,10 @@ |
| 1393 | madcoder-guest | 653 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 1394 | case "$host_cpu" in | ||
| 1395 | hppa*64*|ia64*) | ||
| 1396 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1397 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1398 | ;; | ||
| 1399 | *) | ||
| 1400 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1401 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1402 | ;; | ||
| 1403 | esac | ||
| 1404 | else | ||
| 1405 | chrsmrtn-guest | 1393 | @@ -11262,7 +11310,7 @@ |
| 1406 | madcoder-guest | 653 | |
| 1407 | irix5* | irix6* | nonstopux*) | ||
| 1408 | if test "$GCC" = yes; then | ||
| 1409 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 1410 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 1411 | else | ||
| 1412 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | ||
| 1413 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' | ||
| 1414 | chrsmrtn-guest | 1393 | @@ -11272,7 +11320,7 @@ |
| 1415 | madcoder-guest | 653 | _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
| 1416 | ;; | ||
| 1417 | |||
| 1418 | - netbsd*) | ||
| 1419 | + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 1420 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | ||
| 1421 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | ||
| 1422 | else | ||
| 1423 | chrsmrtn-guest | 1393 | @@ -11295,7 +11343,7 @@ |
| 1424 | madcoder-guest | 653 | _LT_AC_TAGVAR(hardcode_direct, $1)=yes |
| 1425 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no | ||
| 1426 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | ||
| 1427 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1428 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1429 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | ||
| 1430 | _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | ||
| 1431 | else | ||
| 1432 | chrsmrtn-guest | 1393 | @@ -11305,7 +11353,7 @@ |
| 1433 | madcoder-guest | 653 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
| 1434 | ;; | ||
| 1435 | *) | ||
| 1436 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1437 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1438 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | ||
| 1439 | ;; | ||
| 1440 | esac | ||
| 1441 | chrsmrtn-guest | 1393 | @@ -11316,14 +11364,14 @@ |
| 1442 | madcoder-guest | 653 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 1443 | _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes | ||
| 1444 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported | ||
| 1445 | - _LT_AC_TAGVAR(archive_cmds, $1)='$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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def' | ||
| 1446 | + _LT_AC_TAGVAR(archive_cmds, $1)='$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' | ||
| 1447 | _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | ||
| 1448 | ;; | ||
| 1449 | |||
| 1450 | osf3*) | ||
| 1451 | if test "$GCC" = yes; then | ||
| 1452 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' | ||
| 1453 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 1454 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 1455 | else | ||
| 1456 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' | ||
| 1457 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | ||
| 1458 | chrsmrtn-guest | 1393 | @@ -11335,7 +11383,7 @@ |
| 1459 | madcoder-guest | 653 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 1460 | if test "$GCC" = yes; then | ||
| 1461 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' | ||
| 1462 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 1463 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 1464 | _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | ||
| 1465 | else | ||
| 1466 | _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' | ||
| 1467 | chrsmrtn-guest | 1393 | @@ -11360,9 +11408,9 @@ |
| 1468 | madcoder-guest | 653 | solaris*) |
| 1469 | _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' | ||
| 1470 | if test "$GCC" = yes; then | ||
| 1471 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1472 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1473 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | ||
| 1474 | - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp' | ||
| 1475 | + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | ||
| 1476 | else | ||
| 1477 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | ||
| 1478 | _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | ||
| 1479 | chrsmrtn-guest | 1393 | @@ -11382,7 +11430,7 @@ |
| 1480 | madcoder-guest | 653 | if test "x$host_vendor" = xsequent; then |
| 1481 | # Use $CC to link under sequent, because it throws in some extra .o | ||
| 1482 | # files that make .init and .fini sections work. | ||
| 1483 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1484 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1485 | else | ||
| 1486 | _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | ||
| 1487 | fi | ||
| 1488 | chrsmrtn-guest | 1393 | @@ -11442,9 +11490,9 @@ |
| 1489 | madcoder-guest | 653 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) |
| 1490 | _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' | ||
| 1491 | if test "$GCC" = yes; then | ||
| 1492 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1493 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1494 | else | ||
| 1495 | - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 1496 | + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 1497 | fi | ||
| 1498 | runpath_var='LD_RUN_PATH' | ||
| 1499 | _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no | ||
| 1500 | chrsmrtn-guest | 1393 | @@ -11502,7 +11550,7 @@ |
| 1501 | madcoder-guest | 653 | AC_MSG_CHECKING([whether -lc should be explicitly linked in]) |
| 1502 | $rm conftest* | ||
| 1503 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | ||
| 1504 | - | ||
| 1505 | + | ||
| 1506 | if AC_TRY_EVAL(ac_compile) 2>conftest.err; then | ||
| 1507 | soname=conftest | ||
| 1508 | lib=conftest | ||
| 1509 | chrsmrtn-guest | 1393 | @@ -11661,8 +11709,8 @@ |
| 1510 | madcoder-guest | 653 | fi |
| 1511 | done | ||
| 1512 | done | ||
| 1513 | -]) | ||
| 1514 | SED=$lt_cv_path_SED | ||
| 1515 | +]) | ||
| 1516 | AC_MSG_RESULT([$SED]) | ||
| 1517 | ]) | ||
| 1518 | |||
| 1519 | chrsmrtn-guest | 1393 | diff -Nru kdeaccessibility-3.4.2.orig/aclocal.m4 kdeaccessibility-3.4.2/aclocal.m4 |
| 1520 | --- kdeaccessibility-3.4.2.orig/aclocal.m4 2005-07-20 19:50:01.000000000 +0000 | ||
| 1521 | +++ kdeaccessibility-3.4.2/aclocal.m4 2005-07-27 18:12:17.778788984 +0000 | ||
| 1522 | madcoder-guest | 1117 | @@ -501,6 +501,35 @@ |
| 1523 | madcoder-guest | 653 | rmdir .tst 2>/dev/null |
| 1524 | AC_SUBST([am__leading_dot])]) | ||
| 1525 | |||
| 1526 | +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | ||
| 1527 | +# From Jim Meyering | ||
| 1528 | madcoder-guest | 1117 | + |
| 1529 | madcoder-guest | 653 | +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 |
| 1530 | +# Free Software Foundation, Inc. | ||
| 1531 | +# | ||
| 1532 | +# This file is free software; the Free Software Foundation | ||
| 1533 | +# gives unlimited permission to copy and/or distribute it, | ||
| 1534 | +# with or without modifications, as long as this notice is preserved. | ||
| 1535 | madcoder-guest | 1117 | + |
| 1536 | madcoder-guest | 653 | +# serial 4 |
| 1537 | madcoder-guest | 1117 | + |
| 1538 | madcoder-guest | 653 | +AC_DEFUN([AM_MAINTAINER_MODE], |
| 1539 | +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | ||
| 1540 | + dnl maintainer-mode is disabled by default | ||
| 1541 | + AC_ARG_ENABLE(maintainer-mode, | ||
| 1542 | +[ --enable-maintainer-mode enable make rules and dependencies not useful | ||
| 1543 | + (and sometimes confusing) to the casual installer], | ||
| 1544 | + USE_MAINTAINER_MODE=$enableval, | ||
| 1545 | + USE_MAINTAINER_MODE=no) | ||
| 1546 | + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | ||
| 1547 | + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) | ||
| 1548 | + MAINT=$MAINTAINER_MODE_TRUE | ||
| 1549 | + AC_SUBST(MAINT)dnl | ||
| 1550 | +] | ||
| 1551 | +) | ||
| 1552 | madcoder-guest | 1117 | + |
| 1553 | madcoder-guest | 653 | +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
| 1554 | + | ||
| 1555 | madcoder-guest | 1117 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
| 1556 | madcoder-guest | 653 | |
| 1557 | madcoder-guest | 1117 | # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. |
| 1558 | chrsmrtn-guest | 1393 | diff -Nru kdeaccessibility-3.4.2.orig/config.h.in kdeaccessibility-3.4.2/config.h.in |
| 1559 | --- kdeaccessibility-3.4.2.orig/config.h.in 2005-07-20 19:50:08.000000000 +0000 | ||
| 1560 | +++ kdeaccessibility-3.4.2/config.h.in 2005-07-27 18:12:31.205747776 +0000 | ||
| 1561 | @@ -269,9 +269,6 @@ | ||
| 1562 | #endif | ||
| 1563 | |||
| 1564 | |||
| 1565 | -/* define to 1 if -fvisibility is supported */ | ||
| 1566 | -#undef __KDE_HAVE_GCC_VISIBILITY | ||
| 1567 | - | ||
| 1568 | |||
| 1569 | #if defined(__SVR4) && !defined(__svr4__) | ||
| 1570 | #define __svr4__ 1 | ||
| 1571 | diff -Nru kdeaccessibility-3.4.2.orig/configure kdeaccessibility-3.4.2/configure | ||
| 1572 | --- kdeaccessibility-3.4.2.orig/configure 2005-07-20 19:50:36.000000000 +0000 | ||
| 1573 | +++ kdeaccessibility-3.4.2/configure 2005-07-27 18:13:54.620066872 +0000 | ||
| 1574 | madcoder-guest | 653 | @@ -464,7 +464,7 @@ |
| 1575 | # include <unistd.h> | ||
| 1576 | #endif" | ||
| 1577 | |||
| 1578 | chrsmrtn-guest | 1393 | -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar KDECONFIG kde_libs_prefix kde_libs_htmldir CONF_FILES CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE WOVERLOADED_VIRTUAL HAVE_GCC_VISIBILITY unsermake_enable_pch_TRUE unsermake_enable_pch_FALSE USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS ENABLE_PERMISSIVE_FLAG LDFLAGS_AS_NEEDED LDFLAGS_NEW_DTAGS KDE_USE_FINAL_TRUE KDE_USE_FINAL_FALSE KDE_USE_CLOSURE_TRUE KDE_USE_CLOSURE_FALSE KDE_NO_UNDEFINED KDE_USE_NMCHECK_TRUE KDE_USE_NMCHECK_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL KDE_PLUGIN MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET X_EXTRA_LIBS LIBUCB LIBDL include_x11_TRUE include_x11_FALSE X_PRE_LIBS LIB_X11 LIB_XRENDER LIBSM X_INCLUDES X_LDFLAGS x_includes x_libraries QTE_NORTTI LIB_XEXT LIBPTHREAD USE_THREADS KDE_MT_LDFLAGS KDE_MT_LIBS USER_INCLUDES USER_LDFLAGS LIBZ LIBPNG LIBJPEG qt_libraries qt_includes QT_INCLUDES QT_LDFLAGS PERL MOC UIC UIC_TR LIB_QT LIB_QPE kde_qtver KDE_EXTRA_RPATH KDE_RPATH X_RPATH kde_libraries kde_includes KDE_LDFLAGS KDE_INCLUDES all_includes all_libraries AUTODIRS include_ARTS_TRUE include_ARTS_FALSE MAKEKDEWIDGETS KCONFIG_COMPILER KCFG_DEPENDENCIES DCOPIDLNG DCOPIDL DCOPIDL2CPP DCOP_DEPENDENCIES MCOPIDL ARTSCCONFIG MEINPROC KDE_XSL_STYLESHEET XMLLINT kde_htmldir kde_appsdir kde_icondir kde_sounddir kde_datadir kde_locale kde_confdir kde_kcfgdir kde_mimedir kde_wallpaperdir kde_bindir xdg_appsdir xdg_menudir xdg_directorydir kde_templatesdir kde_servicesdir kde_servicetypesdir kde_moduledir kdeinitdir kde_styledir kde_widgetdir LIB_KDECORE LIB_KDEUI LIB_KIO LIB_KJS LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KUTILS LIB_KDEPIM LIB_KIMPROXY LIB_KNEWSTUFF LIB_KDNSSD LIB_KUNITTEST LIB_KSYCOCA LIB_KFILE LIB_KFM include_ksayit_audio_plugins_TRUE include_ksayit_audio_plugins_FALSE PKGCONFIGFOUND PKG_CONFIG GST_CFLAGS GST_LIBS CFLAGS_GST LDADD_GST LDFLAGS_GST include_kttsd_gstplayer_TRUE include_kttsd_gstplayer_FALSE KTTS_KSPEECH_DIR KTTS_KSPEECH_INCLUDE KTTS_COMPAT_DIR include_kttsd_command_TRUE include_kttsd_command_FALSE epos_bindir include_kttsd_epos_TRUE include_kttsd_epos_FALSE festival_bindir include_kttsd_festivalint_TRUE include_kttsd_festivalint_FALSE flite_bindir include_kttsd_flite_TRUE include_kttsd_flite_FALSE freetts_bindir include_kttsd_freetts_TRUE include_kttsd_freetts_FALSE hadifix_mbrola_bin hadifix_txt2pho_bin include_kttsd_hadifix_TRUE include_kttsd_hadifix_FALSE TOPSUBDIRS IconThemes_SUBDIR_included_TRUE IconThemes_SUBDIR_included_FALSE doc_SUBDIR_included_TRUE doc_SUBDIR_included_FALSE kbstateapplet_SUBDIR_included_TRUE kbstateapplet_SUBDIR_included_FALSE kmag_SUBDIR_included_TRUE kmag_SUBDIR_included_FALSE kmousetool_SUBDIR_included_TRUE kmousetool_SUBDIR_included_FALSE kmouth_SUBDIR_included_TRUE kmouth_SUBDIR_included_FALSE ksayit_SUBDIR_included_TRUE ksayit_SUBDIR_included_FALSE kttsd_SUBDIR_included_TRUE kttsd_SUBDIR_included_FALSE LIBOBJS LTLIBOBJS' |
| 1579 | +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT KDECONFIG kde_libs_prefix kde_libs_htmldir CONF_FILES CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE WOVERLOADED_VIRTUAL HAVE_GCC_VISIBILITY unsermake_enable_pch_TRUE unsermake_enable_pch_FALSE USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS ENABLE_PERMISSIVE_FLAG LDFLAGS_AS_NEEDED LDFLAGS_NEW_DTAGS KDE_USE_FINAL_TRUE KDE_USE_FINAL_FALSE KDE_USE_CLOSURE_TRUE KDE_USE_CLOSURE_FALSE KDE_NO_UNDEFINED KDE_USE_NMCHECK_TRUE KDE_USE_NMCHECK_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL KDE_PLUGIN MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET X_EXTRA_LIBS LIBUCB LIBDL include_x11_TRUE include_x11_FALSE X_PRE_LIBS LIB_X11 LIB_XRENDER LIBSM X_INCLUDES X_LDFLAGS x_includes x_libraries QTE_NORTTI LIB_XEXT LIBPTHREAD USE_THREADS KDE_MT_LDFLAGS KDE_MT_LIBS USER_INCLUDES USER_LDFLAGS LIBZ LIBPNG LIBJPEG qt_libraries qt_includes QT_INCLUDES QT_LDFLAGS PERL MOC UIC UIC_TR LIB_QT LIB_QPE kde_qtver KDE_EXTRA_RPATH KDE_RPATH X_RPATH kde_libraries kde_includes KDE_LDFLAGS KDE_INCLUDES all_includes all_libraries AUTODIRS include_ARTS_TRUE include_ARTS_FALSE MAKEKDEWIDGETS KCONFIG_COMPILER KCFG_DEPENDENCIES DCOPIDLNG DCOPIDL DCOPIDL2CPP DCOP_DEPENDENCIES MCOPIDL ARTSCCONFIG MEINPROC KDE_XSL_STYLESHEET XMLLINT kde_htmldir kde_appsdir kde_icondir kde_sounddir kde_datadir kde_locale kde_confdir kde_kcfgdir kde_mimedir kde_wallpaperdir kde_bindir xdg_appsdir xdg_menudir xdg_directorydir kde_templatesdir kde_servicesdir kde_servicetypesdir kde_moduledir kdeinitdir kde_styledir kde_widgetdir LIB_KDECORE LIB_KDEUI LIB_KIO LIB_KJS LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KUTILS LIB_KDEPIM LIB_KIMPROXY LIB_KNEWSTUFF LIB_KDNSSD LIB_KUNITTEST LIB_KSYCOCA LIB_KFILE LIB_KFM include_ksayit_audio_plugins_TRUE include_ksayit_audio_plugins_FALSE PKGCONFIGFOUND PKG_CONFIG GST_CFLAGS GST_LIBS CFLAGS_GST LDADD_GST LDFLAGS_GST include_kttsd_gstplayer_TRUE include_kttsd_gstplayer_FALSE KTTS_KSPEECH_DIR KTTS_KSPEECH_INCLUDE KTTS_COMPAT_DIR include_kttsd_command_TRUE include_kttsd_command_FALSE epos_bindir include_kttsd_epos_TRUE include_kttsd_epos_FALSE festival_bindir include_kttsd_festivalint_TRUE include_kttsd_festivalint_FALSE flite_bindir include_kttsd_flite_TRUE include_kttsd_flite_FALSE freetts_bindir include_kttsd_freetts_TRUE include_kttsd_freetts_FALSE hadifix_mbrola_bin hadifix_txt2pho_bin include_kttsd_hadifix_TRUE include_kttsd_hadifix_FALSE TOPSUBDIRS IconThemes_SUBDIR_included_TRUE IconThemes_SUBDIR_included_FALSE doc_SUBDIR_included_TRUE doc_SUBDIR_included_FALSE kbstateapplet_SUBDIR_included_TRUE kbstateapplet_SUBDIR_included_FALSE kmag_SUBDIR_included_TRUE kmag_SUBDIR_included_FALSE kmousetool_SUBDIR_included_TRUE kmousetool_SUBDIR_included_FALSE kmouth_SUBDIR_included_TRUE kmouth_SUBDIR_included_FALSE ksayit_SUBDIR_included_TRUE ksayit_SUBDIR_included_FALSE kttsd_SUBDIR_included_TRUE kttsd_SUBDIR_included_FALSE LIBOBJS LTLIBOBJS' | ||
| 1580 | madcoder-guest | 653 | ac_subst_files='' |
| 1581 | |||
| 1582 | # Initialize some variables set by options. | ||
| 1583 | @@ -1029,6 +1029,8 @@ | ||
| 1584 | Optional Features: | ||
| 1585 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
| 1586 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
| 1587 | + --enable-maintainer-mode enable make rules and dependencies not useful | ||
| 1588 | + (and sometimes confusing) to the casual installer | ||
| 1589 | --disable-fast-perl disable fast Makefile generation (needs perl) | ||
| 1590 | --enable-debug=ARG enables debug symbols (yes|no|full) default=no | ||
| 1591 | --disable-debug disables debug output and debug symbols default=no | ||
| 1592 | @@ -1197,7 +1199,7 @@ | ||
| 1593 | else | ||
| 1594 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
| 1595 | fi | ||
| 1596 | - cd $ac_popdir | ||
| 1597 | + cd "$ac_popdir" | ||
| 1598 | done | ||
| 1599 | fi | ||
| 1600 | |||
| 1601 | @@ -2100,6 +2102,31 @@ | ||
| 1602 | |||
| 1603 | |||
| 1604 | |||
| 1605 | +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | ||
| 1606 | +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 | ||
| 1607 | + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | ||
| 1608 | +if test "${enable_maintainer_mode+set}" = set; then | ||
| 1609 | + enableval="$enable_maintainer_mode" | ||
| 1610 | + USE_MAINTAINER_MODE=$enableval | ||
| 1611 | +else | ||
| 1612 | + USE_MAINTAINER_MODE=no | ||
| 1613 | +fi; | ||
| 1614 | + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | ||
| 1615 | +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 | ||
| 1616 | + | ||
| 1617 | + | ||
| 1618 | +if test $USE_MAINTAINER_MODE = yes; then | ||
| 1619 | + MAINTAINER_MODE_TRUE= | ||
| 1620 | + MAINTAINER_MODE_FALSE='#' | ||
| 1621 | +else | ||
| 1622 | + MAINTAINER_MODE_TRUE='#' | ||
| 1623 | + MAINTAINER_MODE_FALSE= | ||
| 1624 | +fi | ||
| 1625 | + | ||
| 1626 | + MAINT=$MAINTAINER_MODE_TRUE | ||
| 1627 | + | ||
| 1628 | + | ||
| 1629 | + | ||
| 1630 | |||
| 1631 | unset CDPATH | ||
| 1632 | |||
| 1633 | @@ -3033,8 +3060,7 @@ | ||
| 1634 | cat conftest.err >&5 | ||
| 1635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1636 | (exit $ac_status); } && | ||
| 1637 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 1638 | - || test ! -s conftest.err' | ||
| 1639 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1641 | (eval $ac_try) 2>&5 | ||
| 1642 | ac_status=$? | ||
| 1643 | @@ -3092,8 +3118,7 @@ | ||
| 1644 | cat conftest.err >&5 | ||
| 1645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1646 | (exit $ac_status); } && | ||
| 1647 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 1648 | - || test ! -s conftest.err' | ||
| 1649 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1651 | (eval $ac_try) 2>&5 | ||
| 1652 | ac_status=$? | ||
| 1653 | @@ -3209,8 +3234,7 @@ | ||
| 1654 | cat conftest.err >&5 | ||
| 1655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1656 | (exit $ac_status); } && | ||
| 1657 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 1658 | - || test ! -s conftest.err' | ||
| 1659 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1661 | (eval $ac_try) 2>&5 | ||
| 1662 | ac_status=$? | ||
| 1663 | @@ -3264,8 +3288,7 @@ | ||
| 1664 | cat conftest.err >&5 | ||
| 1665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1666 | (exit $ac_status); } && | ||
| 1667 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 1668 | - || test ! -s conftest.err' | ||
| 1669 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1670 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1671 | (eval $ac_try) 2>&5 | ||
| 1672 | ac_status=$? | ||
| 1673 | @@ -3310,8 +3333,7 @@ | ||
| 1674 | cat conftest.err >&5 | ||
| 1675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1676 | (exit $ac_status); } && | ||
| 1677 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 1678 | - || test ! -s conftest.err' | ||
| 1679 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1680 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1681 | (eval $ac_try) 2>&5 | ||
| 1682 | ac_status=$? | ||
| 1683 | @@ -3355,8 +3377,7 @@ | ||
| 1684 | cat conftest.err >&5 | ||
| 1685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1686 | (exit $ac_status); } && | ||
| 1687 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 1688 | - || test ! -s conftest.err' | ||
| 1689 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1690 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1691 | (eval $ac_try) 2>&5 | ||
| 1692 | ac_status=$? | ||
| 1693 | @@ -3913,8 +3934,7 @@ | ||
| 1694 | cat conftest.err >&5 | ||
| 1695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1696 | (exit $ac_status); } && | ||
| 1697 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1698 | - || test ! -s conftest.err' | ||
| 1699 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1700 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1701 | (eval $ac_try) 2>&5 | ||
| 1702 | ac_status=$? | ||
| 1703 | @@ -3972,8 +3992,7 @@ | ||
| 1704 | cat conftest.err >&5 | ||
| 1705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1706 | (exit $ac_status); } && | ||
| 1707 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1708 | - || test ! -s conftest.err' | ||
| 1709 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1711 | (eval $ac_try) 2>&5 | ||
| 1712 | ac_status=$? | ||
| 1713 | @@ -4044,8 +4063,7 @@ | ||
| 1714 | cat conftest.err >&5 | ||
| 1715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1716 | (exit $ac_status); } && | ||
| 1717 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1718 | - || test ! -s conftest.err' | ||
| 1719 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1721 | (eval $ac_try) 2>&5 | ||
| 1722 | ac_status=$? | ||
| 1723 | @@ -4089,8 +4107,7 @@ | ||
| 1724 | cat conftest.err >&5 | ||
| 1725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1726 | (exit $ac_status); } && | ||
| 1727 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1728 | - || test ! -s conftest.err' | ||
| 1729 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1731 | (eval $ac_try) 2>&5 | ||
| 1732 | ac_status=$? | ||
| 1733 | madcoder-guest | 1117 | @@ -4268,8 +4285,7 @@ |
| 1734 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1736 | (exit $ac_status); } && | ||
| 1737 | madcoder-guest | 1117 | - { ac_try='test -z "$ac_c_werror_flag" |
| 1738 | - || test ! -s conftest.err' | ||
| 1739 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1740 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1741 | (eval $ac_try) 2>&5 | ||
| 1742 | ac_status=$? | ||
| 1743 | @@ -4380,8 +4396,7 @@ | ||
| 1744 | cat conftest.err >&5 | ||
| 1745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1746 | (exit $ac_status); } && | ||
| 1747 | madcoder-guest | 653 | - { ac_try='test -z "$ac_cxx_werror_flag" |
| 1748 | - || test ! -s conftest.err' | ||
| 1749 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1750 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1751 | (eval $ac_try) 2>&5 | ||
| 1752 | ac_status=$? | ||
| 1753 | madcoder-guest | 1117 | @@ -4469,8 +4484,7 @@ |
| 1754 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1756 | (exit $ac_status); } && | ||
| 1757 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1758 | - || test ! -s conftest.err' | ||
| 1759 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1760 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1761 | (eval $ac_try) 2>&5 | ||
| 1762 | ac_status=$? | ||
| 1763 | madcoder-guest | 1117 | @@ -4572,8 +4586,7 @@ |
| 1764 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1766 | (exit $ac_status); } && | ||
| 1767 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1768 | - || test ! -s conftest.err' | ||
| 1769 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1771 | (eval $ac_try) 2>&5 | ||
| 1772 | ac_status=$? | ||
| 1773 | madcoder-guest | 1117 | @@ -4672,8 +4685,7 @@ |
| 1774 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1776 | (exit $ac_status); } && | ||
| 1777 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1778 | - || test ! -s conftest.err' | ||
| 1779 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1780 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1781 | (eval $ac_try) 2>&5 | ||
| 1782 | ac_status=$? | ||
| 1783 | madcoder-guest | 1117 | @@ -4757,8 +4769,7 @@ |
| 1784 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1786 | (exit $ac_status); } && | ||
| 1787 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 1788 | - || test ! -s conftest.err' | ||
| 1789 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 1790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1791 | (eval $ac_try) 2>&5 | ||
| 1792 | ac_status=$? | ||
| 1793 | madcoder-guest | 1117 | @@ -4847,8 +4858,7 @@ |
| 1794 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1796 | (exit $ac_status); } && | ||
| 1797 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1798 | - || test ! -s conftest.err' | ||
| 1799 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1800 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1801 | (eval $ac_try) 2>&5 | ||
| 1802 | ac_status=$? | ||
| 1803 | madcoder-guest | 1117 | @@ -4935,8 +4945,7 @@ |
| 1804 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1806 | (exit $ac_status); } && | ||
| 1807 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1808 | - || test ! -s conftest.err' | ||
| 1809 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1810 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1811 | (eval $ac_try) 2>&5 | ||
| 1812 | ac_status=$? | ||
| 1813 | madcoder-guest | 1117 | @@ -5023,8 +5032,7 @@ |
| 1814 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1816 | (exit $ac_status); } && | ||
| 1817 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1818 | - || test ! -s conftest.err' | ||
| 1819 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1821 | (eval $ac_try) 2>&5 | ||
| 1822 | ac_status=$? | ||
| 1823 | madcoder-guest | 1117 | @@ -5130,8 +5138,7 @@ |
| 1824 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1826 | (exit $ac_status); } && | ||
| 1827 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1828 | - || test ! -s conftest.err' | ||
| 1829 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1830 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1831 | (eval $ac_try) 2>&5 | ||
| 1832 | ac_status=$? | ||
| 1833 | madcoder-guest | 1117 | @@ -5218,8 +5225,7 @@ |
| 1834 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1836 | (exit $ac_status); } && | ||
| 1837 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1838 | - || test ! -s conftest.err' | ||
| 1839 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1840 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1841 | (eval $ac_try) 2>&5 | ||
| 1842 | ac_status=$? | ||
| 1843 | madcoder-guest | 1117 | @@ -5306,8 +5312,7 @@ |
| 1844 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1846 | (exit $ac_status); } && | ||
| 1847 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1848 | - || test ! -s conftest.err' | ||
| 1849 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1850 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1851 | (eval $ac_try) 2>&5 | ||
| 1852 | ac_status=$? | ||
| 1853 | madcoder-guest | 1117 | @@ -5394,8 +5399,7 @@ |
| 1854 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1856 | (exit $ac_status); } && | ||
| 1857 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1858 | - || test ! -s conftest.err' | ||
| 1859 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1861 | (eval $ac_try) 2>&5 | ||
| 1862 | ac_status=$? | ||
| 1863 | madcoder-guest | 1117 | @@ -5526,8 +5530,7 @@ |
| 1864 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1866 | (exit $ac_status); } && | ||
| 1867 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1868 | - || test ! -s conftest.err' | ||
| 1869 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1871 | (eval $ac_try) 2>&5 | ||
| 1872 | ac_status=$? | ||
| 1873 | madcoder-guest | 1117 | @@ -5615,8 +5618,7 @@ |
| 1874 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1876 | (exit $ac_status); } && | ||
| 1877 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1878 | - || test ! -s conftest.err' | ||
| 1879 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1881 | (eval $ac_try) 2>&5 | ||
| 1882 | ac_status=$? | ||
| 1883 | madcoder-guest | 1117 | @@ -5703,8 +5705,7 @@ |
| 1884 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1886 | (exit $ac_status); } && | ||
| 1887 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1888 | - || test ! -s conftest.err' | ||
| 1889 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1890 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1891 | (eval $ac_try) 2>&5 | ||
| 1892 | ac_status=$? | ||
| 1893 | madcoder-guest | 1117 | @@ -5791,8 +5792,7 @@ |
| 1894 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1896 | (exit $ac_status); } && | ||
| 1897 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1898 | - || test ! -s conftest.err' | ||
| 1899 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1901 | (eval $ac_try) 2>&5 | ||
| 1902 | ac_status=$? | ||
| 1903 | madcoder-guest | 1117 | @@ -5879,8 +5879,7 @@ |
| 1904 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1906 | (exit $ac_status); } && | ||
| 1907 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1908 | - || test ! -s conftest.err' | ||
| 1909 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1910 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1911 | (eval $ac_try) 2>&5 | ||
| 1912 | ac_status=$? | ||
| 1913 | madcoder-guest | 1117 | @@ -5967,8 +5966,7 @@ |
| 1914 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1916 | (exit $ac_status); } && | ||
| 1917 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1918 | - || test ! -s conftest.err' | ||
| 1919 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1920 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1921 | (eval $ac_try) 2>&5 | ||
| 1922 | ac_status=$? | ||
| 1923 | madcoder-guest | 1117 | @@ -6391,8 +6389,7 @@ |
| 1924 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1926 | (exit $ac_status); } && | ||
| 1927 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1928 | - || test ! -s conftest.err' | ||
| 1929 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1931 | (eval $ac_try) 2>&5 | ||
| 1932 | ac_status=$? | ||
| 1933 | madcoder-guest | 1117 | @@ -6518,8 +6515,7 @@ |
| 1934 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1936 | (exit $ac_status); } && | ||
| 1937 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1938 | - || test ! -s conftest.err' | ||
| 1939 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1940 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1941 | (eval $ac_try) 2>&5 | ||
| 1942 | ac_status=$? | ||
| 1943 | madcoder-guest | 1117 | @@ -6607,8 +6603,7 @@ |
| 1944 | madcoder-guest | 653 | cat conftest.err >&5 |
| 1945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 1946 | (exit $ac_status); } && | ||
| 1947 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 1948 | - || test ! -s conftest.err' | ||
| 1949 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 1950 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 1951 | (eval $ac_try) 2>&5 | ||
| 1952 | ac_status=$? | ||
| 1953 | madcoder-guest | 1117 | @@ -6691,185 +6686,6 @@ |
| 1954 | madcoder-guest | 653 | KDE_USE_CLOSURE_TRUE="#" |
| 1955 | KDE_USE_CLOSURE_FALSE="" | ||
| 1956 | KDE_NO_UNDEFINED="" | ||
| 1957 | - case $host in | ||
| 1958 | - *-*-linux-gnu) | ||
| 1959 | - | ||
| 1960 | -echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5 | ||
| 1961 | -echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6 | ||
| 1962 | -kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'` | ||
| 1963 | -if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then | ||
| 1964 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 1965 | -else | ||
| 1966 | - | ||
| 1967 | - | ||
| 1968 | - | ||
| 1969 | - ac_ext=cc | ||
| 1970 | -ac_cpp='$CXXCPP $CPPFLAGS' | ||
| 1971 | -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 1972 | -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 1973 | -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
| 1974 | - | ||
| 1975 | -ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ||
| 1976 | - | ||
| 1977 | - | ||
| 1978 | - save_CXXFLAGS="$CXXFLAGS" | ||
| 1979 | - CXXFLAGS="$CXXFLAGS -Wl,--no-undefined" | ||
| 1980 | - cat >conftest.$ac_ext <<_ACEOF | ||
| 1981 | -/* confdefs.h. */ | ||
| 1982 | -_ACEOF | ||
| 1983 | -cat confdefs.h >>conftest.$ac_ext | ||
| 1984 | -cat >>conftest.$ac_ext <<_ACEOF | ||
| 1985 | -/* end confdefs.h. */ | ||
| 1986 | - | ||
| 1987 | -int | ||
| 1988 | -main () | ||
| 1989 | -{ | ||
| 1990 | - return 0; | ||
| 1991 | - ; | ||
| 1992 | - return 0; | ||
| 1993 | -} | ||
| 1994 | -_ACEOF | ||
| 1995 | -rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 1996 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 1997 | - (eval $ac_link) 2>conftest.er1 | ||
| 1998 | - ac_status=$? | ||
| 1999 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
| 2000 | - rm -f conftest.er1 | ||
| 2001 | - cat conftest.err >&5 | ||
| 2002 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2003 | - (exit $ac_status); } && | ||
| 2004 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 2005 | - || test ! -s conftest.err' | ||
| 2006 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2007 | - (eval $ac_try) 2>&5 | ||
| 2008 | - ac_status=$? | ||
| 2009 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2010 | - (exit $ac_status); }; } && | ||
| 2011 | - { ac_try='test -s conftest$ac_exeext' | ||
| 2012 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2013 | - (eval $ac_try) 2>&5 | ||
| 2014 | - ac_status=$? | ||
| 2015 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2016 | - (exit $ac_status); }; }; then | ||
| 2017 | - eval "kde_cv_prog_cxx_$kde_cache=yes" | ||
| 2018 | -else | ||
| 2019 | - echo "$as_me: failed program was:" >&5 | ||
| 2020 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 2021 | - | ||
| 2022 | -fi | ||
| 2023 | -rm -f conftest.err conftest.$ac_objext \ | ||
| 2024 | - conftest$ac_exeext conftest.$ac_ext | ||
| 2025 | - CXXFLAGS="$save_CXXFLAGS" | ||
| 2026 | - ac_ext=c | ||
| 2027 | -ac_cpp='$CPP $CPPFLAGS' | ||
| 2028 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2029 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2030 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2031 | - | ||
| 2032 | - | ||
| 2033 | -fi | ||
| 2034 | - | ||
| 2035 | -if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then | ||
| 2036 | - echo "$as_me:$LINENO: result: yes" >&5 | ||
| 2037 | -echo "${ECHO_T}yes" >&6 | ||
| 2038 | - : | ||
| 2039 | - | ||
| 2040 | -echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5 | ||
| 2041 | -echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6 | ||
| 2042 | -kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'` | ||
| 2043 | -if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then | ||
| 2044 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2045 | -else | ||
| 2046 | - | ||
| 2047 | - | ||
| 2048 | - | ||
| 2049 | - ac_ext=cc | ||
| 2050 | -ac_cpp='$CXXCPP $CPPFLAGS' | ||
| 2051 | -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2052 | -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2053 | -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||
| 2054 | - | ||
| 2055 | -ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | ||
| 2056 | - | ||
| 2057 | - | ||
| 2058 | - save_CXXFLAGS="$CXXFLAGS" | ||
| 2059 | - CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined" | ||
| 2060 | - cat >conftest.$ac_ext <<_ACEOF | ||
| 2061 | -/* confdefs.h. */ | ||
| 2062 | -_ACEOF | ||
| 2063 | -cat confdefs.h >>conftest.$ac_ext | ||
| 2064 | -cat >>conftest.$ac_ext <<_ACEOF | ||
| 2065 | -/* end confdefs.h. */ | ||
| 2066 | - | ||
| 2067 | -int | ||
| 2068 | -main () | ||
| 2069 | -{ | ||
| 2070 | - return 0; | ||
| 2071 | - ; | ||
| 2072 | - return 0; | ||
| 2073 | -} | ||
| 2074 | -_ACEOF | ||
| 2075 | -rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 2076 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 2077 | - (eval $ac_link) 2>conftest.er1 | ||
| 2078 | - ac_status=$? | ||
| 2079 | - grep -v '^ *+' conftest.er1 >conftest.err | ||
| 2080 | - rm -f conftest.er1 | ||
| 2081 | - cat conftest.err >&5 | ||
| 2082 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2083 | - (exit $ac_status); } && | ||
| 2084 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 2085 | - || test ! -s conftest.err' | ||
| 2086 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2087 | - (eval $ac_try) 2>&5 | ||
| 2088 | - ac_status=$? | ||
| 2089 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2090 | - (exit $ac_status); }; } && | ||
| 2091 | - { ac_try='test -s conftest$ac_exeext' | ||
| 2092 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2093 | - (eval $ac_try) 2>&5 | ||
| 2094 | - ac_status=$? | ||
| 2095 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2096 | - (exit $ac_status); }; }; then | ||
| 2097 | - eval "kde_cv_prog_cxx_$kde_cache=yes" | ||
| 2098 | -else | ||
| 2099 | - echo "$as_me: failed program was:" >&5 | ||
| 2100 | -sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 2101 | - | ||
| 2102 | -fi | ||
| 2103 | -rm -f conftest.err conftest.$ac_objext \ | ||
| 2104 | - conftest$ac_exeext conftest.$ac_ext | ||
| 2105 | - CXXFLAGS="$save_CXXFLAGS" | ||
| 2106 | - ac_ext=c | ||
| 2107 | -ac_cpp='$CPP $CPPFLAGS' | ||
| 2108 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2109 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2110 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2111 | - | ||
| 2112 | - | ||
| 2113 | -fi | ||
| 2114 | - | ||
| 2115 | -if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then | ||
| 2116 | - echo "$as_me:$LINENO: result: yes" >&5 | ||
| 2117 | -echo "${ECHO_T}yes" >&6 | ||
| 2118 | - : | ||
| 2119 | - KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined" | ||
| 2120 | -else | ||
| 2121 | - echo "$as_me:$LINENO: result: no" >&5 | ||
| 2122 | -echo "${ECHO_T}no" >&6 | ||
| 2123 | - : | ||
| 2124 | - KDE_NO_UNDEFINED="" | ||
| 2125 | -fi | ||
| 2126 | - | ||
| 2127 | -else | ||
| 2128 | - echo "$as_me:$LINENO: result: no" >&5 | ||
| 2129 | -echo "${ECHO_T}no" >&6 | ||
| 2130 | - : | ||
| 2131 | - KDE_NO_UNDEFINED="" | ||
| 2132 | -fi | ||
| 2133 | - | ||
| 2134 | - ;; | ||
| 2135 | - esac | ||
| 2136 | fi | ||
| 2137 | |||
| 2138 | |||
| 2139 | madcoder-guest | 1117 | @@ -7058,10 +6874,10 @@ |
| 2140 | madcoder-guest | 653 | fi |
| 2141 | done | ||
| 2142 | done | ||
| 2143 | +SED=$lt_cv_path_SED | ||
| 2144 | |||
| 2145 | fi | ||
| 2146 | |||
| 2147 | -SED=$lt_cv_path_SED | ||
| 2148 | echo "$as_me:$LINENO: result: $SED" >&5 | ||
| 2149 | echo "${ECHO_T}$SED" >&6 | ||
| 2150 | |||
| 2151 | madcoder-guest | 1117 | @@ -7295,31 +7111,23 @@ |
| 2152 | madcoder-guest | 653 | ;; |
| 2153 | |||
| 2154 | cygwin*) | ||
| 2155 | - lt_cv_deplibs_check_method=pass_all | ||
| 2156 | + # func_win32_libid is a shell function defined in ltmain.sh | ||
| 2157 | + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | ||
| 2158 | + lt_cv_file_magic_cmd='func_win32_libid' | ||
| 2159 | ;; | ||
| 2160 | |||
| 2161 | mingw* | pw32*) | ||
| 2162 | - # win32_libid is a shell function defined in ltmain.sh | ||
| 2163 | - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | ||
| 2164 | - lt_cv_file_magic_cmd='win32_libid' | ||
| 2165 | + # Base MSYS/MinGW do not provide the 'file' command needed by | ||
| 2166 | + # func_win32_libid shell function, so use a weaker test based on 'objdump'. | ||
| 2167 | + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | ||
| 2168 | + lt_cv_file_magic_cmd='$OBJDUMP -f' | ||
| 2169 | ;; | ||
| 2170 | |||
| 2171 | darwin* | rhapsody*) | ||
| 2172 | - # this will be overwritten by pass_all, but leave it in just in case | ||
| 2173 | - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | ||
| 2174 | - lt_cv_file_magic_cmd='/usr/bin/file -L' | ||
| 2175 | - case "$host_os" in | ||
| 2176 | - rhapsody* | darwin1.[012]) | ||
| 2177 | - lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` | ||
| 2178 | - ;; | ||
| 2179 | - *) # Darwin 1.3 on | ||
| 2180 | - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | ||
| 2181 | - ;; | ||
| 2182 | - esac | ||
| 2183 | lt_cv_deplibs_check_method=pass_all | ||
| 2184 | ;; | ||
| 2185 | |||
| 2186 | -freebsd*) | ||
| 2187 | +freebsd* | kfreebsd*-gnu) | ||
| 2188 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
| 2189 | case $host_cpu in | ||
| 2190 | i*86 ) | ||
| 2191 | madcoder-guest | 1117 | @@ -7358,42 +7166,21 @@ |
| 2192 | madcoder-guest | 653 | ;; |
| 2193 | |||
| 2194 | irix5* | irix6* | nonstopux*) | ||
| 2195 | - case $host_os in | ||
| 2196 | - irix5* | nonstopux*) | ||
| 2197 | - # this will be overridden with pass_all, but let us keep it just in case | ||
| 2198 | - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | ||
| 2199 | - ;; | ||
| 2200 | - *) | ||
| 2201 | - case $LD in | ||
| 2202 | - *-32|*"-32 ") libmagic=32-bit;; | ||
| 2203 | - *-n32|*"-n32 ") libmagic=N32;; | ||
| 2204 | - *-64|*"-64 ") libmagic=64-bit;; | ||
| 2205 | - *) libmagic=never-match;; | ||
| 2206 | - esac | ||
| 2207 | - # this will be overridden with pass_all, but let us keep it just in case | ||
| 2208 | - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | ||
| 2209 | - ;; | ||
| 2210 | + case $LD in | ||
| 2211 | + *-32|*"-32 ") libmagic=32-bit;; | ||
| 2212 | + *-n32|*"-n32 ") libmagic=N32;; | ||
| 2213 | + *-64|*"-64 ") libmagic=64-bit;; | ||
| 2214 | + *) libmagic=never-match;; | ||
| 2215 | esac | ||
| 2216 | - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | ||
| 2217 | lt_cv_deplibs_check_method=pass_all | ||
| 2218 | ;; | ||
| 2219 | |||
| 2220 | # This must be Linux ELF. | ||
| 2221 | linux*) | ||
| 2222 | - case $host_cpu in | ||
| 2223 | - alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* ) | ||
| 2224 | - lt_cv_deplibs_check_method=pass_all ;; | ||
| 2225 | - # the debian people say, arm and glibc 2.3.1 works for them with pass_all | ||
| 2226 | - arm* ) | ||
| 2227 | - lt_cv_deplibs_check_method=pass_all ;; | ||
| 2228 | - *) | ||
| 2229 | - # glibc up to 2.1.1 does not perform some relocations on ARM | ||
| 2230 | - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | ||
| 2231 | - esac | ||
| 2232 | - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | ||
| 2233 | + lt_cv_deplibs_check_method=pass_all | ||
| 2234 | ;; | ||
| 2235 | |||
| 2236 | -netbsd*) | ||
| 2237 | +netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 2238 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | ||
| 2239 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | ||
| 2240 | else | ||
| 2241 | madcoder-guest | 1117 | @@ -7422,9 +7209,6 @@ |
| 2242 | madcoder-guest | 653 | ;; |
| 2243 | |||
| 2244 | osf3* | osf4* | osf5*) | ||
| 2245 | - # this will be overridden with pass_all, but let us keep it just in case | ||
| 2246 | - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | ||
| 2247 | - lt_cv_file_magic_test_file=/shlib/libc.so | ||
| 2248 | lt_cv_deplibs_check_method=pass_all | ||
| 2249 | ;; | ||
| 2250 | |||
| 2251 | madcoder-guest | 1117 | @@ -7434,7 +7218,6 @@ |
| 2252 | madcoder-guest | 653 | |
| 2253 | solaris*) | ||
| 2254 | lt_cv_deplibs_check_method=pass_all | ||
| 2255 | - lt_cv_file_magic_test_file=/lib/libc.so | ||
| 2256 | ;; | ||
| 2257 | |||
| 2258 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | ||
| 2259 | madcoder-guest | 1117 | @@ -7511,7 +7294,7 @@ |
| 2260 | madcoder-guest | 653 | ;; |
| 2261 | *-*-irix6*) | ||
| 2262 | # Find out which ABI we are using. | ||
| 2263 | madcoder-guest | 1117 | - echo '#line 7514 "configure"' > conftest.$ac_ext |
| 2264 | + echo '#line 7297 "configure"' > conftest.$ac_ext | ||
| 2265 | madcoder-guest | 653 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2266 | (eval $ac_compile) 2>&5 | ||
| 2267 | ac_status=$? | ||
| 2268 | madcoder-guest | 1117 | @@ -7556,12 +7339,11 @@ |
| 2269 | madcoder-guest | 653 | (exit $ac_status); }; then |
| 2270 | case "`/usr/bin/file conftest.o`" in | ||
| 2271 | *32-bit*) | ||
| 2272 | - LINUX_64_MODE="32" | ||
| 2273 | case $host in | ||
| 2274 | x86_64-*linux*) | ||
| 2275 | LD="${LD-ld} -m elf_i386" | ||
| 2276 | ;; | ||
| 2277 | - ppc64-*linux*) | ||
| 2278 | + ppc64-*linux*|powerpc64-*linux*) | ||
| 2279 | LD="${LD-ld} -m elf32ppclinux" | ||
| 2280 | ;; | ||
| 2281 | s390x-*linux*) | ||
| 2282 | madcoder-guest | 1117 | @@ -7573,7 +7355,6 @@ |
| 2283 | madcoder-guest | 653 | esac |
| 2284 | ;; | ||
| 2285 | *64-bit*) | ||
| 2286 | - LINUX_64_MODE="64" | ||
| 2287 | case $host in | ||
| 2288 | x86_64-*linux*) | ||
| 2289 | LD="${LD-ld} -m elf_x86_64" | ||
| 2290 | madcoder-guest | 1117 | @@ -7633,8 +7414,7 @@ |
| 2291 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2293 | (exit $ac_status); } && | ||
| 2294 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 2295 | - || test ! -s conftest.err' | ||
| 2296 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 2297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2298 | (eval $ac_try) 2>&5 | ||
| 2299 | ac_status=$? | ||
| 2300 | madcoder-guest | 1117 | @@ -7709,8 +7489,7 @@ |
| 2301 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2303 | (exit $ac_status); } && | ||
| 2304 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 2305 | - || test ! -s conftest.err' | ||
| 2306 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 2307 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2308 | (eval $ac_try) 2>&5 | ||
| 2309 | ac_status=$? | ||
| 2310 | madcoder-guest | 1117 | @@ -7880,8 +7659,7 @@ |
| 2311 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2313 | (exit $ac_status); } && | ||
| 2314 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 2315 | - || test ! -s conftest.err' | ||
| 2316 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 2317 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2318 | (eval $ac_try) 2>&5 | ||
| 2319 | ac_status=$? | ||
| 2320 | madcoder-guest | 1117 | @@ -7948,8 +7726,7 @@ |
| 2321 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2323 | (exit $ac_status); } && | ||
| 2324 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 2325 | - || test ! -s conftest.err' | ||
| 2326 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 2327 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2328 | (eval $ac_try) 2>&5 | ||
| 2329 | ac_status=$? | ||
| 2330 | madcoder-guest | 1117 | @@ -8156,7 +7933,7 @@ |
| 2331 | madcoder-guest | 653 | |
| 2332 | |||
| 2333 | # Provide some information about the compiler. | ||
| 2334 | madcoder-guest | 1117 | -echo "$as_me:8159:" \ |
| 2335 | +echo "$as_me:7936:" \ | ||
| 2336 | madcoder-guest | 653 | "checking for Fortran 77 compiler version" >&5 |
| 2337 | ac_compiler=`set X $ac_compile; echo $2` | ||
| 2338 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
| 2339 | madcoder-guest | 1117 | @@ -8202,8 +7979,7 @@ |
| 2340 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2342 | (exit $ac_status); } && | ||
| 2343 | - { ac_try='test -z "$ac_f77_werror_flag" | ||
| 2344 | - || test ! -s conftest.err' | ||
| 2345 | + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' | ||
| 2346 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2347 | (eval $ac_try) 2>&5 | ||
| 2348 | ac_status=$? | ||
| 2349 | madcoder-guest | 1117 | @@ -8252,8 +8028,7 @@ |
| 2350 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2352 | (exit $ac_status); } && | ||
| 2353 | - { ac_try='test -z "$ac_f77_werror_flag" | ||
| 2354 | - || test ! -s conftest.err' | ||
| 2355 | + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err' | ||
| 2356 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2357 | (eval $ac_try) 2>&5 | ||
| 2358 | ac_status=$? | ||
| 2359 | madcoder-guest | 1117 | @@ -8311,7 +8086,7 @@ |
| 2360 | madcoder-guest | 653 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2361 | else | ||
| 2362 | i=0 | ||
| 2363 | - testring="ABCD" | ||
| 2364 | + teststring="ABCD" | ||
| 2365 | |||
| 2366 | case $build_os in | ||
| 2367 | msdosdjgpp*) | ||
| 2368 | madcoder-guest | 1117 | @@ -8340,20 +8115,26 @@ |
| 2369 | madcoder-guest | 653 | lt_cv_sys_max_cmd_len=8192; |
| 2370 | ;; | ||
| 2371 | |||
| 2372 | + amigaos*) | ||
| 2373 | + # On AmigaOS with pdksh, this test takes hours, literally. | ||
| 2374 | + # So we just punt and use a minimum line length of 8192. | ||
| 2375 | + lt_cv_sys_max_cmd_len=8192; | ||
| 2376 | + ;; | ||
| 2377 | + | ||
| 2378 | *) | ||
| 2379 | # If test is not a shell built-in, we'll probably end up computing a | ||
| 2380 | # maximum length that is only half of the actual maximum length, but | ||
| 2381 | # we can't tell. | ||
| 2382 | - while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ | ||
| 2383 | - = "XX$testring") >/dev/null 2>&1 && | ||
| 2384 | - new_result=`expr "X$testring" : ".*" 2>&1` && | ||
| 2385 | + while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ | ||
| 2386 | + = "XX$teststring") >/dev/null 2>&1 && | ||
| 2387 | + new_result=`expr "X$teststring" : ".*" 2>&1` && | ||
| 2388 | lt_cv_sys_max_cmd_len=$new_result && | ||
| 2389 | test $i != 17 # 1/2 MB should be enough | ||
| 2390 | do | ||
| 2391 | i=`expr $i + 1` | ||
| 2392 | - testring=$testring$testring | ||
| 2393 | + teststring=$teststring$teststring | ||
| 2394 | done | ||
| 2395 | - testring= | ||
| 2396 | + teststring= | ||
| 2397 | # Add a significant safety factor because C++ compilers can tack on massive | ||
| 2398 | # amounts of additional arguments before passing them to the linker. | ||
| 2399 | # It appears as though 1/2 is a usable value. | ||
| 2400 | madcoder-guest | 1117 | @@ -8421,7 +8202,7 @@ |
| 2401 | madcoder-guest | 653 | symcode='[BCDEGQRST]' |
| 2402 | ;; | ||
| 2403 | solaris* | sysv5*) | ||
| 2404 | - symcode='[BDT]' | ||
| 2405 | + symcode='[BDRT]' | ||
| 2406 | ;; | ||
| 2407 | sysv4) | ||
| 2408 | symcode='[DFNSTU]' | ||
| 2409 | madcoder-guest | 1117 | @@ -8439,7 +8220,7 @@ |
| 2410 | madcoder-guest | 653 | # If we're using GNU nm, then use its standard symbol codes. |
| 2411 | case `$NM -V 2>&1` in | ||
| 2412 | *GNU* | *'with BFD'*) | ||
| 2413 | - symcode='[ABCDGISTW]' ;; | ||
| 2414 | + symcode='[ABCDGIRSTW]' ;; | ||
| 2415 | esac | ||
| 2416 | |||
| 2417 | # Try without a prefix undercore, then with it. | ||
| 2418 | madcoder-guest | 1117 | @@ -9188,11 +8969,11 @@ |
| 2419 | madcoder-guest | 653 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 2420 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | ||
| 2421 | -e 's:$: $lt_compiler_flag:'` | ||
| 2422 | madcoder-guest | 1117 | - (eval echo "\"\$as_me:9191: $lt_compile\"" >&5) |
| 2423 | + (eval echo "\"\$as_me:8972: $lt_compile\"" >&5) | ||
| 2424 | madcoder-guest | 653 | (eval "$lt_compile" 2>conftest.err) |
| 2425 | ac_status=$? | ||
| 2426 | cat conftest.err >&5 | ||
| 2427 | madcoder-guest | 1117 | - echo "$as_me:9195: \$? = $ac_status" >&5 |
| 2428 | + echo "$as_me:8976: \$? = $ac_status" >&5 | ||
| 2429 | madcoder-guest | 653 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 2430 | # The compiler can only warn and ignore the option if not recognized | ||
| 2431 | # So say no if there are warnings | ||
| 2432 | madcoder-guest | 1117 | @@ -9421,11 +9202,11 @@ |
| 2433 | madcoder-guest | 653 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 2434 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | ||
| 2435 | -e 's:$: $lt_compiler_flag:'` | ||
| 2436 | madcoder-guest | 1117 | - (eval echo "\"\$as_me:9424: $lt_compile\"" >&5) |
| 2437 | + (eval echo "\"\$as_me:9205: $lt_compile\"" >&5) | ||
| 2438 | madcoder-guest | 653 | (eval "$lt_compile" 2>conftest.err) |
| 2439 | ac_status=$? | ||
| 2440 | cat conftest.err >&5 | ||
| 2441 | madcoder-guest | 1117 | - echo "$as_me:9428: \$? = $ac_status" >&5 |
| 2442 | + echo "$as_me:9209: \$? = $ac_status" >&5 | ||
| 2443 | madcoder-guest | 653 | if (exit $ac_status) && test -s "$ac_outfile"; then |
| 2444 | # The compiler can only warn and ignore the option if not recognized | ||
| 2445 | # So say no if there are warnings | ||
| 2446 | madcoder-guest | 1117 | @@ -9472,13 +9253,6 @@ |
| 2447 | madcoder-guest | 653 | mkdir out |
| 2448 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | ||
| 2449 | |||
| 2450 | - # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | ||
| 2451 | - # that will create temporary files in the current directory regardless of | ||
| 2452 | - # the output directory. Thus, making CWD read-only will cause this test | ||
| 2453 | - # to fail, enabling locking or at least warning the user not to do parallel | ||
| 2454 | - # builds. | ||
| 2455 | - chmod -w . | ||
| 2456 | - | ||
| 2457 | lt_compiler_flag="-o out/conftest2.$ac_objext" | ||
| 2458 | # Insert the option either (1) after the last *FLAGS variable, or | ||
| 2459 | # (2) before a word containing "conftest.", or (3) at the end. | ||
| 2460 | madcoder-guest | 1117 | @@ -9488,11 +9262,11 @@ |
| 2461 | madcoder-guest | 653 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
| 2462 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | ||
| 2463 | -e 's:$: $lt_compiler_flag:'` | ||
| 2464 | madcoder-guest | 1117 | - (eval echo "\"\$as_me:9491: $lt_compile\"" >&5) |
| 2465 | + (eval echo "\"\$as_me:9265: $lt_compile\"" >&5) | ||
| 2466 | madcoder-guest | 653 | (eval "$lt_compile" 2>out/conftest.err) |
| 2467 | ac_status=$? | ||
| 2468 | cat out/conftest.err >&5 | ||
| 2469 | madcoder-guest | 1117 | - echo "$as_me:9495: \$? = $ac_status" >&5 |
| 2470 | + echo "$as_me:9269: \$? = $ac_status" >&5 | ||
| 2471 | madcoder-guest | 653 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 2472 | then | ||
| 2473 | # The compiler can only warn and ignore the option if not recognized | ||
| 2474 | madcoder-guest | 1117 | @@ -9502,8 +9276,11 @@ |
| 2475 | madcoder-guest | 653 | fi |
| 2476 | fi | ||
| 2477 | chmod u+w . | ||
| 2478 | - $rm conftest* out/* | ||
| 2479 | - rmdir out | ||
| 2480 | + $rm conftest* | ||
| 2481 | + # SGI C++ compiler will create directory out/ii_files/ for | ||
| 2482 | + # template instantiation | ||
| 2483 | + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files | ||
| 2484 | + $rm out/* && rmdir out | ||
| 2485 | cd .. | ||
| 2486 | rmdir conftest | ||
| 2487 | $rm conftest* | ||
| 2488 | madcoder-guest | 1117 | @@ -9631,7 +9408,7 @@ |
| 2489 | madcoder-guest | 653 | allow_undefined_flag=unsupported |
| 2490 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | ||
| 2491 | # support --undefined. This deserves some investigation. FIXME | ||
| 2492 | - archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 2493 | + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 2494 | else | ||
| 2495 | ld_shlibs=no | ||
| 2496 | fi | ||
| 2497 | madcoder-guest | 1117 | @@ -9641,13 +9418,13 @@ |
| 2498 | madcoder-guest | 653 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 2499 | # as there is no search path for DLLs. | ||
| 2500 | hardcode_libdir_flag_spec='-L$libdir' | ||
| 2501 | - allow_undefined_flag=no | ||
| 2502 | + allow_undefined_flag=unsupported | ||
| 2503 | always_export_symbols=no | ||
| 2504 | enable_shared_with_static_runtimes=yes | ||
| 2505 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | ||
| 2506 | |||
| 2507 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | ||
| 2508 | - archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 2509 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 2510 | # If the export-symbols file already is a .def file (1st line | ||
| 2511 | # is EXPORTS), use it as is; otherwise, prepend... | ||
| 2512 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | ||
| 2513 | madcoder-guest | 1117 | @@ -9656,19 +9433,19 @@ |
| 2514 | madcoder-guest | 653 | echo EXPORTS > $output_objdir/$soname.def; |
| 2515 | cat $export_symbols >> $output_objdir/$soname.def; | ||
| 2516 | fi~ | ||
| 2517 | - $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 2518 | + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 2519 | else | ||
| 2520 | ld_shlibs=no | ||
| 2521 | fi | ||
| 2522 | ;; | ||
| 2523 | |||
| 2524 | - netbsd*) | ||
| 2525 | + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 2526 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | ||
| 2527 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | ||
| 2528 | wlarc= | ||
| 2529 | else | ||
| 2530 | - archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 2531 | - archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 2532 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 2533 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 2534 | fi | ||
| 2535 | ;; | ||
| 2536 | |||
| 2537 | madcoder-guest | 1117 | @@ -9686,8 +9463,8 @@ |
| 2538 | madcoder-guest | 653 | |
| 2539 | EOF | ||
| 2540 | elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
| 2541 | - archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 2542 | - archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 2543 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 2544 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 2545 | else | ||
| 2546 | ld_shlibs=no | ||
| 2547 | fi | ||
| 2548 | madcoder-guest | 1117 | @@ -9700,10 +9477,36 @@ |
| 2549 | madcoder-guest | 653 | hardcode_shlibpath_var=no |
| 2550 | ;; | ||
| 2551 | |||
| 2552 | + linux*) | ||
| 2553 | + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
| 2554 | + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 2555 | + archive_cmds="$tmp_archive_cmds" | ||
| 2556 | + supports_anon_versioning=no | ||
| 2557 | + case `$LD -v 2>/dev/null` in | ||
| 2558 | + *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | ||
| 2559 | + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | ||
| 2560 | + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | ||
| 2561 | + *\ 2.11.*) ;; # other 2.11 versions | ||
| 2562 | + *) supports_anon_versioning=yes ;; | ||
| 2563 | + esac | ||
| 2564 | + if test $supports_anon_versioning = yes; then | ||
| 2565 | + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ | ||
| 2566 | +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | ||
| 2567 | +$echo "local: *; };" >> $output_objdir/$libname.ver~ | ||
| 2568 | + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | ||
| 2569 | + else | ||
| 2570 | + archive_expsym_cmds="$tmp_archive_cmds" | ||
| 2571 | + fi | ||
| 2572 | + link_all_deplibs=no | ||
| 2573 | + else | ||
| 2574 | + ld_shlibs=no | ||
| 2575 | + fi | ||
| 2576 | + ;; | ||
| 2577 | + | ||
| 2578 | *) | ||
| 2579 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | ||
| 2580 | - archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' | ||
| 2581 | - archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 2582 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 2583 | + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 2584 | else | ||
| 2585 | ld_shlibs=no | ||
| 2586 | fi | ||
| 2587 | madcoder-guest | 1117 | @@ -9753,9 +9556,20 @@ |
| 2588 | madcoder-guest | 653 | else |
| 2589 | 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' | ||
| 2590 | fi | ||
| 2591 | + aix_use_runtimelinking=no | ||
| 2592 | + | ||
| 2593 | + # Test if we are trying to use run time linking or normal | ||
| 2594 | + # AIX style linking. If -brtl is somewhere in LDFLAGS, we | ||
| 2595 | + # need to do runtime linking. | ||
| 2596 | + case $host_os in aix4.[23]|aix4.[23].*|aix5*) | ||
| 2597 | + for ld_flag in $LDFLAGS; do | ||
| 2598 | + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | ||
| 2599 | + aix_use_runtimelinking=yes | ||
| 2600 | + break | ||
| 2601 | + fi | ||
| 2602 | + done | ||
| 2603 | + esac | ||
| 2604 | |||
| 2605 | - # KDE requires run time linking. Make it the default. | ||
| 2606 | - aix_use_runtimelinking=yes | ||
| 2607 | exp_sym_flag='-bexport' | ||
| 2608 | no_entry_flag='-bnoentry' | ||
| 2609 | fi | ||
| 2610 | madcoder-guest | 1117 | @@ -9801,21 +9615,22 @@ |
| 2611 | madcoder-guest | 653 | shared_flag='-G' |
| 2612 | else | ||
| 2613 | if test "$aix_use_runtimelinking" = yes; then | ||
| 2614 | - shared_flag='-qmkshrobj ${wl}-G' | ||
| 2615 | + shared_flag='${wl}-G' | ||
| 2616 | else | ||
| 2617 | - shared_flag='-qmkshrobj' | ||
| 2618 | + shared_flag='${wl}-bM:SRE' | ||
| 2619 | fi | ||
| 2620 | fi | ||
| 2621 | fi | ||
| 2622 | |||
| 2623 | - # Let the compiler handle the export list. | ||
| 2624 | - always_export_symbols=no | ||
| 2625 | + # It seems that -bexpall does not export symbols beginning with | ||
| 2626 | + # underscore (_), so it is better to generate a list of symbols to export. | ||
| 2627 | + always_export_symbols=yes | ||
| 2628 | if test "$aix_use_runtimelinking" = yes; then | ||
| 2629 | # Warning - without using the other runtime loading flags (-brtl), | ||
| 2630 | # -berok will link without error, but may produce a broken library. | ||
| 2631 | allow_undefined_flag='-berok' | ||
| 2632 | # Determine the default libpath from the value encoded in an empty executable. | ||
| 2633 | - cat >conftest.$ac_ext <<_ACEOF | ||
| 2634 | + cat >conftest.$ac_ext <<_ACEOF | ||
| 2635 | /* confdefs.h. */ | ||
| 2636 | _ACEOF | ||
| 2637 | cat confdefs.h >>conftest.$ac_ext | ||
| 2638 | madcoder-guest | 1117 | @@ -9839,8 +9654,7 @@ |
| 2639 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2641 | (exit $ac_status); } && | ||
| 2642 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 2643 | - || test ! -s conftest.err' | ||
| 2644 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 2645 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2646 | (eval $ac_try) 2>&5 | ||
| 2647 | ac_status=$? | ||
| 2648 | madcoder-guest | 1117 | @@ -9867,14 +9681,13 @@ |
| 2649 | madcoder-guest | 653 | conftest$ac_exeext conftest.$ac_ext |
| 2650 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | ||
| 2651 | |||
| 2652 | - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
| 2653 | - archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" | ||
| 2654 | - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 2655 | + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
| 2656 | + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 2657 | else | ||
| 2658 | if test "$host_cpu" = ia64; then | ||
| 2659 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | ||
| 2660 | allow_undefined_flag="-z nodefs" | ||
| 2661 | - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 2662 | + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 2663 | else | ||
| 2664 | # Determine the default libpath from the value encoded in an empty executable. | ||
| 2665 | cat >conftest.$ac_ext <<_ACEOF | ||
| 2666 | madcoder-guest | 1117 | @@ -9901,8 +9714,7 @@ |
| 2667 | madcoder-guest | 653 | cat conftest.err >&5 |
| 2668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 2669 | (exit $ac_status); } && | ||
| 2670 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 2671 | - || test ! -s conftest.err' | ||
| 2672 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 2673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 2674 | (eval $ac_try) 2>&5 | ||
| 2675 | ac_status=$? | ||
| 2676 | madcoder-guest | 1117 | @@ -9940,7 +9752,7 @@ |
| 2677 | madcoder-guest | 653 | whole_archive_flag_spec=' ' |
| 2678 | archive_cmds_need_lc=yes | ||
| 2679 | # This is similar to how AIX traditionally builds it's shared libraries. | ||
| 2680 | - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 2681 | + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 2682 | fi | ||
| 2683 | fi | ||
| 2684 | ;; | ||
| 2685 | madcoder-guest | 1117 | @@ -9963,13 +9775,13 @@ |
| 2686 | madcoder-guest | 653 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 2687 | # no search path for DLLs. | ||
| 2688 | hardcode_libdir_flag_spec=' ' | ||
| 2689 | - allow_undefined_flag=no | ||
| 2690 | + allow_undefined_flag=unsupported | ||
| 2691 | # Tell ltmain to make .lib files, not .a files. | ||
| 2692 | libext=lib | ||
| 2693 | # Tell ltmain to make .dll files, not .so files. | ||
| 2694 | - shrext=".dll" | ||
| 2695 | + shrext_cmds=".dll" | ||
| 2696 | # FIXME: Setting linknames here is a bad hack. | ||
| 2697 | - archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | ||
| 2698 | + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | ||
| 2699 | # The linker will automatically build a .lib file if we build a DLL. | ||
| 2700 | old_archive_From_new_cmds='true' | ||
| 2701 | # FIXME: Should let the user specify the lib program. | ||
| 2702 | madcoder-guest | 1117 | @@ -9983,21 +9795,21 @@ |
| 2703 | madcoder-guest | 653 | archive_cmds_need_lc=no |
| 2704 | case "$host_os" in | ||
| 2705 | rhapsody* | darwin1.[012]) | ||
| 2706 | - allow_undefined_flag='-Wl,-undefined -Wl,suppress' | ||
| 2707 | + allow_undefined_flag='-undefined suppress' | ||
| 2708 | ;; | ||
| 2709 | *) # Darwin 1.3 on | ||
| 2710 | - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 2711 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 2712 | - else | ||
| 2713 | - case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 2714 | - 10.012) | ||
| 2715 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 2716 | - ;; | ||
| 2717 | - 10.*) | ||
| 2718 | - allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup' | ||
| 2719 | - ;; | ||
| 2720 | - esac | ||
| 2721 | - fi | ||
| 2722 | + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 2723 | + allow_undefined_flag='-flat_namespace -undefined suppress' | ||
| 2724 | + else | ||
| 2725 | + case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 2726 | + 10.[012]) | ||
| 2727 | + allow_undefined_flag='-flat_namespace -undefined suppress' | ||
| 2728 | + ;; | ||
| 2729 | + 10.*) | ||
| 2730 | + allow_undefined_flag='-undefined dynamic_lookup' | ||
| 2731 | + ;; | ||
| 2732 | + esac | ||
| 2733 | + fi | ||
| 2734 | ;; | ||
| 2735 | esac | ||
| 2736 | lt_int_apple_cc_single_mod=no | ||
| 2737 | madcoder-guest | 1117 | @@ -10006,18 +9818,18 @@ |
| 2738 | madcoder-guest | 653 | lt_int_apple_cc_single_mod=yes |
| 2739 | fi | ||
| 2740 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 2741 | - archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' | ||
| 2742 | + archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 2743 | else | ||
| 2744 | - archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring' | ||
| 2745 | + archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 2746 | fi | ||
| 2747 | - module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' | ||
| 2748 | + module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | ||
| 2749 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | ||
| 2750 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 2751 | - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 2752 | + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 2753 | else | ||
| 2754 | - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 2755 | + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 2756 | fi | ||
| 2757 | - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 2758 | + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 2759 | hardcode_direct=no | ||
| 2760 | hardcode_automatic=yes | ||
| 2761 | hardcode_shlibpath_var=unsupported | ||
| 2762 | madcoder-guest | 1117 | @@ -10058,8 +9870,8 @@ |
| 2763 | madcoder-guest | 653 | ;; |
| 2764 | |||
| 2765 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | ||
| 2766 | - freebsd*) | ||
| 2767 | - archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2768 | + freebsd* | kfreebsd*-gnu) | ||
| 2769 | + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2770 | hardcode_libdir_flag_spec='-R$libdir' | ||
| 2771 | hardcode_direct=yes | ||
| 2772 | hardcode_shlibpath_var=no | ||
| 2773 | madcoder-guest | 1117 | @@ -10067,7 +9879,7 @@ |
| 2774 | madcoder-guest | 653 | |
| 2775 | hpux9*) | ||
| 2776 | if test "$GCC" = yes; then | ||
| 2777 | - archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 2778 | + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 2779 | else | ||
| 2780 | 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' | ||
| 2781 | fi | ||
| 2782 | madcoder-guest | 1117 | @@ -10085,10 +9897,10 @@ |
| 2783 | madcoder-guest | 653 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 2784 | case "$host_cpu" in | ||
| 2785 | hppa*64*|ia64*) | ||
| 2786 | - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2787 | + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2788 | ;; | ||
| 2789 | *) | ||
| 2790 | - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2791 | + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2792 | ;; | ||
| 2793 | esac | ||
| 2794 | else | ||
| 2795 | madcoder-guest | 1117 | @@ -10135,7 +9947,7 @@ |
| 2796 | madcoder-guest | 653 | |
| 2797 | irix5* | irix6* | nonstopux*) | ||
| 2798 | if test "$GCC" = yes; then | ||
| 2799 | - archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 2800 | + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 2801 | else | ||
| 2802 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | ||
| 2803 | hardcode_libdir_flag_spec_ld='-rpath $libdir' | ||
| 2804 | madcoder-guest | 1117 | @@ -10145,7 +9957,7 @@ |
| 2805 | madcoder-guest | 653 | link_all_deplibs=yes |
| 2806 | ;; | ||
| 2807 | |||
| 2808 | - netbsd*) | ||
| 2809 | + netbsd* | netbsdelf*-gnu | knetbsd*-gnu) | ||
| 2810 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | ||
| 2811 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | ||
| 2812 | else | ||
| 2813 | madcoder-guest | 1117 | @@ -10168,7 +9980,7 @@ |
| 2814 | madcoder-guest | 653 | hardcode_direct=yes |
| 2815 | hardcode_shlibpath_var=no | ||
| 2816 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | ||
| 2817 | - archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2818 | + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2819 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | ||
| 2820 | export_dynamic_flag_spec='${wl}-E' | ||
| 2821 | else | ||
| 2822 | madcoder-guest | 1117 | @@ -10178,7 +9990,7 @@ |
| 2823 | madcoder-guest | 653 | hardcode_libdir_flag_spec='-R$libdir' |
| 2824 | ;; | ||
| 2825 | *) | ||
| 2826 | - archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2827 | + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2828 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | ||
| 2829 | ;; | ||
| 2830 | esac | ||
| 2831 | madcoder-guest | 1117 | @@ -10189,14 +10001,14 @@ |
| 2832 | madcoder-guest | 653 | hardcode_libdir_flag_spec='-L$libdir' |
| 2833 | hardcode_minus_L=yes | ||
| 2834 | allow_undefined_flag=unsupported | ||
| 2835 | - 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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def' | ||
| 2836 | + 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' | ||
| 2837 | old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | ||
| 2838 | ;; | ||
| 2839 | |||
| 2840 | osf3*) | ||
| 2841 | if test "$GCC" = yes; then | ||
| 2842 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | ||
| 2843 | - archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 2844 | + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 2845 | else | ||
| 2846 | allow_undefined_flag=' -expect_unresolved \*' | ||
| 2847 | archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | ||
| 2848 | madcoder-guest | 1117 | @@ -10208,7 +10020,7 @@ |
| 2849 | madcoder-guest | 653 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 2850 | if test "$GCC" = yes; then | ||
| 2851 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | ||
| 2852 | - archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 2853 | + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | ||
| 2854 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | ||
| 2855 | else | ||
| 2856 | allow_undefined_flag=' -expect_unresolved \*' | ||
| 2857 | madcoder-guest | 1117 | @@ -10233,9 +10045,9 @@ |
| 2858 | madcoder-guest | 653 | solaris*) |
| 2859 | no_undefined_flag=' -z text' | ||
| 2860 | if test "$GCC" = yes; then | ||
| 2861 | - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2862 | + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2863 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | ||
| 2864 | - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp' | ||
| 2865 | + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | ||
| 2866 | else | ||
| 2867 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | ||
| 2868 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | ||
| 2869 | madcoder-guest | 1117 | @@ -10255,7 +10067,7 @@ |
| 2870 | madcoder-guest | 653 | if test "x$host_vendor" = xsequent; then |
| 2871 | # Use $CC to link under sequent, because it throws in some extra .o | ||
| 2872 | # files that make .init and .fini sections work. | ||
| 2873 | - archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2874 | + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2875 | else | ||
| 2876 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | ||
| 2877 | fi | ||
| 2878 | madcoder-guest | 1117 | @@ -10315,9 +10127,9 @@ |
| 2879 | madcoder-guest | 653 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
| 2880 | no_undefined_flag='${wl}-z ${wl}text' | ||
| 2881 | if test "$GCC" = yes; then | ||
| 2882 | - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2883 | + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2884 | else | ||
| 2885 | - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' | ||
| 2886 | + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | ||
| 2887 | fi | ||
| 2888 | runpath_var='LD_RUN_PATH' | ||
| 2889 | hardcode_shlibpath_var=no | ||
| 2890 | madcoder-guest | 1117 | @@ -10423,7 +10235,7 @@ |
| 2891 | madcoder-guest | 653 | library_names_spec= |
| 2892 | libname_spec='lib$name' | ||
| 2893 | soname_spec= | ||
| 2894 | -shrext=".so" | ||
| 2895 | +shrext_cmds=".so" | ||
| 2896 | postinstall_cmds= | ||
| 2897 | postuninstall_cmds= | ||
| 2898 | finish_cmds= | ||
| 2899 | madcoder-guest | 1117 | @@ -10433,7 +10245,20 @@ |
| 2900 | madcoder-guest | 653 | version_type=none |
| 2901 | dynamic_linker="$host_os ld.so" | ||
| 2902 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | ||
| 2903 | -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | ||
| 2904 | +if test "$GCC" = yes; then | ||
| 2905 | + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | ||
| 2906 | + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | ||
| 2907 | + # if the path contains ";" then we assume it to be the separator | ||
| 2908 | + # otherwise default to the standard path separator (i.e. ":") - it is | ||
| 2909 | + # assumed that no part of a normal pathname contains ";" but that should | ||
| 2910 | + # okay in the real world where ";" in dirpaths is itself problematic. | ||
| 2911 | + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | ||
| 2912 | + else | ||
| 2913 | + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | ||
| 2914 | + fi | ||
| 2915 | +else | ||
| 2916 | + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | ||
| 2917 | +fi | ||
| 2918 | need_lib_prefix=unknown | ||
| 2919 | hardcode_into_libs=no | ||
| 2920 | |||
| 2921 | madcoder-guest | 1117 | @@ -10498,7 +10323,7 @@ |
| 2922 | madcoder-guest | 653 | amigaos*) |
| 2923 | library_names_spec='$libname.ixlibrary $libname.a' | ||
| 2924 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | ||
| 2925 | - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | ||
| 2926 | + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | ||
| 2927 | ;; | ||
| 2928 | |||
| 2929 | beos*) | ||
| 2930 | madcoder-guest | 1117 | @@ -10523,7 +10348,7 @@ |
| 2931 | madcoder-guest | 653 | |
| 2932 | cygwin* | mingw* | pw32*) | ||
| 2933 | version_type=windows | ||
| 2934 | - shrext=".dll" | ||
| 2935 | + shrext_cmds=".dll" | ||
| 2936 | need_version=no | ||
| 2937 | need_lib_prefix=no | ||
| 2938 | |||
| 2939 | madcoder-guest | 1117 | @@ -10588,7 +10413,7 @@ |
| 2940 | madcoder-guest | 653 | soname_spec='${libname}${release}${major}$shared_ext' |
| 2941 | shlibpath_overrides_runpath=yes | ||
| 2942 | shlibpath_var=DYLD_LIBRARY_PATH | ||
| 2943 | - shrext='$(test .$module = .yes && echo .so || echo .dylib)' | ||
| 2944 | + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' | ||
| 2945 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | ||
| 2946 | if test "$GCC" = yes; then | ||
| 2947 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | ||
| 2948 | madcoder-guest | 1117 | @@ -10611,7 +10436,7 @@ |
| 2949 | madcoder-guest | 653 | dynamic_linker=no |
| 2950 | ;; | ||
| 2951 | |||
| 2952 | -freebsd*-gnu*) | ||
| 2953 | +kfreebsd*-gnu) | ||
| 2954 | version_type=linux | ||
| 2955 | need_lib_prefix=no | ||
| 2956 | need_version=no | ||
| 2957 | madcoder-guest | 1117 | @@ -10671,7 +10496,7 @@ |
| 2958 | madcoder-guest | 653 | need_version=no |
| 2959 | case "$host_cpu" in | ||
| 2960 | ia64*) | ||
| 2961 | - shrext='.so' | ||
| 2962 | + shrext_cmds='.so' | ||
| 2963 | hardcode_into_libs=yes | ||
| 2964 | dynamic_linker="$host_os dld.so" | ||
| 2965 | shlibpath_var=LD_LIBRARY_PATH | ||
| 2966 | madcoder-guest | 1117 | @@ -10686,7 +10511,7 @@ |
| 2967 | madcoder-guest | 653 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 2968 | ;; | ||
| 2969 | hppa*64*) | ||
| 2970 | - shrext='.sl' | ||
| 2971 | + shrext_cmds='.sl' | ||
| 2972 | hardcode_into_libs=yes | ||
| 2973 | dynamic_linker="$host_os dld.sl" | ||
| 2974 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | ||
| 2975 | madcoder-guest | 1117 | @@ -10697,7 +10522,7 @@ |
| 2976 | madcoder-guest | 653 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 2977 | ;; | ||
| 2978 | *) | ||
| 2979 | - shrext='.sl' | ||
| 2980 | + shrext_cmds='.sl' | ||
| 2981 | dynamic_linker="$host_os dld.sl" | ||
| 2982 | shlibpath_var=SHLIB_PATH | ||
| 2983 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | ||
| 2984 | madcoder-guest | 1117 | @@ -10759,22 +10584,19 @@ |
| 2985 | madcoder-guest | 653 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2986 | soname_spec='${libname}${release}${shared_ext}$major' | ||
| 2987 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | ||
| 2988 | - libsuff= | ||
| 2989 | - if test "x$LINUX_64_MODE" = x64; then | ||
| 2990 | - # Some platforms are per default 64-bit, so there's no /lib64 | ||
| 2991 | - if test -d /lib64; then | ||
| 2992 | - libsuff=64 | ||
| 2993 | - fi | ||
| 2994 | - fi | ||
| 2995 | shlibpath_var=LD_LIBRARY_PATH | ||
| 2996 | shlibpath_overrides_runpath=no | ||
| 2997 | - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" | ||
| 2998 | - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" | ||
| 2999 | # This implies no fast_install, which is unacceptable. | ||
| 3000 | # Some rework will be needed to allow for fast_install | ||
| 3001 | # before this can be enabled. | ||
| 3002 | hardcode_into_libs=yes | ||
| 3003 | |||
| 3004 | + # Append ld.so.conf contents to the search path | ||
| 3005 | + if test -f /etc/ld.so.conf; then | ||
| 3006 | + lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` | ||
| 3007 | + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | ||
| 3008 | + fi | ||
| 3009 | + | ||
| 3010 | # We used to test for /lib/ld.so.1 and disable shared libraries on | ||
| 3011 | # powerpc, because MkLinux only supported shared libraries with the | ||
| 3012 | # GNU dynamic linker. Since this was broken with cross compilers, | ||
| 3013 | madcoder-guest | 1117 | @@ -10784,6 +10606,30 @@ |
| 3014 | madcoder-guest | 653 | dynamic_linker='GNU/Linux ld.so' |
| 3015 | ;; | ||
| 3016 | |||
| 3017 | +netbsdelf*-gnu) | ||
| 3018 | + version_type=linux | ||
| 3019 | + need_lib_prefix=no | ||
| 3020 | + need_version=no | ||
| 3021 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | ||
| 3022 | + soname_spec='${libname}${release}${shared_ext}$major' | ||
| 3023 | + shlibpath_var=LD_LIBRARY_PATH | ||
| 3024 | + shlibpath_overrides_runpath=no | ||
| 3025 | + hardcode_into_libs=yes | ||
| 3026 | + dynamic_linker='NetBSD ld.elf_so' | ||
| 3027 | + ;; | ||
| 3028 | + | ||
| 3029 | +knetbsd*-gnu) | ||
| 3030 | + version_type=linux | ||
| 3031 | + need_lib_prefix=no | ||
| 3032 | + need_version=no | ||
| 3033 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | ||
| 3034 | + soname_spec='${libname}${release}${shared_ext}$major' | ||
| 3035 | + shlibpath_var=LD_LIBRARY_PATH | ||
| 3036 | + shlibpath_overrides_runpath=no | ||
| 3037 | + hardcode_into_libs=yes | ||
| 3038 | + dynamic_linker='GNU ld.so' | ||
| 3039 | + ;; | ||
| 3040 | + | ||
| 3041 | netbsd*) | ||
| 3042 | version_type=sunos | ||
| 3043 | need_lib_prefix=no | ||
| 3044 | madcoder-guest | 1117 | @@ -10793,7 +10639,7 @@ |
| 3045 | madcoder-guest | 653 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 3046 | dynamic_linker='NetBSD (a.out) ld.so' | ||
| 3047 | else | ||
| 3048 | - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | ||
| 3049 | + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | ||
| 3050 | soname_spec='${libname}${release}${shared_ext}$major' | ||
| 3051 | dynamic_linker='NetBSD ld.elf_so' | ||
| 3052 | fi | ||
| 3053 | madcoder-guest | 1117 | @@ -10822,7 +10668,7 @@ |
| 3054 | madcoder-guest | 653 | openbsd*) |
| 3055 | version_type=sunos | ||
| 3056 | need_lib_prefix=no | ||
| 3057 | - need_version=no | ||
| 3058 | + need_version=yes | ||
| 3059 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | ||
| 3060 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | ||
| 3061 | shlibpath_var=LD_LIBRARY_PATH | ||
| 3062 | madcoder-guest | 1117 | @@ -10842,7 +10688,7 @@ |
| 3063 | madcoder-guest | 653 | |
| 3064 | os2*) | ||
| 3065 | libname_spec='$name' | ||
| 3066 | - shrext=".dll" | ||
| 3067 | + shrext_cmds=".dll" | ||
| 3068 | need_lib_prefix=no | ||
| 3069 | library_names_spec='$libname${shared_ext} $libname.a' | ||
| 3070 | dynamic_linker='OS/2 ld.exe' | ||
| 3071 | madcoder-guest | 1117 | @@ -11071,8 +10917,7 @@ |
| 3072 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3074 | (exit $ac_status); } && | ||
| 3075 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 3076 | - || test ! -s conftest.err' | ||
| 3077 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3079 | (eval $ac_try) 2>&5 | ||
| 3080 | ac_status=$? | ||
| 3081 | madcoder-guest | 1117 | @@ -11175,8 +11020,7 @@ |
| 3082 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3084 | (exit $ac_status); } && | ||
| 3085 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 3086 | - || test ! -s conftest.err' | ||
| 3087 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3088 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3089 | (eval $ac_try) 2>&5 | ||
| 3090 | ac_status=$? | ||
| 3091 | madcoder-guest | 1117 | @@ -11241,8 +11085,7 @@ |
| 3092 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3094 | (exit $ac_status); } && | ||
| 3095 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 3096 | - || test ! -s conftest.err' | ||
| 3097 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3099 | (eval $ac_try) 2>&5 | ||
| 3100 | ac_status=$? | ||
| 3101 | madcoder-guest | 1117 | @@ -11335,8 +11178,7 @@ |
| 3102 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3103 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3104 | (exit $ac_status); } && | ||
| 3105 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 3106 | - || test ! -s conftest.err' | ||
| 3107 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3108 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3109 | (eval $ac_try) 2>&5 | ||
| 3110 | ac_status=$? | ||
| 3111 | madcoder-guest | 1117 | @@ -11401,8 +11243,7 @@ |
| 3112 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3114 | (exit $ac_status); } && | ||
| 3115 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 3116 | - || test ! -s conftest.err' | ||
| 3117 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3119 | (eval $ac_try) 2>&5 | ||
| 3120 | ac_status=$? | ||
| 3121 | madcoder-guest | 1117 | @@ -11468,8 +11309,7 @@ |
| 3122 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3124 | (exit $ac_status); } && | ||
| 3125 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 3126 | - || test ! -s conftest.err' | ||
| 3127 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3128 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3129 | (eval $ac_try) 2>&5 | ||
| 3130 | ac_status=$? | ||
| 3131 | madcoder-guest | 1117 | @@ -11535,8 +11375,7 @@ |
| 3132 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3134 | (exit $ac_status); } && | ||
| 3135 | - { ac_try='test -z "$ac_c_werror_flag" | ||
| 3136 | - || test ! -s conftest.err' | ||
| 3137 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3139 | (eval $ac_try) 2>&5 | ||
| 3140 | ac_status=$? | ||
| 3141 | madcoder-guest | 1117 | @@ -11611,7 +11450,7 @@ |
| 3142 | madcoder-guest | 653 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 3143 | lt_status=$lt_dlunknown | ||
| 3144 | cat > conftest.$ac_ext <<EOF | ||
| 3145 | madcoder-guest | 1117 | -#line 11614 "configure" |
| 3146 | +#line 11453 "configure" | ||
| 3147 | madcoder-guest | 653 | #include "confdefs.h" |
| 3148 | |||
| 3149 | #if HAVE_DLFCN_H | ||
| 3150 | madcoder-guest | 1117 | @@ -11709,7 +11548,7 @@ |
| 3151 | madcoder-guest | 653 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 3152 | lt_status=$lt_dlunknown | ||
| 3153 | cat > conftest.$ac_ext <<EOF | ||
| 3154 | madcoder-guest | 1117 | -#line 11712 "configure" |
| 3155 | +#line 11551 "configure" | ||
| 3156 | madcoder-guest | 653 | #include "confdefs.h" |
| 3157 | |||
| 3158 | #if HAVE_DLFCN_H | ||
| 3159 | madcoder-guest | 1117 | @@ -11834,7 +11673,7 @@ |
| 3160 | madcoder-guest | 653 | fi |
| 3161 | ;; | ||
| 3162 | |||
| 3163 | -aix4*) | ||
| 3164 | +aix4* | aix5*) | ||
| 3165 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | ||
| 3166 | test "$enable_shared" = yes && enable_static=no | ||
| 3167 | fi | ||
| 3168 | madcoder-guest | 1117 | @@ -11844,29 +11683,29 @@ |
| 3169 | madcoder-guest | 653 | archive_cmds_need_lc=no |
| 3170 | case "$host_os" in | ||
| 3171 | rhapsody* | darwin1.[012]) | ||
| 3172 | - allow_undefined_flag='-Wl,-undefined -Wl,suppress' | ||
| 3173 | + allow_undefined_flag='-undefined suppress' | ||
| 3174 | ;; | ||
| 3175 | *) # Darwin 1.3 on | ||
| 3176 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 3177 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 3178 | + allow_undefined_flag='-flat_namespace -undefined suppress' | ||
| 3179 | else | ||
| 3180 | - case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 3181 | - 10.012) | ||
| 3182 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 3183 | - ;; | ||
| 3184 | - 10.*) | ||
| 3185 | - allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup' | ||
| 3186 | - ;; | ||
| 3187 | - esac | ||
| 3188 | + case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 3189 | + 10.[012]) | ||
| 3190 | + allow_undefined_flag='-flat_namespace -undefined suppress' | ||
| 3191 | + ;; | ||
| 3192 | + 10.*) | ||
| 3193 | + allow_undefined_flag='-undefined dynamic_lookup' | ||
| 3194 | + ;; | ||
| 3195 | + esac | ||
| 3196 | fi | ||
| 3197 | ;; | ||
| 3198 | esac | ||
| 3199 | output_verbose_link_cmd='echo' | ||
| 3200 | - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' | ||
| 3201 | - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' | ||
| 3202 | + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' | ||
| 3203 | + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | ||
| 3204 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | ||
| 3205 | - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3206 | - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3207 | + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3208 | + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3209 | hardcode_direct=no | ||
| 3210 | hardcode_automatic=yes | ||
| 3211 | hardcode_shlibpath_var=unsupported | ||
| 3212 | madcoder-guest | 1117 | @@ -11900,7 +11739,8 @@ |
| 3213 | madcoder-guest | 653 | # Now quote all the things that may contain metacharacters while being |
| 3214 | # careful not to overquote the AC_SUBSTed values. We take copies of the | ||
| 3215 | # variables and quote the copies for generation of the libtool script. | ||
| 3216 | - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | ||
| 3217 | + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ | ||
| 3218 | + SED SHELL STRIP \ | ||
| 3219 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | ||
| 3220 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | ||
| 3221 | deplibs_check_method reload_flag reload_cmds need_locks \ | ||
| 3222 | madcoder-guest | 1117 | @@ -12078,7 +11918,7 @@ |
| 3223 | madcoder-guest | 653 | NM=$lt_NM |
| 3224 | |||
| 3225 | # A symbol stripping program | ||
| 3226 | -STRIP=$STRIP | ||
| 3227 | +STRIP=$lt_STRIP | ||
| 3228 | |||
| 3229 | # Used to examine libraries when file_magic_cmd begins "file" | ||
| 3230 | MAGIC_CMD=$MAGIC_CMD | ||
| 3231 | madcoder-guest | 1117 | @@ -12109,7 +11949,7 @@ |
| 3232 | madcoder-guest | 653 | libext="$libext" |
| 3233 | |||
| 3234 | # Shared library suffix (normally ".so"). | ||
| 3235 | -shrext='$shrext' | ||
| 3236 | +shrext_cmds='$shrext_cmds' | ||
| 3237 | |||
| 3238 | # Executable file suffix (normally ""). | ||
| 3239 | exeext="$exeext" | ||
| 3240 | madcoder-guest | 1117 | @@ -12351,7 +12191,10 @@ |
| 3241 | madcoder-guest | 653 | # If there is no Makefile yet, we rely on a make rule to execute |
| 3242 | # `config.status --recheck' to rerun these tests and create the | ||
| 3243 | # libtool script then. | ||
| 3244 | - test -f Makefile && make "$ltmain" | ||
| 3245 | + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` | ||
| 3246 | + if test -f "$ltmain_in"; then | ||
| 3247 | + test -f Makefile && make "$ltmain" | ||
| 3248 | + fi | ||
| 3249 | fi | ||
| 3250 | |||
| 3251 | |||
| 3252 | madcoder-guest | 1117 | @@ -12619,8 +12462,8 @@ |
| 3253 | madcoder-guest | 653 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
| 3254 | # archiving commands below assume that GNU ld is being used. | ||
| 3255 | if test "$with_gnu_ld" = yes; then | ||
| 3256 | - archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib' | ||
| 3257 | - archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 3258 | + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | ||
| 3259 | + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | ||
| 3260 | |||
| 3261 | hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' | ||
| 3262 | export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | ||
| 3263 | madcoder-guest | 1117 | @@ -12646,7 +12489,7 @@ |
| 3264 | madcoder-guest | 653 | # linker, instead of GNU ld. If possible, this setting should |
| 3265 | # overridden to take advantage of the native linker features on | ||
| 3266 | # the platform it is being used on. | ||
| 3267 | - archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib' | ||
| 3268 | + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | ||
| 3269 | fi | ||
| 3270 | |||
| 3271 | # Commands to make compiler produce verbose output that lists | ||
| 3272 | madcoder-guest | 1117 | @@ -12677,8 +12520,22 @@ |
| 3273 | madcoder-guest | 653 | exp_sym_flag='-Bexport' |
| 3274 | no_entry_flag="" | ||
| 3275 | else | ||
| 3276 | - # KDE requires run time linking. Make it the default. | ||
| 3277 | - aix_use_runtimelinking=yes | ||
| 3278 | + aix_use_runtimelinking=no | ||
| 3279 | + | ||
| 3280 | + # Test if we are trying to use run time linking or normal | ||
| 3281 | + # AIX style linking. If -brtl is somewhere in LDFLAGS, we | ||
| 3282 | + # need to do runtime linking. | ||
| 3283 | + case $host_os in aix4.[23]|aix4.[23].*|aix5*) | ||
| 3284 | + for ld_flag in $LDFLAGS; do | ||
| 3285 | + case $ld_flag in | ||
| 3286 | + *-brtl*) | ||
| 3287 | + aix_use_runtimelinking=yes | ||
| 3288 | + break | ||
| 3289 | + ;; | ||
| 3290 | + esac | ||
| 3291 | + done | ||
| 3292 | + esac | ||
| 3293 | + | ||
| 3294 | exp_sym_flag='-bexport' | ||
| 3295 | no_entry_flag='-bnoentry' | ||
| 3296 | fi | ||
| 3297 | madcoder-guest | 1117 | @@ -12724,15 +12581,16 @@ |
| 3298 | madcoder-guest | 653 | shared_flag='-G' |
| 3299 | else | ||
| 3300 | if test "$aix_use_runtimelinking" = yes; then | ||
| 3301 | - shared_flag='-qmkshrobj ${wl}-G' | ||
| 3302 | + shared_flag='${wl}-G' | ||
| 3303 | else | ||
| 3304 | - shared_flag='-qmkshrobj' | ||
| 3305 | + shared_flag='${wl}-bM:SRE' | ||
| 3306 | fi | ||
| 3307 | fi | ||
| 3308 | fi | ||
| 3309 | |||
| 3310 | - # Let the compiler handle the export list. | ||
| 3311 | - always_export_symbols_CXX=no | ||
| 3312 | + # It seems that -bexpall does not export symbols beginning with | ||
| 3313 | + # underscore (_), so it is better to generate a list of symbols to export. | ||
| 3314 | + always_export_symbols_CXX=yes | ||
| 3315 | if test "$aix_use_runtimelinking" = yes; then | ||
| 3316 | # Warning - without using the other runtime loading flags (-brtl), | ||
| 3317 | # -berok will link without error, but may produce a broken library. | ||
| 3318 | madcoder-guest | 1117 | @@ -12762,8 +12620,7 @@ |
| 3319 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3321 | (exit $ac_status); } && | ||
| 3322 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 3323 | - || test ! -s conftest.err' | ||
| 3324 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 3325 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3326 | (eval $ac_try) 2>&5 | ||
| 3327 | ac_status=$? | ||
| 3328 | madcoder-guest | 1117 | @@ -12792,13 +12649,12 @@ |
| 3329 | madcoder-guest | 653 | |
| 3330 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | ||
| 3331 | |||
| 3332 | - archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" | ||
| 3333 | - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 3334 | + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | ||
| 3335 | else | ||
| 3336 | if test "$host_cpu" = ia64; then | ||
| 3337 | hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' | ||
| 3338 | allow_undefined_flag_CXX="-z nodefs" | ||
| 3339 | - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 3340 | + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | ||
| 3341 | else | ||
| 3342 | # Determine the default libpath from the value encoded in an empty executable. | ||
| 3343 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3344 | madcoder-guest | 1117 | @@ -12825,8 +12681,7 @@ |
| 3345 | madcoder-guest | 653 | cat conftest.err >&5 |
| 3346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3347 | (exit $ac_status); } && | ||
| 3348 | - { ac_try='test -z "$ac_cxx_werror_flag" | ||
| 3349 | - || test ! -s conftest.err' | ||
| 3350 | + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' | ||
| 3351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3352 | (eval $ac_try) 2>&5 | ||
| 3353 | ac_status=$? | ||
| 3354 | madcoder-guest | 1117 | @@ -12864,7 +12719,7 @@ |
| 3355 | madcoder-guest | 653 | whole_archive_flag_spec_CXX=' ' |
| 3356 | archive_cmds_need_lc_CXX=yes | ||
| 3357 | # This is similar to how AIX traditionally builds it's shared libraries. | ||
| 3358 | - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 3359 | + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | ||
| 3360 | fi | ||
| 3361 | fi | ||
| 3362 | ;; | ||
| 3363 | madcoder-guest | 1117 | @@ -12881,12 +12736,12 @@ |
| 3364 | madcoder-guest | 653 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
| 3365 | # as there is no search path for DLLs. | ||
| 3366 | hardcode_libdir_flag_spec_CXX='-L$libdir' | ||
| 3367 | - allow_undefined_flag_CXX=no | ||
| 3368 | + allow_undefined_flag_CXX=unsupported | ||
| 3369 | always_export_symbols_CXX=no | ||
| 3370 | enable_shared_with_static_runtimes_CXX=yes | ||
| 3371 | |||
| 3372 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | ||
| 3373 | - archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 3374 | + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 3375 | # If the export-symbols file already is a .def file (1st line | ||
| 3376 | # is EXPORTS), use it as is; otherwise, prepend... | ||
| 3377 | archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | ||
| 3378 | madcoder-guest | 1117 | @@ -12895,7 +12750,7 @@ |
| 3379 | madcoder-guest | 653 | echo EXPORTS > $output_objdir/$soname.def; |
| 3380 | cat $export_symbols >> $output_objdir/$soname.def; | ||
| 3381 | fi~ | ||
| 3382 | - $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 3383 | + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | ||
| 3384 | else | ||
| 3385 | ld_shlibs_CXX=no | ||
| 3386 | fi | ||
| 3387 | madcoder-guest | 1117 | @@ -12906,20 +12761,20 @@ |
| 3388 | madcoder-guest | 653 | archive_cmds_need_lc_CXX=no |
| 3389 | case "$host_os" in | ||
| 3390 | rhapsody* | darwin1.[012]) | ||
| 3391 | - allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress' | ||
| 3392 | + allow_undefined_flag_CXX='-undefined suppress' | ||
| 3393 | ;; | ||
| 3394 | *) # Darwin 1.3 on | ||
| 3395 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | ||
| 3396 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 3397 | + allow_undefined_flag_CXX='-flat_namespace -undefined suppress' | ||
| 3398 | else | ||
| 3399 | - case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 3400 | - 10.012) | ||
| 3401 | - allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' | ||
| 3402 | - ;; | ||
| 3403 | - 10.*) | ||
| 3404 | - allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup' | ||
| 3405 | - ;; | ||
| 3406 | - esac | ||
| 3407 | + case ${MACOSX_DEPLOYMENT_TARGET} in | ||
| 3408 | + 10.[012]) | ||
| 3409 | + allow_undefined_flag_CXX='-flat_namespace -undefined suppress' | ||
| 3410 | + ;; | ||
| 3411 | + 10.*) | ||
| 3412 | + allow_undefined_flag_CXX='-undefined dynamic_lookup' | ||
| 3413 | + ;; | ||
| 3414 | + esac | ||
| 3415 | fi | ||
| 3416 | ;; | ||
| 3417 | esac | ||
| 3418 | madcoder-guest | 1117 | @@ -12929,19 +12784,19 @@ |
| 3419 | madcoder-guest | 653 | lt_int_apple_cc_single_mod=yes |
| 3420 | fi | ||
| 3421 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 3422 | - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' | ||
| 3423 | + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 3424 | else | ||
| 3425 | - archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring' | ||
| 3426 | + archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | ||
| 3427 | fi | ||
| 3428 | - module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' | ||
| 3429 | + module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' | ||
| 3430 | |||
| 3431 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | ||
| 3432 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | ||
| 3433 | - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3434 | + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3435 | else | ||
| 3436 | - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3437 | + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3438 | fi | ||
| 3439 | - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3440 | + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | ||
| 3441 | hardcode_direct_CXX=no | ||
| 3442 | hardcode_automatic_CXX=yes | ||
| 3443 | hardcode_shlibpath_var_CXX=unsupported | ||
| 3444 | madcoder-guest | 1117 | @@ -12976,7 +12831,7 @@ |
| 3445 | madcoder-guest | 653 | freebsd-elf*) |
| 3446 | archive_cmds_need_lc_CXX=no | ||
| 3447 | ;; | ||
| 3448 | - freebsd*) | ||
| 3449 | + freebsd* | kfreebsd*-gnu) | ||
| 3450 | # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | ||
| 3451 | # conventions | ||
| 3452 | ld_shlibs_CXX=yes | ||
| 3453 | madcoder-guest | 1117 | @@ -12998,7 +12853,7 @@ |
| 3454 | madcoder-guest | 653 | ld_shlibs_CXX=no |
| 3455 | ;; | ||
| 3456 | aCC) | ||
| 3457 | - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 3458 | + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 3459 | # Commands to make compiler produce verbose output that lists | ||
| 3460 | # what "hidden" libraries, object files and flags are used when | ||
| 3461 | # linking a shared library. | ||
| 3462 | madcoder-guest | 1117 | @@ -13007,11 +12862,11 @@ |
| 3463 | madcoder-guest | 653 | # explicitly linking system object files so we need to strip them |
| 3464 | # from the output so that they don't get included in the library | ||
| 3465 | # dependencies. | ||
| 3466 | - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | ||
| 3467 | + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | ||
| 3468 | ;; | ||
| 3469 | *) | ||
| 3470 | if test "$GXX" = yes; then | ||
| 3471 | - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 3472 | + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | ||
| 3473 | else | ||
| 3474 | # FIXME: insert proper C++ library support | ||
| 3475 | ld_shlibs_CXX=no | ||
| 3476 | madcoder-guest | 1117 | @@ -13068,7 +12923,7 @@ |
| 3477 | madcoder-guest | 653 | archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
| 3478 | ;; | ||
| 3479 | *) | ||
| 3480 | - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' | ||
| 3481 | + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | ||
| 3482 | ;; | ||
| 3483 | esac | ||
| 3484 | # Commands to make compiler produce verbose output that lists | ||
| 3485 | madcoder-guest | 1117 | @@ -13089,7 +12944,7 @@ |
| 3486 | madcoder-guest | 653 | archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
| 3487 | ;; | ||
| 3488 | *) | ||
| 3489 | - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' | ||
| 3490 | + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | ||
| 3491 |