Changeset 75
- Timestamp:
- 04/29/08 12:03:50
- Files:
-
- spatialindex/trunk/aclocal.m4 (modified) (205 diffs)
- spatialindex/trunk/configure.ac (modified) (1 diff)
- spatialindex/trunk/INSTALL (modified) (1 diff)
- spatialindex/trunk/Makefile.in (modified) (28 diffs)
- spatialindex/trunk/mkinstalldirs (modified) (4 diffs)
- spatialindex/trunk/regressiontest/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/regressiontest/mvrtree/Makefile.in (modified) (20 diffs)
- spatialindex/trunk/regressiontest/rtree/Makefile.in (modified) (20 diffs)
- spatialindex/trunk/regressiontest/tprtree/Makefile.in (modified) (20 diffs)
- spatialindex/trunk/src/storagemanager/RandomEvictionsBuffer.cc (modified) (1 diff)
- spatialindex/trunk/src/tools/ExternalSort.cc (modified) (1 diff)
- spatialindex/trunk/src/tools/ExternalSort.h (modified) (1 diff)
- spatialindex/trunk/src/tools/TemporaryFile.cc (modified) (3 diffs)
- spatialindex/trunk/src/tools/Tools.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spatialindex/trunk/aclocal.m4
r44 r75 1 # generated automatically by aclocal 1. 10-*- Autoconf -*-2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 ,4 # 2005, 2006Free Software Foundation, Inc.1 # generated automatically by aclocal 1.9.2 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 4 # Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation 6 6 # gives unlimited permission to copy and/or distribute it, … … 12 12 # PARTICULAR PURPOSE. 13 13 14 m4_if(m4_PACKAGE_VERSION, [2.61],,15 [m4_fatal([this file was generated for autoconf 2.61.16 You have another version of autoconf. If you want to use that,17 you should regenerate the build system entirely.], [63])])18 19 14 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 20 15 21 # serial 4 8AC_PROG_LIBTOOL16 # serial 47 AC_PROG_LIBTOOL 22 17 23 18 … … 129 124 # Sed substitution that helps us do robust quoting. It backslashifies 130 125 # metacharacters that are still active within double-quoted strings. 131 Xsed='sed -e 1s/^X//'126 Xsed='sed -e s/^X//' 132 127 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 133 128 … … 149 144 can_build_shared=yes 150 145 151 # All known linkers require a `.a' archive for static linking (except M SVC,146 # All known linkers require a `.a' archive for static linking (except M$VC, 152 147 # which needs '.lib'). 153 148 libext=a … … 169 164 test -z "$CC" && CC=cc 170 165 test -z "$LTCC" && LTCC=$CC 171 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS172 166 test -z "$DLLTOOL" && DLLTOOL=dlltool 173 167 test -z "$LD" && LD=ld … … 189 183 case $host_os in 190 184 openbsd*) 191 old_postinstall_cmds=" $old_postinstall_cmds~\$RANLIB -t \$oldlib"185 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" 192 186 ;; 193 187 *) 194 old_postinstall_cmds=" $old_postinstall_cmds~\$RANLIB \$oldlib"188 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" 195 189 ;; 196 190 esac 197 191 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 198 192 fi 199 200 _LT_CC_BASENAME([$compiler])201 193 202 194 # Only perform the check for file, if the check method requires it … … 240 232 LTCC=${LTCC-"$CC"} 241 233 242 # If no C compiler flags were specified, use CFLAGS.243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}244 245 234 # Allow CC to be a program name with arguments. 246 235 compiler=$CC 247 236 ])# _LT_AC_SYS_COMPILER 248 249 250 # _LT_CC_BASENAME(CC)251 # -------------------252 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.253 AC_DEFUN([_LT_CC_BASENAME],254 [for cc_temp in $1""; do255 case $cc_temp in256 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;257 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;258 \-*) ;;259 *) break;;260 esac261 done262 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`263 ])264 265 266 # _LT_COMPILER_BOILERPLATE267 # ------------------------268 # Check for compiler boilerplate output or warnings with269 # the simple compiler test code.270 AC_DEFUN([_LT_COMPILER_BOILERPLATE],271 [ac_outfile=conftest.$ac_objext272 printf "$lt_simple_compile_test_code" >conftest.$ac_ext273 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err274 _lt_compiler_boilerplate=`cat conftest.err`275 $rm conftest*276 ])# _LT_COMPILER_BOILERPLATE277 278 279 # _LT_LINKER_BOILERPLATE280 # ----------------------281 # Check for linker boilerplate output or warnings with282 # the simple link test code.283 AC_DEFUN([_LT_LINKER_BOILERPLATE],284 [ac_outfile=conftest.$ac_objext285 printf "$lt_simple_link_test_code" >conftest.$ac_ext286 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err287 _lt_linker_boilerplate=`cat conftest.err`288 $rm conftest*289 ])# _LT_LINKER_BOILERPLATE290 237 291 238 … … 362 309 # The HP-UX ksh and POSIX shell print the target directory to stdout 363 310 # if CDPATH is set. 364 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 311 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 365 312 366 313 if test -z "$ECHO"; then … … 369 316 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 370 317 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 371 if (echo_test_string= `eval $cmd`) 2>/dev/null &&372 echo_test_string= `eval $cmd`&&318 if (echo_test_string="`eval $cmd`") 2>/dev/null && 319 echo_test_string="`eval $cmd`" && 373 320 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 374 321 then … … 539 486 echo 'int i;' > conftest.$ac_ext 540 487 if AC_TRY_EVAL(ac_compile); then 541 case `/usr/bin/file conftest.o`in488 case "`/usr/bin/file conftest.o`" in 542 489 *32-bit*) 543 490 case $host in … … 590 537 fi 591 538 ;; 592 sparc*-*solaris*)593 # Find out which ABI we are using.594 echo 'int i;' > conftest.$ac_ext595 if AC_TRY_EVAL(ac_compile); then596 case `/usr/bin/file conftest.o` in597 *64-bit*)598 case $lt_cv_prog_gnu_ld in599 yes*) LD="${LD-ld} -m elf64_sparc" ;;600 *) LD="${LD-ld} -64" ;;601 esac602 ;;603 esac604 fi605 rm -rf conftest*606 ;;607 608 539 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 609 540 [*-*-cygwin* | *-*-mingw* | *-*-pw32*) … … 637 568 # The option is referenced via a variable to avoid confusing sed. 638 569 lt_compile=`echo "$ac_compile" | $SED \ 639 -e 's:.*FLAGS} \{0,1\}:&$lt_compiler_flag :; t' \570 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 640 571 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 641 572 -e 's:$: $lt_compiler_flag:'` … … 647 578 if (exit $ac_status) && test -s "$ac_outfile"; then 648 579 # The compiler can only warn and ignore the option if not recognized 649 # So say no if there are warnings other than the usual output. 650 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 651 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 652 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 580 # So say no if there are warnings 581 if test ! -s conftest.err; then 653 582 $2=yes 654 583 fi … … 676 605 printf "$lt_simple_link_test_code" > conftest.$ac_ext 677 606 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 678 # The linker can only warn and ignore the option if not recognized607 # The compiler can only warn and ignore the option if not recognized 679 608 # So say no if there are warnings 680 609 if test -s conftest.err; then 681 610 # Append any errors to the config.log. 682 611 cat conftest.err 1>&AS_MESSAGE_LOG_FD 683 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2685 if diff conftest.exp conftest.er2 >/dev/null; then686 $2=yes687 fi688 612 else 689 613 $2=yes … … 744 668 ;; 745 669 746 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 747 # This has been around since 386BSD, at least. Likely further. 748 if test -x /sbin/sysctl; then 749 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 750 elif test -x /usr/sbin/sysctl; then 751 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 752 else 753 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 754 fi 755 # And add a safety zone 756 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 758 ;; 759 760 interix*) 761 # We know the value 262144 and hardcode it with a safety zone (like BSD) 762 lt_cv_sys_max_cmd_len=196608 763 ;; 764 765 osf*) 766 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 767 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 768 # nice to cause kernel panics so lets avoid the loop below. 769 # First set a reasonable default. 770 lt_cv_sys_max_cmd_len=16384 771 # 772 if test -x /sbin/sysconfig; then 773 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 774 *1*) lt_cv_sys_max_cmd_len=-1 ;; 775 esac 776 fi 777 ;; 778 sco3.2v5*) 779 lt_cv_sys_max_cmd_len=102400 780 ;; 781 sysv5* | sco5v6* | sysv4.2uw2*) 782 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 783 if test -n "$kargmax"; then 784 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` 785 else 786 lt_cv_sys_max_cmd_len=32768 787 fi 788 ;; 789 *) 670 *) 790 671 # If test is not a shell built-in, we'll probably end up computing a 791 672 # maximum length that is only half of the actual maximum length, but 792 673 # we can't tell. 793 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 794 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 674 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 795 675 = "XX$teststring") >/dev/null 2>&1 && 796 676 new_result=`expr "X$teststring" : ".*" 2>&1` && … … 818 698 819 699 # _LT_AC_CHECK_DLFCN 820 # ------------------ 700 # -------------------- 821 701 AC_DEFUN([_LT_AC_CHECK_DLFCN], 822 702 [AC_CHECK_HEADERS(dlfcn.h)dnl … … 826 706 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 827 707 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 828 # ------------------------------------------------------------------ ---708 # ------------------------------------------------------------------ 829 709 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 830 710 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl … … 892 772 /* dlclose (self); */ 893 773 } 894 else895 puts (dlerror ());896 774 897 775 exit (status); … … 899 777 EOF 900 778 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then 901 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD2>/dev/null779 (./conftest; exit; ) 2>/dev/null 902 780 lt_status=$? 903 781 case x$lt_status in 904 782 x$lt_dlno_uscore) $1 ;; 905 783 x$lt_dlneed_uscore) $2 ;; 906 x$lt_ dlunknown|x*) $3 ;;784 x$lt_unknown|x*) $3 ;; 907 785 esac 908 786 else : … … 916 794 917 795 # AC_LIBTOOL_DLOPEN_SELF 918 # ------------------- ---796 # ------------------- 919 797 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], 920 798 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl … … 987 865 988 866 save_LDFLAGS="$LDFLAGS" 989 wl=$lt_prog_compiler_wleval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"867 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 990 868 991 869 save_LIBS="$LIBS" … … 1000 878 1001 879 if test "x$lt_cv_dlopen_self" = xyes; then 1002 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"880 LDFLAGS="$LDFLAGS $link_static_flag" 1003 881 AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 1004 882 lt_cv_dlopen_self_static, [dnl … … 1048 926 # with a dollar sign (not a hyphen), so the echo should work correctly. 1049 927 lt_compile=`echo "$ac_compile" | $SED \ 1050 -e 's:.*FLAGS} \{0,1\}:&$lt_compiler_flag :; t' \928 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 1051 929 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 1052 930 -e 's:$: $lt_compiler_flag:'` … … 1060 938 # The compiler can only warn and ignore the option if not recognized 1061 939 # So say no if there are warnings 1062 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 1063 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 1064 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 940 if test ! -s out/conftest.err; then 1065 941 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 1066 942 fi 1067 943 fi 1068 chmod u+w . 2>&AS_MESSAGE_LOG_FD944 chmod u+w . 1069 945 $rm conftest* 1070 946 # SGI C++ compiler will create directory out/ii_files/ for … … 1130 1006 _LT_AC_TAGVAR(hardcode_action, $1)= 1131 1007 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ 1132 test -n "$_LT_AC_TAGVAR(runpath_var ,$1)" || \1133 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" ="Xyes" ; then1008 test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ 1009 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then 1134 1010 1135 1011 # We can hardcode non-existant directories. … … 1298 1174 ;; 1299 1175 1300 bsdi [[45]]*)1176 bsdi4*) 1301 1177 version_type=linux 1302 1178 need_version=no … … 1326 1202 dldir=$destdir/`dirname \$dlpath`~ 1327 1203 test -d \$dldir || mkdir -p \$dldir~ 1328 $install_prog $dir/$dlname \$dldir/$dlname~ 1329 chmod a+x \$dldir/$dlname' 1204 $install_prog $dir/$dlname \$dldir/$dlname' 1330 1205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 1331 1206 dlpath=$dir/\$dldll~ … … 1357 1232 pw32*) 1358 1233 # pw32 DLLs use 'pw' prefix rather than 'lib' 1359 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[ [.]]/-/g'`${versuffix}${shared_ext}'1234 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1360 1235 ;; 1361 1236 esac … … 1376 1251 need_lib_prefix=no 1377 1252 need_version=no 1378 library_names_spec='${libname}${release}${ major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'1253 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 1379 1254 soname_spec='${libname}${release}${major}$shared_ext' 1380 1255 shlibpath_overrides_runpath=yes 1381 1256 shlibpath_var=DYLD_LIBRARY_PATH 1382 shrext_cmds=' `test .$module = .yes && echo .so || echo .dylib`'1257 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 1383 1258 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1384 1259 if test "$GCC" = yes; then … … 1415 1290 ;; 1416 1291 1417 freebsd* | dragonfly*) 1418 # DragonFly does not have aout. When/if they implement a new 1419 # versioning mechanism, adjust this. 1420 if test -x /usr/bin/objformat; then 1421 objformat=`/usr/bin/objformat` 1422 else 1423 case $host_os in 1424 freebsd[[123]]*) objformat=aout ;; 1425 *) objformat=elf ;; 1426 esac 1427 fi 1292 freebsd*) 1293 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 1428 1294 version_type=freebsd-$objformat 1429 1295 case $version_type in … … 1443 1309 shlibpath_overrides_runpath=yes 1444 1310 ;; 1445 freebsd3.[ [01]]* | freebsdelf3.[[01]]*)1311 freebsd3.[01]* | freebsdelf3.[01]*) 1446 1312 shlibpath_overrides_runpath=yes 1447 1313 hardcode_into_libs=yes 1448 1314 ;; 1449 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 1450 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 1315 *) # from 3.2 on 1451 1316 shlibpath_overrides_runpath=no 1452 hardcode_into_libs=yes1453 ;;1454 freebsd*) # from 4.6 on1455 shlibpath_overrides_runpath=yes1456 1317 hardcode_into_libs=yes 1457 1318 ;; … … 1475 1336 need_lib_prefix=no 1476 1337 need_version=no 1477 case $host_cpuin1338 case "$host_cpu" in 1478 1339 ia64*) 1479 1340 shrext_cmds='.so' … … 1515 1376 ;; 1516 1377 1517 interix3*)1518 version_type=linux1519 need_lib_prefix=no1520 need_version=no1521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'1522 soname_spec='${libname}${release}${shared_ext}$major'1523 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'1524 shlibpath_var=LD_LIBRARY_PATH1525 shlibpath_overrides_runpath=no1526 hardcode_into_libs=yes1527 ;;1528 1529 1378 irix5* | irix6* | nonstopux*) 1530 1379 case $host_os in … … 1584 1433 hardcode_into_libs=yes 1585 1434 1435 # find out which ABI we are using 1436 libsuff= 1437 case "$host_cpu" in 1438 x86_64*|s390x*|powerpc64*) 1439 echo '[#]line __oline__ "configure"' > conftest.$ac_ext 1440 if AC_TRY_EVAL(ac_compile); then 1441 case `/usr/bin/file conftest.$ac_objext` in 1442 *64-bit*) 1443 libsuff=64 1444 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 1445 ;; 1446 esac 1447 fi 1448 rm -rf conftest* 1449 ;; 1450 esac 1451 1586 1452 # Append ld.so.conf contents to the search path 1587 1453 if test -f /etc/ld.so.conf; then 1588 lt_ld_extra=` awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d'| tr '\n' ' '`1589 sys_lib_dlsearch_path_spec="/lib /usr/lib$lt_ld_extra"1454 lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` 1455 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 1590 1456 fi 1591 1457 … … 1648 1514 openbsd*) 1649 1515 version_type=sunos 1650 sys_lib_dlsearch_path_spec="/usr/lib"1651 1516 need_lib_prefix=no 1652 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 1653 case $host_os in 1654 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 1655 *) need_version=no ;; 1656 esac 1517 need_version=yes 1657 1518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1658 1519 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 1690 1551 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 1691 1552 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 1553 ;; 1554 1555 sco3.2v5*) 1556 version_type=osf 1557 soname_spec='${libname}${release}${shared_ext}$major' 1558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1559 shlibpath_var=LD_LIBRARY_PATH 1692 1560 ;; 1693 1561 … … 1717 1585 ;; 1718 1586 1719 sysv4 | sysv4. 3*)1587 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1720 1588 version_type=linux 1721 1589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' … … 1750 1618 ;; 1751 1619 1752 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)1753 version_type=freebsd-elf1754 need_lib_prefix=no1755 need_version=no1756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'1757 soname_spec='${libname}${release}${shared_ext}$major'1758 shlibpath_var=LD_LIBRARY_PATH1759 hardcode_into_libs=yes1760 if test "$with_gnu_ld" = yes; then1761 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'1762 shlibpath_overrides_runpath=no1763 else1764 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'1765 shlibpath_overrides_runpath=yes1766 case $host_os in1767 sco3.2v5*)1768 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"1769 ;;1770 esac1771 fi1772 sys_lib_dlsearch_path_spec='/usr/lib'1773 ;;1774 1775 1620 uts4*) 1776 1621 version_type=linux … … 1786 1631 AC_MSG_RESULT([$dynamic_linker]) 1787 1632 test "$dynamic_linker" = no && can_build_shared=no 1788 1789 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"1790 if test "$GCC" = yes; then1791 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"1792 fi1793 1633 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 1794 1634 … … 1815 1655 fi 1816 1656 fi 1817 if test -z "$LTCFLAGS"; then1818 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"1819 fi1820 1657 1821 1658 # Extract list of available tagged configurations in $ofile. … … 1844 1681 case $tagname in 1845 1682 CXX) 1846 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 1847 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 1848 (test "X$CXX" != "Xg++"))) ; then 1683 if test -n "$CXX" && test "X$CXX" != "Xno"; then 1849 1684 AC_LIBTOOL_LANG_CXX_CONFIG 1850 1685 else … … 1908 1743 # AC_LIBTOOL_WIN32_DLL 1909 1744 # -------------------- 1910 # declare package support for building win32 DLLs1745 # declare package support for building win32 dll's 1911 1746 AC_DEFUN([AC_LIBTOOL_WIN32_DLL], 1912 1747 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) … … 1946 1781 # AC_DISABLE_SHARED 1947 1782 # ----------------- 1948 # set the default shared flag to --disable-shared1783 #- set the default shared flag to --disable-shared 1949 1784 AC_DEFUN([AC_DISABLE_SHARED], 1950 1785 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl … … 2082 1917 case $deplibs_check_method in 2083 1918 "file_magic "*) 2084 file_magic_regex= `expr "$deplibs_check_method" : "file_magic \(.*\)"`1919 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 2085 1920 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 2086 1921 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | … … 2192 2027 lt_cv_path_LD="$ac_dir/$ac_prog" 2193 2028 # Check to see if the program is GNU ld. I'd rather use --version, 2194 # but apparently some variants of GNU ldonly accept -v.2029 # but apparently some GNU ld's only accept -v. 2195 2030 # Break only if it was the GNU/non-GNU ld that we prefer. 2196 2031 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in … … 2224 2059 [AC_REQUIRE([AC_PROG_EGREP])dnl 2225 2060 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 2226 [# I'd rather use --version here, but apparently some GNU ld s only accept -v.2061 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 2227 2062 case `$LD -v 2>&1 </dev/null` in 2228 2063 *GNU* | *'with BFD'*) … … 2251 2086 esac 2252 2087 reload_cmds='$LD$reload_flag -o $output$reload_objs' 2253 case $host_os in2254 darwin*)2255 if test "$GCC" = yes; then2256 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'2257 else2258 reload_cmds='$LD$reload_flag -o $output$reload_objs'2259 fi2260 ;;2261 esac2262 2088 ])# AC_PROG_LD_RELOAD_FLAG 2263 2089 … … 2293 2119 ;; 2294 2120 2295 bsdi [[45]]*)2121 bsdi4*) 2296 2122 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 2297 2123 lt_cv_file_magic_cmd='/usr/bin/file -L' … … 2316 2142 ;; 2317 2143 2318 freebsd* | kfreebsd*-gnu | dragonfly*)2144 freebsd* | kfreebsd*-gnu) 2319 2145 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2320 2146 case $host_cpu in … … 2322 2148 # Not sure whether the presence of OpenBSD here was a mistake. 2323 2149 # Let's accept both of them until this is cleared up. 2324 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD |DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'2150 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' 2325 2151 lt_cv_file_magic_cmd=/usr/bin/file 2326 2152 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` … … 2338 2164 hpux10.20* | hpux11*) 2339 2165 lt_cv_file_magic_cmd=/usr/bin/file 2340 case $host_cpuin2166 case "$host_cpu" in 2341 2167 ia64*) 2342 2168 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' … … 2352 2178 ;; 2353 2179 esac 2354 ;;2355 2356 interix3*)2357 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here2358 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'2359 2180 ;; 2360 2181 … … 2371 2192 # This must be Linux ELF. 2372 2193 linux*) 2194 case $host_cpu in 2195 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) 2196 lt_cv_deplibs_check_method=pass_all ;; 2197 *) 2198 # glibc up to 2.1.1 does not perform some relocations on ARM 2199 # this will be overridden with pass_all, but let us keep it just in case 2200 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; 2201 esac 2202 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 2373 2203 lt_cv_deplibs_check_method=pass_all 2374 2204 ;; … … 2393 2223 2394 2224 openbsd*) 2225 lt_cv_file_magic_cmd=/usr/bin/file 2226 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 2395 2227 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 2396 lt_cv_deplibs_check_method=' match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'2228 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' 2397 2229 else 2398 lt_cv_deplibs_check_method=' match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'2230 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' 2399 2231 fi 2400 2232 ;; … … 2404 2236 ;; 2405 2237 2238 sco3.2v5*) 2239 lt_cv_deplibs_check_method=pass_all 2240 ;; 2241 2406 2242 solaris*) 2407 2243 lt_cv_deplibs_check_method=pass_all 2408 2244 ;; 2409 2245 2410 sysv4 | sysv4. 3*)2246 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 2411 2247 case $host_vendor in 2412 2248 motorola) … … 2429 2265 lt_cv_deplibs_check_method=pass_all 2430 2266 ;; 2431 pc)2432 lt_cv_deplibs_check_method=pass_all2433 ;;2434 2267 esac 2435 2268 ;; 2436 2269 2437 sysv5 * | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)2270 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) 2438 2271 lt_cv_deplibs_check_method=pass_all 2439 2272 ;; … … 2455 2288 lt_cv_path_NM="$NM" 2456 2289 else 2457 lt_nm_to_check="${ac_tool_prefix}nm" 2458 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 2459 lt_nm_to_check="$lt_nm_to_check nm" 2460 fi 2461 for lt_tmp_nm in $lt_nm_to_check; do 2462 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 2463 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 2464 IFS="$lt_save_ifs" 2465 test -z "$ac_dir" && ac_dir=. 2466 tmp_nm="$ac_dir/$lt_tmp_nm" 2467 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 2468 # Check to see if the nm accepts a BSD-compat flag. 2469 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 2470 # nm: unknown option "B" ignored 2471 # Tru64's nm complains that /dev/null is an invalid object file 2472 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 2473 */dev/null* | *'Invalid file or object type'*) 2474 lt_cv_path_NM="$tmp_nm -B" 2290 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 2291 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 2292 IFS="$lt_save_ifs" 2293 test -z "$ac_dir" && ac_dir=. 2294 tmp_nm="$ac_dir/${ac_tool_prefix}nm" 2295 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 2296 # Check to see if the nm accepts a BSD-compat flag. 2297 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 2298 # nm: unknown option "B" ignored 2299 # Tru64's nm complains that /dev/null is an invalid object file 2300 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 2301 */dev/null* | *'Invalid file or object type'*) 2302 lt_cv_path_NM="$tmp_nm -B" 2303 break 2304 ;; 2305 *) 2306 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 2307 */dev/null*) 2308 lt_cv_path_NM="$tmp_nm -p" 2475 2309 break 2476 2310 ;; 2477 2311 *) 2478 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 2479 */dev/null*) 2480 lt_cv_path_NM="$tmp_nm -p" 2481 break 2482 ;; 2483 *) 2484 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 2485 continue # so that we can try to find one that supports BSD flags 2486 ;; 2487 esac 2312 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 2313 continue # so that we can try to find one that supports BSD flags 2488 2314 ;; 2489 2315 esac 2490 fi 2491 done 2492 IFS="$lt_save_ifs" 2316 esac 2317 fi 2493 2318 done 2319 IFS="$lt_save_ifs" 2494 2320 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 2495 2321 fi]) … … 2523 2349 # sets LIBLTDL to the link flags for the libltdl convenience library and 2524 2350 # LTDLINCL to the include flags for the libltdl header and adds 2525 # --enable-ltdl-convenience to the configure arguments. Note that 2526 # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,2527 # it is assumed to be `libltdl'. LIBLTDL will be prefixed with2528 # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'2529 # (note the single quotes!). If your package is not flat and you'renot2530 # using automake, define top_builddir and top_srcdir appropriately in2531 # t he Makefiles.2351 # --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL 2352 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If 2353 # DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will 2354 # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with 2355 # '${top_srcdir}/' (note the single quotes!). If your package is not 2356 # flat and you're not using automake, define top_builddir and 2357 # top_srcdir appropriately in the Makefiles. 2532 2358 AC_DEFUN([AC_LIBLTDL_CONVENIENCE], 2533 2359 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl … … 2548 2374 # sets LIBLTDL to the link flags for the libltdl installable library and 2549 2375 # LTDLINCL to the include flags for the libltdl header and adds 2550 # --enable-ltdl-install to the configure arguments. Note that 2551 # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,2552 # and an installed libltdl is not found, it is assumed to be `libltdl'.2553 # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with2554 # '${top_srcdir}/' (note the single quotes!). If your package is not2555 # flat and you're not using automake, define top_builddir and top_srcdir2556 # appropriately in the Makefiles.2376 # --enable-ltdl-install to the configure arguments. Note that LIBLTDL 2377 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If 2378 # DIRECTORY is not provided and an installed libltdl is not found, it is 2379 # assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' 2380 # and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single 2381 # quotes!). If your package is not flat and you're not using automake, 2382 # define top_builddir and top_srcdir appropriately in the Makefiles. 2557 2383 # In the future, this macro may have to be called after AC_PROG_LIBTOOL. 2558 2384 AC_DEFUN([AC_LIBLTDL_INSTALLABLE], … … 2592 2418 AC_DEFUN([_LT_AC_LANG_CXX], 2593 2419 [AC_REQUIRE([AC_PROG_CXX]) 2594 AC_REQUIRE([ _LT_AC_PROG_CXXCPP])2420 AC_REQUIRE([AC_PROG_CXXCPP]) 2595 2421 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 2596 2422 ])# _LT_AC_LANG_CXX 2597 2423 2598 # _LT_AC_PROG_CXXCPP2599 # ------------------2600 AC_DEFUN([_LT_AC_PROG_CXXCPP],2601 [2602 AC_REQUIRE([AC_PROG_CXX])2603 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&2604 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||2605 (test "X$CXX" != "Xg++"))) ; then2606 AC_PROG_CXXCPP2607 fi2608 ])# _LT_AC_PROG_CXXCPP2609 2424 2610 2425 # AC_LIBTOOL_F77 … … 2646 2461 2647 2462 # AC_LIBTOOL_RC 2648 # ------------- 2463 # -------------- 2649 2464 # enable support for Windows resource files 2650 2465 AC_DEFUN([AC_LIBTOOL_RC], … … 2679 2494 _LT_AC_SYS_COMPILER 2680 2495 2681 # save warnings/boilerplate of simple test code 2682 _LT_COMPILER_BOILERPLATE 2683 _LT_LINKER_BOILERPLATE 2496 # 2497 # Check for any special shared library compilation flags. 2498 # 2499 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= 2500 if test "$GCC" = no; then 2501 case $host_os in 2502 sco3.2v5*) 2503 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' 2504 ;; 2505 esac 2506 fi 2507 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then 2508 AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) 2509 if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then : 2510 else 2511 AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) 2512 _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no 2513 fi 2514 fi 2515 2516 2517 # 2518 # Check to make sure the static flag actually works. 2519 # 2520 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], 2521 _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), 2522 $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), 2523 [], 2524 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 2525 2684 2526 2685 2527 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) … … 2691 2533 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 2692 2534 AC_LIBTOOL_SYS_LIB_STRIP 2693 AC_LIBTOOL_DLOPEN_SELF 2694 2695 # Report which librar y types will actually be built2535 AC_LIBTOOL_DLOPEN_SELF($1) 2536 2537 # Report which librarie types wil actually be built 2696 2538 AC_MSG_CHECKING([if libtool supports shared libraries]) 2697 2539 AC_MSG_RESULT([$can_build_shared]) … … 2702 2544 # On AIX, shared libraries and static libraries use the same namespace, and 2703 2545 # are all built from PIC. 2704 case $host_osin2546 case "$host_os" in 2705 2547 aix3*) 2706 2548 test "$enable_shared" = yes && enable_static=no … … 2714 2556 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2715 2557 test "$enable_shared" = yes && enable_static=no 2558 fi 2559 ;; 2560 darwin* | rhapsody*) 2561 if test "$GCC" = yes; then 2562 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 2563 case "$host_os" in 2564 rhapsody* | darwin1.[[012]]) 2565 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 2566 ;; 2567 *) # Darwin 1.3 on 2568 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 2569 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 2570 else 2571 case ${MACOSX_DEPLOYMENT_TARGET} in 2572 10.[[012]]) 2573 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 2574 ;; 2575 10.*) 2576 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 2577 ;; 2578 esac 2579 fi 2580 ;; 2581 esac 2582 output_verbose_link_cmd='echo' 2583 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 2584 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 2585 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 2586 _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}' 2587 _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}' 2588 _LT_AC_TAGVAR(hardcode_direct, $1)=no 2589 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 2590 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 2591 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 2592 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 2593 else 2594 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2716 2595 fi 2717 2596 ;; … … 2740 2619 [AC_LANG_PUSH(C++) 2741 2620 AC_REQUIRE([AC_PROG_CXX]) 2742 AC_REQUIRE([ _LT_AC_PROG_CXXCPP])2621 AC_REQUIRE([AC_PROG_CXXCPP]) 2743 2622 2744 2623 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no … … 2752 2631 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 2753 2632 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no 2754 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported2755 2633 _LT_AC_TAGVAR(hardcode_automatic, $1)=no 2756 2634 _LT_AC_TAGVAR(module_cmds, $1)= … … 2770 2648 2771 2649 # Source file extension for C++ test sources. 2772 ac_ext=c pp2650 ac_ext=cc 2773 2651 2774 2652 # Object file extension for compiled C++ test sources. … … 2780 2658 2781 2659 # Code to be used in simple link tests 2782 lt_simple_link_test_code='int main(int, char *[ []]) { return(0); }\n'2660 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' 2783 2661 2784 2662 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 2785 2663 _LT_AC_SYS_COMPILER 2786 2787 # save warnings/boilerplate of simple test code2788 _LT_COMPILER_BOILERPLATE2789 _LT_LINKER_BOILERPLATE2790 2664 2791 2665 # Allow CC to be a program name with arguments. … … 2799 2673 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 2800 2674 else 2801 $as_unset lt_cv_prog_gnu_ld2675 unset lt_cv_prog_gnu_ld 2802 2676 fi 2803 2677 if test -n "${lt_cv_path_LDCXX+set}"; then 2804 2678 lt_cv_path_LD=$lt_cv_path_LDCXX 2805 2679 else 2806 $as_unset lt_cv_path_LD2680 unset lt_cv_path_LD 2807 2681 fi 2808 2682 test -z "${LDCXX+set}" || LD=$LDCXX … … 2810 2684 compiler=$CC 2811 2685 _LT_AC_TAGVAR(compiler, $1)=$CC 2812 _LT_CC_BASENAME([$compiler]) 2686 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 2813 2687 2814 2688 # We don't want -fno-exception wen compiling C++ code, so set the … … 2899 2773 esac 2900 2774 done 2901 ;;2902 2775 esac 2903 2776 … … 2918 2791 2919 2792 if test "$GXX" = yes; then 2920 case $host_os in aix4.[ [012]]|aix4.[[012]].*)2793 case $host_os in aix4.[012]|aix4.[012].*) 2921 2794 # We only want to do this on AIX 4.2 and lower, the check 2922 2795 # below for broken collect2 doesn't work under 4.3+ … … 2937 2810 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 2938 2811 fi 2939 ;;2940 2812 esac 2941 2813 shared_flag='-shared' 2942 if test "$aix_use_runtimelinking" = yes; then2943 shared_flag="$shared_flag "'${wl}-G'2944 fi2945 2814 else 2946 2815 # not using gcc … … 2969 2838 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 2970 2839 2971 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"
