Changeset 23
- Timestamp:
- 11/28/07 14:03:45
- Files:
-
- spatialindex/trunk/aclocal.m4 (modified) (206 diffs)
- spatialindex/trunk/configure (modified) (757 diffs)
- spatialindex/trunk/configure.ac (modified) (1 diff)
- spatialindex/trunk/include/tools (copied) (copied from tools/trunk/include)
- spatialindex/trunk/Makefile.am (modified) (1 diff)
- spatialindex/trunk/Makefile.in (modified) (28 diffs)
- spatialindex/trunk/regressiontest/Makefile.in (modified) (22 diffs)
- spatialindex/trunk/regressiontest/mvrtree/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/regressiontest/rtree/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/regressiontest/tprtree/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/src/Makefile.am (modified) (1 diff)
- spatialindex/trunk/src/Makefile.in (modified) (22 diffs)
- spatialindex/trunk/src/mvrtree/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/src/rtree/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/src/spatialindex/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/src/storagemanager/Makefile.in (modified) (21 diffs)
- spatialindex/trunk/src/tools (copied) (copied from tools/trunk/src)
- spatialindex/trunk/src/tools/geometry/Makefile.am (modified) (1 diff)
- spatialindex/trunk/src/tools/geometry/Makefile.in (modified) (22 diffs)
- spatialindex/trunk/src/tools/Makefile.in (modified) (23 diffs)
- spatialindex/trunk/src/tools/tools/Makefile.am (modified) (1 diff)
- spatialindex/trunk/src/tools/tools/Makefile.in (modified) (22 diffs)
- spatialindex/trunk/src/tprtree/Makefile.in (modified) (21 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spatialindex/trunk/aclocal.m4
r5 r23 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.1 # generated automatically by aclocal 1.10 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005, 2006 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 14 19 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 15 20 16 # serial 4 7AC_PROG_LIBTOOL21 # serial 48 AC_PROG_LIBTOOL 17 22 18 23 … … 124 129 # Sed substitution that helps us do robust quoting. It backslashifies 125 130 # metacharacters that are still active within double-quoted strings. 126 Xsed='sed -e s/^X//'131 Xsed='sed -e 1s/^X//' 127 132 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 128 133 … … 144 149 can_build_shared=yes 145 150 146 # All known linkers require a `.a' archive for static linking (except M $VC,151 # All known linkers require a `.a' archive for static linking (except MSVC, 147 152 # which needs '.lib'). 148 153 libext=a … … 164 169 test -z "$CC" && CC=cc 165 170 test -z "$LTCC" && LTCC=$CC 171 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 166 172 test -z "$DLLTOOL" && DLLTOOL=dlltool 167 173 test -z "$LD" && LD=ld … … 183 189 case $host_os in 184 190 openbsd*) 185 old_postinstall_cmds=" \$RANLIB -t \$oldlib~$old_postinstall_cmds"191 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 186 192 ;; 187 193 *) 188 old_postinstall_cmds=" \$RANLIB \$oldlib~$old_postinstall_cmds"194 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 189 195 ;; 190 196 esac 191 197 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 192 198 fi 199 200 _LT_CC_BASENAME([$compiler]) 193 201 194 202 # Only perform the check for file, if the check method requires it … … 232 240 LTCC=${LTCC-"$CC"} 233 241 242 # If no C compiler flags were specified, use CFLAGS. 243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 244 234 245 # Allow CC to be a program name with arguments. 235 246 compiler=$CC 236 247 ])# _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""; do 255 case $cc_temp in 256 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 257 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 258 \-*) ;; 259 *) break;; 260 esac 261 done 262 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 263 ]) 264 265 266 # _LT_COMPILER_BOILERPLATE 267 # ------------------------ 268 # Check for compiler boilerplate output or warnings with 269 # the simple compiler test code. 270 AC_DEFUN([_LT_COMPILER_BOILERPLATE], 271 [ac_outfile=conftest.$ac_objext 272 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 273 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 274 _lt_compiler_boilerplate=`cat conftest.err` 275 $rm conftest* 276 ])# _LT_COMPILER_BOILERPLATE 277 278 279 # _LT_LINKER_BOILERPLATE 280 # ---------------------- 281 # Check for linker boilerplate output or warnings with 282 # the simple link test code. 283 AC_DEFUN([_LT_LINKER_BOILERPLATE], 284 [ac_outfile=conftest.$ac_objext 285 printf "$lt_simple_link_test_code" >conftest.$ac_ext 286 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 287 _lt_linker_boilerplate=`cat conftest.err` 288 $rm conftest* 289 ])# _LT_LINKER_BOILERPLATE 237 290 238 291 … … 309 362 # The HP-UX ksh and POSIX shell print the target directory to stdout 310 363 # if CDPATH is set. 311 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 364 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 312 365 313 366 if test -z "$ECHO"; then … … 316 369 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 317 370 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 318 if (echo_test_string= "`eval $cmd`") 2>/dev/null &&319 echo_test_string= "`eval $cmd`"&&371 if (echo_test_string=`eval $cmd`) 2>/dev/null && 372 echo_test_string=`eval $cmd` && 320 373 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 321 374 then … … 486 539 echo 'int i;' > conftest.$ac_ext 487 540 if AC_TRY_EVAL(ac_compile); then 488 case "`/usr/bin/file conftest.o`"in541 case `/usr/bin/file conftest.o` in 489 542 *32-bit*) 490 543 case $host in … … 537 590 fi 538 591 ;; 592 sparc*-*solaris*) 593 # Find out which ABI we are using. 594 echo 'int i;' > conftest.$ac_ext 595 if AC_TRY_EVAL(ac_compile); then 596 case `/usr/bin/file conftest.o` in 597 *64-bit*) 598 case $lt_cv_prog_gnu_ld in 599 yes*) LD="${LD-ld} -m elf64_sparc" ;; 600 *) LD="${LD-ld} -64" ;; 601 esac 602 ;; 603 esac 604 fi 605 rm -rf conftest* 606 ;; 607 539 608 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 540 609 [*-*-cygwin* | *-*-mingw* | *-*-pw32*) … … 568 637 # The option is referenced via a variable to avoid confusing sed. 569 638 lt_compile=`echo "$ac_compile" | $SED \ 570 -e 's:.*FLAGS} ?:&$lt_compiler_flag :; t' \639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 571 640 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 572 641 -e 's:$: $lt_compiler_flag:'` … … 578 647 if (exit $ac_status) && test -s "$ac_outfile"; then 579 648 # The compiler can only warn and ignore the option if not recognized 580 # So say no if there are warnings 581 if test ! -s conftest.err; then 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 582 653 $2=yes 583 654 fi … … 605 676 printf "$lt_simple_link_test_code" > conftest.$ac_ext 606 677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 607 # The compiler can only warn and ignore the option if not recognized678 # The linker can only warn and ignore the option if not recognized 608 679 # So say no if there are warnings 609 680 if test -s conftest.err; then 610 681 # Append any errors to the config.log. 611 682 cat conftest.err 1>&AS_MESSAGE_LOG_FD 683 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 685 if diff conftest.exp conftest.er2 >/dev/null; then 686 $2=yes 687 fi 612 688 else 613 689 $2=yes … … 668 744 ;; 669 745 670 *) 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 *) 671 790 # If test is not a shell built-in, we'll probably end up computing a 672 791 # maximum length that is only half of the actual maximum length, but 673 792 # we can't tell. 674 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 793 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 794 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 675 795 = "XX$teststring") >/dev/null 2>&1 && 676 796 new_result=`expr "X$teststring" : ".*" 2>&1` && … … 698 818 699 819 # _LT_AC_CHECK_DLFCN 700 # ------------------ --820 # ------------------ 701 821 AC_DEFUN([_LT_AC_CHECK_DLFCN], 702 822 [AC_CHECK_HEADERS(dlfcn.h)dnl … … 706 826 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 707 827 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 708 # ------------------------------------------------------------------ 828 # --------------------------------------------------------------------- 709 829 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 710 830 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl … … 772 892 /* dlclose (self); */ 773 893 } 894 else 895 puts (dlerror ()); 774 896 775 897 exit (status); … … 777 899 EOF 778 900 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then 779 (./conftest; exit; ) 2>/dev/null901 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 780 902 lt_status=$? 781 903 case x$lt_status in 782 904 x$lt_dlno_uscore) $1 ;; 783 905 x$lt_dlneed_uscore) $2 ;; 784 x$lt_ unknown|x*) $3 ;;906 x$lt_dlunknown|x*) $3 ;; 785 907 esac 786 908 else : … … 794 916 795 917 # AC_LIBTOOL_DLOPEN_SELF 796 # ------------------- 918 # ---------------------- 797 919 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], 798 920 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl … … 865 987 866 988 save_LDFLAGS="$LDFLAGS" 867 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"989 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 868 990 869 991 save_LIBS="$LIBS" … … 878 1000 879 1001 if test "x$lt_cv_dlopen_self" = xyes; then 880 LDFLAGS="$LDFLAGS $link_static_flag"1002 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 881 1003 AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 882 1004 lt_cv_dlopen_self_static, [dnl … … 926 1048 # with a dollar sign (not a hyphen), so the echo should work correctly. 927 1049 lt_compile=`echo "$ac_compile" | $SED \ 928 -e 's:.*FLAGS} ?:&$lt_compiler_flag :; t' \1050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 929 1051 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 930 1052 -e 's:$: $lt_compiler_flag:'` … … 938 1060 # The compiler can only warn and ignore the option if not recognized 939 1061 # So say no if there are warnings 940 if test ! -s out/conftest.err; then 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 941 1065 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 942 1066 fi 943 1067 fi 944 chmod u+w . 1068 chmod u+w . 2>&AS_MESSAGE_LOG_FD 945 1069 $rm conftest* 946 1070 # SGI C++ compiler will create directory out/ii_files/ for … … 1006 1130 _LT_AC_TAGVAR(hardcode_action, $1)= 1007 1131 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ 1008 test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \1009 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" ="Xyes" ; then1132 test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ 1133 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 1010 1134 1011 1135 # We can hardcode non-existant directories. … … 1174 1298 ;; 1175 1299 1176 bsdi 4*)1300 bsdi[[45]]*) 1177 1301 version_type=linux 1178 1302 need_version=no … … 1202 1326 dldir=$destdir/`dirname \$dlpath`~ 1203 1327 test -d \$dldir || mkdir -p \$dldir~ 1204 $install_prog $dir/$dlname \$dldir/$dlname' 1328 $install_prog $dir/$dlname \$dldir/$dlname~ 1329 chmod a+x \$dldir/$dlname' 1205 1330 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 1206 1331 dlpath=$dir/\$dldll~ … … 1232 1357 pw32*) 1233 1358 # pw32 DLLs use 'pw' prefix rather than 'lib' 1234 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[ .]/-/g'`${versuffix}${shared_ext}'1359 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1235 1360 ;; 1236 1361 esac … … 1251 1376 need_lib_prefix=no 1252 1377 need_version=no 1253 library_names_spec='${libname}${release}${ versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'1378 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 1254 1379 soname_spec='${libname}${release}${major}$shared_ext' 1255 1380 shlibpath_overrides_runpath=yes 1256 1381 shlibpath_var=DYLD_LIBRARY_PATH 1257 shrext_cmds=' $(test .$module = .yes && echo .so || echo .dylib)'1382 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 1258 1383 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1259 1384 if test "$GCC" = yes; then … … 1290 1415 ;; 1291 1416 1292 freebsd*) 1293 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 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 1294 1428 version_type=freebsd-$objformat 1295 1429 case $version_type in … … 1309 1443 shlibpath_overrides_runpath=yes 1310 1444 ;; 1311 freebsd3.[ 01]* | freebsdelf3.[01]*)1445 freebsd3.[[01]]* | freebsdelf3.[[01]]*) 1312 1446 shlibpath_overrides_runpath=yes 1313 1447 hardcode_into_libs=yes 1314 1448 ;; 1315 *) # from 3.2 on 1449 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 1450 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 1316 1451 shlibpath_overrides_runpath=no 1452 hardcode_into_libs=yes 1453 ;; 1454 freebsd*) # from 4.6 on 1455 shlibpath_overrides_runpath=yes 1317 1456 hardcode_into_libs=yes 1318 1457 ;; … … 1336 1475 need_lib_prefix=no 1337 1476 need_version=no 1338 case "$host_cpu"in1477 case $host_cpu in 1339 1478 ia64*) 1340 1479 shrext_cmds='.so' … … 1376 1515 ;; 1377 1516 1517 interix3*) 1518 version_type=linux 1519 need_lib_prefix=no 1520 need_version=no 1521 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_PATH 1525 shlibpath_overrides_runpath=no 1526 hardcode_into_libs=yes 1527 ;; 1528 1378 1529 irix5* | irix6* | nonstopux*) 1379 1530 case $host_os in … … 1433 1584 hardcode_into_libs=yes 1434 1585 1435 # find out which ABI we are using1436 libsuff=1437 case "$host_cpu" in1438 x86_64*|s390x*|powerpc64*)1439 echo '[#]line __oline__ "configure"' > conftest.$ac_ext1440 if AC_TRY_EVAL(ac_compile); then1441 case `/usr/bin/file conftest.$ac_objext` in1442 *64-bit*)1443 libsuff=641444 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"1445 ;;1446 esac1447 fi1448 rm -rf conftest*1449 ;;1450 esac1451 1452 1586 # Append ld.so.conf contents to the search path 1453 1587 if test -f /etc/ld.so.conf; then 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"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" 1456 1590 fi 1457 1591 … … 1514 1648 openbsd*) 1515 1649 version_type=sunos 1650 sys_lib_dlsearch_path_spec="/usr/lib" 1516 1651 need_lib_prefix=no 1517 need_version=yes 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 1518 1657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1519 1658 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 1551 1690 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 1552 1691 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 1553 ;;1554 1555 sco3.2v5*)1556 version_type=osf1557 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_PATH1560 1692 ;; 1561 1693 … … 1585 1717 ;; 1586 1718 1587 sysv4 | sysv4. 2uw2* | sysv4.3* | sysv5*)1719 sysv4 | sysv4.3*) 1588 1720 version_type=linux 1589 1721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' … … 1618 1750 ;; 1619 1751 1752 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 1753 version_type=freebsd-elf 1754 need_lib_prefix=no 1755 need_version=no 1756 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_PATH 1759 hardcode_into_libs=yes 1760 if test "$with_gnu_ld" = yes; then 1761 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 1762 shlibpath_overrides_runpath=no 1763 else 1764 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 1765 shlibpath_overrides_runpath=yes 1766 case $host_os in 1767 sco3.2v5*) 1768 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 1769 ;; 1770 esac 1771 fi 1772 sys_lib_dlsearch_path_spec='/usr/lib' 1773 ;; 1774 1620 1775 uts4*) 1621 1776 version_type=linux … … 1631 1786 AC_MSG_RESULT([$dynamic_linker]) 1632 1787 test "$dynamic_linker" = no && can_build_shared=no 1788 1789 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 1790 if test "$GCC" = yes; then 1791 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 1792 fi 1633 1793 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 1634 1794 … … 1655 1815 fi 1656 1816 fi 1817 if test -z "$LTCFLAGS"; then 1818 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 1819 fi 1657 1820 1658 1821 # Extract list of available tagged configurations in $ofile. … … 1681 1844 case $tagname in 1682 1845 CXX) 1683 if test -n "$CXX" && test "X$CXX" != "Xno"; then 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 1684 1849 AC_LIBTOOL_LANG_CXX_CONFIG 1685 1850 else … … 1743 1908 # AC_LIBTOOL_WIN32_DLL 1744 1909 # -------------------- 1745 # declare package support for building win32 dll's1910 # declare package support for building win32 DLLs 1746 1911 AC_DEFUN([AC_LIBTOOL_WIN32_DLL], 1747 1912 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) … … 1781 1946 # AC_DISABLE_SHARED 1782 1947 # ----------------- 1783 # -set the default shared flag to --disable-shared1948 # set the default shared flag to --disable-shared 1784 1949 AC_DEFUN([AC_DISABLE_SHARED], 1785 1950 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl … … 1917 2082 case $deplibs_check_method in 1918 2083 "file_magic "*) 1919 file_magic_regex= "`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"2084 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 1920 2085 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1921 2086 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | … … 2027 2192 lt_cv_path_LD="$ac_dir/$ac_prog" 2028 2193 # Check to see if the program is GNU ld. I'd rather use --version, 2029 # but apparently some GNU ld'sonly accept -v.2194 # but apparently some variants of GNU ld only accept -v. 2030 2195 # Break only if it was the GNU/non-GNU ld that we prefer. 2031 2196 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in … … 2059 2224 [AC_REQUIRE([AC_PROG_EGREP])dnl 2060 2225 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 2061 [# I'd rather use --version here, but apparently some GNU ld 's only accept -v.2226 [# I'd rather use --version here, but apparently some GNU lds only accept -v. 2062 2227 case `$LD -v 2>&1 </dev/null` in 2063 2228 *GNU* | *'with BFD'*) … … 2086 2251 esac 2087 2252 reload_cmds='$LD$reload_flag -o $output$reload_objs' 2253 case $host_os in 2254 darwin*) 2255 if test "$GCC" = yes; then 2256 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 2257 else 2258 reload_cmds='$LD$reload_flag -o $output$reload_objs' 2259 fi 2260 ;; 2261 esac 2088 2262 ])# AC_PROG_LD_RELOAD_FLAG 2089 2263 … … 2119 2293 ;; 2120 2294 2121 bsdi 4*)2295 bsdi[[45]]*) 2122 2296 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 2123 2297 lt_cv_file_magic_cmd='/usr/bin/file -L' … … 2142 2316 ;; 2143 2317 2144 freebsd* | kfreebsd*-gnu )2318 freebsd* | kfreebsd*-gnu | dragonfly*) 2145 2319 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2146 2320 case $host_cpu in … … 2148 2322 # Not sure whether the presence of OpenBSD here was a mistake. 2149 2323 # Let's accept both of them until this is cleared up. 2150 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD )/i[[3-9]]86 (compact )?demand paged shared library'2324 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' 2151 2325 lt_cv_file_magic_cmd=/usr/bin/file 2152 2326 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` … … 2164 2338 hpux10.20* | hpux11*) 2165 2339 lt_cv_file_magic_cmd=/usr/bin/file 2166 case "$host_cpu"in2340 case $host_cpu in 2167 2341 ia64*) 2168 2342 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' … … 2178 2352 ;; 2179 2353 esac 2354 ;; 2355 2356 interix3*) 2357 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 2358 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 2180 2359 ;; 2181 2360 … … 2192 2371 # This must be Linux ELF. 2193 2372 linux*) 2194 case $host_cpu in2195 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 ARM2199 # this will be overridden with pass_all, but let us keep it just in case2200 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;2201 esac2202 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`2203 2373 lt_cv_deplibs_check_method=pass_all 2204 2374 ;; … … 2223 2393 2224 2394 openbsd*) 2225 lt_cv_file_magic_cmd=/usr/bin/file2226 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`2227 2395 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 2228 lt_cv_deplibs_check_method=' file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'2396 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' 2229 2397 else 2230 lt_cv_deplibs_check_method=' file_magic OpenBSD.* shared library'2398 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 2231 2399 fi 2232 2400 ;; … … 2236 2404 ;; 2237 2405 2238 sco3.2v5*)2239 lt_cv_deplibs_check_method=pass_all2240 ;;2241 2242 2406 solaris*) 2243 2407 lt_cv_deplibs_check_method=pass_all 2244 2408 ;; 2245 2409 2246 sysv4 | sysv4. 2uw2* | sysv4.3* | sysv5*)2410 sysv4 | sysv4.3*) 2247 2411 case $host_vendor in 2248 2412 motorola) … … 2265 2429 lt_cv_deplibs_check_method=pass_all 2266 2430 ;; 2431 pc) 2432 lt_cv_deplibs_check_method=pass_all 2433 ;; 2267 2434 esac 2268 2435 ;; 2269 2436 2270 sysv5 OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)2437 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 2271 2438 lt_cv_deplibs_check_method=pass_all 2272 2439 ;; … … 2288 2455 lt_cv_path_NM="$NM" 2289 2456 else 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" 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" 2309 2475 break 2310 2476 ;; 2311 2477 *) 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 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 2314 2488 ;; 2315 2489 esac 2316 esac 2317 fi 2490 fi 2491 done 2492 IFS="$lt_save_ifs" 2318 2493 done 2319 IFS="$lt_save_ifs"2320 2494 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 2321 2495 fi]) … … 2349 2523 # sets LIBLTDL to the link flags for the libltdl convenience library and 2350 2524 # LTDLINCL to the include flags for the libltdl header and adds 2351 # --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL2352 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If2353 # DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will2354 # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with2355 # '${top_srcdir}/' (note the single quotes!). If your package isnot2356 # flat and you're not using automake, define top_builddir and2357 # t op_srcdir appropriately in the Makefiles.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 with 2528 # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' 2529 # (note the single quotes!). If your package is not flat and you're not 2530 # using automake, define top_builddir and top_srcdir appropriately in 2531 # the Makefiles. 2358 2532 AC_DEFUN([AC_LIBLTDL_CONVENIENCE], 2359 2533 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl … … 2374 2548 # sets LIBLTDL to the link flags for the libltdl installable library and 2375 2549 # LTDLINCL to the include flags for the libltdl header and adds 2376 # --enable-ltdl-install to the configure arguments. Note that LIBLTDL2377 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If2378 # DIRECTORY is not provided and an installed libltdl is not found, it is2379 # assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'2380 # and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single2381 # quotes!). If your package is not flat and you're not using automake,2382 # define top_builddir and top_srcdirappropriately in the Makefiles.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 with 2554 # '${top_srcdir}/' (note the single quotes!). If your package is not 2555 # flat and you're not using automake, define top_builddir and top_srcdir 2556 # appropriately in the Makefiles. 2383 2557 # In the future, this macro may have to be called after AC_PROG_LIBTOOL. 2384 2558 AC_DEFUN([AC_LIBLTDL_INSTALLABLE], … … 2418 2592 AC_DEFUN([_LT_AC_LANG_CXX], 2419 2593 [AC_REQUIRE([AC_PROG_CXX]) 2420 AC_REQUIRE([ AC_PROG_CXXCPP])2594 AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 2421 2595 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 2422 2596 ])# _LT_AC_LANG_CXX 2423 2597 2598 # _LT_AC_PROG_CXXCPP 2599 # ------------------ 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++"))) ; then 2606 AC_PROG_CXXCPP 2607 fi 2608 ])# _LT_AC_PROG_CXXCPP 2424 2609 2425 2610 # AC_LIBTOOL_F77 … … 2461 2646 2462 2647 # AC_LIBTOOL_RC 2463 # ------------- -2648 # ------------- 2464 2649 # enable support for Windows resource files 2465 2650 AC_DEFUN([AC_LIBTOOL_RC], … … 2494 2679 _LT_AC_SYS_COMPILER 2495 2680 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 2681 # save warnings/boilerplate of simple test code 2682 _LT_COMPILER_BOILERPLATE 2683 _LT_LINKER_BOILERPLATE 2526 2684 2527 2685 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) … … 2533 2691 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 2534 2692 AC_LIBTOOL_SYS_LIB_STRIP 2535 AC_LIBTOOL_DLOPEN_SELF ($1)2536 2537 # Report which librar ie types wil actually be built2693 AC_LIBTOOL_DLOPEN_SELF 2694 2695 # Report which library types will actually be built 2538 2696 AC_MSG_CHECKING([if libtool supports shared libraries]) 2539 2697 AC_MSG_RESULT([$can_build_shared]) … … 2544 2702 # On AIX, shared libraries and static libraries use the same namespace, and 2545 2703 # are all built from PIC. 2546 case "$host_os"in2704 case $host_os in 2547 2705 aix3*) 2548 2706 test "$enable_shared" = yes && enable_static=no … … 2556 2714 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2557 2715 test "$enable_shared" = yes && enable_static=no 2558 fi2559 ;;2560 darwin* | rhapsody*)2561 if test "$GCC" = yes; then2562 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no2563 case "$host_os" in2564 rhapsody* | darwin1.[[012]])2565 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'2566 ;;2567 *) # Darwin 1.3 on2568 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then2569 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'2570 else2571 case ${MACOSX_DEPLOYMENT_TARGET} in2572 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 esac2579 fi2580 ;;2581 esac2582 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's2586 _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)=no2589 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes2590 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported2591 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'2592 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes2593 else2594 _LT_AC_TAGVAR(ld_shlibs, $1)=no2595 2716 fi 2596 2717 ;; … … 2619 2740 [AC_LANG_PUSH(C++) 2620 2741 AC_REQUIRE([AC_PROG_CXX]) 2621 AC_REQUIRE([ AC_PROG_CXXCPP])2742 AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 2622 2743 2623 2744 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no … … 2631 2752 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 2632 2753 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no 2754 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 2633 2755 _LT_AC_TAGVAR(hardcode_automatic, $1)=no 2634 2756 _LT_AC_TAGVAR(module_cmds, $1)= … … 2648 2770 2649 2771 # Source file extension for C++ test sources. 2650 ac_ext=c c2772 ac_ext=cpp 2651 2773 2652 2774 # Object file extension for compiled C++ test sources. … … 2658 2780 2659 2781 # Code to be used in simple link tests 2660 lt_simple_link_test_code='int main(int, char *[ ]) { return(0); }\n'2782 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' 2661 2783 2662 2784 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 2663 2785 _LT_AC_SYS_COMPILER 2786 2787 # save warnings/boilerplate of simple test code 2788 _LT_COMPILER_BOILERPLATE 2789 _LT_LINKER_BOILERPLATE 2664 2790 2665 2791 # Allow CC to be a program name with arguments. … … 2673 2799 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 2674 2800 else 2675 unset lt_cv_prog_gnu_ld2801 $as_unset lt_cv_prog_gnu_ld 2676 2802 fi 2677 2803 if test -n "${lt_cv_path_LDCXX+set}"; then 2678 2804 lt_cv_path_LD=$lt_cv_path_LDCXX 2679 2805 else 2680 unset lt_cv_path_LD2806 $as_unset lt_cv_path_LD 2681 2807 fi 2682 2808 test -z "${LDCXX+set}" || LD=$LDCXX … … 2684 2810 compiler=$CC 2685 2811 _LT_AC_TAGVAR(compiler, $1)=$CC 2686 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 2812 _LT_CC_BASENAME([$compiler]) 2687 2813 2688 2814 # We don't want -fno-exception wen compiling C++ code, so set the … … 2773 2899 esac 2774 2900 done 2901 ;; 2775 2902 esac 2776 2903
