Changes in / [6d44da1:7428ad9]
- Files:
-
- 9 deleted
- 16 edited
-
benchmark/Makefile.in (modified) (3 diffs)
-
doc/working/exception/impl/nopic.s (deleted)
-
doc/working/exception/impl/pic.s (deleted)
-
doc/working/exception/impl/test.c (deleted)
-
driver/cfa.cc (modified) (1 diff)
-
libcfa/Makefile.am (modified) (1 diff)
-
libcfa/Makefile.in (modified) (15 diffs)
-
libcfa/aclocal.m4 (modified) (1 diff)
-
libcfa/automake/libtool.m4 (deleted)
-
libcfa/automake/ltmain.sh (deleted)
-
libcfa/automake/ltoptions.m4 (deleted)
-
libcfa/automake/ltsugar.m4 (deleted)
-
libcfa/automake/ltversion.m4 (deleted)
-
libcfa/automake/lt~obsolete.m4 (deleted)
-
libcfa/configure (modified) (36 diffs)
-
libcfa/configure.ac (modified) (3 diffs)
-
libcfa/prelude/Makefile.am (modified) (2 diffs)
-
libcfa/prelude/Makefile.in (modified) (14 diffs)
-
libcfa/src/Makefile.am (modified) (7 diffs)
-
libcfa/src/Makefile.in (modified) (34 diffs)
-
libcfa/src/concurrency/invoke.h (modified) (1 diff)
-
libcfa/src/concurrency/kernel.cfa (modified) (1 diff)
-
libcfa/src/concurrency/kernel_private.hfa (modified) (1 diff)
-
libcfa/src/exception.c (modified) (2 diffs)
-
src/cfa.make (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.in
r6d44da1 r7428ad9 260 260 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 261 261 CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS) 262 LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \263 $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \264 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \265 $(AM_CFLAGS) $(CFLAGS)266 267 262 AM_V_CFA = $(am__v_CFA_@AM_V@) 268 263 am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@) … … 292 287 293 288 .SUFFIXES: 294 .SUFFIXES: .cfa . lo .o289 .SUFFIXES: .cfa .o 295 290 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps) 296 291 @for dep in $?; do \ … … 485 480 $(am__mv) $$depbase.Tpo $$depbase.Po 486 481 487 <<<<<<< HEAD488 .cfa.lo:489 $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\490 $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\491 $(am__mv) $$depbase.Tpo $$depbase.Plo492 493 LIBFIBRE_DIR ?= /home/tdelisle/software/KOS/src/494 495 =======496 >>>>>>> master497 482 .NOTPARALLEL: 498 483 -
driver/cfa.cc
r6d44da1 r7428ad9 405 405 406 406 // include the cfa library in case it's needed 407 args[nargs] = ( *new string( string("-L" ) + libdir + (intree ? "/src/.libs" : "")) ).c_str(); 408 nargs += 1; 409 args[nargs] = ( *new string( string("-Wl,-rpath," ) + libdir + (intree ? "/src/.libs" : "")) ).c_str(); 407 args[nargs] = ( *new string( string("-L" ) + libdir + (intree ? "/src" : "")) ).c_str(); 410 408 nargs += 1; 411 409 args[nargs] = "-lcfa"; -
libcfa/Makefile.am
r6d44da1 r7428ad9 16 16 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 ACLOCAL_AMFLAGS = -I automake19 18 SUBDIRS = prelude src # order important -
libcfa/Makefile.in
r6d44da1 r7428ad9 89 89 PRE_UNINSTALL = : 90 90 POST_UNINSTALL = : 91 build_triplet = @build@92 host_triplet = @host@93 91 subdir = . 94 92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 95 am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \ 96 $(top_srcdir)/automake/ltoptions.m4 \ 97 $(top_srcdir)/automake/ltsugar.m4 \ 98 $(top_srcdir)/automake/ltversion.m4 \ 99 $(top_srcdir)/automake/lt~obsolete.m4 \ 100 $(top_srcdir)/../automake/cfa.m4 $(top_srcdir)/configure.ac 93 am__aclocal_m4_deps = $(top_srcdir)/../automake/cfa.m4 \ 94 $(top_srcdir)/configure.ac 101 95 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 102 96 $(ACLOCAL_M4) … … 164 158 CSCOPE = cscope 165 159 DIST_SUBDIRS = $(SUBDIRS) 166 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/automake/compile \ 167 $(top_srcdir)/automake/config.guess \ 168 $(top_srcdir)/automake/config.sub \ 169 $(top_srcdir)/automake/install-sh \ 170 $(top_srcdir)/automake/ltmain.sh \ 171 $(top_srcdir)/automake/missing automake/compile \ 172 automake/config.guess automake/config.sub automake/depcomp \ 173 automake/install-sh automake/ltmain.sh automake/missing 160 am__DIST_COMMON = $(srcdir)/Makefile.in \ 161 $(top_srcdir)/./automake/compile \ 162 $(top_srcdir)/./automake/install-sh \ 163 $(top_srcdir)/./automake/missing ./automake/compile \ 164 ./automake/config.guess ./automake/config.sub \ 165 ./automake/depcomp ./automake/install-sh ./automake/missing 174 166 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 175 167 distdir = $(PACKAGE)-$(VERSION) … … 217 209 AMTAR = @AMTAR@ 218 210 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 219 AR = @AR@220 211 ARCHITECTURE = @ARCHITECTURE@ 221 212 ARCH_FLAGS = @ARCH_FLAGS@ … … 241 232 CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@ 242 233 CONFIG_CFLAGS = @CONFIG_CFLAGS@ 243 CPP = @CPP@244 234 CPPFLAGS = @CPPFLAGS@ 245 235 CXX = @CXX@ 246 CXXCPP = @CXXCPP@247 236 CXXDEPMODE = @CXXDEPMODE@ 248 237 CXXFLAGS = @CXXFLAGS@ … … 250 239 DEFS = @DEFS@ 251 240 DEPDIR = @DEPDIR@ 252 DLLTOOL = @DLLTOOL@253 241 DRIVER_DIR = @DRIVER_DIR@ 254 DSYMUTIL = @DSYMUTIL@255 DUMPBIN = @DUMPBIN@256 242 ECHO_C = @ECHO_C@ 257 243 ECHO_N = @ECHO_N@ 258 244 ECHO_T = @ECHO_T@ 259 EGREP = @EGREP@260 245 EXEEXT = @EXEEXT@ 261 FGREP = @FGREP@262 GREP = @GREP@263 246 INSTALL = @INSTALL@ 264 247 INSTALL_DATA = @INSTALL_DATA@ … … 266 249 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 267 250 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 268 LD = @LD@269 251 LDFLAGS = @LDFLAGS@ 270 252 LIBOBJS = @LIBOBJS@ 271 253 LIBS = @LIBS@ 272 LIBTOOL = @LIBTOOL@273 LIPO = @LIPO@274 LN_S = @LN_S@275 254 LTLIBOBJS = @LTLIBOBJS@ 276 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@277 255 MAKEINFO = @MAKEINFO@ 278 MANIFEST_TOOL = @MANIFEST_TOOL@279 256 MKDIR_P = @MKDIR_P@ 280 NM = @NM@281 NMEDIT = @NMEDIT@282 OBJDUMP = @OBJDUMP@283 257 OBJEXT = @OBJEXT@ 284 OTOOL = @OTOOL@285 OTOOL64 = @OTOOL64@286 258 PACKAGE = @PACKAGE@ 287 259 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ … … 293 265 PATH_SEPARATOR = @PATH_SEPARATOR@ 294 266 RANLIB = @RANLIB@ 295 SED = @SED@296 267 SET_MAKE = @SET_MAKE@ 297 268 SHELL = @SHELL@ … … 302 273 abs_top_builddir = @abs_top_builddir@ 303 274 abs_top_srcdir = @abs_top_srcdir@ 304 ac_ct_AR = @ac_ct_AR@305 275 ac_ct_CC = @ac_ct_CC@ 306 276 ac_ct_CXX = @ac_ct_CXX@ 307 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@308 277 am__include = @am__include@ 309 278 am__leading_dot = @am__leading_dot@ … … 312 281 am__untar = @am__untar@ 313 282 bindir = @bindir@ 314 build = @build@315 283 build_alias = @build_alias@ 316 build_cpu = @build_cpu@317 build_os = @build_os@318 build_vendor = @build_vendor@319 284 builddir = @builddir@ 320 285 datadir = @datadir@ … … 323 288 dvidir = @dvidir@ 324 289 exec_prefix = @exec_prefix@ 325 host = @host@326 290 host_alias = @host_alias@ 327 host_cpu = @host_cpu@328 host_os = @host_os@329 host_vendor = @host_vendor@330 291 htmldir = @htmldir@ 331 292 includedir = @includedir@ … … 353 314 top_srcdir = @top_srcdir@ 354 315 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 355 ACLOCAL_AMFLAGS = -I automake356 316 SUBDIRS = prelude src # order important 357 317 all: all-recursive … … 391 351 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 392 352 $(am__aclocal_m4_deps): 393 394 mostlyclean-libtool:395 -rm -f *.lo396 397 clean-libtool:398 -rm -rf .libs _libs399 400 distclean-libtool:401 -rm -f libtool config.lt402 353 403 354 # This directory's subdirectories are mostly independent; you can cd … … 732 683 clean: clean-recursive 733 684 734 clean-am: clean-generic clean-libtoolmostlyclean-am685 clean-am: clean-generic mostlyclean-am 735 686 736 687 distclean: distclean-recursive 737 688 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 738 689 -rm -f Makefile 739 distclean-am: clean-am distclean-generic distclean-libtool \ 740 distclean-tags 690 distclean-am: clean-am distclean-generic distclean-tags 741 691 742 692 dvi: dvi-recursive … … 788 738 mostlyclean: mostlyclean-recursive 789 739 790 mostlyclean-am: mostlyclean-generic mostlyclean-libtool740 mostlyclean-am: mostlyclean-generic 791 741 792 742 pdf: pdf-recursive … … 804 754 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ 805 755 am--refresh check check-am clean clean-cscope clean-generic \ 806 clean-libtool cscope cscopelist-am ctags ctags-am dist \ 807 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ 808 dist-xz dist-zip distcheck distclean distclean-generic \ 809 distclean-libtool distclean-tags distcleancheck distdir \ 810 distuninstallcheck dvi dvi-am html html-am info info-am \ 811 install install-am install-data install-data-am install-dvi \ 812 install-dvi-am install-exec install-exec-am install-html \ 813 install-html-am install-info install-info-am install-man \ 814 install-pdf install-pdf-am install-ps install-ps-am \ 815 install-strip installcheck installcheck-am installdirs \ 816 installdirs-am maintainer-clean maintainer-clean-generic \ 817 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ 818 ps ps-am tags tags-am uninstall uninstall-am 756 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ 757 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ 758 distcheck distclean distclean-generic distclean-tags \ 759 distcleancheck distdir distuninstallcheck dvi dvi-am html \ 760 html-am info info-am install install-am install-data \ 761 install-data-am install-dvi install-dvi-am install-exec \ 762 install-exec-am install-html install-html-am install-info \ 763 install-info-am install-man install-pdf install-pdf-am \ 764 install-ps install-ps-am install-strip installcheck \ 765 installcheck-am installdirs installdirs-am maintainer-clean \ 766 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ 767 pdf-am ps ps-am tags tags-am uninstall uninstall-am 819 768 820 769 .PRECIOUS: Makefile -
libcfa/aclocal.m4
r6d44da1 r7428ad9 1171 1171 ]) # _AM_PROG_TAR 1172 1172 1173 m4_include([automake/libtool.m4])1174 m4_include([automake/ltoptions.m4])1175 m4_include([automake/ltsugar.m4])1176 m4_include([automake/ltversion.m4])1177 m4_include([automake/lt~obsolete.m4]) -
libcfa/configure
r6d44da1 r7428ad9 198 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209 test \$(( 1 + 1 )) = 2 || exit 1" 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 210 201 if (eval "$as_required") 2>/dev/null; then : 211 202 as_have_required=yes … … 565 556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 557 567 SHELL=${CONFIG_SHELL-/bin/sh}568 569 558 570 559 test -n "$DJDIR" || exec 7<&0 </dev/null … … 596 585 PACKAGE_URL='' 597 586 598 # Factoring default headers for most tests.599 ac_includes_default="\600 #include <stdio.h>601 #ifdef HAVE_SYS_TYPES_H602 # include <sys/types.h>603 #endif604 #ifdef HAVE_SYS_STAT_H605 # include <sys/stat.h>606 #endif607 #ifdef STDC_HEADERS608 # include <stdlib.h>609 # include <stddef.h>610 #else611 # ifdef HAVE_STDLIB_H612 # include <stdlib.h>613 # endif614 #endif615 #ifdef HAVE_STRING_H616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H617 # include <memory.h>618 # endif619 # include <string.h>620 #endif621 #ifdef HAVE_STRINGS_H622 # include <strings.h>623 #endif624 #ifdef HAVE_INTTYPES_H625 # include <inttypes.h>626 #endif627 #ifdef HAVE_STDINT_H628 # include <stdint.h>629 #endif630 #ifdef HAVE_UNISTD_H631 # include <unistd.h>632 #endif"633 634 587 ac_subst_vars='am__EXEEXT_FALSE 635 588 am__EXEEXT_TRUE 636 589 LTLIBOBJS 637 590 LIBOBJS 591 RANLIB 638 592 am__fastdepCCAS_FALSE 639 593 am__fastdepCCAS_TRUE … … 641 595 CCASFLAGS 642 596 CCAS 643 CXXCPP 597 am__fastdepCC_FALSE 598 am__fastdepCC_TRUE 599 CCDEPMODE 600 ac_ct_CC 601 CFLAGS 602 CC 644 603 am__fastdepCXX_FALSE 645 604 am__fastdepCXX_TRUE 646 605 CXXDEPMODE 647 ac_ct_CXX648 CXXFLAGS649 CXX650 CPP651 LT_SYS_LIBRARY_PATH652 OTOOL64653 OTOOL654 LIPO655 NMEDIT656 DSYMUTIL657 MANIFEST_TOOL658 RANLIB659 ac_ct_AR660 AR661 DLLTOOL662 OBJDUMP663 LN_S664 NM665 ac_ct_DUMPBIN666 DUMPBIN667 LD668 FGREP669 EGREP670 GREP671 SED672 am__fastdepCC_FALSE673 am__fastdepCC_TRUE674 CCDEPMODE675 606 am__nodep 676 607 AMDEPBACKSLASH … … 682 613 OBJEXT 683 614 EXEEXT 684 ac_ct_C C615 ac_ct_CXX 685 616 CPPFLAGS 686 617 LDFLAGS 687 CFLAGS 688 CC 689 host_os 690 host_vendor 691 host_cpu 692 host 693 build_os 694 build_vendor 695 build_cpu 696 build 697 LIBTOOL 618 CXXFLAGS 619 CXX 698 620 CFA_LIBDIR 699 621 CFA_BINDIR … … 783 705 enable_silent_rules 784 706 with_cfa_name 785 enable_shared786 enable_static787 with_pic788 enable_fast_install789 with_aix_soname790 707 enable_dependency_tracking 791 with_gnu_ld792 with_sysroot793 enable_libtool_lock794 708 ' 795 709 ac_precious_vars='build_alias … … 799 713 CONFIGURATION 800 714 DRIVER_DIR 801 C C802 C FLAGS715 CXX 716 CXXFLAGS 803 717 LDFLAGS 804 718 LIBS 805 719 CPPFLAGS 806 LT_SYS_LIBRARY_PATH807 CPP808 CXX809 CXXFLAGS810 720 CCC 811 CXXCPP 721 CC 722 CFLAGS 812 723 CCAS 813 724 CCASFLAGS' … … 1424 1335 --program-suffix=SUFFIX append SUFFIX to installed program names 1425 1336 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1426 1427 System types:1428 --build=BUILD configure for building on BUILD [guessed]1429 --host=HOST cross-compile to build programs to run on HOST [BUILD]1430 1337 _ACEOF 1431 1338 fi … … 1443 1350 --enable-silent-rules less verbose build output (undo: "make V=1") 1444 1351 --disable-silent-rules verbose build output (undo: "make V=0") 1445 --enable-shared[=PKGS] build shared libraries [default=yes]1446 --enable-static[=PKGS] build static libraries [default=yes]1447 --enable-fast-install[=PKGS]1448 optimize for fast installation [default=yes]1449 1352 --enable-dependency-tracking 1450 1353 do not reject slow dependency extractors 1451 1354 --disable-dependency-tracking 1452 1355 speeds up one-time build 1453 --disable-libtool-lock avoid locking (might break parallel builds)1454 1356 1455 1357 Optional Packages: … … 1457 1359 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1458 1360 --with-cfa-name=NAME NAME too which cfa will be installed 1459 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use1460 both]1461 --with-aix-soname=aix|svr4|both1462 shared library versioning (aka "SONAME") variant to1463 provide on AIX, [default=aix].1464 --with-gnu-ld assume the C compiler uses GNU ld [default=no]1465 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the1466 compiler's sysroot if not specified).1467 1361 1468 1362 Some influential environment variables: … … 1473 1367 deubg, nodebug, nolib (prelude-only) 1474 1368 DRIVER_DIR The path to the cforall driver directory 1475 C C Ccompiler command1476 C FLAGS Ccompiler flags1369 CXX C++ compiler command 1370 CXXFLAGS C++ compiler flags 1477 1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1478 1372 nonstandard directory <lib dir> … … 1480 1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1481 1375 you have headers in a nonstandard directory <include dir> 1482 LT_SYS_LIBRARY_PATH 1483 User-defined run-time library search path. 1484 CPP C preprocessor 1485 CXX C++ compiler command 1486 CXXFLAGS C++ compiler flags 1487 CXXCPP C++ preprocessor 1376 CC C compiler command 1377 CFLAGS C compiler flags 1488 1378 CCAS assembler compiler command (defaults to CC) 1489 1379 CCASFLAGS assembler compiler flags (defaults to CFLAGS) … … 1568 1458 ## Autoconf initialization. ## 1569 1459 ## ------------------------ ## 1460 1461 # ac_fn_cxx_try_compile LINENO 1462 # ---------------------------- 1463 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1464 ac_fn_cxx_try_compile () 1465 { 1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1467 rm -f conftest.$ac_objext 1468 if { { ac_try="$ac_compile" 1469 case "(($ac_try" in 1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1471 *) ac_try_echo=$ac_try;; 1472 esac 1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1474 $as_echo "$ac_try_echo"; } >&5 1475 (eval "$ac_compile") 2>conftest.err 1476 ac_status=$? 1477 if test -s conftest.err; then 1478 grep -v '^ *+' conftest.err >conftest.er1 1479 cat conftest.er1 >&5 1480 mv -f conftest.er1 conftest.err 1481 fi 1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1483 test $ac_status = 0; } && { 1484 test -z "$ac_cxx_werror_flag" || 1485 test ! -s conftest.err 1486 } && test -s conftest.$ac_objext; then : 1487 ac_retval=0 1488 else 1489 $as_echo "$as_me: failed program was:" >&5 1490 sed 's/^/| /' conftest.$ac_ext >&5 1491 1492 ac_retval=1 1493 fi 1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1495 as_fn_set_status $ac_retval 1496 1497 } # ac_fn_cxx_try_compile 1570 1498 1571 1499 # ac_fn_c_try_compile LINENO … … 1606 1534 1607 1535 } # ac_fn_c_try_compile 1608 1609 # ac_fn_c_try_link LINENO1610 # -----------------------1611 # Try to link conftest.$ac_ext, and return whether this succeeded.1612 ac_fn_c_try_link ()1613 {1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1615 rm -f conftest.$ac_objext conftest$ac_exeext1616 if { { ac_try="$ac_link"1617 case "(($ac_try" in1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1619 *) ac_try_echo=$ac_try;;1620 esac1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1622 $as_echo "$ac_try_echo"; } >&51623 (eval "$ac_link") 2>conftest.err1624 ac_status=$?1625 if test -s conftest.err; then1626 grep -v '^ *+' conftest.err >conftest.er11627 cat conftest.er1 >&51628 mv -f conftest.er1 conftest.err1629 fi1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51631 test $ac_status = 0; } && {1632 test -z "$ac_c_werror_flag" ||1633 test ! -s conftest.err1634 } && test -s conftest$ac_exeext && {1635 test "$cross_compiling" = yes ||1636 test -x conftest$ac_exeext1637 }; then :1638 ac_retval=01639 else1640 $as_echo "$as_me: failed program was:" >&51641 sed 's/^/| /' conftest.$ac_ext >&51642 1643 ac_retval=11644 fi1645 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1646 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1647 # interfere with the next link command; also delete a directory that is1648 # left behind by Apple's compiler. We do this before executing the actions.1649 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1651 as_fn_set_status $ac_retval1652 1653 } # ac_fn_c_try_link1654 1655 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1656 # -------------------------------------------------------1657 # Tests whether HEADER exists and can be compiled using the include files in1658 # INCLUDES, setting the cache variable VAR accordingly.1659 ac_fn_c_check_header_compile ()1660 {1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51663 $as_echo_n "checking for $2... " >&6; }1664 if eval \${$3+:} false; then :1665 $as_echo_n "(cached) " >&61666 else1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1668 /* end confdefs.h. */1669 $41670 #include <$2>1671 _ACEOF1672 if ac_fn_c_try_compile "$LINENO"; then :1673 eval "$3=yes"1674 else1675 eval "$3=no"1676 fi1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1678 fi1679 eval ac_res=\$$31680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51681 $as_echo "$ac_res" >&6; }1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1683 1684 } # ac_fn_c_check_header_compile1685 1686 # ac_fn_c_try_cpp LINENO1687 # ----------------------1688 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1689 ac_fn_c_try_cpp ()1690 {1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1692 if { { ac_try="$ac_cpp conftest.$ac_ext"1693 case "(($ac_try" in1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1695 *) ac_try_echo=$ac_try;;1696 esac1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1698 $as_echo "$ac_try_echo"; } >&51699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1700 ac_status=$?1701 if test -s conftest.err; then1702 grep -v '^ *+' conftest.err >conftest.er11703 cat conftest.er1 >&51704 mv -f conftest.er1 conftest.err1705 fi1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51707 test $ac_status = 0; } > conftest.i && {1708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1709 test ! -s conftest.err1710 }; then :1711 ac_retval=01712 else1713 $as_echo "$as_me: failed program was:" >&51714 sed 's/^/| /' conftest.$ac_ext >&51715 1716 ac_retval=11717 fi1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1719 as_fn_set_status $ac_retval1720 1721 } # ac_fn_c_try_cpp1722 1723 # ac_fn_c_try_run LINENO1724 # ----------------------1725 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1726 # that executables *can* be run.1727 ac_fn_c_try_run ()1728 {1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1730 if { { ac_try="$ac_link"1731 case "(($ac_try" in1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1733 *) ac_try_echo=$ac_try;;1734 esac1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1736 $as_echo "$ac_try_echo"; } >&51737 (eval "$ac_link") 2>&51738 ac_status=$?1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51740 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1741 { { case "(($ac_try" in1742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1743 *) ac_try_echo=$ac_try;;1744 esac1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1746 $as_echo "$ac_try_echo"; } >&51747 (eval "$ac_try") 2>&51748 ac_status=$?1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51750 test $ac_status = 0; }; }; then :1751 ac_retval=01752 else1753 $as_echo "$as_me: program exited with status $ac_status" >&51754 $as_echo "$as_me: failed program was:" >&51755 sed 's/^/| /' conftest.$ac_ext >&51756 1757 ac_retval=$ac_status1758 fi1759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1761 as_fn_set_status $ac_retval1762 1763 } # ac_fn_c_try_run1764 1765 # ac_fn_c_check_func LINENO FUNC VAR1766 # ----------------------------------1767 # Tests whether FUNC exists, setting the cache variable VAR accordingly1768 ac_fn_c_check_func ()1769 {1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51772 $as_echo_n "checking for $2... " >&6; }1773 if eval \${$3+:} false; then :1774 $as_echo_n "(cached) " >&61775 else1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1777 /* end confdefs.h. */1778 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1779 For example, HP-UX 11i <limits.h> declares gettimeofday. */1780 #define $2 innocuous_$21781 1782 /* System header to define __stub macros and hopefully few prototypes,1783 which can conflict with char $2 (); below.1784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1785 <limits.h> exists even on freestanding compilers. */1786 1787 #ifdef __STDC__1788 # include <limits.h>1789 #else1790 # include <assert.h>1791 #endif1792 1793 #undef $21794 1795 /* Override any GCC internal prototype to avoid an error.1796 Use char because int might match the return type of a GCC1797 builtin and then its argument prototype would still apply. */1798 #ifdef __cplusplus1799 extern "C"1800 #endif1801 char $2 ();1802 /* The GNU C library defines this for functions which it implements1803 to always fail with ENOSYS. Some functions are actually named1804 something starting with __ and the normal name is an alias. */1805 #if defined __stub_$2 || defined __stub___$21806 choke me1807 #endif1808 1809 int1810 main ()1811 {1812 return $2 ();1813 ;1814 return 0;1815 }1816 _ACEOF1817 if ac_fn_c_try_link "$LINENO"; then :1818 eval "$3=yes"1819 else1820 eval "$3=no"1821 fi1822 rm -f core conftest.err conftest.$ac_objext \1823 conftest$ac_exeext conftest.$ac_ext1824 fi1825 eval ac_res=\$$31826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51827 $as_echo "$ac_res" >&6; }1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1829 1830 } # ac_fn_c_check_func1831 1832 # ac_fn_cxx_try_compile LINENO1833 # ----------------------------1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.1835 ac_fn_cxx_try_compile ()1836 {1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1838 rm -f conftest.$ac_objext1839 if { { ac_try="$ac_compile"1840 case "(($ac_try" in1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1842 *) ac_try_echo=$ac_try;;1843 esac1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1845 $as_echo "$ac_try_echo"; } >&51846 (eval "$ac_compile") 2>conftest.err1847 ac_status=$?1848 if test -s conftest.err; then1849 grep -v '^ *+' conftest.err >conftest.er11850 cat conftest.er1 >&51851 mv -f conftest.er1 conftest.err1852 fi1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51854 test $ac_status = 0; } && {1855 test -z "$ac_cxx_werror_flag" ||1856 test ! -s conftest.err1857 } && test -s conftest.$ac_objext; then :1858 ac_retval=01859 else1860 $as_echo "$as_me: failed program was:" >&51861 sed 's/^/| /' conftest.$ac_ext >&51862 1863 ac_retval=11864 fi1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1866 as_fn_set_status $ac_retval1867 1868 } # ac_fn_cxx_try_compile1869 1870 # ac_fn_cxx_try_cpp LINENO1871 # ------------------------1872 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1873 ac_fn_cxx_try_cpp ()1874 {1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1876 if { { ac_try="$ac_cpp conftest.$ac_ext"1877 case "(($ac_try" in1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1879 *) ac_try_echo=$ac_try;;1880 esac1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1882 $as_echo "$ac_try_echo"; } >&51883 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1884 ac_status=$?1885 if test -s conftest.err; then1886 grep -v '^ *+' conftest.err >conftest.er11887 cat conftest.er1 >&51888 mv -f conftest.er1 conftest.err1889 fi1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51891 test $ac_status = 0; } > conftest.i && {1892 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1893 test ! -s conftest.err1894 }; then :1895 ac_retval=01896 else1897 $as_echo "$as_me: failed program was:" >&51898 sed 's/^/| /' conftest.$ac_ext >&51899 1900 ac_retval=11901 fi1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1903 as_fn_set_status $ac_retval1904 1905 } # ac_fn_cxx_try_cpp1906 1907 # ac_fn_cxx_try_link LINENO1908 # -------------------------1909 # Try to link conftest.$ac_ext, and return whether this succeeded.1910 ac_fn_cxx_try_link ()1911 {1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1913 rm -f conftest.$ac_objext conftest$ac_exeext1914 if { { ac_try="$ac_link"1915 case "(($ac_try" in1916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1917 *) ac_try_echo=$ac_try;;1918 esac1919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1920 $as_echo "$ac_try_echo"; } >&51921 (eval "$ac_link") 2>conftest.err1922 ac_status=$?1923 if test -s conftest.err; then1924 grep -v '^ *+' conftest.err >conftest.er11925 cat conftest.er1 >&51926 mv -f conftest.er1 conftest.err1927 fi1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51929 test $ac_status = 0; } && {1930 test -z "$ac_cxx_werror_flag" ||1931 test ! -s conftest.err1932 } && test -s conftest$ac_exeext && {1933 test "$cross_compiling" = yes ||1934 test -x conftest$ac_exeext1935 }; then :1936 ac_retval=01937 else1938 $as_echo "$as_me: failed program was:" >&51939 sed 's/^/| /' conftest.$ac_ext >&51940 1941 ac_retval=11942 fi1943 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1944 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1945 # interfere with the next link command; also delete a directory that is1946 # left behind by Apple's compiler. We do this before executing the actions.1947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1949 as_fn_set_status $ac_retval1950 1951 } # ac_fn_cxx_try_link1952 1536 cat >config.log <<_ACEOF 1953 1537 This file contains any messages produced by compilers while … … 2303 1887 2304 1888 ac_aux_dir= 2305 for ac_dir in automake "$srcdir"/automake; do1889 for ac_dir in ./automake "$srcdir"/./automake; do 2306 1890 if test -f "$ac_dir/install-sh"; then 2307 1891 ac_aux_dir=$ac_dir … … 2319 1903 done 2320 1904 if test -z "$ac_aux_dir"; then 2321 as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 51905 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./automake \"$srcdir\"/./automake" "$LINENO" 5 2322 1906 fi 2323 1907 … … 2329 1913 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2330 1914 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2331 2332 1915 2333 1916 … … 3065 2648 3066 2649 # Checks for programs. 3067 case `pwd` in 3068 *\ * | *\ *) 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3070 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3071 esac 3072 3073 3074 3075 macro_version='2.4.6' 3076 macro_revision='2.4.6' 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 ltmain=$ac_aux_dir/ltmain.sh 3091 3092 # Make sure we can run config.sub. 3093 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3094 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3095 3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3097 $as_echo_n "checking build system type... " >&6; } 3098 if ${ac_cv_build+:} false; then : 3099 $as_echo_n "(cached) " >&6 3100 else 3101 ac_build_alias=$build_alias 3102 test "x$ac_build_alias" = x && 3103 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3104 test "x$ac_build_alias" = x && 3105 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3106 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3107 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3108 3109 fi 3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3111 $as_echo "$ac_cv_build" >&6; } 3112 case $ac_cv_build in 3113 *-*-*) ;; 3114 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3115 esac 3116 build=$ac_cv_build 3117 ac_save_IFS=$IFS; IFS='-' 3118 set x $ac_cv_build 3119 shift 3120 build_cpu=$1 3121 build_vendor=$2 3122 shift; shift 3123 # Remember, the first character of IFS is used to create $*, 3124 # except with old shells: 3125 build_os=$* 3126 IFS=$ac_save_IFS 3127 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3128 3129 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3131 $as_echo_n "checking host system type... " >&6; } 3132 if ${ac_cv_host+:} false; then : 3133 $as_echo_n "(cached) " >&6 3134 else 3135 if test "x$host_alias" = x; then 3136 ac_cv_host=$ac_cv_build 3137 else 3138 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3139 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3140 fi 3141 3142 fi 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3144 $as_echo "$ac_cv_host" >&6; } 3145 case $ac_cv_host in 3146 *-*-*) ;; 3147 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3148 esac 3149 host=$ac_cv_host 3150 ac_save_IFS=$IFS; IFS='-' 3151 set x $ac_cv_host 3152 shift 3153 host_cpu=$1 3154 host_vendor=$2 3155 shift; shift 3156 # Remember, the first character of IFS is used to create $*, 3157 # except with old shells: 3158 host_os=$* 3159 IFS=$ac_save_IFS 3160 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3161 3162 3163 # Backslashify metacharacters that are still active within 3164 # double-quoted strings. 3165 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3166 3167 # Same as above, but do not quote variable references. 3168 double_quote_subst='s/\(["`\\]\)/\\\1/g' 3169 3170 # Sed substitution to delay expansion of an escaped shell variable in a 3171 # double_quote_subst'ed string. 3172 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3173 3174 # Sed substitution to delay expansion of an escaped single quote. 3175 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3176 3177 # Sed substitution to avoid accidental globbing in evaled expressions 3178 no_glob_subst='s/\*/\\\*/g' 3179 3180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3181 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3182 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3183 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3185 $as_echo_n "checking how to print strings... " >&6; } 3186 # Test print first, because it will be a builtin if present. 3187 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3188 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3189 ECHO='print -r --' 3190 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3191 ECHO='printf %s\n' 3192 else 3193 # Use this function as a fallback that always works. 3194 func_fallback_echo () 3195 { 3196 eval 'cat <<_LTECHO_EOF 3197 $1 3198 _LTECHO_EOF' 3199 } 3200 ECHO='func_fallback_echo' 3201 fi 3202 3203 # func_echo_all arg... 3204 # Invoke $ECHO with all args, space-separated. 3205 func_echo_all () 3206 { 3207 $ECHO "" 3208 } 3209 3210 case $ECHO in 3211 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3212 $as_echo "printf" >&6; } ;; 3213 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3214 $as_echo "print -r" >&6; } ;; 3215 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3216 $as_echo "cat" >&6; } ;; 3217 esac 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 DEPDIR="${am__leading_dot}deps" 3233 3234 ac_config_commands="$ac_config_commands depfiles" 3235 3236 3237 am_make=${MAKE-make} 3238 cat > confinc << 'END' 3239 am__doit: 3240 @echo this is the am__doit target 3241 .PHONY: am__doit 3242 END 3243 # If we don't find an include directive, just comment out the code. 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3245 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3246 am__include="#" 3247 am__quote= 3248 _am_result=none 3249 # First try GNU make style include. 3250 echo "include confinc" > confmf 3251 # Ignore all kinds of additional output from 'make'. 3252 case `$am_make -s -f confmf 2> /dev/null` in #( 3253 *the\ am__doit\ target*) 3254 am__include=include 3255 am__quote= 3256 _am_result=GNU 3257 ;; 3258 esac 3259 # Now try BSD make style include. 3260 if test "$am__include" = "#"; then 3261 echo '.include "confinc"' > confmf 3262 case `$am_make -s -f confmf 2> /dev/null` in #( 3263 *the\ am__doit\ target*) 3264 am__include=.include 3265 am__quote="\"" 3266 _am_result=BSD 3267 ;; 3268 esac 3269 fi 3270 3271 3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3273 $as_echo "$_am_result" >&6; } 3274 rm -f confinc confmf 3275 3276 # Check whether --enable-dependency-tracking was given. 3277 if test "${enable_dependency_tracking+set}" = set; then : 3278 enableval=$enable_dependency_tracking; 3279 fi 3280 3281 if test "x$enable_dependency_tracking" != xno; then 3282 am_depcomp="$ac_aux_dir/depcomp" 3283 AMDEPBACKSLASH='\' 3284 am__nodep='_no' 3285 fi 3286 if test "x$enable_dependency_tracking" != xno; then 3287 AMDEP_TRUE= 3288 AMDEP_FALSE='#' 3289 else 3290 AMDEP_TRUE='#' 3291 AMDEP_FALSE= 3292 fi 3293 3294 3295 ac_ext=c 3296 ac_cpp='$CPP $CPPFLAGS' 3297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3299 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3300 if test -n "$ac_tool_prefix"; then 3301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3302 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2650 ac_ext=cpp 2651 ac_cpp='$CXXCPP $CPPFLAGS' 2652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2655 if test -z "$CXX"; then 2656 if test -n "$CCC"; then 2657 CXX=$CCC 2658 else 2659 if test -n "$ac_tool_prefix"; then 2660 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2661 do 2662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3303 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3304 2665 $as_echo_n "checking for $ac_word... " >&6; } 3305 if ${ac_cv_prog_C C+:} false; then :2666 if ${ac_cv_prog_CXX+:} false; then : 3306 2667 $as_echo_n "(cached) " >&6 3307 2668 else 3308 if test -n "$C C"; then3309 ac_cv_prog_C C="$CC" # Let the user override the test.2669 if test -n "$CXX"; then 2670 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3310 2671 else 3311 2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3316 2677 for ac_exec_ext in '' $ac_executable_extensions; do 3317 2678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3318 ac_cv_prog_C C="${ac_tool_prefix}gcc"2679 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3319 2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3320 2681 break 2 … … 3326 2687 fi 3327 2688 fi 3328 C C=$ac_cv_prog_CC3329 if test -n "$C C"; then3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $C C" >&53331 $as_echo "$C C" >&6; }2689 CXX=$ac_cv_prog_CXX 2690 if test -n "$CXX"; then 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2692 $as_echo "$CXX" >&6; } 3332 2693 else 3333 2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 … … 3336 2697 3337 2698 3338 fi 3339 if test -z "$ac_cv_prog_CC"; then 3340 ac_ct_CC=$CC 3341 # Extract the first word of "gcc", so it can be a program name with args. 3342 set dummy gcc; ac_word=$2 2699 test -n "$CXX" && break 2700 done 2701 fi 2702 if test -z "$CXX"; then 2703 ac_ct_CXX=$CXX 2704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2705 do 2706 # Extract the first word of "$ac_prog", so it can be a program name with args. 2707 set dummy $ac_prog; ac_word=$2 3343 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3344 2709 $as_echo_n "checking for $ac_word... " >&6; } 3345 if ${ac_cv_prog_ac_ct_C C+:} false; then :2710 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3346 2711 $as_echo_n "(cached) " >&6 3347 2712 else 3348 if test -n "$ac_ct_C C"; then3349 ac_cv_prog_ac_ct_C C="$ac_ct_CC" # Let the user override the test.2713 if test -n "$ac_ct_CXX"; then 2714 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3350 2715 else 3351 2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3356 2721 for ac_exec_ext in '' $ac_executable_extensions; do 3357 2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3358 ac_cv_prog_ac_ct_C C="gcc"2723 ac_cv_prog_ac_ct_CXX="$ac_prog" 3359 2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3360 2725 break 2 … … 3366 2731 fi 3367 2732 fi 3368 ac_ct_C C=$ac_cv_prog_ac_ct_CC3369 if test -n "$ac_ct_C C"; then3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_C C" >&53371 $as_echo "$ac_ct_C C" >&6; }2733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2734 if test -n "$ac_ct_CXX"; then 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2736 $as_echo "$ac_ct_CXX" >&6; } 3372 2737 else 3373 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 … … 3375 2740 fi 3376 2741 3377 if test "x$ac_ct_CC" = x; then 3378 CC="" 2742 2743 test -n "$ac_ct_CXX" && break 2744 done 2745 2746 if test "x$ac_ct_CXX" = x; then 2747 CXX="g++" 3379 2748 else 3380 2749 case $cross_compiling:$ac_tool_warned in … … 3384 2753 ac_tool_warned=yes ;; 3385 2754 esac 3386 C C=$ac_ct_CC2755 CXX=$ac_ct_CXX 3387 2756 fi 3388 else 3389 CC="$ac_cv_prog_CC" 3390 fi 3391 3392 if test -z "$CC"; then 3393 if test -n "$ac_tool_prefix"; then 3394 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3395 set dummy ${ac_tool_prefix}cc; ac_word=$2 3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3397 $as_echo_n "checking for $ac_word... " >&6; } 3398 if ${ac_cv_prog_CC+:} false; then : 3399 $as_echo_n "(cached) " >&6 3400 else 3401 if test -n "$CC"; then 3402 ac_cv_prog_CC="$CC" # Let the user override the test. 3403 else 3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3405 for as_dir in $PATH 3406 do 3407 IFS=$as_save_IFS 3408 test -z "$as_dir" && as_dir=. 3409 for ac_exec_ext in '' $ac_executable_extensions; do 3410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3411 ac_cv_prog_CC="${ac_tool_prefix}cc" 3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3413 break 2 2757 fi 2758 3414 2759 fi 3415 done 3416 done 3417 IFS=$as_save_IFS 3418 3419 fi 3420 fi 3421 CC=$ac_cv_prog_CC 3422 if test -n "$CC"; then 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3424 $as_echo "$CC" >&6; } 3425 else 3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3427 $as_echo "no" >&6; } 3428 fi 3429 3430 3431 fi 3432 fi 3433 if test -z "$CC"; then 3434 # Extract the first word of "cc", so it can be a program name with args. 3435 set dummy cc; ac_word=$2 3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3437 $as_echo_n "checking for $ac_word... " >&6; } 3438 if ${ac_cv_prog_CC+:} false; then : 3439 $as_echo_n "(cached) " >&6 3440 else 3441 if test -n "$CC"; then 3442 ac_cv_prog_CC="$CC" # Let the user override the test. 3443 else 3444 ac_prog_rejected=no 3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3446 for as_dir in $PATH 3447 do 3448 IFS=$as_save_IFS 3449 test -z "$as_dir" && as_dir=. 3450 for ac_exec_ext in '' $ac_executable_extensions; do 3451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3452 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3453 ac_prog_rejected=yes 3454 continue 3455 fi 3456 ac_cv_prog_CC="cc" 3457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3458 break 2 3459 fi 3460 done 3461 done 3462 IFS=$as_save_IFS 3463 3464 if test $ac_prog_rejected = yes; then 3465 # We found a bogon in the path, so make sure we never use it. 3466 set dummy $ac_cv_prog_CC 3467 shift 3468 if test $# != 0; then 3469 # We chose a different compiler from the bogus one. 3470 # However, it has the same basename, so the bogon will be chosen 3471 # first if we set CC to just the basename; use the full file name. 3472 shift 3473 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3474 fi 3475 fi 3476 fi 3477 fi 3478 CC=$ac_cv_prog_CC 3479 if test -n "$CC"; then 3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3481 $as_echo "$CC" >&6; } 3482 else 3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3484 $as_echo "no" >&6; } 3485 fi 3486 3487 3488 fi 3489 if test -z "$CC"; then 3490 if test -n "$ac_tool_prefix"; then 3491 for ac_prog in cl.exe 3492 do 3493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3496 $as_echo_n "checking for $ac_word... " >&6; } 3497 if ${ac_cv_prog_CC+:} false; then : 3498 $as_echo_n "(cached) " >&6 3499 else 3500 if test -n "$CC"; then 3501 ac_cv_prog_CC="$CC" # Let the user override the test. 3502 else 3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3504 for as_dir in $PATH 3505 do 3506 IFS=$as_save_IFS 3507 test -z "$as_dir" && as_dir=. 3508 for ac_exec_ext in '' $ac_executable_extensions; do 3509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3510 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3512 break 2 3513 fi 3514 done 3515 done 3516 IFS=$as_save_IFS 3517 3518 fi 3519 fi 3520 CC=$ac_cv_prog_CC 3521 if test -n "$CC"; then 3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3523 $as_echo "$CC" >&6; } 3524 else 3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3526 $as_echo "no" >&6; } 3527 fi 3528 3529 3530 test -n "$CC" && break 3531 done 3532 fi 3533 if test -z "$CC"; then 3534 ac_ct_CC=$CC 3535 for ac_prog in cl.exe 3536 do 3537 # Extract the first word of "$ac_prog", so it can be a program name with args. 3538 set dummy $ac_prog; ac_word=$2 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3540 $as_echo_n "checking for $ac_word... " >&6; } 3541 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3542 $as_echo_n "(cached) " >&6 3543 else 3544 if test -n "$ac_ct_CC"; then 3545 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3546 else 3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3548 for as_dir in $PATH 3549 do 3550 IFS=$as_save_IFS 3551 test -z "$as_dir" && as_dir=. 3552 for ac_exec_ext in '' $ac_executable_extensions; do 3553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3554 ac_cv_prog_ac_ct_CC="$ac_prog" 3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3556 break 2 3557 fi 3558 done 3559 done 3560 IFS=$as_save_IFS 3561 3562 fi 3563 fi 3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3565 if test -n "$ac_ct_CC"; then 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3567 $as_echo "$ac_ct_CC" >&6; } 3568 else 3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3570 $as_echo "no" >&6; } 3571 fi 3572 3573 3574 test -n "$ac_ct_CC" && break 3575 done 3576 3577 if test "x$ac_ct_CC" = x; then 3578 CC="" 3579 else 3580 case $cross_compiling:$ac_tool_warned in 3581 yes:) 3582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3584 ac_tool_warned=yes ;; 3585 esac 3586 CC=$ac_ct_CC 3587 fi 3588 fi 3589 3590 fi 3591 3592 3593 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3595 as_fn_error $? "no acceptable C compiler found in \$PATH 3596 See \`config.log' for more details" "$LINENO" 5; } 3597 2760 fi 3598 2761 # Provide some information about the compiler. 3599 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&52762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3600 2763 set X $ac_compile 3601 2764 ac_compiler=$2 … … 3637 2800 # It will help us diagnose broken compilers, and finding out an intuition 3638 2801 # of exeext. 3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&53640 $as_echo_n "checking whether the C compiler works... " >&6; }2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2803 $as_echo_n "checking whether the C++ compiler works... " >&6; } 3641 2804 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3642 2805 … … 3708 2871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3709 2872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3710 as_fn_error 77 "C compiler cannot create executables2873 as_fn_error 77 "C++ compiler cannot create executables 3711 2874 See \`config.log' for more details" "$LINENO" 5; } 3712 2875 else … … 3714 2877 $as_echo "yes" >&6; } 3715 2878 fi 3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53717 $as_echo_n "checking for C compiler default output file name... " >&6; }2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2880 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 3718 2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3719 2882 $as_echo "$ac_file" >&6; } … … 3809 2972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3810 2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3811 as_fn_error $? "cannot run C compiled programs.2974 as_fn_error $? "cannot run C++ compiled programs. 3812 2975 If you meant to cross compile, use \`--host'. 3813 2976 See \`config.log' for more details" "$LINENO" 5; } … … 3871 3034 OBJEXT=$ac_cv_objext 3872 3035 ac_objext=$OBJEXT 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3037 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3038 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3039 $as_echo_n "(cached) " >&6 3040 else 3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3042 /* end confdefs.h. */ 3043 3044 int 3045 main () 3046 { 3047 #ifndef __GNUC__ 3048 choke me 3049 #endif 3050 3051 ; 3052 return 0; 3053 } 3054 _ACEOF 3055 if ac_fn_cxx_try_compile "$LINENO"; then : 3056 ac_compiler_gnu=yes 3057 else 3058 ac_compiler_gnu=no 3059 fi 3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3061 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3062 3063 fi 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3065 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3066 if test $ac_compiler_gnu = yes; then 3067 GXX=yes 3068 else 3069 GXX= 3070 fi 3071 ac_test_CXXFLAGS=${CXXFLAGS+set} 3072 ac_save_CXXFLAGS=$CXXFLAGS 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3074 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3075 if ${ac_cv_prog_cxx_g+:} false; then : 3076 $as_echo_n "(cached) " >&6 3077 else 3078 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3079 ac_cxx_werror_flag=yes 3080 ac_cv_prog_cxx_g=no 3081 CXXFLAGS="-g" 3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3083 /* end confdefs.h. */ 3084 3085 int 3086 main () 3087 { 3088 3089 ; 3090 return 0; 3091 } 3092 _ACEOF 3093 if ac_fn_cxx_try_compile "$LINENO"; then : 3094 ac_cv_prog_cxx_g=yes 3095 else 3096 CXXFLAGS="" 3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3098 /* end confdefs.h. */ 3099 3100 int 3101 main () 3102 { 3103 3104 ; 3105 return 0; 3106 } 3107 _ACEOF 3108 if ac_fn_cxx_try_compile "$LINENO"; then : 3109 3110 else 3111 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3112 CXXFLAGS="-g" 3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3114 /* end confdefs.h. */ 3115 3116 int 3117 main () 3118 { 3119 3120 ; 3121 return 0; 3122 } 3123 _ACEOF 3124 if ac_fn_cxx_try_compile "$LINENO"; then : 3125 ac_cv_prog_cxx_g=yes 3126 fi 3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3128 fi 3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3130 fi 3131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3132 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3133 fi 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3135 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3136 if test "$ac_test_CXXFLAGS" = set; then 3137 CXXFLAGS=$ac_save_CXXFLAGS 3138 elif test $ac_cv_prog_cxx_g = yes; then 3139 if test "$GXX" = yes; then 3140 CXXFLAGS="-g -O2" 3141 else 3142 CXXFLAGS="-g" 3143 fi 3144 else 3145 if test "$GXX" = yes; then 3146 CXXFLAGS="-O2" 3147 else 3148 CXXFLAGS= 3149 fi 3150 fi 3151 ac_ext=c 3152 ac_cpp='$CPP $CPPFLAGS' 3153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3155 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3156 DEPDIR="${am__leading_dot}deps" 3157 3158 ac_config_commands="$ac_config_commands depfiles" 3159 3160 3161 am_make=${MAKE-make} 3162 cat > confinc << 'END' 3163 am__doit: 3164 @echo this is the am__doit target 3165 .PHONY: am__doit 3166 END 3167 # If we don't find an include directive, just comment out the code. 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3169 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3170 am__include="#" 3171 am__quote= 3172 _am_result=none 3173 # First try GNU make style include. 3174 echo "include confinc" > confmf 3175 # Ignore all kinds of additional output from 'make'. 3176 case `$am_make -s -f confmf 2> /dev/null` in #( 3177 *the\ am__doit\ target*) 3178 am__include=include 3179 am__quote= 3180 _am_result=GNU 3181 ;; 3182 esac 3183 # Now try BSD make style include. 3184 if test "$am__include" = "#"; then 3185 echo '.include "confinc"' > confmf 3186 case `$am_make -s -f confmf 2> /dev/null` in #( 3187 *the\ am__doit\ target*) 3188 am__include=.include 3189 am__quote="\"" 3190 _am_result=BSD 3191 ;; 3192 esac 3193 fi 3194 3195 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3197 $as_echo "$_am_result" >&6; } 3198 rm -f confinc confmf 3199 3200 # Check whether --enable-dependency-tracking was given. 3201 if test "${enable_dependency_tracking+set}" = set; then : 3202 enableval=$enable_dependency_tracking; 3203 fi 3204 3205 if test "x$enable_dependency_tracking" != xno; then 3206 am_depcomp="$ac_aux_dir/depcomp" 3207 AMDEPBACKSLASH='\' 3208 am__nodep='_no' 3209 fi 3210 if test "x$enable_dependency_tracking" != xno; then 3211 AMDEP_TRUE= 3212 AMDEP_FALSE='#' 3213 else 3214 AMDEP_TRUE='#' 3215 AMDEP_FALSE= 3216 fi 3217 3218 3219 3220 depcc="$CXX" am_compiler_list= 3221 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3223 $as_echo_n "checking dependency style of $depcc... " >&6; } 3224 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3225 $as_echo_n "(cached) " >&6 3226 else 3227 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3228 # We make a subdir and do the tests there. Otherwise we can end up 3229 # making bogus files that we don't know about and never remove. For 3230 # instance it was reported that on HP-UX the gcc test will end up 3231 # making a dummy file named 'D' -- because '-MD' means "put the output 3232 # in D". 3233 rm -rf conftest.dir 3234 mkdir conftest.dir 3235 # Copy depcomp to subdir because otherwise we won't find it if we're 3236 # using a relative directory. 3237 cp "$am_depcomp" conftest.dir 3238 cd conftest.dir 3239 # We will build objects and dependencies in a subdirectory because 3240 # it helps to detect inapplicable dependency modes. For instance 3241 # both Tru64's cc and ICC support -MD to output dependencies as a 3242 # side effect of compilation, but ICC will put the dependencies in 3243 # the current directory while Tru64 will put them in the object 3244 # directory. 3245 mkdir sub 3246 3247 am_cv_CXX_dependencies_compiler_type=none 3248 if test "$am_compiler_list" = ""; then 3249 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3250 fi 3251 am__universal=false 3252 case " $depcc " in #( 3253 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3254 esac 3255 3256 for depmode in $am_compiler_list; do 3257 # Setup a source with many dependencies, because some compilers 3258 # like to wrap large dependency lists on column 80 (with \), and 3259 # we should not choose a depcomp mode which is confused by this. 3260 # 3261 # We need to recreate these files for each test, as the compiler may 3262 # overwrite some of them when testing with obscure command lines. 3263 # This happens at least with the AIX C compiler. 3264 : > sub/conftest.c 3265 for i in 1 2 3 4 5 6; do 3266 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3267 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3268 # Solaris 10 /bin/sh. 3269 echo '/* dummy */' > sub/conftst$i.h 3270 done 3271 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3272 3273 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3274 # mode. It turns out that the SunPro C++ compiler does not properly 3275 # handle '-M -o', and we need to detect this. Also, some Intel 3276 # versions had trouble with output in subdirs. 3277 am__obj=sub/conftest.${OBJEXT-o} 3278 am__minus_obj="-o $am__obj" 3279 case $depmode in 3280 gcc) 3281 # This depmode causes a compiler race in universal mode. 3282 test "$am__universal" = false || continue 3283 ;; 3284 nosideeffect) 3285 # After this tag, mechanisms are not by side-effect, so they'll 3286 # only be used when explicitly requested. 3287 if test "x$enable_dependency_tracking" = xyes; then 3288 continue 3289 else 3290 break 3291 fi 3292 ;; 3293 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3294 # This compiler won't grok '-c -o', but also, the minuso test has 3295 # not run yet. These depmodes are late enough in the game, and 3296 # so weak that their functioning should not be impacted. 3297 am__obj=conftest.${OBJEXT-o} 3298 am__minus_obj= 3299 ;; 3300 none) break ;; 3301 esac 3302 if depmode=$depmode \ 3303 source=sub/conftest.c object=$am__obj \ 3304 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3305 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3306 >/dev/null 2>conftest.err && 3307 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3308 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3309 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3310 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3311 # icc doesn't choke on unknown options, it will just issue warnings 3312 # or remarks (even with -Werror). So we grep stderr for any message 3313 # that says an option was ignored or not supported. 3314 # When given -MP, icc 7.0 and 7.1 complain thusly: 3315 # icc: Command line warning: ignoring option '-M'; no argument required 3316 # The diagnosis changed in icc 8.0: 3317 # icc: Command line remark: option '-MP' not supported 3318 if (grep 'ignoring option' conftest.err || 3319 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3320 am_cv_CXX_dependencies_compiler_type=$depmode 3321 break 3322 fi 3323 fi 3324 done 3325 3326 cd .. 3327 rm -rf conftest.dir 3328 else 3329 am_cv_CXX_dependencies_compiler_type=none 3330 fi 3331 3332 fi 3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3334 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3335 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3336 3337 if 3338 test "x$enable_dependency_tracking" != xno \ 3339 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3340 am__fastdepCXX_TRUE= 3341 am__fastdepCXX_FALSE='#' 3342 else 3343 am__fastdepCXX_TRUE='#' 3344 am__fastdepCXX_FALSE= 3345 fi 3346 3347 3348 ac_ext=c 3349 ac_cpp='$CPP $CPPFLAGS' 3350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3352 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3353 if test -n "$ac_tool_prefix"; then 3354 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3355 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3357 $as_echo_n "checking for $ac_word... " >&6; } 3358 if ${ac_cv_prog_CC+:} false; then : 3359 $as_echo_n "(cached) " >&6 3360 else 3361 if test -n "$CC"; then 3362 ac_cv_prog_CC="$CC" # Let the user override the test. 3363 else 3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3365 for as_dir in $PATH 3366 do 3367 IFS=$as_save_IFS 3368 test -z "$as_dir" && as_dir=. 3369 for ac_exec_ext in '' $ac_executable_extensions; do 3370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3371 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3373 break 2 3374 fi 3375 done 3376 done 3377 IFS=$as_save_IFS 3378 3379 fi 3380 fi 3381 CC=$ac_cv_prog_CC 3382 if test -n "$CC"; then 3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3384 $as_echo "$CC" >&6; } 3385 else 3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3387 $as_echo "no" >&6; } 3388 fi 3389 3390 3391 fi 3392 if test -z "$ac_cv_prog_CC"; then 3393 ac_ct_CC=$CC 3394 # Extract the first word of "gcc", so it can be a program name with args. 3395 set dummy gcc; ac_word=$2 3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3397 $as_echo_n "checking for $ac_word... " >&6; } 3398 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3399 $as_echo_n "(cached) " >&6 3400 else 3401 if test -n "$ac_ct_CC"; then 3402 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3403 else 3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3405 for as_dir in $PATH 3406 do 3407 IFS=$as_save_IFS 3408 test -z "$as_dir" && as_dir=. 3409 for ac_exec_ext in '' $ac_executable_extensions; do 3410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3411 ac_cv_prog_ac_ct_CC="gcc" 3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3413 break 2 3414 fi 3415 done 3416 done 3417 IFS=$as_save_IFS 3418 3419 fi 3420 fi 3421 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3422 if test -n "$ac_ct_CC"; then 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3424 $as_echo "$ac_ct_CC" >&6; } 3425 else 3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3427 $as_echo "no" >&6; } 3428 fi 3429 3430 if test "x$ac_ct_CC" = x; then 3431 CC="" 3432 else 3433 case $cross_compiling:$ac_tool_warned in 3434 yes:) 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3437 ac_tool_warned=yes ;; 3438 esac 3439 CC=$ac_ct_CC 3440 fi 3441 else 3442 CC="$ac_cv_prog_CC" 3443 fi 3444 3445 if test -z "$CC"; then 3446 if test -n "$ac_tool_prefix"; then 3447 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3448 set dummy ${ac_tool_prefix}cc; ac_word=$2 3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3450 $as_echo_n "checking for $ac_word... " >&6; } 3451 if ${ac_cv_prog_CC+:} false; then : 3452 $as_echo_n "(cached) " >&6 3453 else 3454 if test -n "$CC"; then 3455 ac_cv_prog_CC="$CC" # Let the user override the test. 3456 else 3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3458 for as_dir in $PATH 3459 do 3460 IFS=$as_save_IFS 3461 test -z "$as_dir" && as_dir=. 3462 for ac_exec_ext in '' $ac_executable_extensions; do 3463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3464 ac_cv_prog_CC="${ac_tool_prefix}cc" 3465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3466 break 2 3467 fi 3468 done 3469 done 3470 IFS=$as_save_IFS 3471 3472 fi 3473 fi 3474 CC=$ac_cv_prog_CC 3475 if test -n "$CC"; then 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3477 $as_echo "$CC" >&6; } 3478 else 3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3480 $as_echo "no" >&6; } 3481 fi 3482 3483 3484 fi 3485 fi 3486 if test -z "$CC"; then 3487 # Extract the first word of "cc", so it can be a program name with args. 3488 set dummy cc; ac_word=$2 3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3490 $as_echo_n "checking for $ac_word... " >&6; } 3491 if ${ac_cv_prog_CC+:} false; then : 3492 $as_echo_n "(cached) " >&6 3493 else 3494 if test -n "$CC"; then 3495 ac_cv_prog_CC="$CC" # Let the user override the test. 3496 else 3497 ac_prog_rejected=no 3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3499 for as_dir in $PATH 3500 do 3501 IFS=$as_save_IFS 3502 test -z "$as_dir" && as_dir=. 3503 for ac_exec_ext in '' $ac_executable_extensions; do 3504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3505 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3506 ac_prog_rejected=yes 3507 continue 3508 fi 3509 ac_cv_prog_CC="cc" 3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3511 break 2 3512 fi 3513 done 3514 done 3515 IFS=$as_save_IFS 3516 3517 if test $ac_prog_rejected = yes; then 3518 # We found a bogon in the path, so make sure we never use it. 3519 set dummy $ac_cv_prog_CC 3520 shift 3521 if test $# != 0; then 3522 # We chose a different compiler from the bogus one. 3523 # However, it has the same basename, so the bogon will be chosen 3524 # first if we set CC to just the basename; use the full file name. 3525 shift 3526 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3527 fi 3528 fi 3529 fi 3530 fi 3531 CC=$ac_cv_prog_CC 3532 if test -n "$CC"; then 3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3534 $as_echo "$CC" >&6; } 3535 else 3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3537 $as_echo "no" >&6; } 3538 fi 3539 3540 3541 fi 3542 if test -z "$CC"; then 3543 if test -n "$ac_tool_prefix"; then 3544 for ac_prog in cl.exe 3545 do 3546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3549 $as_echo_n "checking for $ac_word... " >&6; } 3550 if ${ac_cv_prog_CC+:} false; then : 3551 $as_echo_n "(cached) " >&6 3552 else 3553 if test -n "$CC"; then 3554 ac_cv_prog_CC="$CC" # Let the user override the test. 3555 else 3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3557 for as_dir in $PATH 3558 do 3559 IFS=$as_save_IFS 3560 test -z "$as_dir" && as_dir=. 3561 for ac_exec_ext in '' $ac_executable_extensions; do 3562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3563 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3565 break 2 3566 fi 3567 done 3568 done 3569 IFS=$as_save_IFS 3570 3571 fi 3572 fi 3573 CC=$ac_cv_prog_CC 3574 if test -n "$CC"; then 3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3576 $as_echo "$CC" >&6; } 3577 else 3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3579 $as_echo "no" >&6; } 3580 fi 3581 3582 3583 test -n "$CC" && break 3584 done 3585 fi 3586 if test -z "$CC"; then 3587 ac_ct_CC=$CC 3588 for ac_prog in cl.exe 3589 do 3590 # Extract the first word of "$ac_prog", so it can be a program name with args. 3591 set dummy $ac_prog; ac_word=$2 3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3593 $as_echo_n "checking for $ac_word... " >&6; } 3594 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3595 $as_echo_n "(cached) " >&6 3596 else 3597 if test -n "$ac_ct_CC"; then 3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3599 else 3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3601 for as_dir in $PATH 3602 do 3603 IFS=$as_save_IFS 3604 test -z "$as_dir" && as_dir=. 3605 for ac_exec_ext in '' $ac_executable_extensions; do 3606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3607 ac_cv_prog_ac_ct_CC="$ac_prog" 3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3609 break 2 3610 fi 3611 done 3612 done 3613 IFS=$as_save_IFS 3614 3615 fi 3616 fi 3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3618 if test -n "$ac_ct_CC"; then 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3620 $as_echo "$ac_ct_CC" >&6; } 3621 else 3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3623 $as_echo "no" >&6; } 3624 fi 3625 3626 3627 test -n "$ac_ct_CC" && break 3628 done 3629 3630 if test "x$ac_ct_CC" = x; then 3631 CC="" 3632 else 3633 case $cross_compiling:$ac_tool_warned in 3634 yes:) 3635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3637 ac_tool_warned=yes ;; 3638 esac 3639 CC=$ac_ct_CC 3640 fi 3641 fi 3642 3643 fi 3644 3645 3646 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3648 as_fn_error $? "no acceptable C compiler found in \$PATH 3649 See \`config.log' for more details" "$LINENO" 5; } 3650 3651 # Provide some information about the compiler. 3652 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3653 set X $ac_compile 3654 ac_compiler=$2 3655 for ac_option in --version -v -V -qversion; do 3656 { { ac_try="$ac_compiler $ac_option >&5" 3657 case "(($ac_try" in 3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3659 *) ac_try_echo=$ac_try;; 3660 esac 3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3662 $as_echo "$ac_try_echo"; } >&5 3663 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3664 ac_status=$? 3665 if test -s conftest.err; then 3666 sed '10a\ 3667 ... rest of stderr output deleted ... 3668 10q' conftest.err >conftest.er1 3669 cat conftest.er1 >&5 3670 fi 3671 rm -f conftest.er1 conftest.err 3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3673 test $ac_status = 0; } 3674 done 3675 3873 3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3874 3677 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } … … 4269 4072 4270 4073 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&54272 $as_echo_n "checking for a sed that does not truncate output... " >&6; }4273 if ${ac_cv_path_SED+:} false; then :4274 $as_echo_n "(cached) " >&64275 else4276 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/4277 for ac_i in 1 2 3 4 5 6 7; do4278 ac_script="$ac_script$as_nl$ac_script"4279 done4280 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed4281 { ac_script=; unset ac_script;}4282 if test -z "$SED"; then4283 ac_path_SED_found=false4284 # Loop through the user's path and test for each of PROGNAME-LIST4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4286 for as_dir in $PATH4287 do4288 IFS=$as_save_IFS4289 test -z "$as_dir" && as_dir=.4290 for ac_prog in sed gsed; do4291 for ac_exec_ext in '' $ac_executable_extensions; do4292 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"4293 as_fn_executable_p "$ac_path_SED" || continue4294 # Check for GNU ac_path_SED and select it if it is found.4295 # Check for GNU $ac_path_SED4296 case `"$ac_path_SED" --version 2>&1` in4297 *GNU*)4298 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;4299 *)4300 ac_count=04301 $as_echo_n 0123456789 >"conftest.in"4302 while :4303 do4304 cat "conftest.in" "conftest.in" >"conftest.tmp"4305 mv "conftest.tmp" "conftest.in"4306 cp "conftest.in" "conftest.nl"4307 $as_echo '' >> "conftest.nl"4308 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break4309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4310 as_fn_arith $ac_count + 1 && ac_count=$as_val4311 if test $ac_count -gt ${ac_path_SED_max-0}; then4312 # Best one so far, save it but keep looking for a better one4313 ac_cv_path_SED="$ac_path_SED"4314 ac_path_SED_max=$ac_count4315 fi4316 # 10*(2^10) chars as input seems more than enough4317 test $ac_count -gt 10 && break4318 done4319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4320 esac4321 4322 $ac_path_SED_found && break 34323 done4324 done4325 done4326 IFS=$as_save_IFS4327 if test -z "$ac_cv_path_SED"; then4328 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 54329 fi4330 else4331 ac_cv_path_SED=$SED4332 fi4333 4334 fi4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&54336 $as_echo "$ac_cv_path_SED" >&6; }4337 SED="$ac_cv_path_SED"4338 rm -f conftest.sed4339 4340 test -z "$SED" && SED=sed4341 Xsed="$SED -e 1s/^X//"4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&54354 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }4355 if ${ac_cv_path_GREP+:} false; then :4356 $as_echo_n "(cached) " >&64357 else4358 if test -z "$GREP"; then4359 ac_path_GREP_found=false4360 # Loop through the user's path and test for each of PROGNAME-LIST4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4363 do4364 IFS=$as_save_IFS4365 test -z "$as_dir" && as_dir=.4366 for ac_prog in grep ggrep; do4367 for ac_exec_ext in '' $ac_executable_extensions; do4368 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4369 as_fn_executable_p "$ac_path_GREP" || continue4370 # Check for GNU ac_path_GREP and select it if it is found.4371 # Check for GNU $ac_path_GREP4372 case `"$ac_path_GREP" --version 2>&1` in4373 *GNU*)4374 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;4375 *)4376 ac_count=04377 $as_echo_n 0123456789 >"conftest.in"4378 while :4379 do4380 cat "conftest.in" "conftest.in" >"conftest.tmp"4381 mv "conftest.tmp" "conftest.in"4382 cp "conftest.in" "conftest.nl"4383 $as_echo 'GREP' >> "conftest.nl"4384 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break4385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4386 as_fn_arith $ac_count + 1 && ac_count=$as_val4387 if test $ac_count -gt ${ac_path_GREP_max-0}; then4388 # Best one so far, save it but keep looking for a better one4389 ac_cv_path_GREP="$ac_path_GREP"4390 ac_path_GREP_max=$ac_count4391 fi4392 # 10*(2^10) chars as input seems more than enough4393 test $ac_count -gt 10 && break4394 done4395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4396 esac4397 4398 $ac_path_GREP_found && break 34399 done4400 done4401 done4402 IFS=$as_save_IFS4403 if test -z "$ac_cv_path_GREP"; then4404 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54405 fi4406 else4407 ac_cv_path_GREP=$GREP4408 fi4409 4410 fi4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&54412 $as_echo "$ac_cv_path_GREP" >&6; }4413 GREP="$ac_cv_path_GREP"4414 4415 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54417 $as_echo_n "checking for egrep... " >&6; }4418 if ${ac_cv_path_EGREP+:} false; then :4419 $as_echo_n "(cached) " >&64420 else4421 if echo a | $GREP -E '(a|b)' >/dev/null 2>&14422 then ac_cv_path_EGREP="$GREP -E"4423 else4424 if test -z "$EGREP"; then4425 ac_path_EGREP_found=false4426 # Loop through the user's path and test for each of PROGNAME-LIST4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4429 do4430 IFS=$as_save_IFS4431 test -z "$as_dir" && as_dir=.4432 for ac_prog in egrep; do4433 for ac_exec_ext in '' $ac_executable_extensions; do4434 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4435 as_fn_executable_p "$ac_path_EGREP" || continue4436 # Check for GNU ac_path_EGREP and select it if it is found.4437 # Check for GNU $ac_path_EGREP4438 case `"$ac_path_EGREP" --version 2>&1` in4439 *GNU*)4440 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;4441 *)4442 ac_count=04443 $as_echo_n 0123456789 >"conftest.in"4444 while :4445 do4446 cat "conftest.in" "conftest.in" >"conftest.tmp"4447 mv "conftest.tmp" "conftest.in"4448 cp "conftest.in" "conftest.nl"4449 $as_echo 'EGREP' >> "conftest.nl"4450 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break4451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4452 as_fn_arith $ac_count + 1 && ac_count=$as_val4453 if test $ac_count -gt ${ac_path_EGREP_max-0}; then4454 # Best one so far, save it but keep looking for a better one4455 ac_cv_path_EGREP="$ac_path_EGREP"4456 ac_path_EGREP_max=$ac_count4457 fi4458 # 10*(2^10) chars as input seems more than enough4459 test $ac_count -gt 10 && break4460 done4461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4462 esac4463 4464 $ac_path_EGREP_found && break 34465 done4466 done4467 done4468 IFS=$as_save_IFS4469 if test -z "$ac_cv_path_EGREP"; then4470 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54471 fi4472 else4473 ac_cv_path_EGREP=$EGREP4474 fi4475 4476 fi4477 fi4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54479 $as_echo "$ac_cv_path_EGREP" >&6; }4480 EGREP="$ac_cv_path_EGREP"4481 4482 4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&54484 $as_echo_n "checking for fgrep... " >&6; }4485 if ${ac_cv_path_FGREP+:} false; then :4486 $as_echo_n "(cached) " >&64487 else4488 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&14489 then ac_cv_path_FGREP="$GREP -F"4490 else4491 if test -z "$FGREP"; then4492 ac_path_FGREP_found=false4493 # Loop through the user's path and test for each of PROGNAME-LIST4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4495 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4496 do4497 IFS=$as_save_IFS4498 test -z "$as_dir" && as_dir=.4499 for ac_prog in fgrep; do4500 for ac_exec_ext in '' $ac_executable_extensions; do4501 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"4502 as_fn_executable_p "$ac_path_FGREP" || continue4503 # Check for GNU ac_path_FGREP and select it if it is found.4504 # Check for GNU $ac_path_FGREP4505 case `"$ac_path_FGREP" --version 2>&1` in4506 *GNU*)4507 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;4508 *)4509 ac_count=04510 $as_echo_n 0123456789 >"conftest.in"4511 while :4512 do4513 cat "conftest.in" "conftest.in" >"conftest.tmp"4514 mv "conftest.tmp" "conftest.in"4515 cp "conftest.in" "conftest.nl"4516 $as_echo 'FGREP' >> "conftest.nl"4517 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break4518 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4519 as_fn_arith $ac_count + 1 && ac_count=$as_val4520 if test $ac_count -gt ${ac_path_FGREP_max-0}; then4521 # Best one so far, save it but keep looking for a better one4522 ac_cv_path_FGREP="$ac_path_FGREP"4523 ac_path_FGREP_max=$ac_count4524 fi4525 # 10*(2^10) chars as input seems more than enough4526 test $ac_count -gt 10 && break4527 done4528 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4529 esac4530 4531 $ac_path_FGREP_found && break 34532 done4533 done4534 done4535 IFS=$as_save_IFS4536 if test -z "$ac_cv_path_FGREP"; then4537 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54538 fi4539 else4540 ac_cv_path_FGREP=$FGREP4541 fi4542 4543 fi4544 fi4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&54546 $as_echo "$ac_cv_path_FGREP" >&6; }4547 FGREP="$ac_cv_path_FGREP"4548 4549 4550 test -z "$GREP" && GREP=grep4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 # Check whether --with-gnu-ld was given.4571 if test "${with_gnu_ld+set}" = set; then :4572 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes4573 else4574 with_gnu_ld=no4575 fi4576 4577 ac_prog=ld4578 if test yes = "$GCC"; then4579 # Check if gcc -print-prog-name=ld gives a path.4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&54581 $as_echo_n "checking for ld used by $CC... " >&6; }4582 case $host in4583 *-*-mingw*)4584 # gcc leaves a trailing carriage return, which upsets mingw4585 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;4586 *)4587 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;4588 esac4589 case $ac_prog in4590 # Accept absolute paths.4591 [\\/]* | ?:[\\/]*)4592 re_direlt='/[^/][^/]*/\.\./'4593 # Canonicalize the pathname of ld4594 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`4595 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do4596 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`4597 done4598 test -z "$LD" && LD=$ac_prog4599 ;;4600 "")4601 # If it fails, then pretend we aren't using GCC.4602 ac_prog=ld4603 ;;4604 *)4605 # If it is relative, then search for the first ld in PATH.4606 with_gnu_ld=unknown4607 ;;4608 esac4609 elif test yes = "$with_gnu_ld"; then4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&54611 $as_echo_n "checking for GNU ld... " >&6; }4612 else4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&54614 $as_echo_n "checking for non-GNU ld... " >&6; }4615 fi4616 if ${lt_cv_path_LD+:} false; then :4617 $as_echo_n "(cached) " >&64618 else4619 if test -z "$LD"; then4620 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR4621 for ac_dir in $PATH; do4622 IFS=$lt_save_ifs4623 test -z "$ac_dir" && ac_dir=.4624 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then4625 lt_cv_path_LD=$ac_dir/$ac_prog4626 # Check to see if the program is GNU ld. I'd rather use --version,4627 # but apparently some variants of GNU ld only accept -v.4628 # Break only if it was the GNU/non-GNU ld that we prefer.4629 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in4630 *GNU* | *'with BFD'*)4631 test no != "$with_gnu_ld" && break4632 ;;4633 *)4634 test yes != "$with_gnu_ld" && break4635 ;;4636 esac4637 fi4638 done4639 IFS=$lt_save_ifs4640 else4641 lt_cv_path_LD=$LD # Let the user override the test with a path.4642 fi4643 fi4644 4645 LD=$lt_cv_path_LD4646 if test -n "$LD"; then4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&54648 $as_echo "$LD" >&6; }4649 else4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54651 $as_echo "no" >&6; }4652 fi4653 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 54654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&54655 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }4656 if ${lt_cv_prog_gnu_ld+:} false; then :4657 $as_echo_n "(cached) " >&64658 else4659 # I'd rather use --version here, but apparently some GNU lds only accept -v.4660 case `$LD -v 2>&1 </dev/null` in4661 *GNU* | *'with BFD'*)4662 lt_cv_prog_gnu_ld=yes4663 ;;4664 *)4665 lt_cv_prog_gnu_ld=no4666 ;;4667 esac4668 fi4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&54670 $as_echo "$lt_cv_prog_gnu_ld" >&6; }4671 with_gnu_ld=$lt_cv_prog_gnu_ld4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&54682 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }4683 if ${lt_cv_path_NM+:} false; then :4684 $as_echo_n "(cached) " >&64685 else4686 if test -n "$NM"; then4687 # Let the user override the test.4688 lt_cv_path_NM=$NM4689 else4690 lt_nm_to_check=${ac_tool_prefix}nm4691 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then4692 lt_nm_to_check="$lt_nm_to_check nm"4693 fi4694 for lt_tmp_nm in $lt_nm_to_check; do4695 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR4696 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do4697 IFS=$lt_save_ifs4698 test -z "$ac_dir" && ac_dir=.4699 tmp_nm=$ac_dir/$lt_tmp_nm4700 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then4701 # Check to see if the nm accepts a BSD-compat flag.4702 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:4703 # nm: unknown option "B" ignored4704 # Tru64's nm complains that /dev/null is an invalid object file4705 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty4706 case $build_os in4707 mingw*) lt_bad_file=conftest.nm/nofile ;;4708 *) lt_bad_file=/dev/null ;;4709 esac4710 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in4711 *$lt_bad_file* | *'Invalid file or object type'*)4712 lt_cv_path_NM="$tmp_nm -B"4713 break 24714 ;;4715 *)4716 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in4717 */dev/null*)4718 lt_cv_path_NM="$tmp_nm -p"4719 break 24720 ;;4721 *)4722 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but4723 continue # so that we can try to find one that supports BSD flags4724 ;;4725 esac4726 ;;4727 esac4728 fi4729 done4730 IFS=$lt_save_ifs4731 done4732 : ${lt_cv_path_NM=no}4733 fi4734 fi4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&54736 $as_echo "$lt_cv_path_NM" >&6; }4737 if test no != "$lt_cv_path_NM"; then4738 NM=$lt_cv_path_NM4739 else4740 # Didn't find any BSD compatible name lister, look for dumpbin.4741 if test -n "$DUMPBIN"; then :4742 # Let the user override the test.4743 else4744 if test -n "$ac_tool_prefix"; then4745 for ac_prog in dumpbin "link -dump"4746 do4747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.4748 set dummy $ac_tool_prefix$ac_prog; ac_word=$24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54750 $as_echo_n "checking for $ac_word... " >&6; }4751 if ${ac_cv_prog_DUMPBIN+:} false; then :4752 $as_echo_n "(cached) " >&64753 else4754 if test -n "$DUMPBIN"; then4755 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.4756 else4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4758 for as_dir in $PATH4759 do4760 IFS=$as_save_IFS4761 test -z "$as_dir" && as_dir=.4762 for ac_exec_ext in '' $ac_executable_extensions; do4763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4764 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"4765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54766 break 24767 fi4768 done4769 done4770 IFS=$as_save_IFS4771 4772 fi4773 fi4774 DUMPBIN=$ac_cv_prog_DUMPBIN4775 if test -n "$DUMPBIN"; then4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&54777 $as_echo "$DUMPBIN" >&6; }4778 else4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54780 $as_echo "no" >&6; }4781 fi4782 4783 4784 test -n "$DUMPBIN" && break4785 done4786 fi4787 if test -z "$DUMPBIN"; then4788 ac_ct_DUMPBIN=$DUMPBIN4789 for ac_prog in dumpbin "link -dump"4790 do4791 # Extract the first word of "$ac_prog", so it can be a program name with args.4792 set dummy $ac_prog; ac_word=$24793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54794 $as_echo_n "checking for $ac_word... " >&6; }4795 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :4796 $as_echo_n "(cached) " >&64797 else4798 if test -n "$ac_ct_DUMPBIN"; then4799 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.4800 else4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4802 for as_dir in $PATH4803 do4804 IFS=$as_save_IFS4805 test -z "$as_dir" && as_dir=.4806 for ac_exec_ext in '' $ac_executable_extensions; do4807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4808 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54810 break 24811 fi4812 done4813 done4814 IFS=$as_save_IFS4815 4816 fi4817 fi4818 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN4819 if test -n "$ac_ct_DUMPBIN"; then4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&54821 $as_echo "$ac_ct_DUMPBIN" >&6; }4822 else4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54824 $as_echo "no" >&6; }4825 fi4826 4827 4828 test -n "$ac_ct_DUMPBIN" && break4829 done4830 4831 if test "x$ac_ct_DUMPBIN" = x; then4832 DUMPBIN=":"4833 else4834 case $cross_compiling:$ac_tool_warned in4835 yes:)4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&54837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}4838 ac_tool_warned=yes ;;4839 esac4840 DUMPBIN=$ac_ct_DUMPBIN4841 fi4842 fi4843 4844 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in4845 *COFF*)4846 DUMPBIN="$DUMPBIN -symbols -headers"4847 ;;4848 *)4849 DUMPBIN=:4850 ;;4851 esac4852 fi4853 4854 if test : != "$DUMPBIN"; then4855 NM=$DUMPBIN4856 fi4857 fi4858 test -z "$NM" && NM=nm4859 4860 4861 4862 4863 4864 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&54866 $as_echo_n "checking the name lister ($NM) interface... " >&6; }4867 if ${lt_cv_nm_interface+:} false; then :4868 $as_echo_n "(cached) " >&64869 else4870 lt_cv_nm_interface="BSD nm"4871 echo "int some_variable = 0;" > conftest.$ac_ext4872 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)4873 (eval "$ac_compile" 2>conftest.err)4874 cat conftest.err >&54875 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4876 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)4877 cat conftest.err >&54878 (eval echo "\"\$as_me:$LINENO: output\"" >&5)4879 cat conftest.out >&54880 if $GREP 'External.*some_variable' conftest.out > /dev/null; then4881 lt_cv_nm_interface="MS dumpbin"4882 fi4883 rm -f conftest*4884 fi4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&54886 $as_echo "$lt_cv_nm_interface" >&6; }4887 4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&54889 $as_echo_n "checking whether ln -s works... " >&6; }4890 LN_S=$as_ln_s4891 if test "$LN_S" = "ln -s"; then4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54893 $as_echo "yes" >&6; }4894 else4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&54896 $as_echo "no, using $LN_S" >&6; }4897 fi4898 4899 # find the maximum length of command line arguments4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&54901 $as_echo_n "checking the maximum length of command line arguments... " >&6; }4902 if ${lt_cv_sys_max_cmd_len+:} false; then :4903 $as_echo_n "(cached) " >&64904 else4905 i=04906 teststring=ABCD4907 4908 case $build_os in4909 msdosdjgpp*)4910 # On DJGPP, this test can blow up pretty badly due to problems in libc4911 # (any single argument exceeding 2000 bytes causes a buffer overrun4912 # during glob expansion). Even if it were fixed, the result of this4913 # check would be larger than it should be.4914 lt_cv_sys_max_cmd_len=12288; # 12K is about right4915 ;;4916 4917 gnu*)4918 # Under GNU Hurd, this test is not required because there is4919 # no limit to the length of command line arguments.4920 # Libtool will interpret -1 as no limit whatsoever4921 lt_cv_sys_max_cmd_len=-1;4922 ;;4923 4924 cygwin* | mingw* | cegcc*)4925 # On Win9x/ME, this test blows up -- it succeeds, but takes4926 # about 5 minutes as the teststring grows exponentially.4927 # Worse, since 9x/ME are not pre-emptively multitasking,4928 # you end up with a "frozen" computer, even though with patience4929 # the test eventually succeeds (with a max line length of 256k).4930 # Instead, let's just punt: use the minimum linelength reported by4931 # all of the supported platforms: 8192 (on NT/2K/XP).4932 lt_cv_sys_max_cmd_len=8192;4933 ;;4934 4935 mint*)4936 # On MiNT this can take a long time and run out of memory.4937 lt_cv_sys_max_cmd_len=8192;4938 ;;4939 4940 amigaos*)4941 # On AmigaOS with pdksh, this test takes hours, literally.4942 # So we just punt and use a minimum line length of 8192.4943 lt_cv_sys_max_cmd_len=8192;4944 ;;4945 4946 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)4947 # This has been around since 386BSD, at least. Likely further.4948 if test -x /sbin/sysctl; then4949 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`4950 elif test -x /usr/sbin/sysctl; then4951 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`4952 else4953 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs4954 fi4955 # And add a safety zone4956 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`4957 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`4958 ;;4959 4960 interix*)4961 # We know the value 262144 and hardcode it with a safety zone (like BSD)4962 lt_cv_sys_max_cmd_len=1966084963 ;;4964 4965 os2*)4966 # The test takes a long time on OS/2.4967 lt_cv_sys_max_cmd_len=81924968 ;;4969 4970 osf*)4971 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure4972 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not4973 # nice to cause kernel panics so lets avoid the loop below.4974 # First set a reasonable default.4975 lt_cv_sys_max_cmd_len=163844976 #4977 if test -x /sbin/sysconfig; then4978 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in4979 *1*) lt_cv_sys_max_cmd_len=-1 ;;4980 esac4981 fi4982 ;;4983 sco3.2v5*)4984 lt_cv_sys_max_cmd_len=1024004985 ;;4986 sysv5* | sco5v6* | sysv4.2uw2*)4987 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`4988 if test -n "$kargmax"; then4989 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`4990 else4991 lt_cv_sys_max_cmd_len=327684992 fi4993 ;;4994 *)4995 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`4996 if test -n "$lt_cv_sys_max_cmd_len" && \4997 test undefined != "$lt_cv_sys_max_cmd_len"; then4998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`4999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`5000 else5001 # Make teststring a little bigger before we do anything with it.5002 # a 1K string should be a reasonable start.5003 for i in 1 2 3 4 5 6 7 8; do5004 teststring=$teststring$teststring5005 done5006 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}5007 # If test is not a shell built-in, we'll probably end up computing a5008 # maximum length that is only half of the actual maximum length, but5009 # we can't tell.5010 while { test X`env echo "$teststring$teststring" 2>/dev/null` \5011 = "X$teststring$teststring"; } >/dev/null 2>&1 &&5012 test 17 != "$i" # 1/2 MB should be enough5013 do5014 i=`expr $i + 1`5015 teststring=$teststring$teststring5016 done5017 # Only check the string length outside the loop.5018 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`5019 teststring=5020 # Add a significant safety factor because C++ compilers can tack on5021 # massive amounts of additional arguments before passing them to the5022 # linker. It appears as though 1/2 is a usable value.5023 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`5024 fi5025 ;;5026 esac5027 5028 fi5029 5030 if test -n "$lt_cv_sys_max_cmd_len"; then5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&55032 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }5033 else5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&55035 $as_echo "none" >&6; }5036 fi5037 max_cmd_len=$lt_cv_sys_max_cmd_len5038 5039 5040 5041 5042 5043 5044 : ${CP="cp -f"}5045 : ${MV="mv -f"}5046 : ${RM="rm -f"}5047 5048 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then5049 lt_unset=unset5050 else5051 lt_unset=false5052 fi5053 5054 5055 5056 5057 5058 # test EBCDIC or ASCII5059 case `echo X|tr X '\101'` in5060 A) # ASCII based system5061 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr5062 lt_SP2NL='tr \040 \012'5063 lt_NL2SP='tr \015\012 \040\040'5064 ;;5065 *) # EBCDIC based system5066 lt_SP2NL='tr \100 \n'5067 lt_NL2SP='tr \r\n \100\100'5068 ;;5069 esac5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&55080 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }5081 if ${lt_cv_to_host_file_cmd+:} false; then :5082 $as_echo_n "(cached) " >&65083 else5084 case $host in5085 *-*-mingw* )5086 case $build in5087 *-*-mingw* ) # actually msys5088 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w325089 ;;5090 *-*-cygwin* )5091 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w325092 ;;5093 * ) # otherwise, assume *nix5094 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w325095 ;;5096 esac5097 ;;5098 *-*-cygwin* )5099 case $build in5100 *-*-mingw* ) # actually msys5101 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin5102 ;;5103 *-*-cygwin* )5104 lt_cv_to_host_file_cmd=func_convert_file_noop5105 ;;5106 * ) # otherwise, assume *nix5107 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin5108 ;;5109 esac5110 ;;5111 * ) # unhandled hosts (and "normal" native builds)5112 lt_cv_to_host_file_cmd=func_convert_file_noop5113 ;;5114 esac5115 5116 fi5117 5118 to_host_file_cmd=$lt_cv_to_host_file_cmd5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&55120 $as_echo "$lt_cv_to_host_file_cmd" >&6; }5121 5122 5123 5124 5125 5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&55127 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }5128 if ${lt_cv_to_tool_file_cmd+:} false; then :5129 $as_echo_n "(cached) " >&65130 else5131 #assume ordinary cross tools, or native build.5132 lt_cv_to_tool_file_cmd=func_convert_file_noop5133 case $host in5134 *-*-mingw* )5135 case $build in5136 *-*-mingw* ) # actually msys5137 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w325138 ;;5139 esac5140 ;;5141 esac5142 5143 fi5144 5145 to_tool_file_cmd=$lt_cv_to_tool_file_cmd5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&55147 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }5148 5149 5150 5151 5152 5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&55154 $as_echo_n "checking for $LD option to reload object files... " >&6; }5155 if ${lt_cv_ld_reload_flag+:} false; then :5156 $as_echo_n "(cached) " >&65157 else5158 lt_cv_ld_reload_flag='-r'5159 fi5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&55161 $as_echo "$lt_cv_ld_reload_flag" >&6; }5162 reload_flag=$lt_cv_ld_reload_flag5163 case $reload_flag in5164 "" | " "*) ;;5165 *) reload_flag=" $reload_flag" ;;5166 esac5167 reload_cmds='$LD$reload_flag -o $output$reload_objs'5168 case $host_os in5169 cygwin* | mingw* | pw32* | cegcc*)5170 if test yes != "$GCC"; then5171 reload_cmds=false5172 fi5173 ;;5174 darwin*)5175 if test yes = "$GCC"; then5176 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'5177 else5178 reload_cmds='$LD$reload_flag -o $output$reload_objs'5179 fi5180 ;;5181 esac5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 if test -n "$ac_tool_prefix"; then5192 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.5193 set dummy ${ac_tool_prefix}objdump; ac_word=$25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55195 $as_echo_n "checking for $ac_word... " >&6; }5196 if ${ac_cv_prog_OBJDUMP+:} false; then :5197 $as_echo_n "(cached) " >&65198 else5199 if test -n "$OBJDUMP"; then5200 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.5201 else5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5203 for as_dir in $PATH5204 do5205 IFS=$as_save_IFS5206 test -z "$as_dir" && as_dir=.5207 for ac_exec_ext in '' $ac_executable_extensions; do5208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5209 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"5210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55211 break 25212 fi5213 done5214 done5215 IFS=$as_save_IFS5216 5217 fi5218 fi5219 OBJDUMP=$ac_cv_prog_OBJDUMP5220 if test -n "$OBJDUMP"; then5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&55222 $as_echo "$OBJDUMP" >&6; }5223 else5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55225 $as_echo "no" >&6; }5226 fi5227 5228 5229 fi5230 if test -z "$ac_cv_prog_OBJDUMP"; then5231 ac_ct_OBJDUMP=$OBJDUMP5232 # Extract the first word of "objdump", so it can be a program name with args.5233 set dummy objdump; ac_word=$25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55235 $as_echo_n "checking for $ac_word... " >&6; }5236 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :5237 $as_echo_n "(cached) " >&65238 else5239 if test -n "$ac_ct_OBJDUMP"; then5240 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.5241 else5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5243 for as_dir in $PATH5244 do5245 IFS=$as_save_IFS5246 test -z "$as_dir" && as_dir=.5247 for ac_exec_ext in '' $ac_executable_extensions; do5248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5249 ac_cv_prog_ac_ct_OBJDUMP="objdump"5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55251 break 25252 fi5253 done5254 done5255 IFS=$as_save_IFS5256 5257 fi5258 fi5259 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP5260 if test -n "$ac_ct_OBJDUMP"; then5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&55262 $as_echo "$ac_ct_OBJDUMP" >&6; }5263 else5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55265 $as_echo "no" >&6; }5266 fi5267 5268 if test "x$ac_ct_OBJDUMP" = x; then5269 OBJDUMP="false"5270 else5271 case $cross_compiling:$ac_tool_warned in5272 yes:)5273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5275 ac_tool_warned=yes ;;5276 esac5277 OBJDUMP=$ac_ct_OBJDUMP5278 fi5279 else5280 OBJDUMP="$ac_cv_prog_OBJDUMP"5281 fi5282 5283 test -z "$OBJDUMP" && OBJDUMP=objdump5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&55294 $as_echo_n "checking how to recognize dependent libraries... " >&6; }5295 if ${lt_cv_deplibs_check_method+:} false; then :5296 $as_echo_n "(cached) " >&65297 else5298 lt_cv_file_magic_cmd='$MAGIC_CMD'5299 lt_cv_file_magic_test_file=5300 lt_cv_deplibs_check_method='unknown'5301 # Need to set the preceding variable on all platforms that support5302 # interlibrary dependencies.5303 # 'none' -- dependencies not supported.5304 # 'unknown' -- same as none, but documents that we really don't know.5305 # 'pass_all' -- all dependencies passed with no checks.5306 # 'test_compile' -- check by making test program.5307 # 'file_magic [[regex]]' -- check by looking for files in library path5308 # that responds to the $file_magic_cmd with a given extended regex.5309 # If you have 'file' or equivalent on your system and you're not sure5310 # whether 'pass_all' will *always* work, you probably want this one.5311 5312 case $host_os in5313 aix[4-9]*)5314 lt_cv_deplibs_check_method=pass_all5315 ;;5316 5317 beos*)5318 lt_cv_deplibs_check_method=pass_all5319 ;;5320 5321 bsdi[45]*)5322 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'5323 lt_cv_file_magic_cmd='/usr/bin/file -L'5324 lt_cv_file_magic_test_file=/shlib/libc.so5325 ;;5326 5327 cygwin*)5328 # func_win32_libid is a shell function defined in ltmain.sh5329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'5330 lt_cv_file_magic_cmd='func_win32_libid'5331 ;;5332 5333 mingw* | pw32*)5334 # Base MSYS/MinGW do not provide the 'file' command needed by5335 # func_win32_libid shell function, so use a weaker test based on 'objdump',5336 # unless we find 'file', for example because we are cross-compiling.5337 if ( file / ) >/dev/null 2>&1; then5338 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'5339 lt_cv_file_magic_cmd='func_win32_libid'5340 else5341 # Keep this pattern in sync with the one in func_win32_libid.5342 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'5343 lt_cv_file_magic_cmd='$OBJDUMP -f'5344 fi5345 ;;5346 5347 cegcc*)5348 # use the weaker test based on 'objdump'. See mingw*.5349 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'5350 lt_cv_file_magic_cmd='$OBJDUMP -f'5351 ;;5352 5353 darwin* | rhapsody*)5354 lt_cv_deplibs_check_method=pass_all5355 ;;5356 5357 freebsd* | dragonfly*)5358 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then5359 case $host_cpu in5360 i*86 )5361 # Not sure whether the presence of OpenBSD here was a mistake.5362 # Let's accept both of them until this is cleared up.5363 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'5364 lt_cv_file_magic_cmd=/usr/bin/file5365 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`5366 ;;5367 esac5368 else5369 lt_cv_deplibs_check_method=pass_all5370 fi5371 ;;5372 5373 haiku*)5374 lt_cv_deplibs_check_method=pass_all5375 ;;5376 5377 hpux10.20* | hpux11*)5378 lt_cv_file_magic_cmd=/usr/bin/file5379 case $host_cpu in5380 ia64*)5381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'5382 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so5383 ;;5384 hppa*64*)5385 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'5386 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl5387 ;;5388 *)5389 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'5390 lt_cv_file_magic_test_file=/usr/lib/libc.sl5391 ;;5392 esac5393 ;;5394 5395 interix[3-9]*)5396 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here5397 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'5398 ;;5399 5400 irix5* | irix6* | nonstopux*)5401 case $LD in5402 *-32|*"-32 ") libmagic=32-bit;;5403 *-n32|*"-n32 ") libmagic=N32;;5404 *-64|*"-64 ") libmagic=64-bit;;5405 *) libmagic=never-match;;5406 esac5407 lt_cv_deplibs_check_method=pass_all5408 ;;5409 5410 # This must be glibc/ELF.5411 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)5412 lt_cv_deplibs_check_method=pass_all5413 ;;5414 5415 netbsd* | netbsdelf*-gnu)5416 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then5417 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'5418 else5419 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'5420 fi5421 ;;5422 5423 newos6*)5424 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'5425 lt_cv_file_magic_cmd=/usr/bin/file5426 lt_cv_file_magic_test_file=/usr/lib/libnls.so5427 ;;5428 5429 *nto* | *qnx*)5430 lt_cv_deplibs_check_method=pass_all5431 ;;5432 5433 openbsd* | bitrig*)5434 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then5435 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'5436 else5437 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'5438 fi5439 ;;5440 5441 osf3* | osf4* | osf5*)5442 lt_cv_deplibs_check_method=pass_all5443 ;;5444 5445 rdos*)5446 lt_cv_deplibs_check_method=pass_all5447 ;;5448 5449 solaris*)5450 lt_cv_deplibs_check_method=pass_all5451 ;;5452 5453 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)5454 lt_cv_deplibs_check_method=pass_all5455 ;;5456 5457 sysv4 | sysv4.3*)5458 case $host_vendor in5459 motorola)5460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'5461 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`5462 ;;5463 ncr)5464 lt_cv_deplibs_check_method=pass_all5465 ;;5466 sequent)5467 lt_cv_file_magic_cmd='/bin/file'5468 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'5469 ;;5470 sni)5471 lt_cv_file_magic_cmd='/bin/file'5472 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"5473 lt_cv_file_magic_test_file=/lib/libc.so5474 ;;5475 siemens)5476 lt_cv_deplibs_check_method=pass_all5477 ;;5478 pc)5479 lt_cv_deplibs_check_method=pass_all5480 ;;5481 esac5482 ;;5483 5484 tpf*)5485 lt_cv_deplibs_check_method=pass_all5486 ;;5487 os2*)5488 lt_cv_deplibs_check_method=pass_all5489 ;;5490 esac5491 5492 fi5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&55494 $as_echo "$lt_cv_deplibs_check_method" >&6; }5495 5496 file_magic_glob=5497 want_nocaseglob=no5498 if test "$build" = "$host"; then5499 case $host_os in5500 mingw* | pw32*)5501 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then5502 want_nocaseglob=yes5503 else5504 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`5505 fi5506 ;;5507 esac5508 fi5509 5510 file_magic_cmd=$lt_cv_file_magic_cmd5511 deplibs_check_method=$lt_cv_deplibs_check_method5512 test -z "$deplibs_check_method" && deplibs_check_method=unknown5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 if test -n "$ac_tool_prefix"; then5536 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.5537 set dummy ${ac_tool_prefix}dlltool; ac_word=$25538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55539 $as_echo_n "checking for $ac_word... " >&6; }5540 if ${ac_cv_prog_DLLTOOL+:} false; then :5541 $as_echo_n "(cached) " >&65542 else5543 if test -n "$DLLTOOL"; then5544 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.5545 else5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5547 for as_dir in $PATH5548 do5549 IFS=$as_save_IFS5550 test -z "$as_dir" && as_dir=.5551 for ac_exec_ext in '' $ac_executable_extensions; do5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5553 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55555 break 25556 fi5557 done5558 done5559 IFS=$as_save_IFS5560 5561 fi5562 fi5563 DLLTOOL=$ac_cv_prog_DLLTOOL5564 if test -n "$DLLTOOL"; then5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&55566 $as_echo "$DLLTOOL" >&6; }5567 else5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55569 $as_echo "no" >&6; }5570 fi5571 5572 5573 fi5574 if test -z "$ac_cv_prog_DLLTOOL"; then5575 ac_ct_DLLTOOL=$DLLTOOL5576 # Extract the first word of "dlltool", so it can be a program name with args.5577 set dummy dlltool; ac_word=$25578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55579 $as_echo_n "checking for $ac_word... " >&6; }5580 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :5581 $as_echo_n "(cached) " >&65582 else5583 if test -n "$ac_ct_DLLTOOL"; then5584 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.5585 else5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5587 for as_dir in $PATH5588 do5589 IFS=$as_save_IFS5590 test -z "$as_dir" && as_dir=.5591 for ac_exec_ext in '' $ac_executable_extensions; do5592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5593 ac_cv_prog_ac_ct_DLLTOOL="dlltool"5594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55595 break 25596 fi5597 done5598 done5599 IFS=$as_save_IFS5600 5601 fi5602 fi5603 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL5604 if test -n "$ac_ct_DLLTOOL"; then5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&55606 $as_echo "$ac_ct_DLLTOOL" >&6; }5607 else5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55609 $as_echo "no" >&6; }5610 fi5611 5612 if test "x$ac_ct_DLLTOOL" = x; then5613 DLLTOOL="false"5614 else5615 case $cross_compiling:$ac_tool_warned in5616 yes:)5617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5619 ac_tool_warned=yes ;;5620 esac5621 DLLTOOL=$ac_ct_DLLTOOL5622 fi5623 else5624 DLLTOOL="$ac_cv_prog_DLLTOOL"5625 fi5626 5627 test -z "$DLLTOOL" && DLLTOOL=dlltool5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&55639 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }5640 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :5641 $as_echo_n "(cached) " >&65642 else5643 lt_cv_sharedlib_from_linklib_cmd='unknown'5644 5645 case $host_os in5646 cygwin* | mingw* | pw32* | cegcc*)5647 # two different shell functions defined in ltmain.sh;5648 # decide which one to use based on capabilities of $DLLTOOL5649 case `$DLLTOOL --help 2>&1` in5650 *--identify-strict*)5651 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib5652 ;;5653 *)5654 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback5655 ;;5656 esac5657 ;;5658 *)5659 # fallback: assume linklib IS sharedlib5660 lt_cv_sharedlib_from_linklib_cmd=$ECHO5661 ;;5662 esac5663 5664 fi5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&55666 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }5667 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd5668 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO5669 5670 5671 5672 5673 5674 5675 5676 5677 if test -n "$ac_tool_prefix"; then5678 for ac_prog in ar5679 do5680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.5681 set dummy $ac_tool_prefix$ac_prog; ac_word=$25682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55683 $as_echo_n "checking for $ac_word... " >&6; }5684 if ${ac_cv_prog_AR+:} false; then :5685 $as_echo_n "(cached) " >&65686 else5687 if test -n "$AR"; then5688 ac_cv_prog_AR="$AR" # Let the user override the test.5689 else5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5691 for as_dir in $PATH5692 do5693 IFS=$as_save_IFS5694 test -z "$as_dir" && as_dir=.5695 for ac_exec_ext in '' $ac_executable_extensions; do5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5697 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55699 break 25700 fi5701 done5702 done5703 IFS=$as_save_IFS5704 5705 fi5706 fi5707 AR=$ac_cv_prog_AR5708 if test -n "$AR"; then5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&55710 $as_echo "$AR" >&6; }5711 else5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55713 $as_echo "no" >&6; }5714 fi5715 5716 5717 test -n "$AR" && break5718 done5719 fi5720 if test -z "$AR"; then5721 ac_ct_AR=$AR5722 for ac_prog in ar5723 do5724 # Extract the first word of "$ac_prog", so it can be a program name with args.5725 set dummy $ac_prog; ac_word=$25726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55727 $as_echo_n "checking for $ac_word... " >&6; }5728 if ${ac_cv_prog_ac_ct_AR+:} false; then :5729 $as_echo_n "(cached) " >&65730 else5731 if test -n "$ac_ct_AR"; then5732 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.5733 else5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5735 for as_dir in $PATH5736 do5737 IFS=$as_save_IFS5738 test -z "$as_dir" && as_dir=.5739 for ac_exec_ext in '' $ac_executable_extensions; do5740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5741 ac_cv_prog_ac_ct_AR="$ac_prog"5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55743 break 25744 fi5745 done5746 done5747 IFS=$as_save_IFS5748 5749 fi5750 fi5751 ac_ct_AR=$ac_cv_prog_ac_ct_AR5752 if test -n "$ac_ct_AR"; then5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&55754 $as_echo "$ac_ct_AR" >&6; }5755 else5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55757 $as_echo "no" >&6; }5758 fi5759 5760 5761 test -n "$ac_ct_AR" && break5762 done5763 5764 if test "x$ac_ct_AR" = x; then5765 AR="false"5766 else5767 case $cross_compiling:$ac_tool_warned in5768 yes:)5769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5771 ac_tool_warned=yes ;;5772 esac5773 AR=$ac_ct_AR5774 fi5775 fi5776 5777 : ${AR=ar}5778 : ${AR_FLAGS=cru}5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&55791 $as_echo_n "checking for archiver @FILE support... " >&6; }5792 if ${lt_cv_ar_at_file+:} false; then :5793 $as_echo_n "(cached) " >&65794 else5795 lt_cv_ar_at_file=no5796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext5797 /* end confdefs.h. */5798 5799 int5800 main ()5801 {5802 5803 ;5804 return 0;5805 }5806 _ACEOF5807 if ac_fn_c_try_compile "$LINENO"; then :5808 echo conftest.$ac_objext > conftest.lst5809 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'5810 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&55811 (eval $lt_ar_try) 2>&55812 ac_status=$?5813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55814 test $ac_status = 0; }5815 if test 0 -eq "$ac_status"; then5816 # Ensure the archiver fails upon bogus file names.5817 rm -f conftest.$ac_objext libconftest.a5818 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&55819 (eval $lt_ar_try) 2>&55820 ac_status=$?5821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55822 test $ac_status = 0; }5823 if test 0 -ne "$ac_status"; then5824 lt_cv_ar_at_file=@5825 fi5826 fi5827 rm -f conftest.* libconftest.a5828 5829 fi5830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5831 5832 fi5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&55834 $as_echo "$lt_cv_ar_at_file" >&6; }5835 5836 if test no = "$lt_cv_ar_at_file"; then5837 archiver_list_spec=5838 else5839 archiver_list_spec=$lt_cv_ar_at_file5840 fi5841 5842 5843 5844 5845 5846 5847 5848 if test -n "$ac_tool_prefix"; then5849 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.5850 set dummy ${ac_tool_prefix}strip; ac_word=$25851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55852 $as_echo_n "checking for $ac_word... " >&6; }5853 if ${ac_cv_prog_STRIP+:} false; then :5854 $as_echo_n "(cached) " >&65855 else5856 if test -n "$STRIP"; then5857 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.5858 else5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5860 for as_dir in $PATH5861 do5862 IFS=$as_save_IFS5863 test -z "$as_dir" && as_dir=.5864 for ac_exec_ext in '' $ac_executable_extensions; do5865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5866 ac_cv_prog_STRIP="${ac_tool_prefix}strip"5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55868 break 25869 fi5870 done5871 done5872 IFS=$as_save_IFS5873 5874 fi5875 fi5876 STRIP=$ac_cv_prog_STRIP5877 if test -n "$STRIP"; then5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&55879 $as_echo "$STRIP" >&6; }5880 else5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55882 $as_echo "no" >&6; }5883 fi5884 5885 5886 fi5887 if test -z "$ac_cv_prog_STRIP"; then5888 ac_ct_STRIP=$STRIP5889 # Extract the first word of "strip", so it can be a program name with args.5890 set dummy strip; ac_word=$25891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55892 $as_echo_n "checking for $ac_word... " >&6; }5893 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :5894 $as_echo_n "(cached) " >&65895 else5896 if test -n "$ac_ct_STRIP"; then5897 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.5898 else5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5900 for as_dir in $PATH5901 do5902 IFS=$as_save_IFS5903 test -z "$as_dir" && as_dir=.5904 for ac_exec_ext in '' $ac_executable_extensions; do5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5906 ac_cv_prog_ac_ct_STRIP="strip"5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55908 break 25909 fi5910 done5911 done5912 IFS=$as_save_IFS5913 5914 fi5915 fi5916 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP5917 if test -n "$ac_ct_STRIP"; then5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&55919 $as_echo "$ac_ct_STRIP" >&6; }5920 else5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55922 $as_echo "no" >&6; }5923 fi5924 5925 if test "x$ac_ct_STRIP" = x; then5926 STRIP=":"5927 else5928 case $cross_compiling:$ac_tool_warned in5929 yes:)5930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5932 ac_tool_warned=yes ;;5933 esac5934 STRIP=$ac_ct_STRIP5935 fi5936 else5937 STRIP="$ac_cv_prog_STRIP"5938 fi5939 5940 test -z "$STRIP" && STRIP=:5941 5942 5943 5944 5945 5946 5947 if test -n "$ac_tool_prefix"; then5948 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.5949 set dummy ${ac_tool_prefix}ranlib; ac_word=$25950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55951 $as_echo_n "checking for $ac_word... " >&6; }5952 if ${ac_cv_prog_RANLIB+:} false; then :5953 $as_echo_n "(cached) " >&65954 else5955 if test -n "$RANLIB"; then5956 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.5957 else5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5959 for as_dir in $PATH5960 do5961 IFS=$as_save_IFS5962 test -z "$as_dir" && as_dir=.5963 for ac_exec_ext in '' $ac_executable_extensions; do5964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5965 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55967 break 25968 fi5969 done5970 done5971 IFS=$as_save_IFS5972 5973 fi5974 fi5975 RANLIB=$ac_cv_prog_RANLIB5976 if test -n "$RANLIB"; then5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&55978 $as_echo "$RANLIB" >&6; }5979 else5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55981 $as_echo "no" >&6; }5982 fi5983 5984 5985 fi5986 if test -z "$ac_cv_prog_RANLIB"; then5987 ac_ct_RANLIB=$RANLIB5988 # Extract the first word of "ranlib", so it can be a program name with args.5989 set dummy ranlib; ac_word=$25990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55991 $as_echo_n "checking for $ac_word... " >&6; }5992 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :5993 $as_echo_n "(cached) " >&65994 else5995 if test -n "$ac_ct_RANLIB"; then5996 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.5997 else5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5999 for as_dir in $PATH6000 do6001 IFS=$as_save_IFS6002 test -z "$as_dir" && as_dir=.6003 for ac_exec_ext in '' $ac_executable_extensions; do6004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6005 ac_cv_prog_ac_ct_RANLIB="ranlib"6006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56007 break 26008 fi6009 done6010 done6011 IFS=$as_save_IFS6012 6013 fi6014 fi6015 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB6016 if test -n "$ac_ct_RANLIB"; then6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&56018 $as_echo "$ac_ct_RANLIB" >&6; }6019 else6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56021 $as_echo "no" >&6; }6022 fi6023 6024 if test "x$ac_ct_RANLIB" = x; then6025 RANLIB=":"6026 else6027 case $cross_compiling:$ac_tool_warned in6028 yes:)6029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}6031 ac_tool_warned=yes ;;6032 esac6033 RANLIB=$ac_ct_RANLIB6034 fi6035 else6036 RANLIB="$ac_cv_prog_RANLIB"6037 fi6038 6039 test -z "$RANLIB" && RANLIB=:6040 6041 6042 6043 6044 6045 6046 # Determine commands to create old-style static archives.6047 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'6048 old_postinstall_cmds='chmod 644 $oldlib'6049 old_postuninstall_cmds=6050 6051 if test -n "$RANLIB"; then6052 case $host_os in6053 bitrig* | openbsd*)6054 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"6055 ;;6056 *)6057 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"6058 ;;6059 esac6060 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"6061 fi6062 6063 case $host_os in6064 darwin*)6065 lock_old_archive_extraction=yes ;;6066 *)6067 lock_old_archive_extraction=no ;;6068 esac6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 # If no C compiler was specified, use CC.6109 LTCC=${LTCC-"$CC"}6110 6111 # If no C compiler flags were specified, use CFLAGS.6112 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}6113 6114 # Allow CC to be a program name with arguments.6115 compiler=$CC6116 6117 6118 # Check for command to grab the raw symbol name followed by C symbol from nm.6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&56120 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }6121 if ${lt_cv_sys_global_symbol_pipe+:} false; then :6122 $as_echo_n "(cached) " >&66123 else6124 6125 # These are sane defaults that work on at least a few old systems.6126 # [They come from Ultrix. What could be older than Ultrix?!! ;)]6127 6128 # Character class describing NM global symbol codes.6129 symcode='[BCDEGRST]'6130 6131 # Regexp to match symbols that can be accessed directly from C.6132 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'6133 6134 # Define system-specific variables.6135 case $host_os in6136 aix*)6137 symcode='[BCDT]'6138 ;;6139 cygwin* | mingw* | pw32* | cegcc*)6140 symcode='[ABCDGISTW]'6141 ;;6142 hpux*)6143 if test ia64 = "$host_cpu"; then6144 symcode='[ABCDEGRST]'6145 fi6146 ;;6147 irix* | nonstopux*)6148 symcode='[BCDEGRST]'6149 ;;6150 osf*)6151 symcode='[BCDEGQRST]'6152 ;;6153 solaris*)6154 symcode='[BDRT]'6155 ;;6156 sco3.2v5*)6157 symcode='[DT]'6158 ;;6159 sysv4.2uw2*)6160 symcode='[DT]'6161 ;;6162 sysv5* | sco5v6* | unixware* | OpenUNIX*)6163 symcode='[ABDT]'6164 ;;6165 sysv4)6166 symcode='[DFNSTU]'6167 ;;6168 esac6169 6170 # If we're using GNU nm, then use its standard symbol codes.6171 case `$NM -V 2>&1` in6172 *GNU* | *'with BFD'*)6173 symcode='[ABCDGIRSTW]' ;;6174 esac6175 6176 if test "$lt_cv_nm_interface" = "MS dumpbin"; then6177 # Gets list of data symbols to import.6178 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"6179 # Adjust the below global symbol transforms to fixup imported variables.6180 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"6181 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"6182 lt_c_name_lib_hook="\6183 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\6184 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"6185 else6186 # Disable hooks by default.6187 lt_cv_sys_global_symbol_to_import=6188 lt_cdecl_hook=6189 lt_c_name_hook=6190 lt_c_name_lib_hook=6191 fi6192 6193 # Transform an extracted symbol line into a proper C declaration.6194 # Some systems (esp. on ia64) link data and code symbols differently,6195 # so use this general approach.6196 lt_cv_sys_global_symbol_to_cdecl="sed -n"\6197 $lt_cdecl_hook\6198 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\6199 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"6200 6201 # Transform an extracted symbol line into symbol name and symbol address6202 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\6203 $lt_c_name_hook\6204 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\6205 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"6206 6207 # Transform an extracted symbol line into symbol name with lib prefix and6208 # symbol address.6209 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\6210 $lt_c_name_lib_hook\6211 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\6212 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\6213 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"6214 6215 # Handle CRLF in mingw tool chain6216 opt_cr=6217 case $build_os in6218 mingw*)6219 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp6220 ;;6221 esac6222 6223 # Try without a prefix underscore, then with it.6224 for ac_symprfx in "" "_"; do6225 6226 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.6227 symxfrm="\\1 $ac_symprfx\\2 \\2"6228 6229 # Write the raw and C identifiers.6230 if test "$lt_cv_nm_interface" = "MS dumpbin"; then6231 # Fake it for dumpbin and say T for any non-static function,6232 # D for any global variable and I for any imported variable.6233 # Also find C++ and __fastcall symbols from MSVC++,6234 # which start with @ or ?.6235 lt_cv_sys_global_symbol_pipe="$AWK '"\6236 " {last_section=section; section=\$ 3};"\6237 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\6238 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\6239 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\6240 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\6241 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\6242 " \$ 0!~/External *\|/{next};"\6243 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\6244 " {if(hide[section]) next};"\6245 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\6246 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\6247 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\6248 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\6249 " ' prfx=^$ac_symprfx"6250 else6251 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"6252 fi6253 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"6254 6255 # Check to see that the pipe works correctly.6256 pipe_works=no6257 6258 rm -f conftest*6259 cat > conftest.$ac_ext <<_LT_EOF6260 #ifdef __cplusplus6261 extern "C" {6262 #endif6263 char nm_test_var;6264 void nm_test_func(void);6265 void nm_test_func(void){}6266 #ifdef __cplusplus6267 }6268 #endif6269 int main(){nm_test_var='a';nm_test_func();return(0);}6270 _LT_EOF6271 6272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56273 (eval $ac_compile) 2>&56274 ac_status=$?6275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56276 test $ac_status = 0; }; then6277 # Now try to grab the symbols.6278 nlist=conftest.nm6279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&56280 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&56281 ac_status=$?6282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56283 test $ac_status = 0; } && test -s "$nlist"; then6284 # Try sorting and uniquifying the output.6285 if sort "$nlist" | uniq > "$nlist"T; then6286 mv -f "$nlist"T "$nlist"6287 else6288 rm -f "$nlist"T6289 fi6290 6291 # Make sure that we snagged all the symbols we need.6292 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then6293 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then6294 cat <<_LT_EOF > conftest.$ac_ext6295 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */6296 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE6297 /* DATA imports from DLLs on WIN32 can't be const, because runtime6298 relocations are performed -- see ld's documentation on pseudo-relocs. */6299 # define LT_DLSYM_CONST6300 #elif defined __osf__6301 /* This system does not cope well with relocations in const data. */6302 # define LT_DLSYM_CONST6303 #else6304 # define LT_DLSYM_CONST const6305 #endif6306 6307 #ifdef __cplusplus6308 extern "C" {6309 #endif6310 6311 _LT_EOF6312 # Now generate the symbol file.6313 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'6314 6315 cat <<_LT_EOF >> conftest.$ac_ext6316 6317 /* The mapping between symbol names and symbols. */6318 LT_DLSYM_CONST struct {6319 const char *name;6320 void *address;6321 }6322 lt__PROGRAM__LTX_preloaded_symbols[] =6323 {6324 { "@PROGRAM@", (void *) 0 },6325 _LT_EOF6326 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext6327 cat <<\_LT_EOF >> conftest.$ac_ext6328 {0, (void *) 0}6329 };6330 6331 /* This works around a problem in FreeBSD linker */6332 #ifdef FREEBSD_WORKAROUND6333 static const void *lt_preloaded_setup() {6334 return lt__PROGRAM__LTX_preloaded_symbols;6335 }6336 #endif6337 6338 #ifdef __cplusplus6339 }6340 #endif6341 _LT_EOF6342 # Now try linking the two files.6343 mv conftest.$ac_objext conftstm.$ac_objext6344 lt_globsym_save_LIBS=$LIBS6345 lt_globsym_save_CFLAGS=$CFLAGS6346 LIBS=conftstm.$ac_objext6347 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"6348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&56349 (eval $ac_link) 2>&56350 ac_status=$?6351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56352 test $ac_status = 0; } && test -s conftest$ac_exeext; then6353 pipe_works=yes6354 fi6355 LIBS=$lt_globsym_save_LIBS6356 CFLAGS=$lt_globsym_save_CFLAGS6357 else6358 echo "cannot find nm_test_func in $nlist" >&56359 fi6360 else6361 echo "cannot find nm_test_var in $nlist" >&56362 fi6363 else6364 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&56365 fi6366 else6367 echo "$progname: failed program was:" >&56368 cat conftest.$ac_ext >&56369 fi6370 rm -rf conftest* conftst*6371 6372 # Do not use the global_symbol_pipe unless it works.6373 if test yes = "$pipe_works"; then6374 break6375 else6376 lt_cv_sys_global_symbol_pipe=6377 fi6378 done6379 6380 fi6381 6382 if test -z "$lt_cv_sys_global_symbol_pipe"; then6383 lt_cv_sys_global_symbol_to_cdecl=6384 fi6385 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&56387 $as_echo "failed" >&6; }6388 else6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&56390 $as_echo "ok" >&6; }6391 fi6392 6393 # Response file support.6394 if test "$lt_cv_nm_interface" = "MS dumpbin"; then6395 nm_file_list_spec='@'6396 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then6397 nm_file_list_spec='@'6398 fi6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&56437 $as_echo_n "checking for sysroot... " >&6; }6438 6439 # Check whether --with-sysroot was given.6440 if test "${with_sysroot+set}" = set; then :6441 withval=$with_sysroot;6442 else6443 with_sysroot=no6444 fi6445 6446 6447 lt_sysroot=6448 case $with_sysroot in #(6449 yes)6450 if test yes = "$GCC"; then6451 lt_sysroot=`$CC --print-sysroot 2>/dev/null`6452 fi6453 ;; #(6454 /*)6455 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`6456 ;; #(6457 no|'')6458 ;; #(6459 *)6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&56461 $as_echo "$with_sysroot" >&6; }6462 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 56463 ;;6464 esac6465 6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&56467 $as_echo "${lt_sysroot:-no}" >&6; }6468 6469 6470 6471 6472 6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&56474 $as_echo_n "checking for a working dd... " >&6; }6475 if ${ac_cv_path_lt_DD+:} false; then :6476 $as_echo_n "(cached) " >&66477 else6478 printf 0123456789abcdef0123456789abcdef >conftest.i6479 cat conftest.i conftest.i >conftest2.i6480 : ${lt_DD:=$DD}6481 if test -z "$lt_DD"; then6482 ac_path_lt_DD_found=false6483 # Loop through the user's path and test for each of PROGNAME-LIST6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6485 for as_dir in $PATH6486 do6487 IFS=$as_save_IFS6488 test -z "$as_dir" && as_dir=.6489 for ac_prog in dd; do6490 for ac_exec_ext in '' $ac_executable_extensions; do6491 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"6492 as_fn_executable_p "$ac_path_lt_DD" || continue6493 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then6494 cmp -s conftest.i conftest.out \6495 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:6496 fi6497 $ac_path_lt_DD_found && break 36498 done6499 done6500 done6501 IFS=$as_save_IFS6502 if test -z "$ac_cv_path_lt_DD"; then6503 :6504 fi6505 else6506 ac_cv_path_lt_DD=$lt_DD6507 fi6508 6509 rm -f conftest.i conftest2.i conftest.out6510 fi6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&56512 $as_echo "$ac_cv_path_lt_DD" >&6; }6513 6514 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&56516 $as_echo_n "checking how to truncate binary pipes... " >&6; }6517 if ${lt_cv_truncate_bin+:} false; then :6518 $as_echo_n "(cached) " >&66519 else6520 printf 0123456789abcdef0123456789abcdef >conftest.i6521 cat conftest.i conftest.i >conftest2.i6522 lt_cv_truncate_bin=6523 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then6524 cmp -s conftest.i conftest.out \6525 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"6526 fi6527 rm -f conftest.i conftest2.i conftest.out6528 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"6529 fi6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&56531 $as_echo "$lt_cv_truncate_bin" >&6; }6532 6533 6534 6535 6536 6537 6538 6539 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.6540 func_cc_basename ()6541 {6542 for cc_temp in $*""; do6543 case $cc_temp in6544 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;6545 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;6546 \-*) ;;6547 *) break;;6548 esac6549 done6550 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`6551 }6552 6553 # Check whether --enable-libtool-lock was given.6554 if test "${enable_libtool_lock+set}" = set; then :6555 enableval=$enable_libtool_lock;6556 fi6557 6558 test no = "$enable_libtool_lock" || enable_libtool_lock=yes6559 6560 # Some flags need to be propagated to the compiler or linker for good6561 # libtool support.6562 case $host in6563 ia64-*-hpux*)6564 # Find out what ABI is being produced by ac_compile, and set mode6565 # options accordingly.6566 echo 'int i;' > conftest.$ac_ext6567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56568 (eval $ac_compile) 2>&56569 ac_status=$?6570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56571 test $ac_status = 0; }; then6572 case `/usr/bin/file conftest.$ac_objext` in6573 *ELF-32*)6574 HPUX_IA64_MODE=326575 ;;6576 *ELF-64*)6577 HPUX_IA64_MODE=646578 ;;6579 esac6580 fi6581 rm -rf conftest*6582 ;;6583 *-*-irix6*)6584 # Find out what ABI is being produced by ac_compile, and set linker6585 # options accordingly.6586 echo '#line '$LINENO' "configure"' > conftest.$ac_ext6587 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56588 (eval $ac_compile) 2>&56589 ac_status=$?6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56591 test $ac_status = 0; }; then6592 if test yes = "$lt_cv_prog_gnu_ld"; then6593 case `/usr/bin/file conftest.$ac_objext` in6594 *32-bit*)6595 LD="${LD-ld} -melf32bsmip"6596 ;;6597 *N32*)6598 LD="${LD-ld} -melf32bmipn32"6599 ;;6600 *64-bit*)6601 LD="${LD-ld} -melf64bmip"6602 ;;6603 esac6604 else6605 case `/usr/bin/file conftest.$ac_objext` in6606 *32-bit*)6607 LD="${LD-ld} -32"6608 ;;6609 *N32*)6610 LD="${LD-ld} -n32"6611 ;;6612 *64-bit*)6613 LD="${LD-ld} -64"6614 ;;6615 esac6616 fi6617 fi6618 rm -rf conftest*6619 ;;6620 6621 mips64*-*linux*)6622 # Find out what ABI is being produced by ac_compile, and set linker6623 # options accordingly.6624 echo '#line '$LINENO' "configure"' > conftest.$ac_ext6625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56626 (eval $ac_compile) 2>&56627 ac_status=$?6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56629 test $ac_status = 0; }; then6630 emul=elf6631 case `/usr/bin/file conftest.$ac_objext` in6632 *32-bit*)6633 emul="${emul}32"6634 ;;6635 *64-bit*)6636 emul="${emul}64"6637 ;;6638 esac6639 case `/usr/bin/file conftest.$ac_objext` in6640 *MSB*)6641 emul="${emul}btsmip"6642 ;;6643 *LSB*)6644 emul="${emul}ltsmip"6645 ;;6646 esac6647 case `/usr/bin/file conftest.$ac_objext` in6648 *N32*)6649 emul="${emul}n32"6650 ;;6651 esac6652 LD="${LD-ld} -m $emul"6653 fi6654 rm -rf conftest*6655 ;;6656 6657 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \6658 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)6659 # Find out what ABI is being produced by ac_compile, and set linker6660 # options accordingly. Note that the listed cases only cover the6661 # situations where additional linker options are needed (such as when6662 # doing 32-bit compilation for a host where ld defaults to 64-bit, or6663 # vice versa); the common cases where no linker options are needed do6664 # not appear in the list.6665 echo 'int i;' > conftest.$ac_ext6666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56667 (eval $ac_compile) 2>&56668 ac_status=$?6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56670 test $ac_status = 0; }; then6671 case `/usr/bin/file conftest.o` in6672 *32-bit*)6673 case $host in6674 x86_64-*kfreebsd*-gnu)6675 LD="${LD-ld} -m elf_i386_fbsd"6676 ;;6677 x86_64-*linux*)6678 case `/usr/bin/file conftest.o` in6679 *x86-64*)6680 LD="${LD-ld} -m elf32_x86_64"6681 ;;6682 *)6683 LD="${LD-ld} -m elf_i386"6684 ;;6685 esac6686 ;;6687 powerpc64le-*linux*)6688 LD="${LD-ld} -m elf32lppclinux"6689 ;;6690 powerpc64-*linux*)6691 LD="${LD-ld} -m elf32ppclinux"6692 ;;6693 s390x-*linux*)6694 LD="${LD-ld} -m elf_s390"6695 ;;6696 sparc64-*linux*)6697 LD="${LD-ld} -m elf32_sparc"6698 ;;6699 esac6700 ;;6701 *64-bit*)6702 case $host in6703 x86_64-*kfreebsd*-gnu)6704 LD="${LD-ld} -m elf_x86_64_fbsd"6705 ;;6706 x86_64-*linux*)6707 LD="${LD-ld} -m elf_x86_64"6708 ;;6709 powerpcle-*linux*)6710 LD="${LD-ld} -m elf64lppc"6711 ;;6712 powerpc-*linux*)6713 LD="${LD-ld} -m elf64ppc"6714 ;;6715 s390*-*linux*|s390*-*tpf*)6716 LD="${LD-ld} -m elf64_s390"6717 ;;6718 sparc*-*linux*)6719 LD="${LD-ld} -m elf64_sparc"6720 ;;6721 esac6722 ;;6723 esac6724 fi6725 rm -rf conftest*6726 ;;6727 6728 *-*-sco3.2v5*)6729 # On SCO OpenServer 5, we need -belf to get full-featured binaries.6730 SAVE_CFLAGS=$CFLAGS6731 CFLAGS="$CFLAGS -belf"6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&56733 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }6734 if ${lt_cv_cc_needs_belf+:} false; then :6735 $as_echo_n "(cached) " >&66736 else6737 ac_ext=c6738 ac_cpp='$CPP $CPPFLAGS'6739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'6740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'6741 ac_compiler_gnu=$ac_cv_c_compiler_gnu6742 6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6744 /* end confdefs.h. */6745 6746 int6747 main ()6748 {6749 6750 ;6751 return 0;6752 }6753 _ACEOF6754 if ac_fn_c_try_link "$LINENO"; then :6755 lt_cv_cc_needs_belf=yes6756 else6757 lt_cv_cc_needs_belf=no6758 fi6759 rm -f core conftest.err conftest.$ac_objext \6760 conftest$ac_exeext conftest.$ac_ext6761 ac_ext=c6762 ac_cpp='$CPP $CPPFLAGS'6763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'6764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'6765 ac_compiler_gnu=$ac_cv_c_compiler_gnu6766 6767 fi6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&56769 $as_echo "$lt_cv_cc_needs_belf" >&6; }6770 if test yes != "$lt_cv_cc_needs_belf"; then6771 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf6772 CFLAGS=$SAVE_CFLAGS6773 fi6774 ;;6775 *-*solaris*)6776 # Find out what ABI is being produced by ac_compile, and set linker6777 # options accordingly.6778 echo 'int i;' > conftest.$ac_ext6779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56780 (eval $ac_compile) 2>&56781 ac_status=$?6782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56783 test $ac_status = 0; }; then6784 case `/usr/bin/file conftest.o` in6785 *64-bit*)6786 case $lt_cv_prog_gnu_ld in6787 yes*)6788 case $host in6789 i?86-*-solaris*|x86_64-*-solaris*)6790 LD="${LD-ld} -m elf_x86_64"6791 ;;6792 sparc*-*-solaris*)6793 LD="${LD-ld} -m elf64_sparc"6794 ;;6795 esac6796 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.6797 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then6798 LD=${LD-ld}_sol26799 fi6800 ;;6801 *)6802 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then6803 LD="${LD-ld} -64"6804 fi6805 ;;6806 esac6807 ;;6808 esac6809 fi6810 rm -rf conftest*6811 ;;6812 esac6813 6814 need_locks=$enable_libtool_lock6815 6816 if test -n "$ac_tool_prefix"; then6817 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.6818 set dummy ${ac_tool_prefix}mt; ac_word=$26819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56820 $as_echo_n "checking for $ac_word... " >&6; }6821 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :6822 $as_echo_n "(cached) " >&66823 else6824 if test -n "$MANIFEST_TOOL"; then6825 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.6826 else6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6828 for as_dir in $PATH6829 do6830 IFS=$as_save_IFS6831 test -z "$as_dir" && as_dir=.6832 for ac_exec_ext in '' $ac_executable_extensions; do6833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6834 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56836 break 26837 fi6838 done6839 done6840 IFS=$as_save_IFS6841 6842 fi6843 fi6844 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL6845 if test -n "$MANIFEST_TOOL"; then6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&56847 $as_echo "$MANIFEST_TOOL" >&6; }6848 else6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56850 $as_echo "no" >&6; }6851 fi6852 6853 6854 fi6855 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then6856 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL6857 # Extract the first word of "mt", so it can be a program name with args.6858 set dummy mt; ac_word=$26859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56860 $as_echo_n "checking for $ac_word... " >&6; }6861 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :6862 $as_echo_n "(cached) " >&66863 else6864 if test -n "$ac_ct_MANIFEST_TOOL"; then6865 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.6866 else6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6868 for as_dir in $PATH6869 do6870 IFS=$as_save_IFS6871 test -z "$as_dir" && as_dir=.6872 for ac_exec_ext in '' $ac_executable_extensions; do6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6874 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56876 break 26877 fi6878 done6879 done6880 IFS=$as_save_IFS6881 6882 fi6883 fi6884 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL6885 if test -n "$ac_ct_MANIFEST_TOOL"; then6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&56887 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }6888 else6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56890 $as_echo "no" >&6; }6891 fi6892 6893 if test "x$ac_ct_MANIFEST_TOOL" = x; then6894 MANIFEST_TOOL=":"6895 else6896 case $cross_compiling:$ac_tool_warned in6897 yes:)6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}6900 ac_tool_warned=yes ;;6901 esac6902 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL6903 fi6904 else6905 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"6906 fi6907 6908 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&56910 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }6911 if ${lt_cv_path_mainfest_tool+:} false; then :6912 $as_echo_n "(cached) " >&66913 else6914 lt_cv_path_mainfest_tool=no6915 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&56916 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out6917 cat conftest.err >&56918 if $GREP 'Manifest Tool' conftest.out > /dev/null; then6919 lt_cv_path_mainfest_tool=yes6920 fi6921 rm -f conftest*6922 fi6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&56924 $as_echo "$lt_cv_path_mainfest_tool" >&6; }6925 if test yes != "$lt_cv_path_mainfest_tool"; then6926 MANIFEST_TOOL=:6927 fi6928 6929 6930 6931 6932 6933 6934 case $host_os in6935 rhapsody* | darwin*)6936 if test -n "$ac_tool_prefix"; then6937 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.6938 set dummy ${ac_tool_prefix}dsymutil; ac_word=$26939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56940 $as_echo_n "checking for $ac_word... " >&6; }6941 if ${ac_cv_prog_DSYMUTIL+:} false; then :6942 $as_echo_n "(cached) " >&66943 else6944 if test -n "$DSYMUTIL"; then6945 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.6946 else6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6948 for as_dir in $PATH6949 do6950 IFS=$as_save_IFS6951 test -z "$as_dir" && as_dir=.6952 for ac_exec_ext in '' $ac_executable_extensions; do6953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6954 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56956 break 26957 fi6958 done6959 done6960 IFS=$as_save_IFS6961 6962 fi6963 fi6964 DSYMUTIL=$ac_cv_prog_DSYMUTIL6965 if test -n "$DSYMUTIL"; then6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&56967 $as_echo "$DSYMUTIL" >&6; }6968 else6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56970 $as_echo "no" >&6; }6971 fi6972 6973 6974 fi6975 if test -z "$ac_cv_prog_DSYMUTIL"; then6976 ac_ct_DSYMUTIL=$DSYMUTIL6977 # Extract the first word of "dsymutil", so it can be a program name with args.6978 set dummy dsymutil; ac_word=$26979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56980 $as_echo_n "checking for $ac_word... " >&6; }6981 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :6982 $as_echo_n "(cached) " >&66983 else6984 if test -n "$ac_ct_DSYMUTIL"; then6985 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.6986 else6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6988 for as_dir in $PATH6989 do6990 IFS=$as_save_IFS6991 test -z "$as_dir" && as_dir=.6992 for ac_exec_ext in '' $ac_executable_extensions; do6993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6994 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56996 break 26997 fi6998 done6999 done7000 IFS=$as_save_IFS7001 7002 fi7003 fi7004 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL7005 if test -n "$ac_ct_DSYMUTIL"; then7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&57007 $as_echo "$ac_ct_DSYMUTIL" >&6; }7008 else7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57010 $as_echo "no" >&6; }7011 fi7012 7013 if test "x$ac_ct_DSYMUTIL" = x; then7014 DSYMUTIL=":"7015 else7016 case $cross_compiling:$ac_tool_warned in7017 yes:)7018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7020 ac_tool_warned=yes ;;7021 esac7022 DSYMUTIL=$ac_ct_DSYMUTIL7023 fi7024 else7025 DSYMUTIL="$ac_cv_prog_DSYMUTIL"7026 fi7027 7028 if test -n "$ac_tool_prefix"; then7029 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.7030 set dummy ${ac_tool_prefix}nmedit; ac_word=$27031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57032 $as_echo_n "checking for $ac_word... " >&6; }7033 if ${ac_cv_prog_NMEDIT+:} false; then :7034 $as_echo_n "(cached) " >&67035 else7036 if test -n "$NMEDIT"; then7037 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.7038 else7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7040 for as_dir in $PATH7041 do7042 IFS=$as_save_IFS7043 test -z "$as_dir" && as_dir=.7044 for ac_exec_ext in '' $ac_executable_extensions; do7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7046 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"7047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57048 break 27049 fi7050 done7051 done7052 IFS=$as_save_IFS7053 7054 fi7055 fi7056 NMEDIT=$ac_cv_prog_NMEDIT7057 if test -n "$NMEDIT"; then7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&57059 $as_echo "$NMEDIT" >&6; }7060 else7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57062 $as_echo "no" >&6; }7063 fi7064 7065 7066 fi7067 if test -z "$ac_cv_prog_NMEDIT"; then7068 ac_ct_NMEDIT=$NMEDIT7069 # Extract the first word of "nmedit", so it can be a program name with args.7070 set dummy nmedit; ac_word=$27071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57072 $as_echo_n "checking for $ac_word... " >&6; }7073 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :7074 $as_echo_n "(cached) " >&67075 else7076 if test -n "$ac_ct_NMEDIT"; then7077 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.7078 else7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7080 for as_dir in $PATH7081 do7082 IFS=$as_save_IFS7083 test -z "$as_dir" && as_dir=.7084 for ac_exec_ext in '' $ac_executable_extensions; do7085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7086 ac_cv_prog_ac_ct_NMEDIT="nmedit"7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57088 break 27089 fi7090 done7091 done7092 IFS=$as_save_IFS7093 7094 fi7095 fi7096 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT7097 if test -n "$ac_ct_NMEDIT"; then7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&57099 $as_echo "$ac_ct_NMEDIT" >&6; }7100 else7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57102 $as_echo "no" >&6; }7103 fi7104 7105 if test "x$ac_ct_NMEDIT" = x; then7106 NMEDIT=":"7107 else7108 case $cross_compiling:$ac_tool_warned in7109 yes:)7110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7112 ac_tool_warned=yes ;;7113 esac7114 NMEDIT=$ac_ct_NMEDIT7115 fi7116 else7117 NMEDIT="$ac_cv_prog_NMEDIT"7118 fi7119 7120 if test -n "$ac_tool_prefix"; then7121 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.7122 set dummy ${ac_tool_prefix}lipo; ac_word=$27123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57124 $as_echo_n "checking for $ac_word... " >&6; }7125 if ${ac_cv_prog_LIPO+:} false; then :7126 $as_echo_n "(cached) " >&67127 else7128 if test -n "$LIPO"; then7129 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.7130 else7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7132 for as_dir in $PATH7133 do7134 IFS=$as_save_IFS7135 test -z "$as_dir" && as_dir=.7136 for ac_exec_ext in '' $ac_executable_extensions; do7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7138 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"7139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57140 break 27141 fi7142 done7143 done7144 IFS=$as_save_IFS7145 7146 fi7147 fi7148 LIPO=$ac_cv_prog_LIPO7149 if test -n "$LIPO"; then7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&57151 $as_echo "$LIPO" >&6; }7152 else7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57154 $as_echo "no" >&6; }7155 fi7156 7157 7158 fi7159 if test -z "$ac_cv_prog_LIPO"; then7160 ac_ct_LIPO=$LIPO7161 # Extract the first word of "lipo", so it can be a program name with args.7162 set dummy lipo; ac_word=$27163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57164 $as_echo_n "checking for $ac_word... " >&6; }7165 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :7166 $as_echo_n "(cached) " >&67167 else7168 if test -n "$ac_ct_LIPO"; then7169 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.7170 else7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7172 for as_dir in $PATH7173 do7174 IFS=$as_save_IFS7175 test -z "$as_dir" && as_dir=.7176 for ac_exec_ext in '' $ac_executable_extensions; do7177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7178 ac_cv_prog_ac_ct_LIPO="lipo"7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57180 break 27181 fi7182 done7183 done7184 IFS=$as_save_IFS7185 7186 fi7187 fi7188 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO7189 if test -n "$ac_ct_LIPO"; then7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&57191 $as_echo "$ac_ct_LIPO" >&6; }7192 else7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57194 $as_echo "no" >&6; }7195 fi7196 7197 if test "x$ac_ct_LIPO" = x; then7198 LIPO=":"7199 else7200 case $cross_compiling:$ac_tool_warned in7201 yes:)7202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7204 ac_tool_warned=yes ;;7205 esac7206 LIPO=$ac_ct_LIPO7207 fi7208 else7209 LIPO="$ac_cv_prog_LIPO"7210 fi7211 7212 if test -n "$ac_tool_prefix"; then7213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.7214 set dummy ${ac_tool_prefix}otool; ac_word=$27215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57216 $as_echo_n "checking for $ac_word... " >&6; }7217 if ${ac_cv_prog_OTOOL+:} false; then :7218 $as_echo_n "(cached) " >&67219 else7220 if test -n "$OTOOL"; then7221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.7222 else7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7224 for as_dir in $PATH7225 do7226 IFS=$as_save_IFS7227 test -z "$as_dir" && as_dir=.7228 for ac_exec_ext in '' $ac_executable_extensions; do7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57232 break 27233 fi7234 done7235 done7236 IFS=$as_save_IFS7237 7238 fi7239 fi7240 OTOOL=$ac_cv_prog_OTOOL7241 if test -n "$OTOOL"; then7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&57243 $as_echo "$OTOOL" >&6; }7244 else7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57246 $as_echo "no" >&6; }7247 fi7248 7249 7250 fi7251 if test -z "$ac_cv_prog_OTOOL"; then7252 ac_ct_OTOOL=$OTOOL7253 # Extract the first word of "otool", so it can be a program name with args.7254 set dummy otool; ac_word=$27255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57256 $as_echo_n "checking for $ac_word... " >&6; }7257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :7258 $as_echo_n "(cached) " >&67259 else7260 if test -n "$ac_ct_OTOOL"; then7261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.7262 else7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7264 for as_dir in $PATH7265 do7266 IFS=$as_save_IFS7267 test -z "$as_dir" && as_dir=.7268 for ac_exec_ext in '' $ac_executable_extensions; do7269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7270 ac_cv_prog_ac_ct_OTOOL="otool"7271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57272 break 27273 fi7274 done7275 done7276 IFS=$as_save_IFS7277 7278 fi7279 fi7280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL7281 if test -n "$ac_ct_OTOOL"; then7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&57283 $as_echo "$ac_ct_OTOOL" >&6; }7284 else7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57286 $as_echo "no" >&6; }7287 fi7288 7289 if test "x$ac_ct_OTOOL" = x; then7290 OTOOL=":"7291 else7292 case $cross_compiling:$ac_tool_warned in7293 yes:)7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7296 ac_tool_warned=yes ;;7297 esac7298 OTOOL=$ac_ct_OTOOL7299 fi7300 else7301 OTOOL="$ac_cv_prog_OTOOL"7302 fi7303 7304 if test -n "$ac_tool_prefix"; then7305 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.7306 set dummy ${ac_tool_prefix}otool64; ac_word=$27307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57308 $as_echo_n "checking for $ac_word... " >&6; }7309 if ${ac_cv_prog_OTOOL64+:} false; then :7310 $as_echo_n "(cached) " >&67311 else7312 if test -n "$OTOOL64"; then7313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.7314 else7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7316 for as_dir in $PATH7317 do7318 IFS=$as_save_IFS7319 test -z "$as_dir" && as_dir=.7320 for ac_exec_ext in '' $ac_executable_extensions; do7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57324 break 27325 fi7326 done7327 done7328 IFS=$as_save_IFS7329 7330 fi7331 fi7332 OTOOL64=$ac_cv_prog_OTOOL647333 if test -n "$OTOOL64"; then7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&57335 $as_echo "$OTOOL64" >&6; }7336 else7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57338 $as_echo "no" >&6; }7339 fi7340 7341 7342 fi7343 if test -z "$ac_cv_prog_OTOOL64"; then7344 ac_ct_OTOOL64=$OTOOL647345 # Extract the first word of "otool64", so it can be a program name with args.7346 set dummy otool64; ac_word=$27347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57348 $as_echo_n "checking for $ac_word... " >&6; }7349 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :7350 $as_echo_n "(cached) " >&67351 else7352 if test -n "$ac_ct_OTOOL64"; then7353 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.7354 else7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7356 for as_dir in $PATH7357 do7358 IFS=$as_save_IFS7359 test -z "$as_dir" && as_dir=.7360 for ac_exec_ext in '' $ac_executable_extensions; do7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7362 ac_cv_prog_ac_ct_OTOOL64="otool64"7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57364 break 27365 fi7366 done7367 done7368 IFS=$as_save_IFS7369 7370 fi7371 fi7372 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL647373 if test -n "$ac_ct_OTOOL64"; then7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&57375 $as_echo "$ac_ct_OTOOL64" >&6; }7376 else7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57378 $as_echo "no" >&6; }7379 fi7380 7381 if test "x$ac_ct_OTOOL64" = x; then7382 OTOOL64=":"7383 else7384 case $cross_compiling:$ac_tool_warned in7385 yes:)7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7388 ac_tool_warned=yes ;;7389 esac7390 OTOOL64=$ac_ct_OTOOL647391 fi7392 else7393 OTOOL64="$ac_cv_prog_OTOOL64"7394 fi7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&57423 $as_echo_n "checking for -single_module linker flag... " >&6; }7424 if ${lt_cv_apple_cc_single_mod+:} false; then :7425 $as_echo_n "(cached) " >&67426 else7427 lt_cv_apple_cc_single_mod=no7428 if test -z "$LT_MULTI_MODULE"; then7429 # By default we will add the -single_module flag. You can override7430 # by either setting the environment variable LT_MULTI_MODULE7431 # non-empty at configure time, or by adding -multi_module to the7432 # link flags.7433 rm -rf libconftest.dylib*7434 echo "int foo(void){return 1;}" > conftest.c7435 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \7436 -dynamiclib -Wl,-single_module conftest.c" >&57437 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \7438 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err7439 _lt_result=$?7440 # If there is a non-empty error log, and "single_module"7441 # appears in it, assume the flag caused a linker warning7442 if test -s conftest.err && $GREP single_module conftest.err; then7443 cat conftest.err >&57444 # Otherwise, if the output was created with a 0 exit code from7445 # the compiler, it worked.7446 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then7447 lt_cv_apple_cc_single_mod=yes7448 else7449 cat conftest.err >&57450 fi7451 rm -rf libconftest.dylib*7452 rm -f conftest.*7453 fi7454 fi7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&57456 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }7457 7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&57459 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }7460 if ${lt_cv_ld_exported_symbols_list+:} false; then :7461 $as_echo_n "(cached) " >&67462 else7463 lt_cv_ld_exported_symbols_list=no7464 save_LDFLAGS=$LDFLAGS7465 echo "_main" > conftest.sym7466 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"7467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7468 /* end confdefs.h. */7469 7470 int7471 main ()7472 {7473 7474 ;7475 return 0;7476 }7477 _ACEOF7478 if ac_fn_c_try_link "$LINENO"; then :7479 lt_cv_ld_exported_symbols_list=yes7480 else7481 lt_cv_ld_exported_symbols_list=no7482 fi7483 rm -f core conftest.err conftest.$ac_objext \7484 conftest$ac_exeext conftest.$ac_ext7485 LDFLAGS=$save_LDFLAGS7486 7487 fi7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&57489 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }7490 7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&57492 $as_echo_n "checking for -force_load linker flag... " >&6; }7493 if ${lt_cv_ld_force_load+:} false; then :7494 $as_echo_n "(cached) " >&67495 else7496 lt_cv_ld_force_load=no7497 cat > conftest.c << _LT_EOF7498 int forced_loaded() { return 2;}7499 _LT_EOF7500 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&57501 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&57502 echo "$AR cru libconftest.a conftest.o" >&57503 $AR cru libconftest.a conftest.o 2>&57504 echo "$RANLIB libconftest.a" >&57505 $RANLIB libconftest.a 2>&57506 cat > conftest.c << _LT_EOF7507 int main() { return 0;}7508 _LT_EOF7509 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&57510 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err7511 _lt_result=$?7512 if test -s conftest.err && $GREP force_load conftest.err; then7513 cat conftest.err >&57514 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then7515 lt_cv_ld_force_load=yes7516 else7517 cat conftest.err >&57518 fi7519 rm -f conftest.err libconftest.a conftest conftest.c7520 rm -rf conftest.dSYM7521 7522 fi7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&57524 $as_echo "$lt_cv_ld_force_load" >&6; }7525 case $host_os in7526 rhapsody* | darwin1.[012])7527 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;7528 darwin1.*)7529 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;7530 darwin*) # darwin 5.x on7531 # if running on 10.5 or later, the deployment target defaults7532 # to the OS version, if on x86, and 10.4, the deployment7533 # target defaults to 10.4. Don't you love it?7534 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in7535 10.0,*86*-darwin8*|10.0,*-darwin[91]*)7536 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;7537 10.[012][,.]*)7538 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;7539 10.*)7540 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;7541 esac7542 ;;7543 esac7544 if test yes = "$lt_cv_apple_cc_single_mod"; then7545 _lt_dar_single_mod='$single_module'7546 fi7547 if test yes = "$lt_cv_ld_exported_symbols_list"; then7548 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'7549 else7550 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'7551 fi7552 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then7553 _lt_dsymutil='~$DSYMUTIL $lib || :'7554 else7555 _lt_dsymutil=7556 fi7557 ;;7558 esac7559 7560 # func_munge_path_list VARIABLE PATH7561 # -----------------------------------7562 # VARIABLE is name of variable containing _space_ separated list of7563 # directories to be munged by the contents of PATH, which is string7564 # having a format:7565 # "DIR[:DIR]:"7566 # string "DIR[ DIR]" will be prepended to VARIABLE7567 # ":DIR[:DIR]"7568 # string "DIR[ DIR]" will be appended to VARIABLE7569 # "DIRP[:DIRP]::[DIRA:]DIRA"7570 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string7571 # "DIRA[ DIRA]" will be appended to VARIABLE7572 # "DIR[:DIR]"7573 # VARIABLE will be replaced by "DIR[ DIR]"7574 func_munge_path_list ()7575 {7576 case x$2 in7577 x)7578 ;;7579 *:)7580 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"7581 ;;7582 x:*)7583 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"7584 ;;7585 *::*)7586 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"7587 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"7588 ;;7589 *)7590 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"7591 ;;7592 esac7593 }7594 7595 ac_ext=c7596 ac_cpp='$CPP $CPPFLAGS'7597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'7598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'7599 ac_compiler_gnu=$ac_cv_c_compiler_gnu7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&57601 $as_echo_n "checking how to run the C preprocessor... " >&6; }7602 # On Suns, sometimes $CPP names a directory.7603 if test -n "$CPP" && test -d "$CPP"; then7604 CPP=7605 fi7606 if test -z "$CPP"; then7607 if ${ac_cv_prog_CPP+:} false; then :7608 $as_echo_n "(cached) " >&67609 else7610 # Double quotes because CPP needs to be expanded7611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"7612 do7613 ac_preproc_ok=false7614 for ac_c_preproc_warn_flag in '' yes7615 do7616 # Use a header file that comes with gcc, so configuring glibc7617 # with a fresh cross-compiler works.7618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7619 # <limits.h> exists even on freestanding compilers.7620 # On the NeXT, cc -E runs the code through the compiler's parser,7621 # not just through cpp. "Syntax error" is here to catch this case.7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7623 /* end confdefs.h. */7624 #ifdef __STDC__7625 # include <limits.h>7626 #else7627 # include <assert.h>7628 #endif7629 Syntax error7630 _ACEOF7631 if ac_fn_c_try_cpp "$LINENO"; then :7632 7633 else7634 # Broken: fails on valid input.7635 continue7636 fi7637 rm -f conftest.err conftest.i conftest.$ac_ext7638 7639 # OK, works on sane cases. Now check whether nonexistent headers7640 # can be detected and how.7641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7642 /* end confdefs.h. */7643 #include <ac_nonexistent.h>7644 _ACEOF7645 if ac_fn_c_try_cpp "$LINENO"; then :7646 # Broken: success on invalid input.7647 continue7648 else7649 # Passes both tests.7650 ac_preproc_ok=:7651 break7652 fi7653 rm -f conftest.err conftest.i conftest.$ac_ext7654 7655 done7656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.7657 rm -f conftest.i conftest.err conftest.$ac_ext7658 if $ac_preproc_ok; then :7659 break7660 fi7661 7662 done7663 ac_cv_prog_CPP=$CPP7664 7665 fi7666 CPP=$ac_cv_prog_CPP7667 else7668 ac_cv_prog_CPP=$CPP7669 fi7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&57671 $as_echo "$CPP" >&6; }7672 ac_preproc_ok=false7673 for ac_c_preproc_warn_flag in '' yes7674 do7675 # Use a header file that comes with gcc, so configuring glibc7676 # with a fresh cross-compiler works.7677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7678 # <limits.h> exists even on freestanding compilers.7679 # On the NeXT, cc -E runs the code through the compiler's parser,7680 # not just through cpp. "Syntax error" is here to catch this case.7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7682 /* end confdefs.h. */7683 #ifdef __STDC__7684 # include <limits.h>7685 #else7686 # include <assert.h>7687 #endif7688 Syntax error7689 _ACEOF7690 if ac_fn_c_try_cpp "$LINENO"; then :7691 7692 else7693 # Broken: fails on valid input.7694 continue7695 fi7696 rm -f conftest.err conftest.i conftest.$ac_ext7697 7698 # OK, works on sane cases. Now check whether nonexistent headers7699 # can be detected and how.7700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7701 /* end confdefs.h. */7702 #include <ac_nonexistent.h>7703 _ACEOF7704 if ac_fn_c_try_cpp "$LINENO"; then :7705 # Broken: success on invalid input.7706 continue7707 else7708 # Passes both tests.7709 ac_preproc_ok=:7710 break7711 fi7712 rm -f conftest.err conftest.i conftest.$ac_ext7713 7714 done7715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.7716 rm -f conftest.i conftest.err conftest.$ac_ext7717 if $ac_preproc_ok; then :7718 7719 else7720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}7722 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check7723 See \`config.log' for more details" "$LINENO" 5; }7724 fi7725 7726 ac_ext=c7727 ac_cpp='$CPP $CPPFLAGS'7728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'7729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'7730 ac_compiler_gnu=$ac_cv_c_compiler_gnu7731 7732 7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&57734 $as_echo_n "checking for ANSI C header files... " >&6; }7735 if ${ac_cv_header_stdc+:} false; then :7736 $as_echo_n "(cached) " >&67737 else7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7739 /* end confdefs.h. */7740 #include <stdlib.h>7741 #include <stdarg.h>7742 #include <string.h>7743 #include <float.h>7744 7745 int7746 main ()7747 {7748 7749 ;7750 return 0;7751 }7752 _ACEOF7753 if ac_fn_c_try_compile "$LINENO"; then :7754 ac_cv_header_stdc=yes7755 else7756 ac_cv_header_stdc=no7757 fi7758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext7759 7760 if test $ac_cv_header_stdc = yes; then7761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7763 /* end confdefs.h. */7764 #include <string.h>7765 7766 _ACEOF7767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |7768 $EGREP "memchr" >/dev/null 2>&1; then :7769 7770 else7771 ac_cv_header_stdc=no7772 fi7773 rm -f conftest*7774 7775 fi7776 7777 if test $ac_cv_header_stdc = yes; then7778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7780 /* end confdefs.h. */7781 #include <stdlib.h>7782 7783 _ACEOF7784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |7785 $EGREP "free" >/dev/null 2>&1; then :7786 7787 else7788 ac_cv_header_stdc=no7789 fi7790 rm -f conftest*7791 7792 fi7793 7794 if test $ac_cv_header_stdc = yes; then7795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.7796 if test "$cross_compiling" = yes; then :7797 :7798 else7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7800 /* end confdefs.h. */7801 #include <ctype.h>7802 #include <stdlib.h>7803 #if ((' ' & 0x0FF) == 0x020)7804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')7805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))7806 #else7807 # define ISLOWER(c) \7808 (('a' <= (c) && (c) <= 'i') \7809 || ('j' <= (c) && (c) <= 'r') \7810 || ('s' <= (c) && (c) <= 'z'))7811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))7812 #endif7813 7814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))7815 int7816 main ()7817 {7818 int i;7819 for (i = 0; i < 256; i++)7820 if (XOR (islower (i), ISLOWER (i))7821 || toupper (i) != TOUPPER (i))7822 return 2;7823 return 0;7824 }7825 _ACEOF7826 if ac_fn_c_try_run "$LINENO"; then :7827 7828 else7829 ac_cv_header_stdc=no7830 fi7831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \7832 conftest.$ac_objext conftest.beam conftest.$ac_ext7833 fi7834 7835 fi7836 fi7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&57838 $as_echo "$ac_cv_header_stdc" >&6; }7839 if test $ac_cv_header_stdc = yes; then7840 7841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h7842 7843 fi7844 7845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.7846 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \7847 inttypes.h stdint.h unistd.h7848 do :7849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`7850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default7851 "7852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :7853 cat >>confdefs.h <<_ACEOF7854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 17855 _ACEOF7856 7857 fi7858 7859 done7860 7861 7862 for ac_header in dlfcn.h7863 do :7864 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default7865 "7866 if test "x$ac_cv_header_dlfcn_h" = xyes; then :7867 cat >>confdefs.h <<_ACEOF7868 #define HAVE_DLFCN_H 17869 _ACEOF7870 7871 fi7872 7873 done7874 7875 7876 7877 7878 7879 # Set options7880 7881 7882 7883 enable_dlopen=no7884 7885 7886 enable_win32_dll=no7887 7888 7889 # Check whether --enable-shared was given.7890 if test "${enable_shared+set}" = set; then :7891 enableval=$enable_shared; p=${PACKAGE-default}7892 case $enableval in7893 yes) enable_shared=yes ;;7894 no) enable_shared=no ;;7895 *)7896 enable_shared=no7897 # Look at the argument we got. We use all the common list separators.7898 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7899 for pkg in $enableval; do7900 IFS=$lt_save_ifs7901 if test "X$pkg" = "X$p"; then7902 enable_shared=yes7903 fi7904 done7905 IFS=$lt_save_ifs7906 ;;7907 esac7908 else7909 enable_shared=yes7910 fi7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 # Check whether --enable-static was given.7921 if test "${enable_static+set}" = set; then :7922 enableval=$enable_static; p=${PACKAGE-default}7923 case $enableval in7924 yes) enable_static=yes ;;7925 no) enable_static=no ;;7926 *)7927 enable_static=no7928 # Look at the argument we got. We use all the common list separators.7929 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7930 for pkg in $enableval; do7931 IFS=$lt_save_ifs7932 if test "X$pkg" = "X$p"; then7933 enable_static=yes7934 fi7935 done7936 IFS=$lt_save_ifs7937 ;;7938 esac7939 else7940 enable_static=yes7941 fi7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 # Check whether --with-pic was given.7953 if test "${with_pic+set}" = set; then :7954 withval=$with_pic; lt_p=${PACKAGE-default}7955 case $withval in7956 yes|no) pic_mode=$withval ;;7957 *)7958 pic_mode=default7959 # Look at the argument we got. We use all the common list separators.7960 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7961 for lt_pkg in $withval; do7962 IFS=$lt_save_ifs7963 if test "X$lt_pkg" = "X$lt_p"; then7964 pic_mode=yes7965 fi7966 done7967 IFS=$lt_save_ifs7968 ;;7969 esac7970 else7971 pic_mode=default7972 fi7973 7974 7975 7976 7977 7978 7979 7980 7981 # Check whether --enable-fast-install was given.7982 if test "${enable_fast_install+set}" = set; then :7983 enableval=$enable_fast_install; p=${PACKAGE-default}7984 case $enableval in7985 yes) enable_fast_install=yes ;;7986 no) enable_fast_install=no ;;7987 *)7988 enable_fast_install=no7989 # Look at the argument we got. We use all the common list separators.7990 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7991 for pkg in $enableval; do7992 IFS=$lt_save_ifs7993 if test "X$pkg" = "X$p"; then7994 enable_fast_install=yes7995 fi7996 done7997 IFS=$lt_save_ifs7998 ;;7999 esac8000 else8001 enable_fast_install=yes8002 fi8003 8004 8005 8006 8007 8008 8009 8010 8011 shared_archive_member_spec=8012 case $host,$enable_shared in8013 power*-*-aix[5-9]*,yes)8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&58015 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }8016 8017 # Check whether --with-aix-soname was given.8018 if test "${with_aix_soname+set}" = set; then :8019 withval=$with_aix_soname; case $withval in8020 aix|svr4|both)8021 ;;8022 *)8023 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 58024 ;;8025 esac8026 lt_cv_with_aix_soname=$with_aix_soname8027 else8028 if ${lt_cv_with_aix_soname+:} false; then :8029 $as_echo_n "(cached) " >&68030 else8031 lt_cv_with_aix_soname=aix8032 fi8033 8034 with_aix_soname=$lt_cv_with_aix_soname8035 fi8036 8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&58038 $as_echo "$with_aix_soname" >&6; }8039 if test aix != "$with_aix_soname"; then8040 # For the AIX way of multilib, we name the shared archive member8041 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',8042 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.8043 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,8044 # the AIX toolchain works better with OBJECT_MODE set (default 32).8045 if test 64 = "${OBJECT_MODE-32}"; then8046 shared_archive_member_spec=shr_648047 else8048 shared_archive_member_spec=shr8049 fi8050 fi8051 ;;8052 *)8053 with_aix_soname=aix8054 ;;8055 esac8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 # This can be used to rebuild libtool when needed8067 LIBTOOL_DEPS=$ltmain8068 8069 # Always use our own libtool.8070 LIBTOOL='$(SHELL) $(top_builddir)/libtool'8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 test -z "$LN_S" && LN_S="ln -s"8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 if test -n "${ZSH_VERSION+set}"; then8117 setopt NO_GLOB_SUBST8118 fi8119 8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&58121 $as_echo_n "checking for objdir... " >&6; }8122 if ${lt_cv_objdir+:} false; then :8123 $as_echo_n "(cached) " >&68124 else8125 rm -f .libs 2>/dev/null8126 mkdir .libs 2>/dev/null8127 if test -d .libs; then8128 lt_cv_objdir=.libs8129 else8130 # MS-DOS does not allow filenames that begin with a dot.8131 lt_cv_objdir=_libs8132 fi8133 rmdir .libs 2>/dev/null8134 fi8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&58136 $as_echo "$lt_cv_objdir" >&6; }8137 objdir=$lt_cv_objdir8138 8139 8140 8141 8142 8143 cat >>confdefs.h <<_ACEOF8144 #define LT_OBJDIR "$lt_cv_objdir/"8145 _ACEOF8146 8147 8148 8149 8150 case $host_os in8151 aix3*)8152 # AIX sometimes has problems with the GCC collect2 program. For some8153 # reason, if we set the COLLECT_NAMES environment variable, the problems8154 # vanish in a puff of smoke.8155 if test set != "${COLLECT_NAMES+set}"; then8156 COLLECT_NAMES=8157 export COLLECT_NAMES8158 fi8159 ;;8160 esac8161 8162 # Global variables:8163 ofile=libtool8164 can_build_shared=yes8165 8166 # All known linkers require a '.a' archive for static linking (except MSVC,8167 # which needs '.lib').8168 libext=a8169 8170 with_gnu_ld=$lt_cv_prog_gnu_ld8171 8172 old_CC=$CC8173 old_CFLAGS=$CFLAGS8174 8175 # Set sane defaults for various variables8176 test -z "$CC" && CC=cc8177 test -z "$LTCC" && LTCC=$CC8178 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS8179 test -z "$LD" && LD=ld8180 test -z "$ac_objext" && ac_objext=o8181 8182 func_cc_basename $compiler8183 cc_basename=$func_cc_basename_result8184 8185 8186 # Only perform the check for file, if the check method requires it8187 test -z "$MAGIC_CMD" && MAGIC_CMD=file8188 case $deplibs_check_method in8189 file_magic*)8190 if test "$file_magic_cmd" = '$MAGIC_CMD'; then8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&58192 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }8193 if ${lt_cv_path_MAGIC_CMD+:} false; then :8194 $as_echo_n "(cached) " >&68195 else8196 case $MAGIC_CMD in8197 [\\/*] | ?:[\\/]*)8198 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.8199 ;;8200 *)8201 lt_save_MAGIC_CMD=$MAGIC_CMD8202 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR8203 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"8204 for ac_dir in $ac_dummy; do8205 IFS=$lt_save_ifs8206 test -z "$ac_dir" && ac_dir=.8207 if test -f "$ac_dir/${ac_tool_prefix}file"; then8208 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"8209 if test -n "$file_magic_test_file"; then8210 case $deplibs_check_method in8211 "file_magic "*)8212 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`8213 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8214 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |8215 $EGREP "$file_magic_regex" > /dev/null; then8216 :8217 else8218 cat <<_LT_EOF 1>&28219 8220 *** Warning: the command libtool uses to detect shared libraries,8221 *** $file_magic_cmd, produces output that libtool cannot recognize.8222 *** The result is that libtool may fail to recognize shared libraries8223 *** as such. This will affect the creation of libtool libraries that8224 *** depend on shared libraries, but programs linked with such libtool8225 *** libraries will work regardless of this problem. Nevertheless, you8226 *** may want to report the problem to your system manager and/or to8227 *** bug-libtool@gnu.org8228 8229 _LT_EOF8230 fi ;;8231 esac8232 fi8233 break8234 fi8235 done8236 IFS=$lt_save_ifs8237 MAGIC_CMD=$lt_save_MAGIC_CMD8238 ;;8239 esac8240 fi8241 8242 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8243 if test -n "$MAGIC_CMD"; then8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&58245 $as_echo "$MAGIC_CMD" >&6; }8246 else8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58248 $as_echo "no" >&6; }8249 fi8250 8251 8252 8253 8254 8255 if test -z "$lt_cv_path_MAGIC_CMD"; then8256 if test -n "$ac_tool_prefix"; then8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&58258 $as_echo_n "checking for file... " >&6; }8259 if ${lt_cv_path_MAGIC_CMD+:} false; then :8260 $as_echo_n "(cached) " >&68261 else8262 case $MAGIC_CMD in8263 [\\/*] | ?:[\\/]*)8264 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.8265 ;;8266 *)8267 lt_save_MAGIC_CMD=$MAGIC_CMD8268 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR8269 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"8270 for ac_dir in $ac_dummy; do8271 IFS=$lt_save_ifs8272 test -z "$ac_dir" && ac_dir=.8273 if test -f "$ac_dir/file"; then8274 lt_cv_path_MAGIC_CMD=$ac_dir/"file"8275 if test -n "$file_magic_test_file"; then8276 case $deplibs_check_method in8277 "file_magic "*)8278 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`8279 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8280 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |8281 $EGREP "$file_magic_regex" > /dev/null; then8282 :8283 else8284 cat <<_LT_EOF 1>&28285 8286 *** Warning: the command libtool uses to detect shared libraries,8287 *** $file_magic_cmd, produces output that libtool cannot recognize.8288 *** The result is that libtool may fail to recognize shared libraries8289 *** as such. This will affect the creation of libtool libraries that8290 *** depend on shared libraries, but programs linked with such libtool8291 *** libraries will work regardless of this problem. Nevertheless, you8292 *** may want to report the problem to your system manager and/or to8293 *** bug-libtool@gnu.org8294 8295 _LT_EOF8296 fi ;;8297 esac8298 fi8299 break8300 fi8301 done8302 IFS=$lt_save_ifs8303 MAGIC_CMD=$lt_save_MAGIC_CMD8304 ;;8305 esac8306 fi8307 8308 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8309 if test -n "$MAGIC_CMD"; then8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&58311 $as_echo "$MAGIC_CMD" >&6; }8312 else8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58314 $as_echo "no" >&6; }8315 fi8316 8317 8318 else8319 MAGIC_CMD=:8320 fi8321 fi8322 8323 fi8324 ;;8325 esac8326 8327 # Use C for the default configuration in the libtool script8328 8329 lt_save_CC=$CC8330 ac_ext=c8331 ac_cpp='$CPP $CPPFLAGS'8332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'8333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'8334 ac_compiler_gnu=$ac_cv_c_compiler_gnu8335 8336 8337 # Source file extension for C test sources.8338 ac_ext=c8339 8340 # Object file extension for compiled C test sources.8341 objext=o8342 objext=$objext8343 8344 # Code to be used in simple compile tests8345 lt_simple_compile_test_code="int some_variable = 0;"8346 8347 # Code to be used in simple link tests8348 lt_simple_link_test_code='int main(){return(0);}'8349 8350 8351 8352 8353 8354 8355 8356 # If no C compiler was specified, use CC.8357 LTCC=${LTCC-"$CC"}8358 8359 # If no C compiler flags were specified, use CFLAGS.8360 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}8361 8362 # Allow CC to be a program name with arguments.8363 compiler=$CC8364 8365 # Save the default compiler, since it gets overwritten when the other8366 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.8367 compiler_DEFAULT=$CC8368 8369 # save warnings/boilerplate of simple test code8370 ac_outfile=conftest.$ac_objext8371 echo "$lt_simple_compile_test_code" >conftest.$ac_ext8372 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err8373 _lt_compiler_boilerplate=`cat conftest.err`8374 $RM conftest*8375 8376 ac_outfile=conftest.$ac_objext8377 echo "$lt_simple_link_test_code" >conftest.$ac_ext8378 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err8379 _lt_linker_boilerplate=`cat conftest.err`8380 $RM -r conftest*8381 8382 8383 ## CAVEAT EMPTOR:8384 ## There is no encapsulation within the following macros, do not change8385 ## the running order or otherwise move them around unless you know exactly8386 ## what you are doing...8387 if test -n "$compiler"; then8388 8389 lt_prog_compiler_no_builtin_flag=8390 8391 if test yes = "$GCC"; then8392 case $cc_basename in8393 nvcc*)8394 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;8395 *)8396 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;8397 esac8398 8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&58400 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }8401 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :8402 $as_echo_n "(cached) " >&68403 else8404 lt_cv_prog_compiler_rtti_exceptions=no8405 ac_outfile=conftest.$ac_objext8406 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8407 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment8408 # Insert the option either (1) after the last *FLAGS variable, or8409 # (2) before a word containing "conftest.", or (3) at the end.8410 # Note that $ac_compile itself does not contain backslashes and begins8411 # with a dollar sign (not a hyphen), so the echo should work correctly.8412 # The option is referenced via a variable to avoid confusing sed.8413 lt_compile=`echo "$ac_compile" | $SED \8414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8416 -e 's:$: $lt_compiler_flag:'`8417 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)8418 (eval "$lt_compile" 2>conftest.err)8419 ac_status=$?8420 cat conftest.err >&58421 echo "$as_me:$LINENO: \$? = $ac_status" >&58422 if (exit $ac_status) && test -s "$ac_outfile"; then8423 # The compiler can only warn and ignore the option if not recognized8424 # So say no if there are warnings other than the usual output.8425 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp8426 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28427 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then8428 lt_cv_prog_compiler_rtti_exceptions=yes8429 fi8430 fi8431 $RM conftest*8432 8433 fi8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&58435 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }8436 8437 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then8438 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"8439 else8440 :8441 fi8442 8443 fi8444 8445 8446 8447 8448 8449 8450 lt_prog_compiler_wl=8451 lt_prog_compiler_pic=8452 lt_prog_compiler_static=8453 8454 8455 if test yes = "$GCC"; then8456 lt_prog_compiler_wl='-Wl,'8457 lt_prog_compiler_static='-static'8458 8459 case $host_os in8460 aix*)8461 # All AIX code is PIC.8462 if test ia64 = "$host_cpu"; then8463 # AIX 5 now supports IA64 processor8464 lt_prog_compiler_static='-Bstatic'8465 fi8466 lt_prog_compiler_pic='-fPIC'8467 ;;8468 8469 amigaos*)8470 case $host_cpu in8471 powerpc)8472 # see comment about AmigaOS4 .so support8473 lt_prog_compiler_pic='-fPIC'8474 ;;8475 m68k)8476 # FIXME: we need at least 68020 code to build shared libraries, but8477 # adding the '-m68020' flag to GCC prevents building anything better,8478 # like '-m68040'.8479 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'8480 ;;8481 esac8482 ;;8483 8484 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)8485 # PIC is the default for these OSes.8486 ;;8487 8488 mingw* | cygwin* | pw32* | os2* | cegcc*)8489 # This hack is so that the source file can tell whether it is being8490 # built for inclusion in a dll (and should export symbols for example).8491 # Although the cygwin gcc ignores -fPIC, still need this for old-style8492 # (--disable-auto-import) libraries8493 lt_prog_compiler_pic='-DDLL_EXPORT'8494 case $host_os in8495 os2*)8496 lt_prog_compiler_static='$wl-static'8497 ;;8498 esac8499 ;;8500 8501 darwin* | rhapsody*)8502 # PIC is the default on this platform8503 # Common symbols not allowed in MH_DYLIB files8504 lt_prog_compiler_pic='-fno-common'8505 ;;8506 8507 haiku*)8508 # PIC is the default for Haiku.8509 # The "-static" flag exists, but is broken.8510 lt_prog_compiler_static=8511 ;;8512 8513 hpux*)8514 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit8515 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag8516 # sets the default TLS model and affects inlining.8517 case $host_cpu in8518 hppa*64*)8519 # +Z the default8520 ;;8521 *)8522 lt_prog_compiler_pic='-fPIC'8523 ;;8524 esac8525 ;;8526 8527 interix[3-9]*)8528 # Interix 3.x gcc -fpic/-fPIC options generate broken code.8529 # Instead, we relocate shared libraries at runtime.8530 ;;8531 8532 msdosdjgpp*)8533 # Just because we use GCC doesn't mean we suddenly get shared libraries8534 # on systems that don't support them.8535 lt_prog_compiler_can_build_shared=no8536 enable_shared=no8537 ;;8538 8539 *nto* | *qnx*)8540 # QNX uses GNU C++, but need to define -shared option too, otherwise8541 # it will coredump.8542 lt_prog_compiler_pic='-fPIC -shared'8543 ;;8544 8545 sysv4*MP*)8546 if test -d /usr/nec; then8547 lt_prog_compiler_pic=-Kconform_pic8548 fi8549 ;;8550 8551 *)8552 lt_prog_compiler_pic='-fPIC'8553 ;;8554 esac8555 8556 case $cc_basename in8557 nvcc*) # Cuda Compiler Driver 2.28558 lt_prog_compiler_wl='-Xlinker '8559 if test -n "$lt_prog_compiler_pic"; then8560 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"8561 fi8562 ;;8563 esac8564 else8565 # PORTME Check for flag to pass linker flags through the system compiler.8566 case $host_os in8567 aix*)8568 lt_prog_compiler_wl='-Wl,'8569 if test ia64 = "$host_cpu"; then8570 # AIX 5 now supports IA64 processor8571 lt_prog_compiler_static='-Bstatic'8572 else8573 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'8574 fi8575 ;;8576 8577 darwin* | rhapsody*)8578 # PIC is the default on this platform8579 # Common symbols not allowed in MH_DYLIB files8580 lt_prog_compiler_pic='-fno-common'8581 case $cc_basename in8582 nagfor*)8583 # NAG Fortran compiler8584 lt_prog_compiler_wl='-Wl,-Wl,,'8585 lt_prog_compiler_pic='-PIC'8586 lt_prog_compiler_static='-Bstatic'8587 ;;8588 esac8589 ;;8590 8591 mingw* | cygwin* | pw32* | os2* | cegcc*)8592 # This hack is so that the source file can tell whether it is being8593 # built for inclusion in a dll (and should export symbols for example).8594 lt_prog_compiler_pic='-DDLL_EXPORT'8595 case $host_os in8596 os2*)8597 lt_prog_compiler_static='$wl-static'8598 ;;8599 esac8600 ;;8601 8602 hpux9* | hpux10* | hpux11*)8603 lt_prog_compiler_wl='-Wl,'8604 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but8605 # not for PA HP-UX.8606 case $host_cpu in8607 hppa*64*|ia64*)8608 # +Z the default8609 ;;8610 *)8611 lt_prog_compiler_pic='+Z'8612 ;;8613 esac8614 # Is there a better lt_prog_compiler_static that works with the bundled CC?8615 lt_prog_compiler_static='$wl-a ${wl}archive'8616 ;;8617 8618 irix5* | irix6* | nonstopux*)8619 lt_prog_compiler_wl='-Wl,'8620 # PIC (with -KPIC) is the default.8621 lt_prog_compiler_static='-non_shared'8622 ;;8623 8624 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)8625 case $cc_basename in8626 # old Intel for x86_64, which still supported -KPIC.8627 ecc*)8628 lt_prog_compiler_wl='-Wl,'8629 lt_prog_compiler_pic='-KPIC'8630 lt_prog_compiler_static='-static'8631 ;;8632 # icc used to be incompatible with GCC.8633 # ICC 10 doesn't accept -KPIC any more.8634 icc* | ifort*)8635 lt_prog_compiler_wl='-Wl,'8636 lt_prog_compiler_pic='-fPIC'8637 lt_prog_compiler_static='-static'8638 ;;8639 # Lahey Fortran 8.1.8640 lf95*)8641 lt_prog_compiler_wl='-Wl,'8642 lt_prog_compiler_pic='--shared'8643 lt_prog_compiler_static='--static'8644 ;;8645 nagfor*)8646 # NAG Fortran compiler8647 lt_prog_compiler_wl='-Wl,-Wl,,'8648 lt_prog_compiler_pic='-PIC'8649 lt_prog_compiler_static='-Bstatic'8650 ;;8651 tcc*)8652 # Fabrice Bellard et al's Tiny C Compiler8653 lt_prog_compiler_wl='-Wl,'8654 lt_prog_compiler_pic='-fPIC'8655 lt_prog_compiler_static='-static'8656 ;;8657 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)8658 # Portland Group compilers (*not* the Pentium gcc compiler,8659 # which looks to be a dead project)8660 lt_prog_compiler_wl='-Wl,'8661 lt_prog_compiler_pic='-fpic'8662 lt_prog_compiler_static='-Bstatic'8663 ;;8664 ccc*)8665 lt_prog_compiler_wl='-Wl,'8666 # All Alpha code is PIC.8667 lt_prog_compiler_static='-non_shared'8668 ;;8669 xl* | bgxl* | bgf* | mpixl*)8670 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene8671 lt_prog_compiler_wl='-Wl,'8672 lt_prog_compiler_pic='-qpic'8673 lt_prog_compiler_static='-qstaticlink'8674 ;;8675 *)8676 case `$CC -V 2>&1 | sed 5q` in8677 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)8678 # Sun Fortran 8.3 passes all unrecognized flags to the linker8679 lt_prog_compiler_pic='-KPIC'8680 lt_prog_compiler_static='-Bstatic'8681 lt_prog_compiler_wl=''8682 ;;8683 *Sun\ F* | *Sun*Fortran*)8684 lt_prog_compiler_pic='-KPIC'8685 lt_prog_compiler_static='-Bstatic'8686 lt_prog_compiler_wl='-Qoption ld '8687 ;;8688 *Sun\ C*)8689 # Sun C 5.98690 lt_prog_compiler_pic='-KPIC'8691 lt_prog_compiler_static='-Bstatic'8692 lt_prog_compiler_wl='-Wl,'8693 ;;8694 *Intel*\ [CF]*Compiler*)8695 lt_prog_compiler_wl='-Wl,'8696 lt_prog_compiler_pic='-fPIC'8697 lt_prog_compiler_static='-static'8698 ;;8699 *Portland\ Group*)8700 lt_prog_compiler_wl='-Wl,'8701 lt_prog_compiler_pic='-fpic'8702 lt_prog_compiler_static='-Bstatic'8703 ;;8704 esac8705 ;;8706 esac8707 ;;8708 8709 newsos6)8710 lt_prog_compiler_pic='-KPIC'8711 lt_prog_compiler_static='-Bstatic'8712 ;;8713 8714 *nto* | *qnx*)8715 # QNX uses GNU C++, but need to define -shared option too, otherwise8716 # it will coredump.8717 lt_prog_compiler_pic='-fPIC -shared'8718 ;;8719 8720 osf3* | osf4* | osf5*)8721 lt_prog_compiler_wl='-Wl,'8722 # All OSF/1 code is PIC.8723 lt_prog_compiler_static='-non_shared'8724 ;;8725 8726 rdos*)8727 lt_prog_compiler_static='-non_shared'8728 ;;8729 8730 solaris*)8731 lt_prog_compiler_pic='-KPIC'8732 lt_prog_compiler_static='-Bstatic'8733 case $cc_basename in8734 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)8735 lt_prog_compiler_wl='-Qoption ld ';;8736 *)8737 lt_prog_compiler_wl='-Wl,';;8738 esac8739 ;;8740 8741 sunos4*)8742 lt_prog_compiler_wl='-Qoption ld '8743 lt_prog_compiler_pic='-PIC'8744 lt_prog_compiler_static='-Bstatic'8745 ;;8746 8747 sysv4 | sysv4.2uw2* | sysv4.3*)8748 lt_prog_compiler_wl='-Wl,'8749 lt_prog_compiler_pic='-KPIC'8750 lt_prog_compiler_static='-Bstatic'8751 ;;8752 8753 sysv4*MP*)8754 if test -d /usr/nec; then8755 lt_prog_compiler_pic='-Kconform_pic'8756 lt_prog_compiler_static='-Bstatic'8757 fi8758 ;;8759 8760 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)8761 lt_prog_compiler_wl='-Wl,'8762 lt_prog_compiler_pic='-KPIC'8763 lt_prog_compiler_static='-Bstatic'8764 ;;8765 8766 unicos*)8767 lt_prog_compiler_wl='-Wl,'8768 lt_prog_compiler_can_build_shared=no8769 ;;8770 8771 uts4*)8772 lt_prog_compiler_pic='-pic'8773 lt_prog_compiler_static='-Bstatic'8774 ;;8775 8776 *)8777 lt_prog_compiler_can_build_shared=no8778 ;;8779 esac8780 fi8781 8782 case $host_os in8783 # For platforms that do not support PIC, -DPIC is meaningless:8784 *djgpp*)8785 lt_prog_compiler_pic=8786 ;;8787 *)8788 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"8789 ;;8790 esac8791 8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&58793 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }8794 if ${lt_cv_prog_compiler_pic+:} false; then :8795 $as_echo_n "(cached) " >&68796 else8797 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic8798 fi8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&58800 $as_echo "$lt_cv_prog_compiler_pic" >&6; }8801 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic8802 8803 #8804 # Check to make sure the PIC flag actually works.8805 #8806 if test -n "$lt_prog_compiler_pic"; then8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&58808 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }8809 if ${lt_cv_prog_compiler_pic_works+:} false; then :8810 $as_echo_n "(cached) " >&68811 else8812 lt_cv_prog_compiler_pic_works=no8813 ac_outfile=conftest.$ac_objext8814 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8815 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment8816 # Insert the option either (1) after the last *FLAGS variable, or8817 # (2) before a word containing "conftest.", or (3) at the end.8818 # Note that $ac_compile itself does not contain backslashes and begins8819 # with a dollar sign (not a hyphen), so the echo should work correctly.8820 # The option is referenced via a variable to avoid confusing sed.8821 lt_compile=`echo "$ac_compile" | $SED \8822 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8824 -e 's:$: $lt_compiler_flag:'`8825 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)8826 (eval "$lt_compile" 2>conftest.err)8827 ac_status=$?8828 cat conftest.err >&58829 echo "$as_me:$LINENO: \$? = $ac_status" >&58830 if (exit $ac_status) && test -s "$ac_outfile"; then8831 # The compiler can only warn and ignore the option if not recognized8832 # So say no if there are warnings other than the usual output.8833 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp8834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28835 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then8836 lt_cv_prog_compiler_pic_works=yes8837 fi8838 fi8839 $RM conftest*8840 8841 fi8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&58843 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }8844 8845 if test yes = "$lt_cv_prog_compiler_pic_works"; then8846 case $lt_prog_compiler_pic in8847 "" | " "*) ;;8848 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;8849 esac8850 else8851 lt_prog_compiler_pic=8852 lt_prog_compiler_can_build_shared=no8853 fi8854 8855 fi8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 #8868 # Check to make sure the static flag actually works.8869 #8870 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&58872 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }8873 if ${lt_cv_prog_compiler_static_works+:} false; then :8874 $as_echo_n "(cached) " >&68875 else8876 lt_cv_prog_compiler_static_works=no8877 save_LDFLAGS=$LDFLAGS8878 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"8879 echo "$lt_simple_link_test_code" > conftest.$ac_ext8880 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then8881 # The linker can only warn and ignore the option if not recognized8882 # So say no if there are warnings8883 if test -s conftest.err; then8884 # Append any errors to the config.log.8885 cat conftest.err 1>&58886 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp8887 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28888 if diff conftest.exp conftest.er2 >/dev/null; then8889 lt_cv_prog_compiler_static_works=yes8890 fi8891 else8892 lt_cv_prog_compiler_static_works=yes8893 fi8894 fi8895 $RM -r conftest*8896 LDFLAGS=$save_LDFLAGS8897 8898 fi8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&58900 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }8901 8902 if test yes = "$lt_cv_prog_compiler_static_works"; then8903 :8904 else8905 lt_prog_compiler_static=8906 fi8907 8908 8909 8910 8911 8912 8913 8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&58915 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }8916 if ${lt_cv_prog_compiler_c_o+:} false; then :8917 $as_echo_n "(cached) " >&68918 else8919 lt_cv_prog_compiler_c_o=no8920 $RM -r conftest 2>/dev/null8921 mkdir conftest8922 cd conftest8923 mkdir out8924 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8925 8926 lt_compiler_flag="-o out/conftest2.$ac_objext"8927 # Insert the option either (1) after the last *FLAGS variable, or8928 # (2) before a word containing "conftest.", or (3) at the end.8929 # Note that $ac_compile itself does not contain backslashes and begins8930 # with a dollar sign (not a hyphen), so the echo should work correctly.8931 lt_compile=`echo "$ac_compile" | $SED \8932 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8934 -e 's:$: $lt_compiler_flag:'`8935 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)8936 (eval "$lt_compile" 2>out/conftest.err)8937 ac_status=$?8938 cat out/conftest.err >&58939 echo "$as_me:$LINENO: \$? = $ac_status" >&58940 if (exit $ac_status) && test -s out/conftest2.$ac_objext8941 then8942 # The compiler can only warn and ignore the option if not recognized8943 # So say no if there are warnings8944 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp8945 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er28946 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then8947 lt_cv_prog_compiler_c_o=yes8948 fi8949 fi8950 chmod u+w . 2>&58951 $RM conftest*8952 # SGI C++ compiler will create directory out/ii_files/ for8953 # template instantiation8954 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files8955 $RM out/* && rmdir out8956 cd ..8957 $RM -r conftest8958 $RM conftest*8959 8960 fi8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&58962 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }8963 8964 8965 8966 8967 8968 8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&58970 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }8971 if ${lt_cv_prog_compiler_c_o+:} false; then :8972 $as_echo_n "(cached) " >&68973 else8974 lt_cv_prog_compiler_c_o=no8975 $RM -r conftest 2>/dev/null8976 mkdir conftest8977 cd conftest8978 mkdir out8979 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8980 8981 lt_compiler_flag="-o out/conftest2.$ac_objext"8982 # Insert the option either (1) after the last *FLAGS variable, or8983 # (2) before a word containing "conftest.", or (3) at the end.8984 # Note that $ac_compile itself does not contain backslashes and begins8985 # with a dollar sign (not a hyphen), so the echo should work correctly.8986 lt_compile=`echo "$ac_compile" | $SED \8987 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8988 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8989 -e 's:$: $lt_compiler_flag:'`8990 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)8991 (eval "$lt_compile" 2>out/conftest.err)8992 ac_status=$?8993 cat out/conftest.err >&58994 echo "$as_me:$LINENO: \$? = $ac_status" >&58995 if (exit $ac_status) && test -s out/conftest2.$ac_objext8996 then8997 # The compiler can only warn and ignore the option if not recognized8998 # So say no if there are warnings8999 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp9000 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er29001 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then9002 lt_cv_prog_compiler_c_o=yes9003 fi9004 fi9005 chmod u+w . 2>&59006 $RM conftest*9007 # SGI C++ compiler will create directory out/ii_files/ for9008 # template instantiation9009 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files9010 $RM out/* && rmdir out9011 cd ..9012 $RM -r conftest9013 $RM conftest*9014 9015 fi9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&59017 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }9018 9019 9020 9021 9022 hard_links=nottested9023 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then9024 # do not overwrite the value of need_locks provided by the user9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&59026 $as_echo_n "checking if we can lock with hard links... " >&6; }9027 hard_links=yes9028 $RM conftest*9029 ln conftest.a conftest.b 2>/dev/null && hard_links=no9030 touch conftest.a9031 ln conftest.a conftest.b 2>&5 || hard_links=no9032 ln conftest.a conftest.b 2>/dev/null && hard_links=no9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&59034 $as_echo "$hard_links" >&6; }9035 if test no = "$hard_links"; then9036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&59037 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}9038 need_locks=warn9039 fi9040 else9041 need_locks=no9042 fi9043 9044 9045 9046 9047 9048 9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&59050 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }9051 9052 runpath_var=9053 allow_undefined_flag=9054 always_export_symbols=no9055 archive_cmds=9056 archive_expsym_cmds=9057 compiler_needs_object=no9058 enable_shared_with_static_runtimes=no9059 export_dynamic_flag_spec=9060 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'9061 hardcode_automatic=no9062 hardcode_direct=no9063 hardcode_direct_absolute=no9064 hardcode_libdir_flag_spec=9065 hardcode_libdir_separator=9066 hardcode_minus_L=no9067 hardcode_shlibpath_var=unsupported9068 inherit_rpath=no9069 link_all_deplibs=unknown9070 module_cmds=9071 module_expsym_cmds=9072 old_archive_from_new_cmds=9073 old_archive_from_expsyms_cmds=9074 thread_safe_flag_spec=9075 whole_archive_flag_spec=9076 # include_expsyms should be a list of space-separated symbols to be *always*9077 # included in the symbol list9078 include_expsyms=9079 # exclude_expsyms can be an extended regexp of symbols to exclude9080 # it will be wrapped by ' (' and ')$', so one must not match beginning or9081 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',9082 # as well as any symbol that contains 'd'.9083 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'9084 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out9085 # platforms (ab)use it in PIC code, but their linkers get confused if9086 # the symbol is explicitly referenced. Since portable code cannot9087 # rely on this symbol name, it's probably fine to never include it in9088 # preloaded symbol tables.9089 # Exclude shared library initialization/finalization symbols.9090 extract_expsyms_cmds=9091 9092 case $host_os in9093 cygwin* | mingw* | pw32* | cegcc*)9094 # FIXME: the MSVC++ port hasn't been tested in a loooong time9095 # When not using gcc, we currently assume that we are using9096 # Microsoft Visual C++.9097 if test yes != "$GCC"; then9098 with_gnu_ld=no9099 fi9100 ;;9101 interix*)9102 # we just hope/assume this is gcc and not c89 (= MSVC++)9103 with_gnu_ld=yes9104 ;;9105 openbsd* | bitrig*)9106 with_gnu_ld=no9107 ;;9108 linux* | k*bsd*-gnu | gnu*)9109 link_all_deplibs=no9110 ;;9111 esac9112 9113 ld_shlibs=yes9114 9115 # On some targets, GNU ld is compatible enough with the native linker9116 # that we're better off using the native interface for both.9117 lt_use_gnu_ld_interface=no9118 if test yes = "$with_gnu_ld"; then9119 case $host_os in9120 aix*)9121 # The AIX port of GNU ld has always aspired to compatibility9122 # with the native linker. However, as the warning in the GNU ld9123 # block says, versions before 2.19.5* couldn't really create working9124 # shared libraries, regardless of the interface used.9125 case `$LD -v 2>&1` in9126 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;9127 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;9128 *\ \(GNU\ Binutils\)\ [3-9]*) ;;9129 *)9130 lt_use_gnu_ld_interface=yes9131 ;;9132 esac9133 ;;9134 *)9135 lt_use_gnu_ld_interface=yes9136 ;;9137 esac9138 fi9139 9140 if test yes = "$lt_use_gnu_ld_interface"; then9141 # If archive_cmds runs LD, not CC, wlarc should be empty9142 wlarc='$wl'9143 9144 # Set some defaults for GNU ld with shared library support. These9145 # are reset later if shared libraries are not supported. Putting them9146 # here allows them to be overridden if necessary.9147 runpath_var=LD_RUN_PATH9148 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'9149 export_dynamic_flag_spec='$wl--export-dynamic'9150 # ancient GNU ld didn't support --whole-archive et. al.9151 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then9152 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'9153 else9154 whole_archive_flag_spec=9155 fi9156 supports_anon_versioning=no9157 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in9158 *GNU\ gold*) supports_anon_versioning=yes ;;9159 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.119160 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...9161 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...9162 *\ 2.11.*) ;; # other 2.11 versions9163 *) supports_anon_versioning=yes ;;9164 esac9165 9166 # See if GNU ld supports shared libraries.9167 case $host_os in9168 aix[3-9]*)9169 # On AIX/PPC, the GNU linker is very broken9170 if test ia64 != "$host_cpu"; then9171 ld_shlibs=no9172 cat <<_LT_EOF 1>&29173 9174 *** Warning: the GNU linker, at least up to release 2.19, is reported9175 *** to be unable to reliably create shared libraries on AIX.9176 *** Therefore, libtool is disabling shared libraries support. If you9177 *** really care for shared libraries, you may want to install binutils9178 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.9179 *** You will then need to restart the configuration process.9180 9181 _LT_EOF9182 fi9183 ;;9184 9185 amigaos*)9186 case $host_cpu in9187 powerpc)9188 # see comment about AmigaOS4 .so support9189 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9190 archive_expsym_cmds=''9191 ;;9192 m68k)9193 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'9194 hardcode_libdir_flag_spec='-L$libdir'9195 hardcode_minus_L=yes9196 ;;9197 esac9198 ;;9199 9200 beos*)9201 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9202 allow_undefined_flag=unsupported9203 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc9204 # support --undefined. This deserves some investigation. FIXME9205 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9206 else9207 ld_shlibs=no9208 fi9209 ;;9210 9211 cygwin* | mingw* | pw32* | cegcc*)9212 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,9213 # as there is no search path for DLLs.9214 hardcode_libdir_flag_spec='-L$libdir'9215 export_dynamic_flag_spec='$wl--export-all-symbols'9216 allow_undefined_flag=unsupported9217 always_export_symbols=no9218 enable_shared_with_static_runtimes=yes9219 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'9220 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'9221 9222 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then9223 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'9224 # If the export-symbols file already is a .def file, use it as9225 # is; otherwise, prepend EXPORTS...9226 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then9227 cp $export_symbols $output_objdir/$soname.def;9228 else9229 echo EXPORTS > $output_objdir/$soname.def;9230 cat $export_symbols >> $output_objdir/$soname.def;9231 fi~9232 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'9233 else9234 ld_shlibs=no9235 fi9236 ;;9237 9238 haiku*)9239 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9240 link_all_deplibs=yes9241 ;;9242 9243 os2*)9244 hardcode_libdir_flag_spec='-L$libdir'9245 hardcode_minus_L=yes9246 allow_undefined_flag=unsupported9247 shrext_cmds=.dll9248 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~9249 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~9250 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~9251 $ECHO EXPORTS >> $output_objdir/$libname.def~9252 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~9253 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~9254 emximp -o $lib $output_objdir/$libname.def'9255 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~9256 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~9257 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~9258 $ECHO EXPORTS >> $output_objdir/$libname.def~9259 prefix_cmds="$SED"~9260 if test EXPORTS = "`$SED 1q $export_symbols`"; then9261 prefix_cmds="$prefix_cmds -e 1d";9262 fi~9263 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~9264 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~9265 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~9266 emximp -o $lib $output_objdir/$libname.def'9267 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'9268 enable_shared_with_static_runtimes=yes9269 ;;9270 9271 interix[3-9]*)9272 hardcode_direct=no9273 hardcode_shlibpath_var=no9274 hardcode_libdir_flag_spec='$wl-rpath,$libdir'9275 export_dynamic_flag_spec='$wl-E'9276 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.9277 # Instead, shared libraries are loaded at an image base (0x10000000 by9278 # default) and relocated if they conflict, which is a slow very memory9279 # consuming and fragmenting process. To avoid this, we pick a random,9280 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link9281 # time. Moving up from 0x10000000 also allows more sbrk(2) space.9282 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'9283 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'9284 ;;9285 9286 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)9287 tmp_diet=no9288 if test linux-dietlibc = "$host_os"; then9289 case $cc_basename in9290 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)9291 esac9292 fi9293 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \9294 && test no = "$tmp_diet"9295 then9296 tmp_addflag=' $pic_flag'9297 tmp_sharedflag='-shared'9298 case $cc_basename,$host_cpu in9299 pgcc*) # Portland Group C compiler9300 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'9301 tmp_addflag=' $pic_flag'9302 ;;9303 pgf77* | pgf90* | pgf95* | pgfortran*)9304 # Portland Group f77 and f90 compilers9305 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'9306 tmp_addflag=' $pic_flag -Mnomain' ;;9307 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia649308 tmp_addflag=' -i_dynamic' ;;9309 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia649310 tmp_addflag=' -i_dynamic -nofor_main' ;;9311 ifc* | ifort*) # Intel Fortran compiler9312 tmp_addflag=' -nofor_main' ;;9313 lf95*) # Lahey Fortran 8.19314 whole_archive_flag_spec=9315 tmp_sharedflag='--shared' ;;9316 nagfor*) # NAGFOR 5.39317 tmp_sharedflag='-Wl,-shared' ;;9318 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)9319 tmp_sharedflag='-qmkshrobj'9320 tmp_addflag= ;;9321 nvcc*) # Cuda Compiler Driver 2.29322 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'9323 compiler_needs_object=yes9324 ;;9325 esac9326 case `$CC -V 2>&1 | sed 5q` in9327 *Sun\ C*) # Sun C 5.99328 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'9329 compiler_needs_object=yes9330 tmp_sharedflag='-G' ;;9331 *Sun\ F*) # Sun Fortran 8.39332 tmp_sharedflag='-G' ;;9333 esac9334 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9335 9336 if test yes = "$supports_anon_versioning"; then9337 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~9338 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~9339 echo "local: *; };" >> $output_objdir/$libname.ver~9340 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'9341 fi9342 9343 case $cc_basename in9344 tcc*)9345 export_dynamic_flag_spec='-rdynamic'9346 ;;9347 xlf* | bgf* | bgxlf* | mpixlf*)9348 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself9349 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'9350 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'9351 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'9352 if test yes = "$supports_anon_versioning"; then9353 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~9354 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~9355 echo "local: *; };" >> $output_objdir/$libname.ver~9356 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'9357 fi9358 ;;9359 esac9360 else9361 ld_shlibs=no9362 fi9363 ;;9364 9365 netbsd* | netbsdelf*-gnu)9366 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then9367 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'9368 wlarc=9369 else9370 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9371 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9372 fi9373 ;;9374 9375 solaris*)9376 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then9377 ld_shlibs=no9378 cat <<_LT_EOF 1>&29379 9380 *** Warning: The releases 2.8.* of the GNU linker cannot reliably9381 *** create shared libraries on Solaris systems. Therefore, libtool9382 *** is disabling shared libraries support. We urge you to upgrade GNU9383 *** binutils to release 2.9.1 or newer. Another option is to modify9384 *** your PATH or compiler configuration so that the native linker is9385 *** used, and then restart.9386 9387 _LT_EOF9388 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9389 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9390 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9391 else9392 ld_shlibs=no9393 fi9394 ;;9395 9396 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)9397 case `$LD -v 2>&1` in9398 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)9399 ld_shlibs=no9400 cat <<_LT_EOF 1>&29401 9402 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot9403 *** reliably create shared libraries on SCO systems. Therefore, libtool9404 *** is disabling shared libraries support. We urge you to upgrade GNU9405 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify9406 *** your PATH or compiler configuration so that the native linker is9407 *** used, and then restart.9408 9409 _LT_EOF9410 ;;9411 *)9412 # For security reasons, it is highly recommended that you always9413 # use absolute paths for naming shared libraries, and exclude the9414 # DT_RUNPATH tag from executables and libraries. But doing so9415 # requires that you compile everything twice, which is a pain.9416 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9417 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'9418 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9419 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9420 else9421 ld_shlibs=no9422 fi9423 ;;9424 esac9425 ;;9426 9427 sunos4*)9428 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'9429 wlarc=9430 hardcode_direct=yes9431 hardcode_shlibpath_var=no9432 ;;9433 9434 *)9435 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9436 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9437 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9438 else9439 ld_shlibs=no9440 fi9441 ;;9442 esac9443 9444 if test no = "$ld_shlibs"; then9445 runpath_var=9446 hardcode_libdir_flag_spec=9447 export_dynamic_flag_spec=9448 whole_archive_flag_spec=9449 fi9450 else9451 # PORTME fill in a description of your system's linker (not GNU ld)9452 case $host_os in9453 aix3*)9454 allow_undefined_flag=unsupported9455 always_export_symbols=yes9456 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'9457 # Note: this linker hardcodes the directories in LIBPATH if there9458 # are no directories specified by -L.9459 hardcode_minus_L=yes9460 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then9461 # Neither direct hardcoding nor static linking is supported with a9462 # broken collect2.9463 hardcode_direct=unsupported9464 fi9465 ;;9466 9467 aix[4-9]*)9468 if test ia64 = "$host_cpu"; then9469 # On IA64, the linker does run time linking by default, so we don't9470 # have to do anything special.9471 aix_use_runtimelinking=no9472 exp_sym_flag='-Bexport'9473 no_entry_flag=9474 else9475 # If we're using GNU nm, then we don't want the "-C" option.9476 # -C means demangle to GNU nm, but means don't demangle to AIX nm.9477 # Without the "-l" option, or with the "-B" option, AIX nm treats9478 # weak defined symbols like other global defined symbols, whereas9479 # GNU nm marks them as "W".9480 # While the 'weak' keyword is ignored in the Export File, we need9481 # it in the Import File for the 'aix-soname' feature, so we have9482 # to replace the "-B" option with "-P" for AIX nm.9483 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then9484 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'9485 else9486 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'9487 fi9488 aix_use_runtimelinking=no9489 9490 # Test if we are trying to use run time linking or normal9491 # AIX style linking. If -brtl is somewhere in LDFLAGS, we9492 # have runtime linking enabled, and use it for executables.9493 # For shared libraries, we enable/disable runtime linking9494 # depending on the kind of the shared library created -9495 # when "with_aix_soname,aix_use_runtimelinking" is:9496 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables9497 # "aix,yes" lib.so shared, rtl:yes, for executables9498 # lib.a static archive9499 # "both,no" lib.so.V(shr.o) shared, rtl:yes9500 # lib.a(lib.so.V) shared, rtl:no, for executables9501 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables9502 # lib.a(lib.so.V) shared, rtl:no9503 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables9504 # lib.a static archive9505 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)9506 for ld_flag in $LDFLAGS; do9507 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then9508 aix_use_runtimelinking=yes9509 break9510 fi9511 done9512 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then9513 # With aix-soname=svr4, we create the lib.so.V shared archives only,9514 # so we don't have lib.a shared libs to link our executables.9515 # We have to force runtime linking in this case.9516 aix_use_runtimelinking=yes9517 LDFLAGS="$LDFLAGS -Wl,-brtl"9518 fi9519 ;;9520 esac9521 9522 exp_sym_flag='-bexport'9523 no_entry_flag='-bnoentry'9524 fi9525 9526 # When large executables or shared objects are built, AIX ld can9527 # have problems creating the table of contents. If linking a library9528 # or program results in "error TOC overflow" add -mminimal-toc to9529 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not9530 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.9531 9532 archive_cmds=''9533 hardcode_direct=yes9534 hardcode_direct_absolute=yes9535 hardcode_libdir_separator=':'9536 link_all_deplibs=yes9537 file_list_spec='$wl-f,'9538 case $with_aix_soname,$aix_use_runtimelinking in9539 aix,*) ;; # traditional, no import file9540 svr4,* | *,yes) # use import file9541 # The Import File defines what to hardcode.9542 hardcode_direct=no9543 hardcode_direct_absolute=no9544 ;;9545 esac9546 9547 if test yes = "$GCC"; then9548 case $host_os in aix4.[012]|aix4.[012].*)9549 # We only want to do this on AIX 4.2 and lower, the check9550 # below for broken collect2 doesn't work under 4.3+9551 collect2name=`$CC -print-prog-name=collect2`9552 if test -f "$collect2name" &&9553 strings "$collect2name" | $GREP resolve_lib_name >/dev/null9554 then9555 # We have reworked collect29556 :9557 else9558 # We have old collect29559 hardcode_direct=unsupported9560 # It fails to find uninstalled libraries when the uninstalled9561 # path is not listed in the libpath. Setting hardcode_minus_L9562 # to unsupported forces relinking9563 hardcode_minus_L=yes9564 hardcode_libdir_flag_spec='-L$libdir'9565 hardcode_libdir_separator=9566 fi9567 ;;9568 esac9569 shared_flag='-shared'9570 if test yes = "$aix_use_runtimelinking"; then9571 shared_flag="$shared_flag "'$wl-G'9572 fi9573 # Need to ensure runtime linking is disabled for the traditional9574 # shared library, or the linker may eventually find shared libraries9575 # /with/ Import File - we do not want to mix them.9576 shared_flag_aix='-shared'9577 shared_flag_svr4='-shared $wl-G'9578 else9579 # not using gcc9580 if test ia64 = "$host_cpu"; then9581 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release9582 # chokes on -Wl,-G. The following line is correct:9583 shared_flag='-G'9584 else9585 if test yes = "$aix_use_runtimelinking"; then9586 shared_flag='$wl-G'9587 else9588 shared_flag='$wl-bM:SRE'9589 fi9590 shared_flag_aix='$wl-bM:SRE'9591 shared_flag_svr4='$wl-G'9592 fi9593 fi9594 9595 export_dynamic_flag_spec='$wl-bexpall'9596 # It seems that -bexpall does not export symbols beginning with9597 # underscore (_), so it is better to generate a list of symbols to export.9598 always_export_symbols=yes9599 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then9600 # Warning - without using the other runtime loading flags (-brtl),9601 # -berok will link without error, but may produce a broken library.9602 allow_undefined_flag='-berok'9603 # Determine the default libpath from the value encoded in an9604 # empty executable.9605 if test set = "${lt_cv_aix_libpath+set}"; then9606 aix_libpath=$lt_cv_aix_libpath9607 else9608 if ${lt_cv_aix_libpath_+:} false; then :9609 $as_echo_n "(cached) " >&69610 else9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9612 /* end confdefs.h. */9613 9614 int9615 main ()9616 {9617 9618 ;9619 return 0;9620 }9621 _ACEOF9622 if ac_fn_c_try_link "$LINENO"; then :9623 9624 lt_aix_libpath_sed='9625 /Import File Strings/,/^$/ {9626 /^0/ {9627 s/^0 *\([^ ]*\) *$/\1/9628 p9629 }9630 }'9631 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9632 # Check for a 64-bit object if we didn't find anything.9633 if test -z "$lt_cv_aix_libpath_"; then9634 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9635 fi9636 fi9637 rm -f core conftest.err conftest.$ac_objext \9638 conftest$ac_exeext conftest.$ac_ext9639 if test -z "$lt_cv_aix_libpath_"; then9640 lt_cv_aix_libpath_=/usr/lib:/lib9641 fi9642 9643 fi9644 9645 aix_libpath=$lt_cv_aix_libpath_9646 fi9647 9648 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"9649 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag9650 else9651 if test ia64 = "$host_cpu"; then9652 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'9653 allow_undefined_flag="-z nodefs"9654 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"9655 else9656 # Determine the default libpath from the value encoded in an9657 # empty executable.9658 if test set = "${lt_cv_aix_libpath+set}"; then9659 aix_libpath=$lt_cv_aix_libpath9660 else9661 if ${lt_cv_aix_libpath_+:} false; then :9662 $as_echo_n "(cached) " >&69663 else9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9665 /* end confdefs.h. */9666 9667 int9668 main ()9669 {9670 9671 ;9672 return 0;9673 }9674 _ACEOF9675 if ac_fn_c_try_link "$LINENO"; then :9676 9677 lt_aix_libpath_sed='9678 /Import File Strings/,/^$/ {9679 /^0/ {9680 s/^0 *\([^ ]*\) *$/\1/9681 p9682 }9683 }'9684 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9685 # Check for a 64-bit object if we didn't find anything.9686 if test -z "$lt_cv_aix_libpath_"; then9687 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9688 fi9689 fi9690 rm -f core conftest.err conftest.$ac_objext \9691 conftest$ac_exeext conftest.$ac_ext9692 if test -z "$lt_cv_aix_libpath_"; then9693 lt_cv_aix_libpath_=/usr/lib:/lib9694 fi9695 9696 fi9697 9698 aix_libpath=$lt_cv_aix_libpath_9699 fi9700 9701 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"9702 # Warning - without using the other run time loading flags,9703 # -berok will link without error, but may produce a broken library.9704 no_undefined_flag=' $wl-bernotok'9705 allow_undefined_flag=' $wl-berok'9706 if test yes = "$with_gnu_ld"; then9707 # We only use this code for GNU lds that support --whole-archive.9708 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'9709 else9710 # Exported symbols can be pulled into shared objects from archives9711 whole_archive_flag_spec='$convenience'9712 fi9713 archive_cmds_need_lc=yes9714 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'9715 # -brtl affects multiple linker settings, -berok does not and is overridden later9716 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'9717 if test svr4 != "$with_aix_soname"; then9718 # This is similar to how AIX traditionally builds its shared libraries.9719 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'9720 fi9721 if test aix != "$with_aix_soname"; then9722 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'9723 else9724 # used by -dlpreopen to get the symbols9725 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'9726 fi9727 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'9728 fi9729 fi9730 ;;9731 9732 amigaos*)9733 case $host_cpu in9734 powerpc)9735 # see comment about AmigaOS4 .so support9736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9737 archive_expsym_cmds=''9738 ;;9739 m68k)9740 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'9741 hardcode_libdir_flag_spec='-L$libdir'9742 hardcode_minus_L=yes9743 ;;9744 esac9745 ;;9746 9747 bsdi[45]*)9748 export_dynamic_flag_spec=-rdynamic9749 ;;9750 9751 cygwin* | mingw* | pw32* | cegcc*)9752 # When not using gcc, we currently assume that we are using9753 # Microsoft Visual C++.9754 # hardcode_libdir_flag_spec is actually meaningless, as there is9755 # no search path for DLLs.9756 case $cc_basename in9757 cl*)9758 # Native MSVC9759 hardcode_libdir_flag_spec=' '9760 allow_undefined_flag=unsupported9761 always_export_symbols=yes9762 file_list_spec='@'9763 # Tell ltmain to make .lib files, not .a files.9764 libext=lib9765 # Tell ltmain to make .dll files, not .so files.9766 shrext_cmds=.dll9767 # FIXME: Setting linknames here is a bad hack.9768 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='9769 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then9770 cp "$export_symbols" "$output_objdir/$soname.def";9771 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";9772 else9773 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;9774 fi~9775 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~9776 linknames='9777 # The linker will not automatically build a static lib if we build a DLL.9778 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'9779 enable_shared_with_static_runtimes=yes9780 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'9781 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'9782 # Don't use ranlib9783 old_postinstall_cmds='chmod 644 $oldlib'9784 postlink_cmds='lt_outputfile="@OUTPUT@"~9785 lt_tool_outputfile="@TOOL_OUTPUT@"~9786 case $lt_outputfile in9787 *.exe|*.EXE) ;;9788 *)9789 lt_outputfile=$lt_outputfile.exe9790 lt_tool_outputfile=$lt_tool_outputfile.exe9791 ;;9792 esac~9793 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then9794 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;9795 $RM "$lt_outputfile.manifest";9796 fi'9797 ;;9798 *)9799 # Assume MSVC wrapper9800 hardcode_libdir_flag_spec=' '9801 allow_undefined_flag=unsupported9802 # Tell ltmain to make .lib files, not .a files.9803 libext=lib9804 # Tell ltmain to make .dll files, not .so files.9805 shrext_cmds=.dll9806 # FIXME: Setting linknames here is a bad hack.9807 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='9808 # The linker will automatically build a .lib file if we build a DLL.9809 old_archive_from_new_cmds='true'9810 # FIXME: Should let the user specify the lib program.9811 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'9812 enable_shared_with_static_runtimes=yes9813 ;;9814 esac9815 ;;9816 9817 darwin* | rhapsody*)9818 9819 9820 archive_cmds_need_lc=no9821 hardcode_direct=no9822 hardcode_automatic=yes9823 hardcode_shlibpath_var=unsupported9824 if test yes = "$lt_cv_ld_force_load"; then9825 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'9826 9827 else9828 whole_archive_flag_spec=''9829 fi9830 link_all_deplibs=yes9831 allow_undefined_flag=$_lt_dar_allow_undefined9832 case $cc_basename in9833 ifort*|nagfor*) _lt_dar_can_shared=yes ;;9834 *) _lt_dar_can_shared=$GCC ;;9835 esac9836 if test yes = "$_lt_dar_can_shared"; then9837 output_verbose_link_cmd=func_echo_all9838 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"9839 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"9840 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"9841 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"9842 9843 else9844 ld_shlibs=no9845 fi9846 9847 ;;9848 9849 dgux*)9850 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'9851 hardcode_libdir_flag_spec='-L$libdir'9852 hardcode_shlibpath_var=no9853 ;;9854 9855 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor9856 # support. Future versions do this automatically, but an explicit c++rt0.o9857 # does not break anything, and helps significantly (at the cost of a little9858 # extra space).9859 freebsd2.2*)9860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'9861 hardcode_libdir_flag_spec='-R$libdir'9862 hardcode_direct=yes9863 hardcode_shlibpath_var=no9864 ;;9865 9866 # Unfortunately, older versions of FreeBSD 2 do not have this feature.9867 freebsd2.*)9868 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'9869 hardcode_direct=yes9870 hardcode_minus_L=yes9871 hardcode_shlibpath_var=no9872 ;;9873 9874 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.9875 freebsd* | dragonfly*)9876 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'9877 hardcode_libdir_flag_spec='-R$libdir'9878 hardcode_direct=yes9879 hardcode_shlibpath_var=no9880 ;;9881 9882 hpux9*)9883 if test yes = "$GCC"; then9884 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'9885 else9886 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'9887 fi9888 hardcode_libdir_flag_spec='$wl+b $wl$libdir'9889 hardcode_libdir_separator=:9890 hardcode_direct=yes9891 9892 # hardcode_minus_L: Not really in the search PATH,9893 # but as the default location of the library.9894 hardcode_minus_L=yes9895 export_dynamic_flag_spec='$wl-E'9896 ;;9897 9898 hpux10*)9899 if test yes,no = "$GCC,$with_gnu_ld"; then9900 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9901 else9902 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'9903 fi9904 if test no = "$with_gnu_ld"; then9905 hardcode_libdir_flag_spec='$wl+b $wl$libdir'9906 hardcode_libdir_separator=:9907 hardcode_direct=yes9908 hardcode_direct_absolute=yes9909 export_dynamic_flag_spec='$wl-E'9910 # hardcode_minus_L: Not really in the search PATH,9911 # but as the default location of the library.9912 hardcode_minus_L=yes9913 fi9914 ;;9915 9916 hpux11*)9917 if test yes,no = "$GCC,$with_gnu_ld"; then9918 case $host_cpu in9919 hppa*64*)9920 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'9921 ;;9922 ia64*)9923 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9924 ;;9925 *)9926 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9927 ;;9928 esac9929 else9930 case $host_cpu in9931 hppa*64*)9932 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'9933 ;;9934 ia64*)9935 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9936 ;;9937 *)9938 9939 # Older versions of the 11.00 compiler do not understand -b yet9940 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&59942 $as_echo_n "checking if $CC understands -b... " >&6; }9943 if ${lt_cv_prog_compiler__b+:} false; then :9944 $as_echo_n "(cached) " >&69945 else9946 lt_cv_prog_compiler__b=no9947 save_LDFLAGS=$LDFLAGS9948 LDFLAGS="$LDFLAGS -b"9949 echo "$lt_simple_link_test_code" > conftest.$ac_ext9950 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then9951 # The linker can only warn and ignore the option if not recognized9952 # So say no if there are warnings9953 if test -s conftest.err; then9954 # Append any errors to the config.log.9955 cat conftest.err 1>&59956 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp9957 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er29958 if diff conftest.exp conftest.er2 >/dev/null; then9959 lt_cv_prog_compiler__b=yes9960 fi9961 else9962 lt_cv_prog_compiler__b=yes9963 fi9964 fi9965 $RM -r conftest*9966 LDFLAGS=$save_LDFLAGS9967 9968 fi9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&59970 $as_echo "$lt_cv_prog_compiler__b" >&6; }9971 9972 if test yes = "$lt_cv_prog_compiler__b"; then9973 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9974 else9975 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'9976 fi9977 9978 ;;9979 esac9980 fi9981 if test no = "$with_gnu_ld"; then9982 hardcode_libdir_flag_spec='$wl+b $wl$libdir'9983 hardcode_libdir_separator=:9984 9985 case $host_cpu in9986 hppa*64*|ia64*)9987 hardcode_direct=no9988 hardcode_shlibpath_var=no9989 ;;9990 *)9991 hardcode_direct=yes9992 hardcode_direct_absolute=yes9993 export_dynamic_flag_spec='$wl-E'9994 9995 # hardcode_minus_L: Not really in the search PATH,9996 # but as the default location of the library.9997 hardcode_minus_L=yes9998 ;;9999 esac10000 fi10001 ;;10002 10003 irix5* | irix6* | nonstopux*)10004 if test yes = "$GCC"; then10005 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'10006 # Try to use the -exported_symbol ld option, if it does not10007 # work, assume that -exports_file does not work either and10008 # implicitly export all symbols.10009 # This should be the same for all languages, so no per-tag cache variable.10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&510011 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }10012 if ${lt_cv_irix_exported_symbol+:} false; then :10013 $as_echo_n "(cached) " >&610014 else10015 save_LDFLAGS=$LDFLAGS10016 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext10018 /* end confdefs.h. */10019 int foo (void) { return 0; }10020 _ACEOF10021 if ac_fn_c_try_link "$LINENO"; then :10022 lt_cv_irix_exported_symbol=yes10023 else10024 lt_cv_irix_exported_symbol=no10025 fi10026 rm -f core conftest.err conftest.$ac_objext \10027 conftest$ac_exeext conftest.$ac_ext10028 LDFLAGS=$save_LDFLAGS10029 fi10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&510031 $as_echo "$lt_cv_irix_exported_symbol" >&6; }10032 if test yes = "$lt_cv_irix_exported_symbol"; then10033 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'10034 fi10035 link_all_deplibs=no10036 else10037 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'10038 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'10039 fi10040 archive_cmds_need_lc='no'10041 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10042 hardcode_libdir_separator=:10043 inherit_rpath=yes10044 link_all_deplibs=yes10045 ;;10046 10047 linux*)10048 case $cc_basename in10049 tcc*)10050 # Fabrice Bellard et al's Tiny C Compiler10051 ld_shlibs=yes10052 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'10053 ;;10054 esac10055 ;;10056 10057 netbsd* | netbsdelf*-gnu)10058 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then10059 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out10060 else10061 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF10062 fi10063 hardcode_libdir_flag_spec='-R$libdir'10064 hardcode_direct=yes10065 hardcode_shlibpath_var=no10066 ;;10067 10068 newsos6)10069 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10070 hardcode_direct=yes10071 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10072 hardcode_libdir_separator=:10073 hardcode_shlibpath_var=no10074 ;;10075 10076 *nto* | *qnx*)10077 ;;10078 10079 openbsd* | bitrig*)10080 if test -f /usr/libexec/ld.so; then10081 hardcode_direct=yes10082 hardcode_shlibpath_var=no10083 hardcode_direct_absolute=yes10084 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then10085 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'10086 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'10087 hardcode_libdir_flag_spec='$wl-rpath,$libdir'10088 export_dynamic_flag_spec='$wl-E'10089 else10090 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'10091 hardcode_libdir_flag_spec='$wl-rpath,$libdir'10092 fi10093 else10094 ld_shlibs=no10095 fi10096 ;;10097 10098 os2*)10099 hardcode_libdir_flag_spec='-L$libdir'10100 hardcode_minus_L=yes10101 allow_undefined_flag=unsupported10102 shrext_cmds=.dll10103 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~10104 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~10105 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~10106 $ECHO EXPORTS >> $output_objdir/$libname.def~10107 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~10108 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~10109 emximp -o $lib $output_objdir/$libname.def'10110 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~10111 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~10112 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~10113 $ECHO EXPORTS >> $output_objdir/$libname.def~10114 prefix_cmds="$SED"~10115 if test EXPORTS = "`$SED 1q $export_symbols`"; then10116 prefix_cmds="$prefix_cmds -e 1d";10117 fi~10118 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~10119 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~10120 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~10121 emximp -o $lib $output_objdir/$libname.def'10122 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'10123 enable_shared_with_static_runtimes=yes10124 ;;10125 10126 osf3*)10127 if test yes = "$GCC"; then10128 allow_undefined_flag=' $wl-expect_unresolved $wl\*'10129 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'10130 else10131 allow_undefined_flag=' -expect_unresolved \*'10132 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'10133 fi10134 archive_cmds_need_lc='no'10135 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10136 hardcode_libdir_separator=:10137 ;;10138 10139 osf4* | osf5*) # as osf3* with the addition of -msym flag10140 if test yes = "$GCC"; then10141 allow_undefined_flag=' $wl-expect_unresolved $wl\*'10142 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'10143 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10144 else10145 allow_undefined_flag=' -expect_unresolved \*'10146 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'10147 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~10148 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'10149 10150 # Both c and cxx compiler support -rpath directly10151 hardcode_libdir_flag_spec='-rpath $libdir'10152 fi10153 archive_cmds_need_lc='no'10154 hardcode_libdir_separator=:10155 ;;10156 10157 solaris*)10158 no_undefined_flag=' -z defs'10159 if test yes = "$GCC"; then10160 wlarc='$wl'10161 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'10162 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~10163 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'10164 else10165 case `$CC -V 2>&1` in10166 *"Compilers 5.0"*)10167 wlarc=''10168 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'10169 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~10170 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'10171 ;;10172 *)10173 wlarc='$wl'10174 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'10175 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~10176 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'10177 ;;10178 esac10179 fi10180 hardcode_libdir_flag_spec='-R$libdir'10181 hardcode_shlibpath_var=no10182 case $host_os in10183 solaris2.[0-5] | solaris2.[0-5].*) ;;10184 *)10185 # The compiler driver will combine and reorder linker options,10186 # but understands '-z linker_flag'. GCC discards it without '$wl',10187 # but is careful enough not to reorder.10188 # Supported since Solaris 2.6 (maybe 2.5.1?)10189 if test yes = "$GCC"; then10190 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'10191 else10192 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'10193 fi10194 ;;10195 esac10196 link_all_deplibs=yes10197 ;;10198 10199 sunos4*)10200 if test sequent = "$host_vendor"; then10201 # Use $CC to link under sequent, because it throws in some extra .o10202 # files that make .init and .fini sections work.10203 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'10204 else10205 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'10206 fi10207 hardcode_libdir_flag_spec='-L$libdir'10208 hardcode_direct=yes10209 hardcode_minus_L=yes10210 hardcode_shlibpath_var=no10211 ;;10212 10213 sysv4)10214 case $host_vendor in10215 sni)10216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10217 hardcode_direct=yes # is this really true???10218 ;;10219 siemens)10220 ## LD is ld it makes a PLAMLIB10221 ## CC just makes a GrossModule.10222 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'10223 reload_cmds='$CC -r -o $output$reload_objs'10224 hardcode_direct=no10225 ;;10226 motorola)10227 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10228 hardcode_direct=no #Motorola manual says yes, but my tests say they lie10229 ;;10230 esac10231 runpath_var='LD_RUN_PATH'10232 hardcode_shlibpath_var=no10233 ;;10234 10235 sysv4.3*)10236 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10237 hardcode_shlibpath_var=no10238 export_dynamic_flag_spec='-Bexport'10239 ;;10240 10241 sysv4*MP*)10242 if test -d /usr/nec; then10243 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10244 hardcode_shlibpath_var=no10245 runpath_var=LD_RUN_PATH10246 hardcode_runpath_var=yes10247 ld_shlibs=yes10248 fi10249 ;;10250 10251 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)10252 no_undefined_flag='$wl-z,text'10253 archive_cmds_need_lc=no10254 hardcode_shlibpath_var=no10255 runpath_var='LD_RUN_PATH'10256 10257 if test yes = "$GCC"; then10258 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10259 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10260 else10261 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10262 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10263 fi10264 ;;10265 10266 sysv5* | sco3.2v5* | sco5v6*)10267 # Note: We CANNOT use -z defs as we might desire, because we do not10268 # link with -lc, and that would cause any symbols used from libc to10269 # always be unresolved, which means just about no library would10270 # ever link correctly. If we're not using GNU ld we use -z text10271 # though, which does catch some bad symbols but isn't as heavy-handed10272 # as -z defs.10273 no_undefined_flag='$wl-z,text'10274 allow_undefined_flag='$wl-z,nodefs'10275 archive_cmds_need_lc=no10276 hardcode_shlibpath_var=no10277 hardcode_libdir_flag_spec='$wl-R,$libdir'10278 hardcode_libdir_separator=':'10279 link_all_deplibs=yes10280 export_dynamic_flag_spec='$wl-Bexport'10281 runpath_var='LD_RUN_PATH'10282 10283 if test yes = "$GCC"; then10284 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10285 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10286 else10287 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10288 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10289 fi10290 ;;10291 10292 uts4*)10293 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10294 hardcode_libdir_flag_spec='-L$libdir'10295 hardcode_shlibpath_var=no10296 ;;10297 10298 *)10299 ld_shlibs=no10300 ;;10301 esac10302 10303 if test sni = "$host_vendor"; then10304 case $host in10305 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)10306 export_dynamic_flag_spec='$wl-Blargedynsym'10307 ;;10308 esac10309 fi10310 fi10311 10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&510313 $as_echo "$ld_shlibs" >&6; }10314 test no = "$ld_shlibs" && can_build_shared=no10315 10316 with_gnu_ld=$with_gnu_ld10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 #10333 # Do we need to explicitly link libc?10334 #10335 case "x$archive_cmds_need_lc" in10336 x|xyes)10337 # Assume -lc should be added10338 archive_cmds_need_lc=yes10339 10340 if test yes,yes = "$GCC,$enable_shared"; then10341 case $archive_cmds in10342 *'~'*)10343 # FIXME: we may have to deal with multi-command sequences.10344 ;;10345 '$CC '*)10346 # Test whether the compiler implicitly links with -lc since on some10347 # systems, -lgcc has to come before -lc. If gcc already passes -lc10348 # to ld, don't add -lc before -lgcc.10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&510350 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }10351 if ${lt_cv_archive_cmds_need_lc+:} false; then :10352 $as_echo_n "(cached) " >&610353 else10354 $RM conftest*10355 echo "$lt_simple_compile_test_code" > conftest.$ac_ext10356 10357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&510358 (eval $ac_compile) 2>&510359 ac_status=$?10360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&510361 test $ac_status = 0; } 2>conftest.err; then10362 soname=conftest10363 lib=conftest10364 libobjs=conftest.$ac_objext10365 deplibs=10366 wl=$lt_prog_compiler_wl10367 pic_flag=$lt_prog_compiler_pic10368 compiler_flags=-v10369 linker_flags=-v10370 verstring=10371 output_objdir=.10372 libname=conftest10373 lt_save_allow_undefined_flag=$allow_undefined_flag10374 allow_undefined_flag=10375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&510376 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&510377 ac_status=$?10378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&510379 test $ac_status = 0; }10380 then10381 lt_cv_archive_cmds_need_lc=no10382 else10383 lt_cv_archive_cmds_need_lc=yes10384 fi10385 allow_undefined_flag=$lt_save_allow_undefined_flag10386 else10387 cat conftest.err 1>&510388 fi10389 $RM conftest*10390 10391 fi10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&510393 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }10394 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc10395 ;;10396 esac10397 fi10398 ;;10399 esac10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&510553 $as_echo_n "checking dynamic linker characteristics... " >&6; }10554 10555 if test yes = "$GCC"; then10556 case $host_os in10557 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;10558 *) lt_awk_arg='/^libraries:/' ;;10559 esac10560 case $host_os in10561 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;10562 *) lt_sed_strip_eq='s|=/|/|g' ;;10563 esac10564 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`10565 case $lt_search_path_spec in10566 *\;*)10567 # if the path contains ";" then we assume it to be the separator10568 # otherwise default to the standard path separator (i.e. ":") - it is10569 # assumed that no part of a normal pathname contains ";" but that should10570 # okay in the real world where ";" in dirpaths is itself problematic.10571 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`10572 ;;10573 *)10574 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`10575 ;;10576 esac10577 # Ok, now we have the path, separated by spaces, we can step through it10578 # and add multilib dir if necessary...10579 lt_tmp_lt_search_path_spec=10580 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`10581 # ...but if some path component already ends with the multilib dir we assume10582 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).10583 case "$lt_multi_os_dir; $lt_search_path_spec " in10584 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)10585 lt_multi_os_dir=10586 ;;10587 esac10588 for lt_sys_path in $lt_search_path_spec; do10589 if test -d "$lt_sys_path$lt_multi_os_dir"; then10590 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"10591 elif test -n "$lt_multi_os_dir"; then10592 test -d "$lt_sys_path" && \10593 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"10594 fi10595 done10596 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '10597 BEGIN {RS = " "; FS = "/|\n";} {10598 lt_foo = "";10599 lt_count = 0;10600 for (lt_i = NF; lt_i > 0; lt_i--) {10601 if ($lt_i != "" && $lt_i != ".") {10602 if ($lt_i == "..") {10603 lt_count++;10604 } else {10605 if (lt_count == 0) {10606 lt_foo = "/" $lt_i lt_foo;10607 } else {10608 lt_count--;10609 }10610 }10611 }10612 }10613 if (lt_foo != "") { lt_freq[lt_foo]++; }10614 if (lt_freq[lt_foo] == 1) { print lt_foo; }10615 }'`10616 # AWK program above erroneously prepends '/' to C:/dos/paths10617 # for these hosts.10618 case $host_os in10619 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\10620 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;10621 esac10622 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`10623 else10624 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"10625 fi10626 library_names_spec=10627 libname_spec='lib$name'10628 soname_spec=10629 shrext_cmds=.so10630 postinstall_cmds=10631 postuninstall_cmds=10632 finish_cmds=10633 finish_eval=10634 shlibpath_var=10635 shlibpath_overrides_runpath=unknown10636 version_type=none10637 dynamic_linker="$host_os ld.so"10638 sys_lib_dlsearch_path_spec="/lib /usr/lib"10639 need_lib_prefix=unknown10640 hardcode_into_libs=no10641 10642 # when you set need_version to no, make sure it does not cause -set_version10643 # flags to be left without arguments10644 need_version=unknown10645 10646 10647 10648 case $host_os in10649 aix3*)10650 version_type=linux # correct to gnu/linux during the next big refactor10651 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'10652 shlibpath_var=LIBPATH10653 10654 # AIX 3 has no versioning support, so we append a major version to the name.10655 soname_spec='$libname$release$shared_ext$major'10656 ;;10657 10658 aix[4-9]*)10659 version_type=linux # correct to gnu/linux during the next big refactor10660 need_lib_prefix=no10661 need_version=no10662 hardcode_into_libs=yes10663 if test ia64 = "$host_cpu"; then10664 # AIX 5 supports IA6410665 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'10666 shlibpath_var=LD_LIBRARY_PATH10667 else10668 # With GCC up to 2.95.x, collect2 would create an import file10669 # for dependence libraries. The import file would start with10670 # the line '#! .'. This would cause the generated library to10671 # depend on '.', always an invalid library. This was fixed in10672 # development snapshots of GCC prior to 3.0.10673 case $host_os in10674 aix4 | aix4.[01] | aix4.[01].*)10675 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'10676 echo ' yes '10677 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then10678 :10679 else10680 can_build_shared=no10681 fi10682 ;;10683 esac10684 # Using Import Files as archive members, it is possible to support10685 # filename-based versioning of shared library archives on AIX. While10686 # this would work for both with and without runtime linking, it will10687 # prevent static linking of such archives. So we do filename-based10688 # shared library versioning with .so extension only, which is used10689 # when both runtime linking and shared linking is enabled.10690 # Unfortunately, runtime linking may impact performance, so we do10691 # not want this to be the default eventually. Also, we use the10692 # versioned .so libs for executables only if there is the -brtl10693 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.10694 # To allow for filename-based versioning support, we need to create10695 # libNAME.so.V as an archive file, containing:10696 # *) an Import File, referring to the versioned filename of the10697 # archive as well as the shared archive member, telling the10698 # bitwidth (32 or 64) of that shared object, and providing the10699 # list of exported symbols of that shared object, eventually10700 # decorated with the 'weak' keyword10701 # *) the shared object with the F_LOADONLY flag set, to really avoid10702 # it being seen by the linker.10703 # At run time we better use the real file rather than another symlink,10704 # but for link time we create the symlink libNAME.so -> libNAME.so.V10705 10706 case $with_aix_soname,$aix_use_runtimelinking in10707 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct10708 # soname into executable. Probably we can add versioning support to10709 # collect2, so additional links can be useful in future.10710 aix,yes) # traditional libtool10711 dynamic_linker='AIX unversionable lib.so'10712 # If using run time linking (on AIX 4.2 or later) use lib<name>.so10713 # instead of lib<name>.a to let people know that these are not10714 # typical AIX shared libraries.10715 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10716 ;;10717 aix,no) # traditional AIX only10718 dynamic_linker='AIX lib.a(lib.so.V)'10719 # We preserve .a as extension for shared libraries through AIX4.210720 # and later when we are not doing run time linking.10721 library_names_spec='$libname$release.a $libname.a'10722 soname_spec='$libname$release$shared_ext$major'10723 ;;10724 svr4,*) # full svr4 only10725 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"10726 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'10727 # We do not specify a path in Import Files, so LIBPATH fires.10728 shlibpath_overrides_runpath=yes10729 ;;10730 *,yes) # both, prefer svr410731 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"10732 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'10733 # unpreferred sharedlib libNAME.a needs extra handling10734 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'10735 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'10736 # We do not specify a path in Import Files, so LIBPATH fires.10737 shlibpath_overrides_runpath=yes10738 ;;10739 *,no) # both, prefer aix10740 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"10741 library_names_spec='$libname$release.a $libname.a'10742 soname_spec='$libname$release$shared_ext$major'10743 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling10744 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'10745 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'10746 ;;10747 esac10748 shlibpath_var=LIBPATH10749 fi10750 ;;10751 10752 amigaos*)10753 case $host_cpu in10754 powerpc)10755 # Since July 2007 AmigaOS4 officially supports .so libraries.10756 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.10757 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10758 ;;10759 m68k)10760 library_names_spec='$libname.ixlibrary $libname.a'10761 # Create ${libname}_ixlibrary.a entries in /sys/libs.10762 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'10763 ;;10764 esac10765 ;;10766 10767 beos*)10768 library_names_spec='$libname$shared_ext'10769 dynamic_linker="$host_os ld.so"10770 shlibpath_var=LIBRARY_PATH10771 ;;10772 10773 bsdi[45]*)10774 version_type=linux # correct to gnu/linux during the next big refactor10775 need_version=no10776 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10777 soname_spec='$libname$release$shared_ext$major'10778 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'10779 shlibpath_var=LD_LIBRARY_PATH10780 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"10781 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"10782 # the default ld.so.conf also contains /usr/contrib/lib and10783 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow10784 # libtool to hard-code these into programs10785 ;;10786 10787 cygwin* | mingw* | pw32* | cegcc*)10788 version_type=windows10789 shrext_cmds=.dll10790 need_version=no10791 need_lib_prefix=no10792 10793 case $GCC,$cc_basename in10794 yes,*)10795 # gcc10796 library_names_spec='$libname.dll.a'10797 # DLL is installed to $(libdir)/../bin by postinstall_cmds10798 postinstall_cmds='base_file=`basename \$file`~10799 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~10800 dldir=$destdir/`dirname \$dlpath`~10801 test -d \$dldir || mkdir -p \$dldir~10802 $install_prog $dir/$dlname \$dldir/$dlname~10803 chmod a+x \$dldir/$dlname~10804 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then10805 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;10806 fi'10807 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~10808 dlpath=$dir/\$dldll~10809 $RM \$dlpath'10810 shlibpath_overrides_runpath=yes10811 10812 case $host_os in10813 cygwin*)10814 # Cygwin DLLs use 'cyg' prefix rather than 'lib'10815 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10816 10817 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"10818 ;;10819 mingw* | cegcc*)10820 # MinGW DLLs use traditional 'lib' prefix10821 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10822 ;;10823 pw32*)10824 # pw32 DLLs use 'pw' prefix rather than 'lib'10825 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10826 ;;10827 esac10828 dynamic_linker='Win32 ld.exe'10829 ;;10830 10831 *,cl*)10832 # Native MSVC10833 libname_spec='$name'10834 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10835 library_names_spec='$libname.dll.lib'10836 10837 case $build_os in10838 mingw*)10839 sys_lib_search_path_spec=10840 lt_save_ifs=$IFS10841 IFS=';'10842 for lt_path in $LIB10843 do10844 IFS=$lt_save_ifs10845 # Let DOS variable expansion print the short 8.3 style file name.10846 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`10847 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"10848 done10849 IFS=$lt_save_ifs10850 # Convert to MSYS style.10851 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`10852 ;;10853 cygwin*)10854 # Convert to unix form, then to dos form, then back to unix form10855 # but this time dos style (no spaces!) so that the unix form looks10856 # like /cygdrive/c/PROGRA~1:/cygdr...10857 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`10858 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`10859 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`10860 ;;10861 *)10862 sys_lib_search_path_spec=$LIB10863 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then10864 # It is most probably a Windows format PATH.10865 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`10866 else10867 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`10868 fi10869 # FIXME: find the short name or the path components, as spaces are10870 # common. (e.g. "Program Files" -> "PROGRA~1")10871 ;;10872 esac10873 10874 # DLL is installed to $(libdir)/../bin by postinstall_cmds10875 postinstall_cmds='base_file=`basename \$file`~10876 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~10877 dldir=$destdir/`dirname \$dlpath`~10878 test -d \$dldir || mkdir -p \$dldir~10879 $install_prog $dir/$dlname \$dldir/$dlname'10880 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~10881 dlpath=$dir/\$dldll~10882 $RM \$dlpath'10883 shlibpath_overrides_runpath=yes10884 dynamic_linker='Win32 link.exe'10885 ;;10886 10887 *)10888 # Assume MSVC wrapper10889 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'10890 dynamic_linker='Win32 ld.exe'10891 ;;10892 esac10893 # FIXME: first we should search . and the directory the executable is in10894 shlibpath_var=PATH10895 ;;10896 10897 darwin* | rhapsody*)10898 dynamic_linker="$host_os dyld"10899 version_type=darwin10900 need_lib_prefix=no10901 need_version=no10902 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'10903 soname_spec='$libname$release$major$shared_ext'10904 shlibpath_overrides_runpath=yes10905 shlibpath_var=DYLD_LIBRARY_PATH10906 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'10907 10908 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"10909 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'10910 ;;10911 10912 dgux*)10913 version_type=linux # correct to gnu/linux during the next big refactor10914 need_lib_prefix=no10915 need_version=no10916 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10917 soname_spec='$libname$release$shared_ext$major'10918 shlibpath_var=LD_LIBRARY_PATH10919 ;;10920 10921 freebsd* | dragonfly*)10922 # DragonFly does not have aout. When/if they implement a new10923 # versioning mechanism, adjust this.10924 if test -x /usr/bin/objformat; then10925 objformat=`/usr/bin/objformat`10926 else10927 case $host_os in10928 freebsd[23].*) objformat=aout ;;10929 *) objformat=elf ;;10930 esac10931 fi10932 version_type=freebsd-$objformat10933 case $version_type in10934 freebsd-elf*)10935 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10936 soname_spec='$libname$release$shared_ext$major'10937 need_version=no10938 need_lib_prefix=no10939 ;;10940 freebsd-*)10941 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'10942 need_version=yes10943 ;;10944 esac10945 shlibpath_var=LD_LIBRARY_PATH10946 case $host_os in10947 freebsd2.*)10948 shlibpath_overrides_runpath=yes10949 ;;10950 freebsd3.[01]* | freebsdelf3.[01]*)10951 shlibpath_overrides_runpath=yes10952 hardcode_into_libs=yes10953 ;;10954 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \10955 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)10956 shlibpath_overrides_runpath=no10957 hardcode_into_libs=yes10958 ;;10959 *) # from 4.6 on, and DragonFly10960 shlibpath_overrides_runpath=yes10961 hardcode_into_libs=yes10962 ;;10963 esac10964 ;;10965 10966 haiku*)10967 version_type=linux # correct to gnu/linux during the next big refactor10968 need_lib_prefix=no10969 need_version=no10970 dynamic_linker="$host_os runtime_loader"10971 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10972 soname_spec='$libname$release$shared_ext$major'10973 shlibpath_var=LIBRARY_PATH10974 shlibpath_overrides_runpath=no10975 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'10976 hardcode_into_libs=yes10977 ;;10978 10979 hpux9* | hpux10* | hpux11*)10980 # Give a soname corresponding to the major version so that dld.sl refuses to10981 # link against other versions.10982 version_type=sunos10983 need_lib_prefix=no10984 need_version=no10985 case $host_cpu in10986 ia64*)10987 shrext_cmds='.so'10988 hardcode_into_libs=yes10989 dynamic_linker="$host_os dld.so"10990 shlibpath_var=LD_LIBRARY_PATH10991 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.10992 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10993 soname_spec='$libname$release$shared_ext$major'10994 if test 32 = "$HPUX_IA64_MODE"; then10995 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"10996 sys_lib_dlsearch_path_spec=/usr/lib/hpux3210997 else10998 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"10999 sys_lib_dlsearch_path_spec=/usr/lib/hpux6411000 fi11001 ;;11002 hppa*64*)11003 shrext_cmds='.sl'11004 hardcode_into_libs=yes11005 dynamic_linker="$host_os dld.sl"11006 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH11007 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.11008 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11009 soname_spec='$libname$release$shared_ext$major'11010 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"11011 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec11012 ;;11013 *)11014 shrext_cmds='.sl'11015 dynamic_linker="$host_os dld.sl"11016 shlibpath_var=SHLIB_PATH11017 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH11018 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11019 soname_spec='$libname$release$shared_ext$major'11020 ;;11021 esac11022 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...11023 postinstall_cmds='chmod 555 $lib'11024 # or fails outright, so override atomically:11025 install_override_mode=55511026 ;;11027 11028 interix[3-9]*)11029 version_type=linux # correct to gnu/linux during the next big refactor11030 need_lib_prefix=no11031 need_version=no11032 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11033 soname_spec='$libname$release$shared_ext$major'11034 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'11035 shlibpath_var=LD_LIBRARY_PATH11036 shlibpath_overrides_runpath=no11037 hardcode_into_libs=yes11038 ;;11039 11040 irix5* | irix6* | nonstopux*)11041 case $host_os in11042 nonstopux*) version_type=nonstopux ;;11043 *)11044 if test yes = "$lt_cv_prog_gnu_ld"; then11045 version_type=linux # correct to gnu/linux during the next big refactor11046 else11047 version_type=irix11048 fi ;;11049 esac11050 need_lib_prefix=no11051 need_version=no11052 soname_spec='$libname$release$shared_ext$major'11053 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'11054 case $host_os in11055 irix5* | nonstopux*)11056 libsuff= shlibsuff=11057 ;;11058 *)11059 case $LD in # libtool.m4 will add one of these switches to LD11060 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")11061 libsuff= shlibsuff= libmagic=32-bit;;11062 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")11063 libsuff=32 shlibsuff=N32 libmagic=N32;;11064 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")11065 libsuff=64 shlibsuff=64 libmagic=64-bit;;11066 *) libsuff= shlibsuff= libmagic=never-match;;11067 esac11068 ;;11069 esac11070 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH11071 shlibpath_overrides_runpath=no11072 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"11073 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"11074 hardcode_into_libs=yes11075 ;;11076 11077 # No shared lib support for Linux oldld, aout, or coff.11078 linux*oldld* | linux*aout* | linux*coff*)11079 dynamic_linker=no11080 ;;11081 11082 linux*android*)11083 version_type=none # Android doesn't support versioned libraries.11084 need_lib_prefix=no11085 need_version=no11086 library_names_spec='$libname$release$shared_ext'11087 soname_spec='$libname$release$shared_ext'11088 finish_cmds=11089 shlibpath_var=LD_LIBRARY_PATH11090 shlibpath_overrides_runpath=yes11091 11092 # This implies no fast_install, which is unacceptable.11093 # Some rework will be needed to allow for fast_install11094 # before this can be enabled.11095 hardcode_into_libs=yes11096 11097 dynamic_linker='Android linker'11098 # Don't embed -rpath directories since the linker doesn't support them.11099 hardcode_libdir_flag_spec='-L$libdir'11100 ;;11101 11102 # This must be glibc/ELF.11103 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)11104 version_type=linux # correct to gnu/linux during the next big refactor11105 need_lib_prefix=no11106 need_version=no11107 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11108 soname_spec='$libname$release$shared_ext$major'11109 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'11110 shlibpath_var=LD_LIBRARY_PATH11111 shlibpath_overrides_runpath=no11112 11113 # Some binutils ld are patched to set DT_RUNPATH11114 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :11115 $as_echo_n "(cached) " >&611116 else11117 lt_cv_shlibpath_overrides_runpath=no11118 save_LDFLAGS=$LDFLAGS11119 save_libdir=$libdir11120 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \11121 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11123 /* end confdefs.h. */11124 11125 int11126 main ()11127 {11128 11129 ;11130 return 0;11131 }11132 _ACEOF11133 if ac_fn_c_try_link "$LINENO"; then :11134 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :11135 lt_cv_shlibpath_overrides_runpath=yes11136 fi11137 fi11138 rm -f core conftest.err conftest.$ac_objext \11139 conftest$ac_exeext conftest.$ac_ext11140 LDFLAGS=$save_LDFLAGS11141 libdir=$save_libdir11142 11143 fi11144 11145 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath11146 11147 # This implies no fast_install, which is unacceptable.11148 # Some rework will be needed to allow for fast_install11149 # before this can be enabled.11150 hardcode_into_libs=yes11151 11152 # Ideally, we could use ldconfig to report *all* directores which are11153 # searched for libraries, however this is still not possible. Aside from not11154 # being certain /sbin/ldconfig is available, command11155 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,11156 # even though it is searched at run-time. Try to do the best guess by11157 # appending ld.so.conf contents (and includes) to the search path.11158 if test -f /etc/ld.so.conf; then11159 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`11160 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"11161 fi11162 11163 # We used to test for /lib/ld.so.1 and disable shared libraries on11164 # powerpc, because MkLinux only supported shared libraries with the11165 # GNU dynamic linker. Since this was broken with cross compilers,11166 # most powerpc-linux boxes support dynamic linking these days and11167 # people can always --disable-shared, the test was removed, and we11168 # assume the GNU/Linux dynamic linker is in use.11169 dynamic_linker='GNU/Linux ld.so'11170 ;;11171 11172 netbsdelf*-gnu)11173 version_type=linux11174 need_lib_prefix=no11175 need_version=no11176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11177 soname_spec='${libname}${release}${shared_ext}$major'11178 shlibpath_var=LD_LIBRARY_PATH11179 shlibpath_overrides_runpath=no11180 hardcode_into_libs=yes11181 dynamic_linker='NetBSD ld.elf_so'11182 ;;11183 11184 netbsd*)11185 version_type=sunos11186 need_lib_prefix=no11187 need_version=no11188 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then11189 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'11190 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'11191 dynamic_linker='NetBSD (a.out) ld.so'11192 else11193 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11194 soname_spec='$libname$release$shared_ext$major'11195 dynamic_linker='NetBSD ld.elf_so'11196 fi11197 shlibpath_var=LD_LIBRARY_PATH11198 shlibpath_overrides_runpath=yes11199 hardcode_into_libs=yes11200 ;;11201 11202 newsos6)11203 version_type=linux # correct to gnu/linux during the next big refactor11204 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11205 shlibpath_var=LD_LIBRARY_PATH11206 shlibpath_overrides_runpath=yes11207 ;;11208 11209 *nto* | *qnx*)11210 version_type=qnx11211 need_lib_prefix=no11212 need_version=no11213 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11214 soname_spec='$libname$release$shared_ext$major'11215 shlibpath_var=LD_LIBRARY_PATH11216 shlibpath_overrides_runpath=no11217 hardcode_into_libs=yes11218 dynamic_linker='ldqnx.so'11219 ;;11220 11221 openbsd* | bitrig*)11222 version_type=sunos11223 sys_lib_dlsearch_path_spec=/usr/lib11224 need_lib_prefix=no11225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then11226 need_version=no11227 else11228 need_version=yes11229 fi11230 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'11231 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'11232 shlibpath_var=LD_LIBRARY_PATH11233 shlibpath_overrides_runpath=yes11234 ;;11235 11236 os2*)11237 libname_spec='$name'11238 version_type=windows11239 shrext_cmds=.dll11240 need_version=no11241 need_lib_prefix=no11242 # OS/2 can only load a DLL with a base name of 8 characters or less.11243 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";11244 v=$($ECHO $release$versuffix | tr -d .-);11245 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);11246 $ECHO $n$v`$shared_ext'11247 library_names_spec='${libname}_dll.$libext'11248 dynamic_linker='OS/2 ld.exe'11249 shlibpath_var=BEGINLIBPATH11250 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"11251 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec11252 postinstall_cmds='base_file=`basename \$file`~11253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~11254 dldir=$destdir/`dirname \$dlpath`~11255 test -d \$dldir || mkdir -p \$dldir~11256 $install_prog $dir/$dlname \$dldir/$dlname~11257 chmod a+x \$dldir/$dlname~11258 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then11259 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;11260 fi'11261 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~11262 dlpath=$dir/\$dldll~11263 $RM \$dlpath'11264 ;;11265 11266 osf3* | osf4* | osf5*)11267 version_type=osf11268 need_lib_prefix=no11269 need_version=no11270 soname_spec='$libname$release$shared_ext$major'11271 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11272 shlibpath_var=LD_LIBRARY_PATH11273 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"11274 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec11275 ;;11276 11277 rdos*)11278 dynamic_linker=no11279 ;;11280 11281 solaris*)11282 version_type=linux # correct to gnu/linux during the next big refactor11283 need_lib_prefix=no11284 need_version=no11285 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11286 soname_spec='$libname$release$shared_ext$major'11287 shlibpath_var=LD_LIBRARY_PATH11288 shlibpath_overrides_runpath=yes11289 hardcode_into_libs=yes11290 # ldd complains unless libraries are executable11291 postinstall_cmds='chmod +x $lib'11292 ;;11293 11294 sunos4*)11295 version_type=sunos11296 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'11297 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'11298 shlibpath_var=LD_LIBRARY_PATH11299 shlibpath_overrides_runpath=yes11300 if test yes = "$with_gnu_ld"; then11301 need_lib_prefix=no11302 fi11303 need_version=yes11304 ;;11305 11306 sysv4 | sysv4.3*)11307 version_type=linux # correct to gnu/linux during the next big refactor11308 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11309 soname_spec='$libname$release$shared_ext$major'11310 shlibpath_var=LD_LIBRARY_PATH11311 case $host_vendor in11312 sni)11313 shlibpath_overrides_runpath=no11314 need_lib_prefix=no11315 runpath_var=LD_RUN_PATH11316 ;;11317 siemens)11318 need_lib_prefix=no11319 ;;11320 motorola)11321 need_lib_prefix=no11322 need_version=no11323 shlibpath_overrides_runpath=no11324 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'11325 ;;11326 esac11327 ;;11328 11329 sysv4*MP*)11330 if test -d /usr/nec; then11331 version_type=linux # correct to gnu/linux during the next big refactor11332 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'11333 soname_spec='$libname$shared_ext.$major'11334 shlibpath_var=LD_LIBRARY_PATH11335 fi11336 ;;11337 11338 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)11339 version_type=sco11340 need_lib_prefix=no11341 need_version=no11342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'11343 soname_spec='$libname$release$shared_ext$major'11344 shlibpath_var=LD_LIBRARY_PATH11345 shlibpath_overrides_runpath=yes11346 hardcode_into_libs=yes11347 if test yes = "$with_gnu_ld"; then11348 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'11349 else11350 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'11351 case $host_os in11352 sco3.2v5*)11353 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"11354 ;;11355 esac11356 fi11357 sys_lib_dlsearch_path_spec='/usr/lib'11358 ;;11359 11360 tpf*)11361 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.11362 version_type=linux # correct to gnu/linux during the next big refactor11363 need_lib_prefix=no11364 need_version=no11365 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11366 shlibpath_var=LD_LIBRARY_PATH11367 shlibpath_overrides_runpath=no11368 hardcode_into_libs=yes11369 ;;11370 11371 uts4*)11372 version_type=linux # correct to gnu/linux during the next big refactor11373 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11374 soname_spec='$libname$release$shared_ext$major'11375 shlibpath_var=LD_LIBRARY_PATH11376 ;;11377 11378 *)11379 dynamic_linker=no11380 ;;11381 esac11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&511383 $as_echo "$dynamic_linker" >&6; }11384 test no = "$dynamic_linker" && can_build_shared=no11385 11386 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"11387 if test yes = "$GCC"; then11388 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"11389 fi11390 11391 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then11392 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec11393 fi11394 11395 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then11396 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec11397 fi11398 11399 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...11400 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec11401 11402 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code11403 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"11404 11405 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool11406 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&511505 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }11506 hardcode_action=11507 if test -n "$hardcode_libdir_flag_spec" ||11508 test -n "$runpath_var" ||11509 test yes = "$hardcode_automatic"; then11510 11511 # We can hardcode non-existent directories.11512 if test no != "$hardcode_direct" &&11513 # If the only mechanism to avoid hardcoding is shlibpath_var, we11514 # have to relink, otherwise we might link with an installed library11515 # when we should be linking with a yet-to-be-installed one11516 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&11517 test no != "$hardcode_minus_L"; then11518 # Linking always hardcodes the temporary library directory.11519 hardcode_action=relink11520 else11521 # We can link without hardcoding, and we can hardcode nonexisting dirs.11522 hardcode_action=immediate11523 fi11524 else11525 # We cannot hardcode anything, or else we can only hardcode existing11526 # directories.11527 hardcode_action=unsupported11528 fi11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&511530 $as_echo "$hardcode_action" >&6; }11531 11532 if test relink = "$hardcode_action" ||11533 test yes = "$inherit_rpath"; then11534 # Fast installation is not supported11535 enable_fast_install=no11536 elif test yes = "$shlibpath_overrides_runpath" ||11537 test no = "$enable_shared"; then11538 # Fast installation is not necessary11539 enable_fast_install=needless11540 fi11541 11542 11543 11544 11545 11546 11547 if test yes != "$enable_dlopen"; then11548 enable_dlopen=unknown11549 enable_dlopen_self=unknown11550 enable_dlopen_self_static=unknown11551 else11552 lt_cv_dlopen=no11553 lt_cv_dlopen_libs=11554 11555 case $host_os in11556 beos*)11557 lt_cv_dlopen=load_add_on11558 lt_cv_dlopen_libs=11559 lt_cv_dlopen_self=yes11560 ;;11561 11562 mingw* | pw32* | cegcc*)11563 lt_cv_dlopen=LoadLibrary11564 lt_cv_dlopen_libs=11565 ;;11566 11567 cygwin*)11568 lt_cv_dlopen=dlopen11569 lt_cv_dlopen_libs=11570 ;;11571 11572 darwin*)11573 # if libdl is installed we need to link against it11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&511575 $as_echo_n "checking for dlopen in -ldl... " >&6; }11576 if ${ac_cv_lib_dl_dlopen+:} false; then :11577 $as_echo_n "(cached) " >&611578 else11579 ac_check_lib_save_LIBS=$LIBS11580 LIBS="-ldl $LIBS"11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11582 /* end confdefs.h. */11583 11584 /* Override any GCC internal prototype to avoid an error.11585 Use char because int might match the return type of a GCC11586 builtin and then its argument prototype would still apply. */11587 #ifdef __cplusplus11588 extern "C"11589 #endif11590 char dlopen ();11591 int11592 main ()11593 {11594 return dlopen ();11595 ;11596 return 0;11597 }11598 _ACEOF11599 if ac_fn_c_try_link "$LINENO"; then :11600 ac_cv_lib_dl_dlopen=yes11601 else11602 ac_cv_lib_dl_dlopen=no11603 fi11604 rm -f core conftest.err conftest.$ac_objext \11605 conftest$ac_exeext conftest.$ac_ext11606 LIBS=$ac_check_lib_save_LIBS11607 fi11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&511609 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }11610 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :11611 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl11612 else11613 11614 lt_cv_dlopen=dyld11615 lt_cv_dlopen_libs=11616 lt_cv_dlopen_self=yes11617 11618 fi11619 11620 ;;11621 11622 tpf*)11623 # Don't try to run any link tests for TPF. We know it's impossible11624 # because TPF is a cross-compiler, and we know how we open DSOs.11625 lt_cv_dlopen=dlopen11626 lt_cv_dlopen_libs=11627 lt_cv_dlopen_self=no11628 ;;11629 11630 *)11631 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"11632 if test "x$ac_cv_func_shl_load" = xyes; then :11633 lt_cv_dlopen=shl_load11634 else11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&511636 $as_echo_n "checking for shl_load in -ldld... " >&6; }11637 if ${ac_cv_lib_dld_shl_load+:} false; then :11638 $as_echo_n "(cached) " >&611639 else11640 ac_check_lib_save_LIBS=$LIBS11641 LIBS="-ldld $LIBS"11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11643 /* end confdefs.h. */11644 11645 /* Override any GCC internal prototype to avoid an error.11646 Use char because int might match the return type of a GCC11647 builtin and then its argument prototype would still apply. */11648 #ifdef __cplusplus11649 extern "C"11650 #endif11651 char shl_load ();11652 int11653 main ()11654 {11655 return shl_load ();11656 ;11657 return 0;11658 }11659 _ACEOF11660 if ac_fn_c_try_link "$LINENO"; then :11661 ac_cv_lib_dld_shl_load=yes11662 else11663 ac_cv_lib_dld_shl_load=no11664 fi11665 rm -f core conftest.err conftest.$ac_objext \11666 conftest$ac_exeext conftest.$ac_ext11667 LIBS=$ac_check_lib_save_LIBS11668 fi11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&511670 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }11671 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :11672 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld11673 else11674 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"11675 if test "x$ac_cv_func_dlopen" = xyes; then :11676 lt_cv_dlopen=dlopen11677 else11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&511679 $as_echo_n "checking for dlopen in -ldl... " >&6; }11680 if ${ac_cv_lib_dl_dlopen+:} false; then :11681 $as_echo_n "(cached) " >&611682 else11683 ac_check_lib_save_LIBS=$LIBS11684 LIBS="-ldl $LIBS"11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11686 /* end confdefs.h. */11687 11688 /* Override any GCC internal prototype to avoid an error.11689 Use char because int might match the return type of a GCC11690 builtin and then its argument prototype would still apply. */11691 #ifdef __cplusplus11692 extern "C"11693 #endif11694 char dlopen ();11695 int11696 main ()11697 {11698 return dlopen ();11699 ;11700 return 0;11701 }11702 _ACEOF11703 if ac_fn_c_try_link "$LINENO"; then :11704 ac_cv_lib_dl_dlopen=yes11705 else11706 ac_cv_lib_dl_dlopen=no11707 fi11708 rm -f core conftest.err conftest.$ac_objext \11709 conftest$ac_exeext conftest.$ac_ext11710 LIBS=$ac_check_lib_save_LIBS11711 fi11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&511713 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }11714 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :11715 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl11716 else11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&511718 $as_echo_n "checking for dlopen in -lsvld... " >&6; }11719 if ${ac_cv_lib_svld_dlopen+:} false; then :11720 $as_echo_n "(cached) " >&611721 else11722 ac_check_lib_save_LIBS=$LIBS11723 LIBS="-lsvld $LIBS"11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11725 /* end confdefs.h. */11726 11727 /* Override any GCC internal prototype to avoid an error.11728 Use char because int might match the return type of a GCC11729 builtin and then its argument prototype would still apply. */11730 #ifdef __cplusplus11731 extern "C"11732 #endif11733 char dlopen ();11734 int11735 main ()11736 {11737 return dlopen ();11738 ;11739 return 0;11740 }11741 _ACEOF11742 if ac_fn_c_try_link "$LINENO"; then :11743 ac_cv_lib_svld_dlopen=yes11744 else11745 ac_cv_lib_svld_dlopen=no11746 fi11747 rm -f core conftest.err conftest.$ac_objext \11748 conftest$ac_exeext conftest.$ac_ext11749 LIBS=$ac_check_lib_save_LIBS11750 fi11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&511752 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }11753 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :11754 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld11755 else11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&511757 $as_echo_n "checking for dld_link in -ldld... " >&6; }11758 if ${ac_cv_lib_dld_dld_link+:} false; then :11759 $as_echo_n "(cached) " >&611760 else11761 ac_check_lib_save_LIBS=$LIBS11762 LIBS="-ldld $LIBS"11763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11764 /* end confdefs.h. */11765 11766 /* Override any GCC internal prototype to avoid an error.11767 Use char because int might match the return type of a GCC11768 builtin and then its argument prototype would still apply. */11769 #ifdef __cplusplus11770 extern "C"11771 #endif11772 char dld_link ();11773 int11774 main ()11775 {11776 return dld_link ();11777 ;11778 return 0;11779 }11780 _ACEOF11781 if ac_fn_c_try_link "$LINENO"; then :11782 ac_cv_lib_dld_dld_link=yes11783 else11784 ac_cv_lib_dld_dld_link=no11785 fi11786 rm -f core conftest.err conftest.$ac_objext \11787 conftest$ac_exeext conftest.$ac_ext11788 LIBS=$ac_check_lib_save_LIBS11789 fi11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&511791 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }11792 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :11793 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld11794 fi11795 11796 11797 fi11798 11799 11800 fi11801 11802 11803 fi11804 11805 11806 fi11807 11808 11809 fi11810 11811 ;;11812 esac11813 11814 if test no = "$lt_cv_dlopen"; then11815 enable_dlopen=no11816 else11817 enable_dlopen=yes11818 fi11819 11820 case $lt_cv_dlopen in11821 dlopen)11822 save_CPPFLAGS=$CPPFLAGS11823 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"11824 11825 save_LDFLAGS=$LDFLAGS11826 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"11827 11828 save_LIBS=$LIBS11829 LIBS="$lt_cv_dlopen_libs $LIBS"11830 11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&511832 $as_echo_n "checking whether a program can dlopen itself... " >&6; }11833 if ${lt_cv_dlopen_self+:} false; then :11834 $as_echo_n "(cached) " >&611835 else11836 if test yes = "$cross_compiling"; then :11837 lt_cv_dlopen_self=cross11838 else11839 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211840 lt_status=$lt_dlunknown11841 cat > conftest.$ac_ext <<_LT_EOF11842 #line $LINENO "configure"11843 #include "confdefs.h"11844 11845 #if HAVE_DLFCN_H11846 #include <dlfcn.h>11847 #endif11848 11849 #include <stdio.h>11850 11851 #ifdef RTLD_GLOBAL11852 # define LT_DLGLOBAL RTLD_GLOBAL11853 #else11854 # ifdef DL_GLOBAL11855 # define LT_DLGLOBAL DL_GLOBAL11856 # else11857 # define LT_DLGLOBAL 011858 # endif11859 #endif11860 11861 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we11862 find out it does not work in some platform. */11863 #ifndef LT_DLLAZY_OR_NOW11864 # ifdef RTLD_LAZY11865 # define LT_DLLAZY_OR_NOW RTLD_LAZY11866 # else11867 # ifdef DL_LAZY11868 # define LT_DLLAZY_OR_NOW DL_LAZY11869 # else11870 # ifdef RTLD_NOW11871 # define LT_DLLAZY_OR_NOW RTLD_NOW11872 # else11873 # ifdef DL_NOW11874 # define LT_DLLAZY_OR_NOW DL_NOW11875 # else11876 # define LT_DLLAZY_OR_NOW 011877 # endif11878 # endif11879 # endif11880 # endif11881 #endif11882 11883 /* When -fvisibility=hidden is used, assume the code has been annotated11884 correspondingly for the symbols needed. */11885 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))11886 int fnord () __attribute__((visibility("default")));11887 #endif11888 11889 int fnord () { return 42; }11890 int main ()11891 {11892 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);11893 int status = $lt_dlunknown;11894 11895 if (self)11896 {11897 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;11898 else11899 {11900 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;11901 else puts (dlerror ());11902 }11903 /* dlclose (self); */11904 }11905 else11906 puts (dlerror ());11907 11908 return status;11909 }11910 _LT_EOF11911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&511912 (eval $ac_link) 2>&511913 ac_status=$?11914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&511915 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then11916 (./conftest; exit; ) >&5 2>/dev/null11917 lt_status=$?11918 case x$lt_status in11919 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;11920 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;11921 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;11922 esac11923 else :11924 # compilation failed11925 lt_cv_dlopen_self=no11926 fi11927 fi11928 rm -fr conftest*11929 11930 11931 fi11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&511933 $as_echo "$lt_cv_dlopen_self" >&6; }11934 11935 if test yes = "$lt_cv_dlopen_self"; then11936 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&511938 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }11939 if ${lt_cv_dlopen_self_static+:} false; then :11940 $as_echo_n "(cached) " >&611941 else11942 if test yes = "$cross_compiling"; then :11943 lt_cv_dlopen_self_static=cross11944 else11945 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211946 lt_status=$lt_dlunknown11947 cat > conftest.$ac_ext <<_LT_EOF11948 #line $LINENO "configure"11949 #include "confdefs.h"11950 11951 #if HAVE_DLFCN_H11952 #include <dlfcn.h>11953 #endif11954 11955 #include <stdio.h>11956 11957 #ifdef RTLD_GLOBAL11958 # define LT_DLGLOBAL RTLD_GLOBAL11959 #else11960 # ifdef DL_GLOBAL11961 # define LT_DLGLOBAL DL_GLOBAL11962 # else11963 # define LT_DLGLOBAL 011964 # endif11965 #endif11966 11967 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we11968 find out it does not work in some platform. */11969 #ifndef LT_DLLAZY_OR_NOW11970 # ifdef RTLD_LAZY11971 # define LT_DLLAZY_OR_NOW RTLD_LAZY11972 # else11973 # ifdef DL_LAZY11974 # define LT_DLLAZY_OR_NOW DL_LAZY11975 # else11976 # ifdef RTLD_NOW11977 # define LT_DLLAZY_OR_NOW RTLD_NOW11978 # else11979 # ifdef DL_NOW11980 # define LT_DLLAZY_OR_NOW DL_NOW11981 # else11982 # define LT_DLLAZY_OR_NOW 011983 # endif11984 # endif11985 # endif11986 # endif11987 #endif11988 11989 /* When -fvisibility=hidden is used, assume the code has been annotated11990 correspondingly for the symbols needed. */11991 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))11992 int fnord () __attribute__((visibility("default")));11993 #endif11994 11995 int fnord () { return 42; }11996 int main ()11997 {11998 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);11999 int status = $lt_dlunknown;12000 12001 if (self)12002 {12003 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;12004 else12005 {12006 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;12007 else puts (dlerror ());12008 }12009 /* dlclose (self); */12010 }12011 else12012 puts (dlerror ());12013 12014 return status;12015 }12016 _LT_EOF12017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&512018 (eval $ac_link) 2>&512019 ac_status=$?12020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512021 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then12022 (./conftest; exit; ) >&5 2>/dev/null12023 lt_status=$?12024 case x$lt_status in12025 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;12026 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;12027 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;12028 esac12029 else :12030 # compilation failed12031 lt_cv_dlopen_self_static=no12032 fi12033 fi12034 rm -fr conftest*12035 12036 12037 fi12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&512039 $as_echo "$lt_cv_dlopen_self_static" >&6; }12040 fi12041 12042 CPPFLAGS=$save_CPPFLAGS12043 LDFLAGS=$save_LDFLAGS12044 LIBS=$save_LIBS12045 ;;12046 esac12047 12048 case $lt_cv_dlopen_self in12049 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;12050 *) enable_dlopen_self=unknown ;;12051 esac12052 12053 case $lt_cv_dlopen_self_static in12054 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;12055 *) enable_dlopen_self_static=unknown ;;12056 esac12057 fi12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 striplib=12076 old_striplib=12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&512078 $as_echo_n "checking whether stripping libraries is possible... " >&6; }12079 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then12080 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"12081 test -z "$striplib" && striplib="$STRIP --strip-unneeded"12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&512083 $as_echo "yes" >&6; }12084 else12085 # FIXME - insert some real tests, host_os isn't really good enough12086 case $host_os in12087 darwin*)12088 if test -n "$STRIP"; then12089 striplib="$STRIP -x"12090 old_striplib="$STRIP -S"12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&512092 $as_echo "yes" >&6; }12093 else12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512095 $as_echo "no" >&6; }12096 fi12097 ;;12098 *)12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512100 $as_echo "no" >&6; }12101 ;;12102 esac12103 fi12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 # Report what library types will actually be built12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&512118 $as_echo_n "checking if libtool supports shared libraries... " >&6; }12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&512120 $as_echo "$can_build_shared" >&6; }12121 12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&512123 $as_echo_n "checking whether to build shared libraries... " >&6; }12124 test no = "$can_build_shared" && enable_shared=no12125 12126 # On AIX, shared libraries and static libraries use the same namespace, and12127 # are all built from PIC.12128 case $host_os in12129 aix3*)12130 test yes = "$enable_shared" && enable_static=no12131 if test -n "$RANLIB"; then12132 archive_cmds="$archive_cmds~\$RANLIB \$lib"12133 postinstall_cmds='$RANLIB $lib'12134 fi12135 ;;12136 12137 aix[4-9]*)12138 if test ia64 != "$host_cpu"; then12139 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in12140 yes,aix,yes) ;; # shared object as lib.so file only12141 yes,svr4,*) ;; # shared object as lib.so archive member only12142 yes,*) enable_static=no ;; # shared object in lib.a archive as well12143 esac12144 fi12145 ;;12146 esac12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&512148 $as_echo "$enable_shared" >&6; }12149 12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&512151 $as_echo_n "checking whether to build static libraries... " >&6; }12152 # Make sure either enable_shared or enable_static is yes.12153 test yes = "$enable_shared" || enable_static=yes12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&512155 $as_echo "$enable_static" >&6; }12156 12157 12158 12159 12160 fi12161 ac_ext=c12162 ac_cpp='$CPP $CPPFLAGS'12163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'12164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12165 ac_compiler_gnu=$ac_cv_c_compiler_gnu12166 12167 CC=$lt_save_CC12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 ac_config_commands="$ac_config_commands libtool"12184 12185 12186 12187 12188 # Only expand once:12189 12190 12191 12192 ac_ext=cpp12193 ac_cpp='$CXXCPP $CPPFLAGS'12194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'12195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu12197 if test -z "$CXX"; then12198 if test -n "$CCC"; then12199 CXX=$CCC12200 else12201 if test -n "$ac_tool_prefix"; then12202 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC12203 do12204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.12205 set dummy $ac_tool_prefix$ac_prog; ac_word=$212206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&512207 $as_echo_n "checking for $ac_word... " >&6; }12208 if ${ac_cv_prog_CXX+:} false; then :12209 $as_echo_n "(cached) " >&612210 else12211 if test -n "$CXX"; then12212 ac_cv_prog_CXX="$CXX" # Let the user override the test.12213 else12214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR12215 for as_dir in $PATH12216 do12217 IFS=$as_save_IFS12218 test -z "$as_dir" && as_dir=.12219 for ac_exec_ext in '' $ac_executable_extensions; do12220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then12221 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"12222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512223 break 212224 fi12225 done12226 done12227 IFS=$as_save_IFS12228 12229 fi12230 fi12231 CXX=$ac_cv_prog_CXX12232 if test -n "$CXX"; then12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&512234 $as_echo "$CXX" >&6; }12235 else12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512237 $as_echo "no" >&6; }12238 fi12239 12240 12241 test -n "$CXX" && break12242 done12243 fi12244 if test -z "$CXX"; then12245 ac_ct_CXX=$CXX12246 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC12247 do12248 # Extract the first word of "$ac_prog", so it can be a program name with args.12249 set dummy $ac_prog; ac_word=$212250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&512251 $as_echo_n "checking for $ac_word... " >&6; }12252 if ${ac_cv_prog_ac_ct_CXX+:} false; then :12253 $as_echo_n "(cached) " >&612254 else12255 if test -n "$ac_ct_CXX"; then12256 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.12257 else12258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR12259 for as_dir in $PATH12260 do12261 IFS=$as_save_IFS12262 test -z "$as_dir" && as_dir=.12263 for ac_exec_ext in '' $ac_executable_extensions; do12264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then12265 ac_cv_prog_ac_ct_CXX="$ac_prog"12266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512267 break 212268 fi12269 done12270 done12271 IFS=$as_save_IFS12272 12273 fi12274 fi12275 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX12276 if test -n "$ac_ct_CXX"; then12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&512278 $as_echo "$ac_ct_CXX" >&6; }12279 else12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512281 $as_echo "no" >&6; }12282 fi12283 12284 12285 test -n "$ac_ct_CXX" && break12286 done12287 12288 if test "x$ac_ct_CXX" = x; then12289 CXX="g++"12290 else12291 case $cross_compiling:$ac_tool_warned in12292 yes:)12293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&512294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}12295 ac_tool_warned=yes ;;12296 esac12297 CXX=$ac_ct_CXX12298 fi12299 fi12300 12301 fi12302 fi12303 # Provide some information about the compiler.12304 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&512305 set X $ac_compile12306 ac_compiler=$212307 for ac_option in --version -v -V -qversion; do12308 { { ac_try="$ac_compiler $ac_option >&5"12309 case "(($ac_try" in12310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;12311 *) ac_try_echo=$ac_try;;12312 esac12313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""12314 $as_echo "$ac_try_echo"; } >&512315 (eval "$ac_compiler $ac_option >&5") 2>conftest.err12316 ac_status=$?12317 if test -s conftest.err; then12318 sed '10a\12319 ... rest of stderr output deleted ...12320 10q' conftest.err >conftest.er112321 cat conftest.er1 >&512322 fi12323 rm -f conftest.er1 conftest.err12324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512325 test $ac_status = 0; }12326 done12327 12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&512329 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }12330 if ${ac_cv_cxx_compiler_gnu+:} false; then :12331 $as_echo_n "(cached) " >&612332 else12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12334 /* end confdefs.h. */12335 12336 int12337 main ()12338 {12339 #ifndef __GNUC__12340 choke me12341 #endif12342 12343 ;12344 return 0;12345 }12346 _ACEOF12347 if ac_fn_cxx_try_compile "$LINENO"; then :12348 ac_compiler_gnu=yes12349 else12350 ac_compiler_gnu=no12351 fi12352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12353 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu12354 12355 fi12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&512357 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }12358 if test $ac_compiler_gnu = yes; then12359 GXX=yes12360 else12361 GXX=12362 fi12363 ac_test_CXXFLAGS=${CXXFLAGS+set}12364 ac_save_CXXFLAGS=$CXXFLAGS12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&512366 $as_echo_n "checking whether $CXX accepts -g... " >&6; }12367 if ${ac_cv_prog_cxx_g+:} false; then :12368 $as_echo_n "(cached) " >&612369 else12370 ac_save_cxx_werror_flag=$ac_cxx_werror_flag12371 ac_cxx_werror_flag=yes12372 ac_cv_prog_cxx_g=no12373 CXXFLAGS="-g"12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12375 /* end confdefs.h. */12376 12377 int12378 main ()12379 {12380 12381 ;12382 return 0;12383 }12384 _ACEOF12385 if ac_fn_cxx_try_compile "$LINENO"; then :12386 ac_cv_prog_cxx_g=yes12387 else12388 CXXFLAGS=""12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12390 /* end confdefs.h. */12391 12392 int12393 main ()12394 {12395 12396 ;12397 return 0;12398 }12399 _ACEOF12400 if ac_fn_cxx_try_compile "$LINENO"; then :12401 12402 else12403 ac_cxx_werror_flag=$ac_save_cxx_werror_flag12404 CXXFLAGS="-g"12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12406 /* end confdefs.h. */12407 12408 int12409 main ()12410 {12411 12412 ;12413 return 0;12414 }12415 _ACEOF12416 if ac_fn_cxx_try_compile "$LINENO"; then :12417 ac_cv_prog_cxx_g=yes12418 fi12419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12420 fi12421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12422 fi12423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12424 ac_cxx_werror_flag=$ac_save_cxx_werror_flag12425 fi12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&512427 $as_echo "$ac_cv_prog_cxx_g" >&6; }12428 if test "$ac_test_CXXFLAGS" = set; then12429 CXXFLAGS=$ac_save_CXXFLAGS12430 elif test $ac_cv_prog_cxx_g = yes; then12431 if test "$GXX" = yes; then12432 CXXFLAGS="-g -O2"12433 else12434 CXXFLAGS="-g"12435 fi12436 else12437 if test "$GXX" = yes; then12438 CXXFLAGS="-O2"12439 else12440 CXXFLAGS=12441 fi12442 fi12443 ac_ext=c12444 ac_cpp='$CPP $CPPFLAGS'12445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'12446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12447 ac_compiler_gnu=$ac_cv_c_compiler_gnu12448 12449 depcc="$CXX" am_compiler_list=12450 12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&512452 $as_echo_n "checking dependency style of $depcc... " >&6; }12453 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :12454 $as_echo_n "(cached) " >&612455 else12456 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then12457 # We make a subdir and do the tests there. Otherwise we can end up12458 # making bogus files that we don't know about and never remove. For12459 # instance it was reported that on HP-UX the gcc test will end up12460 # making a dummy file named 'D' -- because '-MD' means "put the output12461 # in D".12462 rm -rf conftest.dir12463 mkdir conftest.dir12464 # Copy depcomp to subdir because otherwise we won't find it if we're12465 # using a relative directory.12466 cp "$am_depcomp" conftest.dir12467 cd conftest.dir12468 # We will build objects and dependencies in a subdirectory because12469 # it helps to detect inapplicable dependency modes. For instance12470 # both Tru64's cc and ICC support -MD to output dependencies as a12471 # side effect of compilation, but ICC will put the dependencies in12472 # the current directory while Tru64 will put them in the object12473 # directory.12474 mkdir sub12475 12476 am_cv_CXX_dependencies_compiler_type=none12477 if test "$am_compiler_list" = ""; then12478 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`12479 fi12480 am__universal=false12481 case " $depcc " in #(12482 *\ -arch\ *\ -arch\ *) am__universal=true ;;12483 esac12484 12485 for depmode in $am_compiler_list; do12486 # Setup a source with many dependencies, because some compilers12487 # like to wrap large dependency lists on column 80 (with \), and12488 # we should not choose a depcomp mode which is confused by this.12489 #12490 # We need to recreate these files for each test, as the compiler may12491 # overwrite some of them when testing with obscure command lines.12492 # This happens at least with the AIX C compiler.12493 : > sub/conftest.c12494 for i in 1 2 3 4 5 6; do12495 echo '#include "conftst'$i'.h"' >> sub/conftest.c12496 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with12497 # Solaris 10 /bin/sh.12498 echo '/* dummy */' > sub/conftst$i.h12499 done12500 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf12501 12502 # We check with '-c' and '-o' for the sake of the "dashmstdout"12503 # mode. It turns out that the SunPro C++ compiler does not properly12504 # handle '-M -o', and we need to detect this. Also, some Intel12505 # versions had trouble with output in subdirs.12506 am__obj=sub/conftest.${OBJEXT-o}12507 am__minus_obj="-o $am__obj"12508 case $depmode in12509 gcc)12510 # This depmode causes a compiler race in universal mode.12511 test "$am__universal" = false || continue12512 ;;12513 nosideeffect)12514 # After this tag, mechanisms are not by side-effect, so they'll12515 # only be used when explicitly requested.12516 if test "x$enable_dependency_tracking" = xyes; then12517 continue12518 else12519 break12520 fi12521 ;;12522 msvc7 | msvc7msys | msvisualcpp | msvcmsys)12523 # This compiler won't grok '-c -o', but also, the minuso test has12524 # not run yet. These depmodes are late enough in the game, and12525 # so weak that their functioning should not be impacted.12526 am__obj=conftest.${OBJEXT-o}12527 am__minus_obj=12528 ;;12529 none) break ;;12530 esac12531 if depmode=$depmode \12532 source=sub/conftest.c object=$am__obj \12533 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \12534 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \12535 >/dev/null 2>conftest.err &&12536 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&12537 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&12538 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&12539 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then12540 # icc doesn't choke on unknown options, it will just issue warnings12541 # or remarks (even with -Werror). So we grep stderr for any message12542 # that says an option was ignored or not supported.12543 # When given -MP, icc 7.0 and 7.1 complain thusly:12544 # icc: Command line warning: ignoring option '-M'; no argument required12545 # The diagnosis changed in icc 8.0:12546 # icc: Command line remark: option '-MP' not supported12547 if (grep 'ignoring option' conftest.err ||12548 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else12549 am_cv_CXX_dependencies_compiler_type=$depmode12550 break12551 fi12552 fi12553 done12554 12555 cd ..12556 rm -rf conftest.dir12557 else12558 am_cv_CXX_dependencies_compiler_type=none12559 fi12560 12561 fi12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&512563 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }12564 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type12565 12566 if12567 test "x$enable_dependency_tracking" != xno \12568 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then12569 am__fastdepCXX_TRUE=12570 am__fastdepCXX_FALSE='#'12571 else12572 am__fastdepCXX_TRUE='#'12573 am__fastdepCXX_FALSE=12574 fi12575 12576 12577 12578 12579 func_stripname_cnf ()12580 {12581 case $2 in12582 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;12583 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;12584 esac12585 } # func_stripname_cnf12586 12587 if test -n "$CXX" && ( test no != "$CXX" &&12588 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||12589 (test g++ != "$CXX"))); then12590 ac_ext=cpp12591 ac_cpp='$CXXCPP $CPPFLAGS'12592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'12593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&512596 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }12597 if test -z "$CXXCPP"; then12598 if ${ac_cv_prog_CXXCPP+:} false; then :12599 $as_echo_n "(cached) " >&612600 else12601 # Double quotes because CXXCPP needs to be expanded12602 for CXXCPP in "$CXX -E" "/lib/cpp"12603 do12604 ac_preproc_ok=false12605 for ac_cxx_preproc_warn_flag in '' yes12606 do12607 # Use a header file that comes with gcc, so configuring glibc12608 # with a fresh cross-compiler works.12609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since12610 # <limits.h> exists even on freestanding compilers.12611 # On the NeXT, cc -E runs the code through the compiler's parser,12612 # not just through cpp. "Syntax error" is here to catch this case.12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12614 /* end confdefs.h. */12615 #ifdef __STDC__12616 # include <limits.h>12617 #else12618 # include <assert.h>12619 #endif12620 Syntax error12621 _ACEOF12622 if ac_fn_cxx_try_cpp "$LINENO"; then :12623 12624 else12625 # Broken: fails on valid input.12626 continue12627 fi12628 rm -f conftest.err conftest.i conftest.$ac_ext12629 12630 # OK, works on sane cases. Now check whether nonexistent headers12631 # can be detected and how.12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12633 /* end confdefs.h. */12634 #include <ac_nonexistent.h>12635 _ACEOF12636 if ac_fn_cxx_try_cpp "$LINENO"; then :12637 # Broken: success on invalid input.12638 continue12639 else12640 # Passes both tests.12641 ac_preproc_ok=:12642 break12643 fi12644 rm -f conftest.err conftest.i conftest.$ac_ext12645 12646 done12647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.12648 rm -f conftest.i conftest.err conftest.$ac_ext12649 if $ac_preproc_ok; then :12650 break12651 fi12652 12653 done12654 ac_cv_prog_CXXCPP=$CXXCPP12655 12656 fi12657 CXXCPP=$ac_cv_prog_CXXCPP12658 else12659 ac_cv_prog_CXXCPP=$CXXCPP12660 fi12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&512662 $as_echo "$CXXCPP" >&6; }12663 ac_preproc_ok=false12664 for ac_cxx_preproc_warn_flag in '' yes12665 do12666 # Use a header file that comes with gcc, so configuring glibc12667 # with a fresh cross-compiler works.12668 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since12669 # <limits.h> exists even on freestanding compilers.12670 # On the NeXT, cc -E runs the code through the compiler's parser,12671 # not just through cpp. "Syntax error" is here to catch this case.12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12673 /* end confdefs.h. */12674 #ifdef __STDC__12675 # include <limits.h>12676 #else12677 # include <assert.h>12678 #endif12679 Syntax error12680 _ACEOF12681 if ac_fn_cxx_try_cpp "$LINENO"; then :12682 12683 else12684 # Broken: fails on valid input.12685 continue12686 fi12687 rm -f conftest.err conftest.i conftest.$ac_ext12688 12689 # OK, works on sane cases. Now check whether nonexistent headers12690 # can be detected and how.12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12692 /* end confdefs.h. */12693 #include <ac_nonexistent.h>12694 _ACEOF12695 if ac_fn_cxx_try_cpp "$LINENO"; then :12696 # Broken: success on invalid input.12697 continue12698 else12699 # Passes both tests.12700 ac_preproc_ok=:12701 break12702 fi12703 rm -f conftest.err conftest.i conftest.$ac_ext12704 12705 done12706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.12707 rm -f conftest.i conftest.err conftest.$ac_ext12708 if $ac_preproc_ok; then :12709 12710 else12711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&512712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}12713 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check12714 See \`config.log' for more details" "$LINENO" 5; }12715 fi12716 12717 ac_ext=c12718 ac_cpp='$CPP $CPPFLAGS'12719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'12720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12721 ac_compiler_gnu=$ac_cv_c_compiler_gnu12722 12723 else12724 _lt_caught_CXX_error=yes12725 fi12726 12727 ac_ext=cpp12728 ac_cpp='$CXXCPP $CPPFLAGS'12729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'12730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu12732 12733 archive_cmds_need_lc_CXX=no12734 allow_undefined_flag_CXX=12735 always_export_symbols_CXX=no12736 archive_expsym_cmds_CXX=12737 compiler_needs_object_CXX=no12738 export_dynamic_flag_spec_CXX=12739 hardcode_direct_CXX=no12740 hardcode_direct_absolute_CXX=no12741 hardcode_libdir_flag_spec_CXX=12742 hardcode_libdir_separator_CXX=12743 hardcode_minus_L_CXX=no12744 hardcode_shlibpath_var_CXX=unsupported12745 hardcode_automatic_CXX=no12746 inherit_rpath_CXX=no12747 module_cmds_CXX=12748 module_expsym_cmds_CXX=12749 link_all_deplibs_CXX=unknown12750 old_archive_cmds_CXX=$old_archive_cmds12751 reload_flag_CXX=$reload_flag12752 reload_cmds_CXX=$reload_cmds12753 no_undefined_flag_CXX=12754 whole_archive_flag_spec_CXX=12755 enable_shared_with_static_runtimes_CXX=no12756 12757 # Source file extension for C++ test sources.12758 ac_ext=cpp12759 12760 # Object file extension for compiled C++ test sources.12761 objext=o12762 objext_CXX=$objext12763 12764 # No sense in running all these tests if we already determined that12765 # the CXX compiler isn't working. Some variables (like enable_shared)12766 # are currently assumed to apply to all compilers on this platform,12767 # and will be corrupted by setting them based on a non-working compiler.12768 if test yes != "$_lt_caught_CXX_error"; then12769 # Code to be used in simple compile tests12770 lt_simple_compile_test_code="int some_variable = 0;"12771 12772 # Code to be used in simple link tests12773 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'12774 12775 # ltmain only uses $CC for tagged configurations so make sure $CC is set.12776 12777 12778 12779 12780 12781 12782 # If no C compiler was specified, use CC.12783 LTCC=${LTCC-"$CC"}12784 12785 # If no C compiler flags were specified, use CFLAGS.12786 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}12787 12788 # Allow CC to be a program name with arguments.12789 compiler=$CC12790 12791 12792 # save warnings/boilerplate of simple test code12793 ac_outfile=conftest.$ac_objext12794 echo "$lt_simple_compile_test_code" >conftest.$ac_ext12795 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err12796 _lt_compiler_boilerplate=`cat conftest.err`12797 $RM conftest*12798 12799 ac_outfile=conftest.$ac_objext12800 echo "$lt_simple_link_test_code" >conftest.$ac_ext12801 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err12802 _lt_linker_boilerplate=`cat conftest.err`12803 $RM -r conftest*12804 12805 12806 # Allow CC to be a program name with arguments.12807 lt_save_CC=$CC12808 lt_save_CFLAGS=$CFLAGS12809 lt_save_LD=$LD12810 lt_save_GCC=$GCC12811 GCC=$GXX12812 lt_save_with_gnu_ld=$with_gnu_ld12813 lt_save_path_LD=$lt_cv_path_LD12814 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then12815 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx12816 else12817 $as_unset lt_cv_prog_gnu_ld12818 fi12819 if test -n "${lt_cv_path_LDCXX+set}"; then12820 lt_cv_path_LD=$lt_cv_path_LDCXX12821 else12822 $as_unset lt_cv_path_LD12823 fi12824 test -z "${LDCXX+set}" || LD=$LDCXX12825 CC=${CXX-"c++"}12826 CFLAGS=$CXXFLAGS12827 compiler=$CC12828 compiler_CXX=$CC12829 func_cc_basename $compiler12830 cc_basename=$func_cc_basename_result12831 12832 12833 if test -n "$compiler"; then12834 # We don't want -fno-exception when compiling C++ code, so set the12835 # no_builtin_flag separately12836 if test yes = "$GXX"; then12837 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'12838 else12839 lt_prog_compiler_no_builtin_flag_CXX=12840 fi12841 12842 if test yes = "$GXX"; then12843 # Set up default GNU C++ configuration12844 12845 12846 12847 # Check whether --with-gnu-ld was given.12848 if test "${with_gnu_ld+set}" = set; then :12849 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes12850 else12851 with_gnu_ld=no12852 fi12853 12854 ac_prog=ld12855 if test yes = "$GCC"; then12856 # Check if gcc -print-prog-name=ld gives a path.12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&512858 $as_echo_n "checking for ld used by $CC... " >&6; }12859 case $host in12860 *-*-mingw*)12861 # gcc leaves a trailing carriage return, which upsets mingw12862 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;12863 *)12864 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;12865 esac12866 case $ac_prog in12867 # Accept absolute paths.12868 [\\/]* | ?:[\\/]*)12869 re_direlt='/[^/][^/]*/\.\./'12870 # Canonicalize the pathname of ld12871 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`12872 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do12873 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`12874 done12875 test -z "$LD" && LD=$ac_prog12876 ;;12877 "")12878 # If it fails, then pretend we aren't using GCC.12879 ac_prog=ld12880 ;;12881 *)12882 # If it is relative, then search for the first ld in PATH.12883 with_gnu_ld=unknown12884 ;;12885 esac12886 elif test yes = "$with_gnu_ld"; then12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&512888 $as_echo_n "checking for GNU ld... " >&6; }12889 else12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&512891 $as_echo_n "checking for non-GNU ld... " >&6; }12892 fi12893 if ${lt_cv_path_LD+:} false; then :12894 $as_echo_n "(cached) " >&612895 else12896 if test -z "$LD"; then12897 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR12898 for ac_dir in $PATH; do12899 IFS=$lt_save_ifs12900 test -z "$ac_dir" && ac_dir=.12901 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then12902 lt_cv_path_LD=$ac_dir/$ac_prog12903 # Check to see if the program is GNU ld. I'd rather use --version,12904 # but apparently some variants of GNU ld only accept -v.12905 # Break only if it was the GNU/non-GNU ld that we prefer.12906 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in12907 *GNU* | *'with BFD'*)12908 test no != "$with_gnu_ld" && break12909 ;;12910 *)12911 test yes != "$with_gnu_ld" && break12912 ;;12913 esac12914 fi12915 done12916 IFS=$lt_save_ifs12917 else12918 lt_cv_path_LD=$LD # Let the user override the test with a path.12919 fi12920 fi12921 12922 LD=$lt_cv_path_LD12923 if test -n "$LD"; then12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&512925 $as_echo "$LD" >&6; }12926 else12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512928 $as_echo "no" >&6; }12929 fi12930 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 512931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&512932 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }12933 if ${lt_cv_prog_gnu_ld+:} false; then :12934 $as_echo_n "(cached) " >&612935 else12936 # I'd rather use --version here, but apparently some GNU lds only accept -v.12937 case `$LD -v 2>&1 </dev/null` in12938 *GNU* | *'with BFD'*)12939 lt_cv_prog_gnu_ld=yes12940 ;;12941 *)12942 lt_cv_prog_gnu_ld=no12943 ;;12944 esac12945 fi12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&512947 $as_echo "$lt_cv_prog_gnu_ld" >&6; }12948 with_gnu_ld=$lt_cv_prog_gnu_ld12949 12950 12951 12952 12953 12954 12955 12956 # Check if GNU C++ uses GNU ld as the underlying linker, since the12957 # archiving commands below assume that GNU ld is being used.12958 if test yes = "$with_gnu_ld"; then12959 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'12960 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'12961 12962 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'12963 export_dynamic_flag_spec_CXX='$wl--export-dynamic'12964 12965 # If archive_cmds runs LD, not CC, wlarc should be empty12966 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to12967 # investigate it a little bit more. (MM)12968 wlarc='$wl'12969 12970 # ancient GNU ld didn't support --whole-archive et. al.12971 if eval "`$CC -print-prog-name=ld` --help 2>&1" |12972 $GREP 'no-whole-archive' > /dev/null; then12973 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'12974 else12975 whole_archive_flag_spec_CXX=12976 fi12977 else12978 with_gnu_ld=no12979 wlarc=12980 12981 # A generic and very simple default shared library creation12982 # command for GNU C++ for the case where it uses the native12983 # linker, instead of GNU ld. If possible, this setting should12984 # overridden to take advantage of the native linker features on12985 # the platform it is being used on.12986 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'12987 fi12988 12989 # Commands to make compiler produce verbose output that lists12990 # what "hidden" libraries, object files and flags are used when12991 # linking a shared library.12992 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'12993 12994 else12995 GXX=no12996 with_gnu_ld=no12997 wlarc=12998 fi12999 13000 # PORTME: fill in a description of your system's C++ link characteristics13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&513002 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }13003 ld_shlibs_CXX=yes13004 case $host_os in13005 aix3*)13006 # FIXME: insert proper C++ library support13007 ld_shlibs_CXX=no13008 ;;13009 aix[4-9]*)13010 if test ia64 = "$host_cpu"; then13011 # On IA64, the linker does run time linking by default, so we don't13012 # have to do anything special.13013 aix_use_runtimelinking=no13014 exp_sym_flag='-Bexport'13015 no_entry_flag=13016 else13017 aix_use_runtimelinking=no13018 13019 # Test if we are trying to use run time linking or normal13020 # AIX style linking. If -brtl is somewhere in LDFLAGS, we13021 # have runtime linking enabled, and use it for executables.13022 # For shared libraries, we enable/disable runtime linking13023 # depending on the kind of the shared library created -13024 # when "with_aix_soname,aix_use_runtimelinking" is:13025 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables13026 # "aix,yes" lib.so shared, rtl:yes, for executables13027 # lib.a static archive13028 # "both,no" lib.so.V(shr.o) shared, rtl:yes13029 # lib.a(lib.so.V) shared, rtl:no, for executables13030 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables13031 # lib.a(lib.so.V) shared, rtl:no13032 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables13033 # lib.a static archive13034 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)13035 for ld_flag in $LDFLAGS; do13036 case $ld_flag in13037 *-brtl*)13038 aix_use_runtimelinking=yes13039 break13040 ;;13041 esac13042 done13043 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then13044 # With aix-soname=svr4, we create the lib.so.V shared archives only,13045 # so we don't have lib.a shared libs to link our executables.13046 # We have to force runtime linking in this case.13047 aix_use_runtimelinking=yes13048 LDFLAGS="$LDFLAGS -Wl,-brtl"13049 fi13050 ;;13051 esac13052 13053 exp_sym_flag='-bexport'13054 no_entry_flag='-bnoentry'13055 fi13056 13057 # When large executables or shared objects are built, AIX ld can13058 # have problems creating the table of contents. If linking a library13059 # or program results in "error TOC overflow" add -mminimal-toc to13060 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not13061 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.13062 13063 archive_cmds_CXX=''13064 hardcode_direct_CXX=yes13065 hardcode_direct_absolute_CXX=yes13066 hardcode_libdir_separator_CXX=':'13067 link_all_deplibs_CXX=yes13068 file_list_spec_CXX='$wl-f,'13069 case $with_aix_soname,$aix_use_runtimelinking in13070 aix,*) ;; # no import file13071 svr4,* | *,yes) # use import file13072 # The Import File defines what to hardcode.13073 hardcode_direct_CXX=no13074 hardcode_direct_absolute_CXX=no13075 ;;13076 esac13077 13078 if test yes = "$GXX"; then13079 case $host_os in aix4.[012]|aix4.[012].*)13080 # We only want to do this on AIX 4.2 and lower, the check13081 # below for broken collect2 doesn't work under 4.3+13082 collect2name=`$CC -print-prog-name=collect2`13083 if test -f "$collect2name" &&13084 strings "$collect2name" | $GREP resolve_lib_name >/dev/null13085 then13086 # We have reworked collect213087 :13088 else13089 # We have old collect213090 hardcode_direct_CXX=unsupported13091 # It fails to find uninstalled libraries when the uninstalled13092 # path is not listed in the libpath. Setting hardcode_minus_L13093 # to unsupported forces relinking13094 hardcode_minus_L_CXX=yes13095 hardcode_libdir_flag_spec_CXX='-L$libdir'13096 hardcode_libdir_separator_CXX=13097 fi13098 esac13099 shared_flag='-shared'13100 if test yes = "$aix_use_runtimelinking"; then13101 shared_flag=$shared_flag' $wl-G'13102 fi13103 # Need to ensure runtime linking is disabled for the traditional13104 # shared library, or the linker may eventually find shared libraries13105 # /with/ Import File - we do not want to mix them.13106 shared_flag_aix='-shared'13107 shared_flag_svr4='-shared $wl-G'13108 else13109 # not using gcc13110 if test ia64 = "$host_cpu"; then13111 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release13112 # chokes on -Wl,-G. The following line is correct:13113 shared_flag='-G'13114 else13115 if test yes = "$aix_use_runtimelinking"; then13116 shared_flag='$wl-G'13117 else13118 shared_flag='$wl-bM:SRE'13119 fi13120 shared_flag_aix='$wl-bM:SRE'13121 shared_flag_svr4='$wl-G'13122 fi13123 fi13124 13125 export_dynamic_flag_spec_CXX='$wl-bexpall'13126 # It seems that -bexpall does not export symbols beginning with13127 # underscore (_), so it is better to generate a list of symbols to13128 # export.13129 always_export_symbols_CXX=yes13130 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then13131 # Warning - without using the other runtime loading flags (-brtl),13132 # -berok will link without error, but may produce a broken library.13133 # The "-G" linker flag allows undefined symbols.13134 no_undefined_flag_CXX='-bernotok'13135 # Determine the default libpath from the value encoded in an empty13136 # executable.13137 if test set = "${lt_cv_aix_libpath+set}"; then13138 aix_libpath=$lt_cv_aix_libpath13139 else13140 if ${lt_cv_aix_libpath__CXX+:} false; then :13141 $as_echo_n "(cached) " >&613142 else13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext13144 /* end confdefs.h. */13145 13146 int13147 main ()13148 {13149 13150 ;13151 return 0;13152 }13153 _ACEOF13154 if ac_fn_cxx_try_link "$LINENO"; then :13155 13156 lt_aix_libpath_sed='13157 /Import File Strings/,/^$/ {13158 /^0/ {13159 s/^0 *\([^ ]*\) *$/\1/13160 p13161 }13162 }'13163 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13164 # Check for a 64-bit object if we didn't find anything.13165 if test -z "$lt_cv_aix_libpath__CXX"; then13166 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13167 fi13168 fi13169 rm -f core conftest.err conftest.$ac_objext \13170 conftest$ac_exeext conftest.$ac_ext13171 if test -z "$lt_cv_aix_libpath__CXX"; then13172 lt_cv_aix_libpath__CXX=/usr/lib:/lib13173 fi13174 13175 fi13176 13177 aix_libpath=$lt_cv_aix_libpath__CXX13178 fi13179 13180 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"13181 13182 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag13183 else13184 if test ia64 = "$host_cpu"; then13185 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'13186 allow_undefined_flag_CXX="-z nodefs"13187 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"13188 else13189 # Determine the default libpath from the value encoded in an13190 # empty executable.13191 if test set = "${lt_cv_aix_libpath+set}"; then13192 aix_libpath=$lt_cv_aix_libpath13193 else13194 if ${lt_cv_aix_libpath__CXX+:} false; then :13195 $as_echo_n "(cached) " >&613196 else13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext13198 /* end confdefs.h. */13199 13200 int13201 main ()13202 {13203 13204 ;13205 return 0;13206 }13207 _ACEOF13208 if ac_fn_cxx_try_link "$LINENO"; then :13209 13210 lt_aix_libpath_sed='13211 /Import File Strings/,/^$/ {13212 /^0/ {13213 s/^0 *\([^ ]*\) *$/\1/13214 p13215 }13216 }'13217 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13218 # Check for a 64-bit object if we didn't find anything.13219 if test -z "$lt_cv_aix_libpath__CXX"; then13220 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13221 fi13222 fi13223 rm -f core conftest.err conftest.$ac_objext \13224 conftest$ac_exeext conftest.$ac_ext13225 if test -z "$lt_cv_aix_libpath__CXX"; then13226 lt_cv_aix_libpath__CXX=/usr/lib:/lib13227 fi13228 13229 fi13230 13231 aix_libpath=$lt_cv_aix_libpath__CXX13232 fi13233 13234 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"13235 # Warning - without using the other run time loading flags,13236 # -berok will link without error, but may produce a broken library.13237 no_undefined_flag_CXX=' $wl-bernotok'13238 allow_undefined_flag_CXX=' $wl-berok'13239 if test yes = "$with_gnu_ld"; then13240 # We only use this code for GNU lds that support --whole-archive.13241 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'13242 else13243 # Exported symbols can be pulled into shared objects from archives13244 whole_archive_flag_spec_CXX='$convenience'13245 fi13246 archive_cmds_need_lc_CXX=yes13247 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'13248 # -brtl affects multiple linker settings, -berok does not and is overridden later13249 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'13250 if test svr4 != "$with_aix_soname"; then13251 # This is similar to how AIX traditionally builds its shared13252 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.13253 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'13254 fi13255 if test aix != "$with_aix_soname"; then13256 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'13257 else13258 # used by -dlpreopen to get the symbols13259 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'13260 fi13261 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'13262 fi13263 fi13264 ;;13265 13266 beos*)13267 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then13268 allow_undefined_flag_CXX=unsupported13269 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc13270 # support --undefined. This deserves some investigation. FIXME13271 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13272 else13273 ld_shlibs_CXX=no13274 fi13275 ;;13276 13277 chorus*)13278 case $cc_basename in13279 *)13280 # FIXME: insert proper C++ library support13281 ld_shlibs_CXX=no13282 ;;13283 esac13284 ;;13285 13286 cygwin* | mingw* | pw32* | cegcc*)13287 case $GXX,$cc_basename in13288 ,cl* | no,cl*)13289 # Native MSVC13290 # hardcode_libdir_flag_spec is actually meaningless, as there is13291 # no search path for DLLs.13292 hardcode_libdir_flag_spec_CXX=' '13293 allow_undefined_flag_CXX=unsupported13294 always_export_symbols_CXX=yes13295 file_list_spec_CXX='@'13296 # Tell ltmain to make .lib files, not .a files.13297 libext=lib13298 # Tell ltmain to make .dll files, not .so files.13299 shrext_cmds=.dll13300 # FIXME: Setting linknames here is a bad hack.13301 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='13302 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then13303 cp "$export_symbols" "$output_objdir/$soname.def";13304 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";13305 else13306 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;13307 fi~13308 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~13309 linknames='13310 # The linker will not automatically build a static lib if we build a DLL.13311 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'13312 enable_shared_with_static_runtimes_CXX=yes13313 # Don't use ranlib13314 old_postinstall_cmds_CXX='chmod 644 $oldlib'13315 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~13316 lt_tool_outputfile="@TOOL_OUTPUT@"~13317 case $lt_outputfile in13318 *.exe|*.EXE) ;;13319 *)13320 lt_outputfile=$lt_outputfile.exe13321 lt_tool_outputfile=$lt_tool_outputfile.exe13322 ;;13323 esac~13324 func_to_tool_file "$lt_outputfile"~13325 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then13326 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;13327 $RM "$lt_outputfile.manifest";13328 fi'13329 ;;13330 *)13331 # g++13332 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,13333 # as there is no search path for DLLs.13334 hardcode_libdir_flag_spec_CXX='-L$libdir'13335 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'13336 allow_undefined_flag_CXX=unsupported13337 always_export_symbols_CXX=no13338 enable_shared_with_static_runtimes_CXX=yes13339 13340 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then13341 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'13342 # If the export-symbols file already is a .def file, use it as13343 # is; otherwise, prepend EXPORTS...13344 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then13345 cp $export_symbols $output_objdir/$soname.def;13346 else13347 echo EXPORTS > $output_objdir/$soname.def;13348 cat $export_symbols >> $output_objdir/$soname.def;13349 fi~13350 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'13351 else13352 ld_shlibs_CXX=no13353 fi13354 ;;13355 esac13356 ;;13357 darwin* | rhapsody*)13358 13359 13360 archive_cmds_need_lc_CXX=no13361 hardcode_direct_CXX=no13362 hardcode_automatic_CXX=yes13363 hardcode_shlibpath_var_CXX=unsupported13364 if test yes = "$lt_cv_ld_force_load"; then13365 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'13366 13367 else13368 whole_archive_flag_spec_CXX=''13369 fi13370 link_all_deplibs_CXX=yes13371 allow_undefined_flag_CXX=$_lt_dar_allow_undefined13372 case $cc_basename in13373 ifort*|nagfor*) _lt_dar_can_shared=yes ;;13374 *) _lt_dar_can_shared=$GCC ;;13375 esac13376 if test yes = "$_lt_dar_can_shared"; then13377 output_verbose_link_cmd=func_echo_all13378 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"13379 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"13380 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"13381 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"13382 if test yes != "$lt_cv_apple_cc_single_mod"; then13383 archive_cmds_CXX="\$CC -r -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$_lt_dsymutil"13384 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -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$_lt_dar_export_syms$_lt_dsymutil"13385 fi13386 13387 else13388 ld_shlibs_CXX=no13389 fi13390 13391 ;;13392 13393 os2*)13394 hardcode_libdir_flag_spec_CXX='-L$libdir'13395 hardcode_minus_L_CXX=yes13396 allow_undefined_flag_CXX=unsupported13397 shrext_cmds=.dll13398 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~13399 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~13400 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~13401 $ECHO EXPORTS >> $output_objdir/$libname.def~13402 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~13403 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~13404 emximp -o $lib $output_objdir/$libname.def'13405 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~13406 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~13407 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~13408 $ECHO EXPORTS >> $output_objdir/$libname.def~13409 prefix_cmds="$SED"~13410 if test EXPORTS = "`$SED 1q $export_symbols`"; then13411 prefix_cmds="$prefix_cmds -e 1d";13412 fi~13413 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~13414 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~13415 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~13416 emximp -o $lib $output_objdir/$libname.def'13417 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'13418 enable_shared_with_static_runtimes_CXX=yes13419 ;;13420 13421 dgux*)13422 case $cc_basename in13423 ec++*)13424 # FIXME: insert proper C++ library support13425 ld_shlibs_CXX=no13426 ;;13427 ghcx*)13428 # Green Hills C++ Compiler13429 # FIXME: insert proper C++ library support13430 ld_shlibs_CXX=no13431 ;;13432 *)13433 # FIXME: insert proper C++ library support13434 ld_shlibs_CXX=no13435 ;;13436 esac13437 ;;13438 13439 freebsd2.*)13440 # C++ shared libraries reported to be fairly broken before13441 # switch to ELF13442 ld_shlibs_CXX=no13443 ;;13444 13445 freebsd-elf*)13446 archive_cmds_need_lc_CXX=no13447 ;;13448 13449 freebsd* | dragonfly*)13450 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF13451 # conventions13452 ld_shlibs_CXX=yes13453 ;;13454 13455 haiku*)13456 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13457 link_all_deplibs_CXX=yes13458 ;;13459 13460 hpux9*)13461 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'13462 hardcode_libdir_separator_CXX=:13463 export_dynamic_flag_spec_CXX='$wl-E'13464 hardcode_direct_CXX=yes13465 hardcode_minus_L_CXX=yes # Not in the search PATH,13466 # but as the default13467 # location of the library.13468 13469 case $cc_basename in13470 CC*)13471 # FIXME: insert proper C++ library support13472 ld_shlibs_CXX=no13473 ;;13474 aCC*)13475 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'13476 # Commands to make compiler produce verbose output that lists13477 # what "hidden" libraries, object files and flags are used when13478 # linking a shared library.13479 #13480 # There doesn't appear to be a way to prevent this compiler from13481 # explicitly linking system object files so we need to strip them13482 # from the output so that they don't get included in the library13483 # dependencies.13484 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; func_echo_all "$list"'13485 ;;13486 *)13487 if test yes = "$GXX"; then13488 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'13489 else13490 # FIXME: insert proper C++ library support13491 ld_shlibs_CXX=no13492 fi13493 ;;13494 esac13495 ;;13496 13497 hpux10*|hpux11*)13498 if test no = "$with_gnu_ld"; then13499 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'13500 hardcode_libdir_separator_CXX=:13501 13502 case $host_cpu in13503 hppa*64*|ia64*)13504 ;;13505 *)13506 export_dynamic_flag_spec_CXX='$wl-E'13507 ;;13508 esac13509 fi13510 case $host_cpu in13511 hppa*64*|ia64*)13512 hardcode_direct_CXX=no13513 hardcode_shlibpath_var_CXX=no13514 ;;13515 *)13516 hardcode_direct_CXX=yes13517 hardcode_direct_absolute_CXX=yes13518 hardcode_minus_L_CXX=yes # Not in the search PATH,13519 # but as the default13520 # location of the library.13521 ;;13522 esac13523 13524 case $cc_basename in13525 CC*)13526 # FIXME: insert proper C++ library support13527 ld_shlibs_CXX=no13528 ;;13529 aCC*)13530 case $host_cpu in13531 hppa*64*)13532 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13533 ;;13534 ia64*)13535 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13536 ;;13537 *)13538 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13539 ;;13540 esac13541 # Commands to make compiler produce verbose output that lists13542 # what "hidden" libraries, object files and flags are used when13543 # linking a shared library.13544 #13545 # There doesn't appear to be a way to prevent this compiler from13546 # explicitly linking system object files so we need to strip them13547 # from the output so that they don't get included in the library13548 # dependencies.13549 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; func_echo_all "$list"'13550 ;;13551 *)13552 if test yes = "$GXX"; then13553 if test no = "$with_gnu_ld"; then13554 case $host_cpu in13555 hppa*64*)13556 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13557 ;;13558 ia64*)13559 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13560 ;;13561 *)13562 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13563 ;;13564 esac13565 fi13566 else13567 # FIXME: insert proper C++ library support13568 ld_shlibs_CXX=no13569 fi13570 ;;13571 esac13572 ;;13573 13574 interix[3-9]*)13575 hardcode_direct_CXX=no13576 hardcode_shlibpath_var_CXX=no13577 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13578 export_dynamic_flag_spec_CXX='$wl-E'13579 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.13580 # Instead, shared libraries are loaded at an image base (0x10000000 by13581 # default) and relocated if they conflict, which is a slow very memory13582 # consuming and fragmenting process. To avoid this, we pick a random,13583 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link13584 # time. Moving up from 0x10000000 also allows more sbrk(2) space.13585 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'13586 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'13587 ;;13588 irix5* | irix6*)13589 case $cc_basename in13590 CC*)13591 # SGI C++13592 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'13593 13594 # Archives containing C++ object files must be created using13595 # "CC -ar", where "CC" is the IRIX C++ compiler. This is13596 # necessary to make sure instantiated templates are included13597 # in the archive.13598 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'13599 ;;13600 *)13601 if test yes = "$GXX"; then13602 if test no = "$with_gnu_ld"; then13603 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'13604 else13605 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'13606 fi13607 fi13608 link_all_deplibs_CXX=yes13609 ;;13610 esac13611 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13612 hardcode_libdir_separator_CXX=:13613 inherit_rpath_CXX=yes13614 ;;13615 13616 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)13617 case $cc_basename in13618 KCC*)13619 # Kuck and Associates, Inc. (KAI) C++ Compiler13620 13621 # KCC will only create a shared library if the output file13622 # ends with ".so" (or ".sl" for HP-UX), so rename the library13623 # to its proper name (with version) after linking.13624 archive_cmds_CXX='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'13625 archive_expsym_cmds_CXX='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'13626 # Commands to make compiler produce verbose output that lists13627 # what "hidden" libraries, object files and flags are used when13628 # linking a shared library.13629 #13630 # There doesn't appear to be a way to prevent this compiler from13631 # explicitly linking system object files so we need to strip them13632 # from the output so that they don't get included in the library13633 # dependencies.13634 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'13635 13636 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13637 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13638 13639 # Archives containing C++ object files must be created using13640 # "CC -Bstatic", where "CC" is the KAI C++ compiler.13641 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'13642 ;;13643 icpc* | ecpc* )13644 # Intel C++13645 with_gnu_ld=yes13646 # version 8.0 and above of icpc choke on multiply defined symbols13647 # if we add $predep_objects and $postdep_objects, however 7.1 and13648 # earlier do not add the objects themselves.13649 case `$CC -V 2>&1` in13650 *"Version 7."*)13651 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13652 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'13653 ;;13654 *) # Version 8.0 or newer13655 tmp_idyn=13656 case $host_cpu in13657 ia64*) tmp_idyn=' -i_dynamic';;13658 esac13659 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13660 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'13661 ;;13662 esac13663 archive_cmds_need_lc_CXX=no13664 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13665 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13666 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'13667 ;;13668 pgCC* | pgcpp*)13669 # Portland Group C++ compiler13670 case `$CC -V` in13671 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)13672 prelink_cmds_CXX='tpldir=Template.dir~13673 rm -rf $tpldir~13674 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~13675 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'13676 old_archive_cmds_CXX='tpldir=Template.dir~13677 rm -rf $tpldir~13678 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~13679 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~13680 $RANLIB $oldlib'13681 archive_cmds_CXX='tpldir=Template.dir~13682 rm -rf $tpldir~13683 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~13684 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13685 archive_expsym_cmds_CXX='tpldir=Template.dir~13686 rm -rf $tpldir~13687 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~13688 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'13689 ;;13690 *) # Version 6 and above use weak symbols13691 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13692 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'13693 ;;13694 esac13695 13696 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'13697 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13698 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'13699 ;;13700 cxx*)13701 # Compaq C++13702 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13703 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'13704 13705 runpath_var=LD_RUN_PATH13706 hardcode_libdir_flag_spec_CXX='-rpath $libdir'13707 hardcode_libdir_separator_CXX=:13708 13709 # Commands to make compiler produce verbose output that lists13710 # what "hidden" libraries, object files and flags are used when13711 # linking a shared library.13712 #13713 # There doesn't appear to be a way to prevent this compiler from13714 # explicitly linking system object files so we need to strip them13715 # from the output so that they don't get included in the library13716 # dependencies.13717 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'13718 ;;13719 xl* | mpixl* | bgxl*)13720 # IBM XL 8.0 on PPC, with GNU ld13721 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13722 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13723 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13724 if test yes = "$supports_anon_versioning"; then13725 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~13726 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~13727 echo "local: *; };" >> $output_objdir/$libname.ver~13728 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'13729 fi13730 ;;13731 *)13732 case `$CC -V 2>&1 | sed 5q` in13733 *Sun\ C*)13734 # Sun C++ 5.913735 no_undefined_flag_CXX=' -zdefs'13736 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13737 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'13738 hardcode_libdir_flag_spec_CXX='-R$libdir'13739 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'13740 compiler_needs_object_CXX=yes13741 13742 # Not sure whether something based on13743 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&113744 # would be better.13745 output_verbose_link_cmd='func_echo_all'13746 13747 # Archives containing C++ object files must be created using13748 # "CC -xar", where "CC" is the Sun C++ compiler. This is13749 # necessary to make sure instantiated templates are included13750 # in the archive.13751 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'13752 ;;13753 esac13754 ;;13755 esac13756 ;;13757 13758 lynxos*)13759 # FIXME: insert proper C++ library support13760 ld_shlibs_CXX=no13761 ;;13762 13763 m88k*)13764 # FIXME: insert proper C++ library support13765 ld_shlibs_CXX=no13766 ;;13767 13768 mvs*)13769 case $cc_basename in13770 cxx*)13771 # FIXME: insert proper C++ library support13772 ld_shlibs_CXX=no13773 ;;13774 *)13775 # FIXME: insert proper C++ library support13776 ld_shlibs_CXX=no13777 ;;13778 esac13779 ;;13780 13781 netbsd*)13782 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then13783 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'13784 wlarc=13785 hardcode_libdir_flag_spec_CXX='-R$libdir'13786 hardcode_direct_CXX=yes13787 hardcode_shlibpath_var_CXX=no13788 fi13789 # Workaround some broken pre-1.5 toolchains13790 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'13791 ;;13792 13793 *nto* | *qnx*)13794 ld_shlibs_CXX=yes13795 ;;13796 13797 openbsd* | bitrig*)13798 if test -f /usr/libexec/ld.so; then13799 hardcode_direct_CXX=yes13800 hardcode_shlibpath_var_CXX=no13801 hardcode_direct_absolute_CXX=yes13802 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'13803 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13804 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then13805 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'13806 export_dynamic_flag_spec_CXX='$wl-E'13807 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'13808 fi13809 output_verbose_link_cmd=func_echo_all13810 else13811 ld_shlibs_CXX=no13812 fi13813 ;;13814 13815 osf3* | osf4* | osf5*)13816 case $cc_basename in13817 KCC*)13818 # Kuck and Associates, Inc. (KAI) C++ Compiler13819 13820 # KCC will only create a shared library if the output file13821 # ends with ".so" (or ".sl" for HP-UX), so rename the library13822 # to its proper name (with version) after linking.13823 archive_cmds_CXX='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'13824 13825 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13826 hardcode_libdir_separator_CXX=:13827 13828 # Archives containing C++ object files must be created using13829 # the KAI C++ compiler.13830 case $host in13831 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;13832 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;13833 esac13834 ;;13835 RCC*)13836 # Rational C++ 2.4.113837 # FIXME: insert proper C++ library support13838 ld_shlibs_CXX=no13839 ;;13840 cxx*)13841 case $host in13842 osf3*)13843 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'13844 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'13845 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13846 ;;13847 *)13848 allow_undefined_flag_CXX=' -expect_unresolved \*'13849 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'13850 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~13851 echo "-hidden">> $lib.exp~13852 $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 $output_objdir/so_locations -o $lib~13853 $RM $lib.exp'13854 hardcode_libdir_flag_spec_CXX='-rpath $libdir'13855 ;;13856 esac13857 13858 hardcode_libdir_separator_CXX=:13859 13860 # Commands to make compiler produce verbose output that lists13861 # what "hidden" libraries, object files and flags are used when13862 # linking a shared library.13863 #13864 # There doesn't appear to be a way to prevent this compiler from13865 # explicitly linking system object files so we need to strip them13866 # from the output so that they don't get included in the library13867 # dependencies.13868 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'13869 ;;13870 *)13871 if test yes,no = "$GXX,$with_gnu_ld"; then13872 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'13873 case $host in13874 osf3*)13875 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'13876 ;;13877 *)13878 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'13879 ;;13880 esac13881 13882 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13883 hardcode_libdir_separator_CXX=:13884 13885 # Commands to make compiler produce verbose output that lists13886 # what "hidden" libraries, object files and flags are used when13887 # linking a shared library.13888 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'13889 13890 else13891 # FIXME: insert proper C++ library support13892 ld_shlibs_CXX=no13893 fi13894 ;;13895 esac13896 ;;13897 13898 psos*)13899 # FIXME: insert proper C++ library support13900 ld_shlibs_CXX=no13901 ;;13902 13903 sunos4*)13904 case $cc_basename in13905 CC*)13906 # Sun C++ 4.x13907 # FIXME: insert proper C++ library support13908 ld_shlibs_CXX=no13909 ;;13910 lcc*)13911 # Lucid13912 # FIXME: insert proper C++ library support13913 ld_shlibs_CXX=no13914 ;;13915 *)13916 # FIXME: insert proper C++ library support13917 ld_shlibs_CXX=no13918 ;;13919 esac13920 ;;13921 13922 solaris*)13923 case $cc_basename in13924 CC* | sunCC*)13925 # Sun C++ 4.2, 5.x and Centerline C++13926 archive_cmds_need_lc_CXX=yes13927 no_undefined_flag_CXX=' -zdefs'13928 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13929 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~13930 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'13931 13932 hardcode_libdir_flag_spec_CXX='-R$libdir'13933 hardcode_shlibpath_var_CXX=no13934 case $host_os in13935 solaris2.[0-5] | solaris2.[0-5].*) ;;13936 *)13937 # The compiler driver will combine and reorder linker options,13938 # but understands '-z linker_flag'.13939 # Supported since Solaris 2.6 (maybe 2.5.1?)13940 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'13941 ;;13942 esac13943 link_all_deplibs_CXX=yes13944 13945 output_verbose_link_cmd='func_echo_all'13946 13947 # Archives containing C++ object files must be created using13948 # "CC -xar", where "CC" is the Sun C++ compiler. This is13949 # necessary to make sure instantiated templates are included13950 # in the archive.13951 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'13952 ;;13953 gcx*)13954 # Green Hills C++ Compiler13955 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'13956 13957 # The C++ compiler must be used to create the archive.13958 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'13959 ;;13960 *)13961 # GNU C++ compiler with Solaris linker13962 if test yes,no = "$GXX,$with_gnu_ld"; then13963 no_undefined_flag_CXX=' $wl-z ${wl}defs'13964 if $CC --version | $GREP -v '^2\.7' > /dev/null; then13965 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'13966 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~13967 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'13968 13969 # Commands to make compiler produce verbose output that lists13970 # what "hidden" libraries, object files and flags are used when13971 # linking a shared library.13972 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'13973 else13974 # g++ 2.7 appears to require '-G' NOT '-shared' on this13975 # platform.13976 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'13977 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~13978 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'13979 13980 # Commands to make compiler produce verbose output that lists13981 # what "hidden" libraries, object files and flags are used when13982 # linking a shared library.13983 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'13984 fi13985 13986 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'13987 case $host_os in13988 solaris2.[0-5] | solaris2.[0-5].*) ;;13989 *)13990 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'13991 ;;13992 esac13993 fi13994 ;;13995 esac13996 ;;13997 13998 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)13999 no_undefined_flag_CXX='$wl-z,text'14000 archive_cmds_need_lc_CXX=no14001 hardcode_shlibpath_var_CXX=no14002 runpath_var='LD_RUN_PATH'14003 14004 case $cc_basename in14005 CC*)14006 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14007 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14008 ;;14009 *)14010 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14011 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14012 ;;14013 esac14014 ;;14015 14016 sysv5* | sco3.2v5* | sco5v6*)14017 # Note: We CANNOT use -z defs as we might desire, because we do not14018 # link with -lc, and that would cause any symbols used from libc to14019 # always be unresolved, which means just about no library would14020 # ever link correctly. If we're not using GNU ld we use -z text14021 # though, which does catch some bad symbols but isn't as heavy-handed14022 # as -z defs.14023 no_undefined_flag_CXX='$wl-z,text'14024 allow_undefined_flag_CXX='$wl-z,nodefs'14025 archive_cmds_need_lc_CXX=no14026 hardcode_shlibpath_var_CXX=no14027 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'14028 hardcode_libdir_separator_CXX=':'14029 link_all_deplibs_CXX=yes14030 export_dynamic_flag_spec_CXX='$wl-Bexport'14031 runpath_var='LD_RUN_PATH'14032 14033 case $cc_basename in14034 CC*)14035 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14036 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14037 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~14038 '"$old_archive_cmds_CXX"14039 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~14040 '"$reload_cmds_CXX"14041 ;;14042 *)14043 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14044 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14045 ;;14046 esac14047 ;;14048 14049 tandem*)14050 case $cc_basename in14051 NCC*)14052 # NonStop-UX NCC 3.2014053 # FIXME: insert proper C++ library support14054 ld_shlibs_CXX=no14055 ;;14056 *)14057 # FIXME: insert proper C++ library support14058 ld_shlibs_CXX=no14059 ;;14060 esac14061 ;;14062 14063 vxworks*)14064 # FIXME: insert proper C++ library support14065 ld_shlibs_CXX=no14066 ;;14067 14068 *)14069 # FIXME: insert proper C++ library support14070 ld_shlibs_CXX=no14071 ;;14072 esac14073 14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&514075 $as_echo "$ld_shlibs_CXX" >&6; }14076 test no = "$ld_shlibs_CXX" && can_build_shared=no14077 14078 GCC_CXX=$GXX14079 LD_CXX=$LD14080 14081 ## CAVEAT EMPTOR:14082 ## There is no encapsulation within the following macros, do not change14083 ## the running order or otherwise move them around unless you know exactly14084 ## what you are doing...14085 # Dependencies to place before and after the object being linked:14086 predep_objects_CXX=14087 postdep_objects_CXX=14088 predeps_CXX=14089 postdeps_CXX=14090 compiler_lib_search_path_CXX=14091 14092 cat > conftest.$ac_ext <<_LT_EOF14093 class Foo14094 {14095 public:14096 Foo (void) { a = 0; }14097 private:14098 int a;14099 };14100 _LT_EOF14101 14102 14103 _lt_libdeps_save_CFLAGS=$CFLAGS14104 case "$CC $CFLAGS " in #(14105 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;14106 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;14107 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;14108 esac14109 14110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&514111 (eval $ac_compile) 2>&514112 ac_status=$?14113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&514114 test $ac_status = 0; }; then14115 # Parse the compiler output and extract the necessary14116 # objects, libraries and library flags.14117 14118 # Sentinel used to keep track of whether or not we are before14119 # the conftest object file.14120 pre_test_object_deps_done=no14121 14122 for p in `eval "$output_verbose_link_cmd"`; do14123 case $prev$p in14124 14125 -L* | -R* | -l*)14126 # Some compilers place space between "-{L,R}" and the path.14127 # Remove the space.14128 if test x-L = "$p" ||14129 test x-R = "$p"; then14130 prev=$p14131 continue14132 fi14133 14134 # Expand the sysroot to ease extracting the directories later.14135 if test -z "$prev"; then14136 case $p in14137 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;14138 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;14139 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;14140 esac14141 fi14142 case $p in14143 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;14144 esac14145 if test no = "$pre_test_object_deps_done"; then14146 case $prev in14147 -L | -R)14148 # Internal compiler library paths should come after those14149 # provided the user. The postdeps already come after the14150 # user supplied libs so there is no need to process them.14151 if test -z "$compiler_lib_search_path_CXX"; then14152 compiler_lib_search_path_CXX=$prev$p14153 else14154 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"14155 fi14156 ;;14157 # The "-l" case would never come before the object being14158 # linked, so don't bother handling this case.14159 esac14160 else14161 if test -z "$postdeps_CXX"; then14162 postdeps_CXX=$prev$p14163 else14164 postdeps_CXX="${postdeps_CXX} $prev$p"14165 fi14166 fi14167 prev=14168 ;;14169 14170 *.lto.$objext) ;; # Ignore GCC LTO objects14171 *.$objext)14172 # This assumes that the test object file only shows up14173 # once in the compiler output.14174 if test "$p" = "conftest.$objext"; then14175 pre_test_object_deps_done=yes14176 continue14177 fi14178 14179 if test no = "$pre_test_object_deps_done"; then14180 if test -z "$predep_objects_CXX"; then14181 predep_objects_CXX=$p14182 else14183 predep_objects_CXX="$predep_objects_CXX $p"14184 fi14185 else14186 if test -z "$postdep_objects_CXX"; then14187 postdep_objects_CXX=$p14188 else14189 postdep_objects_CXX="$postdep_objects_CXX $p"14190 fi14191 fi14192 ;;14193 14194 *) ;; # Ignore the rest.14195 14196 esac14197 done14198 14199 # Clean up.14200 rm -f a.out a.exe14201 else14202 echo "libtool.m4: error: problem compiling CXX test program"14203 fi14204 14205 $RM -f confest.$objext14206 CFLAGS=$_lt_libdeps_save_CFLAGS14207 14208 # PORTME: override above test on systems where it is broken14209 case $host_os in14210 interix[3-9]*)14211 # Interix 3.5 installs completely hosed .la files for C++, so rather than14212 # hack all around it, let's just trust "g++" to DTRT.14213 predep_objects_CXX=14214 postdep_objects_CXX=14215 postdeps_CXX=14216 ;;14217 esac14218 14219 14220 case " $postdeps_CXX " in14221 *" -lc "*) archive_cmds_need_lc_CXX=no ;;14222 esac14223 compiler_lib_search_dirs_CXX=14224 if test -n "${compiler_lib_search_path_CXX}"; then14225 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`14226 fi14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 lt_prog_compiler_wl_CXX=14259 lt_prog_compiler_pic_CXX=14260 lt_prog_compiler_static_CXX=14261 14262 14263 # C++ specific cases for pic, static, wl, etc.14264 if test yes = "$GXX"; then14265 lt_prog_compiler_wl_CXX='-Wl,'14266 lt_prog_compiler_static_CXX='-static'14267 14268 case $host_os in14269 aix*)14270 # All AIX code is PIC.14271 if test ia64 = "$host_cpu"; then14272 # AIX 5 now supports IA64 processor14273 lt_prog_compiler_static_CXX='-Bstatic'14274 fi14275 lt_prog_compiler_pic_CXX='-fPIC'14276 ;;14277 14278 amigaos*)14279 case $host_cpu in14280 powerpc)14281 # see comment about AmigaOS4 .so support14282 lt_prog_compiler_pic_CXX='-fPIC'14283 ;;14284 m68k)14285 # FIXME: we need at least 68020 code to build shared libraries, but14286 # adding the '-m68020' flag to GCC prevents building anything better,14287 # like '-m68040'.14288 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'14289 ;;14290 esac14291 ;;14292 14293 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)14294 # PIC is the default for these OSes.14295 ;;14296 mingw* | cygwin* | os2* | pw32* | cegcc*)14297 # This hack is so that the source file can tell whether it is being14298 # built for inclusion in a dll (and should export symbols for example).14299 # Although the cygwin gcc ignores -fPIC, still need this for old-style14300 # (--disable-auto-import) libraries14301 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'14302 case $host_os in14303 os2*)14304 lt_prog_compiler_static_CXX='$wl-static'14305 ;;14306 esac14307 ;;14308 darwin* | rhapsody*)14309 # PIC is the default on this platform14310 # Common symbols not allowed in MH_DYLIB files14311 lt_prog_compiler_pic_CXX='-fno-common'14312 ;;14313 *djgpp*)14314 # DJGPP does not support shared libraries at all14315 lt_prog_compiler_pic_CXX=14316 ;;14317 haiku*)14318 # PIC is the default for Haiku.14319 # The "-static" flag exists, but is broken.14320 lt_prog_compiler_static_CXX=14321 ;;14322 interix[3-9]*)14323 # Interix 3.x gcc -fpic/-fPIC options generate broken code.14324 # Instead, we relocate shared libraries at runtime.14325 ;;14326 sysv4*MP*)14327 if test -d /usr/nec; then14328 lt_prog_compiler_pic_CXX=-Kconform_pic14329 fi14330 ;;14331 hpux*)14332 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit14333 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag14334 # sets the default TLS model and affects inlining.14335 case $host_cpu in14336 hppa*64*)14337 ;;14338 *)14339 lt_prog_compiler_pic_CXX='-fPIC'14340 ;;14341 esac14342 ;;14343 *qnx* | *nto*)14344 # QNX uses GNU C++, but need to define -shared option too, otherwise14345 # it will coredump.14346 lt_prog_compiler_pic_CXX='-fPIC -shared'14347 ;;14348 *)14349 lt_prog_compiler_pic_CXX='-fPIC'14350 ;;14351 esac14352 else14353 case $host_os in14354 aix[4-9]*)14355 # All AIX code is PIC.14356 if test ia64 = "$host_cpu"; then14357 # AIX 5 now supports IA64 processor14358 lt_prog_compiler_static_CXX='-Bstatic'14359 else14360 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'14361 fi14362 ;;14363 chorus*)14364 case $cc_basename in14365 cxch68*)14366 # Green Hills C++ Compiler14367 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"14368 ;;14369 esac14370 ;;14371 mingw* | cygwin* | os2* | pw32* | cegcc*)14372 # This hack is so that the source file can tell whether it is being14373 # built for inclusion in a dll (and should export symbols for example).14374 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'14375 ;;14376 dgux*)14377 case $cc_basename in14378 ec++*)14379 lt_prog_compiler_pic_CXX='-KPIC'14380 ;;14381 ghcx*)14382 # Green Hills C++ Compiler14383 lt_prog_compiler_pic_CXX='-pic'14384 ;;14385 *)14386 ;;14387 esac14388 ;;14389 freebsd* | dragonfly*)14390 # FreeBSD uses GNU C++14391 ;;14392 hpux9* | hpux10* | hpux11*)14393 case $cc_basename in14394 CC*)14395 lt_prog_compiler_wl_CXX='-Wl,'14396 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'14397 if test ia64 != "$host_cpu"; then14398 lt_prog_compiler_pic_CXX='+Z'14399 fi14400 ;;14401 aCC*)14402 lt_prog_compiler_wl_CXX='-Wl,'14403 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'14404 case $host_cpu in14405 hppa*64*|ia64*)14406 # +Z the default14407 ;;14408 *)14409 lt_prog_compiler_pic_CXX='+Z'14410 ;;14411 esac14412 ;;14413 *)14414 ;;14415 esac14416 ;;14417 interix*)14418 # This is c89, which is MS Visual C++ (no shared libs)14419 # Anyone wants to do a port?14420 ;;14421 irix5* | irix6* | nonstopux*)14422 case $cc_basename in14423 CC*)14424 lt_prog_compiler_wl_CXX='-Wl,'14425 lt_prog_compiler_static_CXX='-non_shared'14426 # CC pic flag -KPIC is the default.14427 ;;14428 *)14429 ;;14430 esac14431 ;;14432 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)14433 case $cc_basename in14434 KCC*)14435 # KAI C++ Compiler14436 lt_prog_compiler_wl_CXX='--backend -Wl,'14437 lt_prog_compiler_pic_CXX='-fPIC'14438 ;;14439 ecpc* )14440 # old Intel C++ for x86_64, which still supported -KPIC.14441 lt_prog_compiler_wl_CXX='-Wl,'14442 lt_prog_compiler_pic_CXX='-KPIC'14443 lt_prog_compiler_static_CXX='-static'14444 ;;14445 icpc* )14446 # Intel C++, used to be incompatible with GCC.14447 # ICC 10 doesn't accept -KPIC any more.14448 lt_prog_compiler_wl_CXX='-Wl,'14449 lt_prog_compiler_pic_CXX='-fPIC'14450 lt_prog_compiler_static_CXX='-static'14451 ;;14452 pgCC* | pgcpp*)14453 # Portland Group C++ compiler14454 lt_prog_compiler_wl_CXX='-Wl,'14455 lt_prog_compiler_pic_CXX='-fpic'14456 lt_prog_compiler_static_CXX='-Bstatic'14457 ;;14458 cxx*)14459 # Compaq C++14460 # Make sure the PIC flag is empty. It appears that all Alpha14461 # Linux and Compaq Tru64 Unix objects are PIC.14462 lt_prog_compiler_pic_CXX=14463 lt_prog_compiler_static_CXX='-non_shared'14464 ;;14465 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)14466 # IBM XL 8.0, 9.0 on PPC and BlueGene14467 lt_prog_compiler_wl_CXX='-Wl,'14468 lt_prog_compiler_pic_CXX='-qpic'14469 lt_prog_compiler_static_CXX='-qstaticlink'14470 ;;14471 *)14472 case `$CC -V 2>&1 | sed 5q` in14473 *Sun\ C*)14474 # Sun C++ 5.914475 lt_prog_compiler_pic_CXX='-KPIC'14476 lt_prog_compiler_static_CXX='-Bstatic'14477 lt_prog_compiler_wl_CXX='-Qoption ld '14478 ;;14479 esac14480 ;;14481 esac14482 ;;14483 lynxos*)14484 ;;14485 m88k*)14486 ;;14487 mvs*)14488 case $cc_basename in14489 cxx*)14490 lt_prog_compiler_pic_CXX='-W c,exportall'14491 ;;14492 *)14493 ;;14494 esac14495 ;;14496 netbsd* | netbsdelf*-gnu)14497 ;;14498 *qnx* | *nto*)14499 # QNX uses GNU C++, but need to define -shared option too, otherwise14500 # it will coredump.14501 lt_prog_compiler_pic_CXX='-fPIC -shared'14502 ;;14503 osf3* | osf4* | osf5*)14504 case $cc_basename in14505 KCC*)14506 lt_prog_compiler_wl_CXX='--backend -Wl,'14507 ;;14508 RCC*)14509 # Rational C++ 2.4.114510 lt_prog_compiler_pic_CXX='-pic'14511 ;;14512 cxx*)14513 # Digital/Compaq C++14514 lt_prog_compiler_wl_CXX='-Wl,'14515 # Make sure the PIC flag is empty. It appears that all Alpha14516 # Linux and Compaq Tru64 Unix objects are PIC.14517 lt_prog_compiler_pic_CXX=14518 lt_prog_compiler_static_CXX='-non_shared'14519 ;;14520 *)14521 ;;14522 esac14523 ;;14524 psos*)14525 ;;14526 solaris*)14527 case $cc_basename in14528 CC* | sunCC*)14529 # Sun C++ 4.2, 5.x and Centerline C++14530 lt_prog_compiler_pic_CXX='-KPIC'14531 lt_prog_compiler_static_CXX='-Bstatic'14532 lt_prog_compiler_wl_CXX='-Qoption ld '14533 ;;14534 gcx*)14535 # Green Hills C++ Compiler14536 lt_prog_compiler_pic_CXX='-PIC'14537 ;;14538 *)14539 ;;14540 esac14541 ;;14542 sunos4*)14543 case $cc_basename in14544 CC*)14545 # Sun C++ 4.x14546 lt_prog_compiler_pic_CXX='-pic'14547 lt_prog_compiler_static_CXX='-Bstatic'14548 ;;14549 lcc*)14550 # Lucid14551 lt_prog_compiler_pic_CXX='-pic'14552 ;;14553 *)14554 ;;14555 esac14556 ;;14557 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)14558 case $cc_basename in14559 CC*)14560 lt_prog_compiler_wl_CXX='-Wl,'14561 lt_prog_compiler_pic_CXX='-KPIC'14562 lt_prog_compiler_static_CXX='-Bstatic'14563 ;;14564 esac14565 ;;14566 tandem*)14567 case $cc_basename in14568 NCC*)14569 # NonStop-UX NCC 3.2014570 lt_prog_compiler_pic_CXX='-KPIC'14571 ;;14572 *)14573 ;;14574 esac14575 ;;14576 vxworks*)14577 ;;14578 *)14579 lt_prog_compiler_can_build_shared_CXX=no14580 ;;14581 esac14582 fi14583 14584 case $host_os in14585 # For platforms that do not support PIC, -DPIC is meaningless:14586 *djgpp*)14587 lt_prog_compiler_pic_CXX=14588 ;;14589 *)14590 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"14591 ;;14592 esac14593 14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&514595 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }14596 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :14597 $as_echo_n "(cached) " >&614598 else14599 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX14600 fi14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&514602 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }14603 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX14604 14605 #14606 # Check to make sure the PIC flag actually works.14607 #14608 if test -n "$lt_prog_compiler_pic_CXX"; then14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&514610 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }14611 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :14612 $as_echo_n "(cached) " >&614613 else14614 lt_cv_prog_compiler_pic_works_CXX=no14615 ac_outfile=conftest.$ac_objext14616 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14617 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment14618 # Insert the option either (1) after the last *FLAGS variable, or14619 # (2) before a word containing "conftest.", or (3) at the end.14620 # Note that $ac_compile itself does not contain backslashes and begins14621 # with a dollar sign (not a hyphen), so the echo should work correctly.14622 # The option is referenced via a variable to avoid confusing sed.14623 lt_compile=`echo "$ac_compile" | $SED \14624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \14625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \14626 -e 's:$: $lt_compiler_flag:'`14627 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)14628 (eval "$lt_compile" 2>conftest.err)14629 ac_status=$?14630 cat conftest.err >&514631 echo "$as_me:$LINENO: \$? = $ac_status" >&514632 if (exit $ac_status) && test -s "$ac_outfile"; then14633 # The compiler can only warn and ignore the option if not recognized14634 # So say no if there are warnings other than the usual output.14635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp14636 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er214637 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then14638 lt_cv_prog_compiler_pic_works_CXX=yes14639 fi14640 fi14641 $RM conftest*14642 14643 fi14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&514645 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }14646 14647 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then14648 case $lt_prog_compiler_pic_CXX in14649 "" | " "*) ;;14650 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;14651 esac14652 else14653 lt_prog_compiler_pic_CXX=14654 lt_prog_compiler_can_build_shared_CXX=no14655 fi14656 14657 fi14658 14659 14660 14661 14662 14663 #14664 # Check to make sure the static flag actually works.14665 #14666 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&514668 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }14669 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :14670 $as_echo_n "(cached) " >&614671 else14672 lt_cv_prog_compiler_static_works_CXX=no14673 save_LDFLAGS=$LDFLAGS14674 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"14675 echo "$lt_simple_link_test_code" > conftest.$ac_ext14676 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then14677 # The linker can only warn and ignore the option if not recognized14678 # So say no if there are warnings14679 if test -s conftest.err; then14680 # Append any errors to the config.log.14681 cat conftest.err 1>&514682 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp14683 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er214684 if diff conftest.exp conftest.er2 >/dev/null; then14685 lt_cv_prog_compiler_static_works_CXX=yes14686 fi14687 else14688 lt_cv_prog_compiler_static_works_CXX=yes14689 fi14690 fi14691 $RM -r conftest*14692 LDFLAGS=$save_LDFLAGS14693 14694 fi14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&514696 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }14697 14698 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then14699 :14700 else14701 lt_prog_compiler_static_CXX=14702 fi14703 14704 14705 14706 14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&514708 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }14709 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :14710 $as_echo_n "(cached) " >&614711 else14712 lt_cv_prog_compiler_c_o_CXX=no14713 $RM -r conftest 2>/dev/null14714 mkdir conftest14715 cd conftest14716 mkdir out14717 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14718 14719 lt_compiler_flag="-o out/conftest2.$ac_objext"14720 # Insert the option either (1) after the last *FLAGS variable, or14721 # (2) before a word containing "conftest.", or (3) at the end.14722 # Note that $ac_compile itself does not contain backslashes and begins14723 # with a dollar sign (not a hyphen), so the echo should work correctly.14724 lt_compile=`echo "$ac_compile" | $SED \14725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \14726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \14727 -e 's:$: $lt_compiler_flag:'`14728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)14729 (eval "$lt_compile" 2>out/conftest.err)14730 ac_status=$?14731 cat out/conftest.err >&514732 echo "$as_me:$LINENO: \$? = $ac_status" >&514733 if (exit $ac_status) && test -s out/conftest2.$ac_objext14734 then14735 # The compiler can only warn and ignore the option if not recognized14736 # So say no if there are warnings14737 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp14738 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er214739 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then14740 lt_cv_prog_compiler_c_o_CXX=yes14741 fi14742 fi14743 chmod u+w . 2>&514744 $RM conftest*14745 # SGI C++ compiler will create directory out/ii_files/ for14746 # template instantiation14747 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files14748 $RM out/* && rmdir out14749 cd ..14750 $RM -r conftest14751 $RM conftest*14752 14753 fi14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&514755 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }14756 14757 14758 14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&514760 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }14761 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :14762 $as_echo_n "(cached) " >&614763 else14764 lt_cv_prog_compiler_c_o_CXX=no14765 $RM -r conftest 2>/dev/null14766 mkdir conftest14767 cd conftest14768 mkdir out14769 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14770 14771 lt_compiler_flag="-o out/conftest2.$ac_objext"14772 # Insert the option either (1) after the last *FLAGS variable, or14773 # (2) before a word containing "conftest.", or (3) at the end.14774 # Note that $ac_compile itself does not contain backslashes and begins14775 # with a dollar sign (not a hyphen), so the echo should work correctly.14776 lt_compile=`echo "$ac_compile" | $SED \14777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \14778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \14779 -e 's:$: $lt_compiler_flag:'`14780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)14781 (eval "$lt_compile" 2>out/conftest.err)14782 ac_status=$?14783 cat out/conftest.err >&514784 echo "$as_me:$LINENO: \$? = $ac_status" >&514785 if (exit $ac_status) && test -s out/conftest2.$ac_objext14786 then14787 # The compiler can only warn and ignore the option if not recognized14788 # So say no if there are warnings14789 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp14790 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er214791 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then14792 lt_cv_prog_compiler_c_o_CXX=yes14793 fi14794 fi14795 chmod u+w . 2>&514796 $RM conftest*14797 # SGI C++ compiler will create directory out/ii_files/ for14798 # template instantiation14799 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files14800 $RM out/* && rmdir out14801 cd ..14802 $RM -r conftest14803 $RM conftest*14804 14805 fi14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&514807 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }14808 14809 14810 14811 14812 hard_links=nottested14813 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then14814 # do not overwrite the value of need_locks provided by the user14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&514816 $as_echo_n "checking if we can lock with hard links... " >&6; }14817 hard_links=yes14818 $RM conftest*14819 ln conftest.a conftest.b 2>/dev/null && hard_links=no14820 touch conftest.a14821 ln conftest.a conftest.b 2>&5 || hard_links=no14822 ln conftest.a conftest.b 2>/dev/null && hard_links=no14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&514824 $as_echo "$hard_links" >&6; }14825 if test no = "$hard_links"; then14826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&514827 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}14828 need_locks=warn14829 fi14830 else14831 need_locks=no14832 fi14833 14834 14835 14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&514837 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }14838 14839 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'14840 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'14841 case $host_os in14842 aix[4-9]*)14843 # If we're using GNU nm, then we don't want the "-C" option.14844 # -C means demangle to GNU nm, but means don't demangle to AIX nm.14845 # Without the "-l" option, or with the "-B" option, AIX nm treats14846 # weak defined symbols like other global defined symbols, whereas14847 # GNU nm marks them as "W".14848 # While the 'weak' keyword is ignored in the Export File, we need14849 # it in the Import File for the 'aix-soname' feature, so we have14850 # to replace the "-B" option with "-P" for AIX nm.14851 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then14852 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'14853 else14854 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'14855 fi14856 ;;14857 pw32*)14858 export_symbols_cmds_CXX=$ltdll_cmds14859 ;;14860 cygwin* | mingw* | cegcc*)14861 case $cc_basename in14862 cl*)14863 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'14864 ;;14865 *)14866 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'14867 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'14868 ;;14869 esac14870 ;;14871 linux* | k*bsd*-gnu | gnu*)14872 link_all_deplibs_CXX=no14873 ;;14874 *)14875 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'14876 ;;14877 esac14878 14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&514880 $as_echo "$ld_shlibs_CXX" >&6; }14881 test no = "$ld_shlibs_CXX" && can_build_shared=no14882 14883 with_gnu_ld_CXX=$with_gnu_ld14884 14885 14886 14887 14888 14889 14890 #14891 # Do we need to explicitly link libc?14892 #14893 case "x$archive_cmds_need_lc_CXX" in14894 x|xyes)14895 # Assume -lc should be added14896 archive_cmds_need_lc_CXX=yes14897 14898 if test yes,yes = "$GCC,$enable_shared"; then14899 case $archive_cmds_CXX in14900 *'~'*)14901 # FIXME: we may have to deal with multi-command sequences.14902 ;;14903 '$CC '*)14904 # Test whether the compiler implicitly links with -lc since on some14905 # systems, -lgcc has to come before -lc. If gcc already passes -lc14906 # to ld, don't add -lc before -lgcc.14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&514908 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }14909 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :14910 $as_echo_n "(cached) " >&614911 else14912 $RM conftest*14913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14914 14915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&514916 (eval $ac_compile) 2>&514917 ac_status=$?14918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&514919 test $ac_status = 0; } 2>conftest.err; then14920 soname=conftest14921 lib=conftest14922 libobjs=conftest.$ac_objext14923 deplibs=14924 wl=$lt_prog_compiler_wl_CXX14925 pic_flag=$lt_prog_compiler_pic_CXX14926 compiler_flags=-v14927 linker_flags=-v14928 verstring=14929 output_objdir=.14930 libname=conftest14931 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX14932 allow_undefined_flag_CXX=14933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&514934 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&514935 ac_status=$?14936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&514937 test $ac_status = 0; }14938 then14939 lt_cv_archive_cmds_need_lc_CXX=no14940 else14941 lt_cv_archive_cmds_need_lc_CXX=yes14942 fi14943 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag14944 else14945 cat conftest.err 1>&514946 fi14947 $RM conftest*14948 14949 fi14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&514951 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }14952 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX14953 ;;14954 esac14955 fi14956 ;;14957 esac14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&515021 $as_echo_n "checking dynamic linker characteristics... " >&6; }15022 15023 library_names_spec=15024 libname_spec='lib$name'15025 soname_spec=15026 shrext_cmds=.so15027 postinstall_cmds=15028 postuninstall_cmds=15029 finish_cmds=15030 finish_eval=15031 shlibpath_var=15032 shlibpath_overrides_runpath=unknown15033 version_type=none15034 dynamic_linker="$host_os ld.so"15035 sys_lib_dlsearch_path_spec="/lib /usr/lib"15036 need_lib_prefix=unknown15037 hardcode_into_libs=no15038 15039 # when you set need_version to no, make sure it does not cause -set_version15040 # flags to be left without arguments15041 need_version=unknown15042 15043 15044 15045 case $host_os in15046 aix3*)15047 version_type=linux # correct to gnu/linux during the next big refactor15048 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'15049 shlibpath_var=LIBPATH15050 15051 # AIX 3 has no versioning support, so we append a major version to the name.15052 soname_spec='$libname$release$shared_ext$major'15053 ;;15054 15055 aix[4-9]*)15056 version_type=linux # correct to gnu/linux during the next big refactor15057 need_lib_prefix=no15058 need_version=no15059 hardcode_into_libs=yes15060 if test ia64 = "$host_cpu"; then15061 # AIX 5 supports IA6415062 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'15063 shlibpath_var=LD_LIBRARY_PATH15064 else15065 # With GCC up to 2.95.x, collect2 would create an import file15066 # for dependence libraries. The import file would start with15067 # the line '#! .'. This would cause the generated library to15068 # depend on '.', always an invalid library. This was fixed in15069 # development snapshots of GCC prior to 3.0.15070 case $host_os in15071 aix4 | aix4.[01] | aix4.[01].*)15072 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'15073 echo ' yes '15074 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then15075 :15076 else15077 can_build_shared=no15078 fi15079 ;;15080 esac15081 # Using Import Files as archive members, it is possible to support15082 # filename-based versioning of shared library archives on AIX. While15083 # this would work for both with and without runtime linking, it will15084 # prevent static linking of such archives. So we do filename-based15085 # shared library versioning with .so extension only, which is used15086 # when both runtime linking and shared linking is enabled.15087 # Unfortunately, runtime linking may impact performance, so we do15088 # not want this to be the default eventually. Also, we use the15089 # versioned .so libs for executables only if there is the -brtl15090 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.15091 # To allow for filename-based versioning support, we need to create15092 # libNAME.so.V as an archive file, containing:15093 # *) an Import File, referring to the versioned filename of the15094 # archive as well as the shared archive member, telling the15095 # bitwidth (32 or 64) of that shared object, and providing the15096 # list of exported symbols of that shared object, eventually15097 # decorated with the 'weak' keyword15098 # *) the shared object with the F_LOADONLY flag set, to really avoid15099 # it being seen by the linker.15100 # At run time we better use the real file rather than another symlink,15101 # but for link time we create the symlink libNAME.so -> libNAME.so.V15102 15103 case $with_aix_soname,$aix_use_runtimelinking in15104 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct15105 # soname into executable. Probably we can add versioning support to15106 # collect2, so additional links can be useful in future.15107 aix,yes) # traditional libtool15108 dynamic_linker='AIX unversionable lib.so'15109 # If using run time linking (on AIX 4.2 or later) use lib<name>.so15110 # instead of lib<name>.a to let people know that these are not15111 # typical AIX shared libraries.15112 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15113 ;;15114 aix,no) # traditional AIX only15115 dynamic_linker='AIX lib.a(lib.so.V)'15116 # We preserve .a as extension for shared libraries through AIX4.215117 # and later when we are not doing run time linking.15118 library_names_spec='$libname$release.a $libname.a'15119 soname_spec='$libname$release$shared_ext$major'15120 ;;15121 svr4,*) # full svr4 only15122 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"15123 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'15124 # We do not specify a path in Import Files, so LIBPATH fires.15125 shlibpath_overrides_runpath=yes15126 ;;15127 *,yes) # both, prefer svr415128 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"15129 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'15130 # unpreferred sharedlib libNAME.a needs extra handling15131 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'15132 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'15133 # We do not specify a path in Import Files, so LIBPATH fires.15134 shlibpath_overrides_runpath=yes15135 ;;15136 *,no) # both, prefer aix15137 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"15138 library_names_spec='$libname$release.a $libname.a'15139 soname_spec='$libname$release$shared_ext$major'15140 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling15141 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'15142 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'15143 ;;15144 esac15145 shlibpath_var=LIBPATH15146 fi15147 ;;15148 15149 amigaos*)15150 case $host_cpu in15151 powerpc)15152 # Since July 2007 AmigaOS4 officially supports .so libraries.15153 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.15154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15155 ;;15156 m68k)15157 library_names_spec='$libname.ixlibrary $libname.a'15158 # Create ${libname}_ixlibrary.a entries in /sys/libs.15159 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'15160 ;;15161 esac15162 ;;15163 15164 beos*)15165 library_names_spec='$libname$shared_ext'15166 dynamic_linker="$host_os ld.so"15167 shlibpath_var=LIBRARY_PATH15168 ;;15169 15170 bsdi[45]*)15171 version_type=linux # correct to gnu/linux during the next big refactor15172 need_version=no15173 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15174 soname_spec='$libname$release$shared_ext$major'15175 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'15176 shlibpath_var=LD_LIBRARY_PATH15177 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"15178 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"15179 # the default ld.so.conf also contains /usr/contrib/lib and15180 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow15181 # libtool to hard-code these into programs15182 ;;15183 15184 cygwin* | mingw* | pw32* | cegcc*)15185 version_type=windows15186 shrext_cmds=.dll15187 need_version=no15188 need_lib_prefix=no15189 15190 case $GCC,$cc_basename in15191 yes,*)15192 # gcc15193 library_names_spec='$libname.dll.a'15194 # DLL is installed to $(libdir)/../bin by postinstall_cmds15195 postinstall_cmds='base_file=`basename \$file`~15196 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~15197 dldir=$destdir/`dirname \$dlpath`~15198 test -d \$dldir || mkdir -p \$dldir~15199 $install_prog $dir/$dlname \$dldir/$dlname~15200 chmod a+x \$dldir/$dlname~15201 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then15202 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;15203 fi'15204 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~15205 dlpath=$dir/\$dldll~15206 $RM \$dlpath'15207 shlibpath_overrides_runpath=yes15208 15209 case $host_os in15210 cygwin*)15211 # Cygwin DLLs use 'cyg' prefix rather than 'lib'15212 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15213 15214 ;;15215 mingw* | cegcc*)15216 # MinGW DLLs use traditional 'lib' prefix15217 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15218 ;;15219 pw32*)15220 # pw32 DLLs use 'pw' prefix rather than 'lib'15221 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15222 ;;15223 esac15224 dynamic_linker='Win32 ld.exe'15225 ;;15226 15227 *,cl*)15228 # Native MSVC15229 libname_spec='$name'15230 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15231 library_names_spec='$libname.dll.lib'15232 15233 case $build_os in15234 mingw*)15235 sys_lib_search_path_spec=15236 lt_save_ifs=$IFS15237 IFS=';'15238 for lt_path in $LIB15239 do15240 IFS=$lt_save_ifs15241 # Let DOS variable expansion print the short 8.3 style file name.15242 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`15243 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"15244 done15245 IFS=$lt_save_ifs15246 # Convert to MSYS style.15247 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`15248 ;;15249 cygwin*)15250 # Convert to unix form, then to dos form, then back to unix form15251 # but this time dos style (no spaces!) so that the unix form looks15252 # like /cygdrive/c/PROGRA~1:/cygdr...15253 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`15254 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`15255 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`15256 ;;15257 *)15258 sys_lib_search_path_spec=$LIB15259 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then15260 # It is most probably a Windows format PATH.15261 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`15262 else15263 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`15264 fi15265 # FIXME: find the short name or the path components, as spaces are15266 # common. (e.g. "Program Files" -> "PROGRA~1")15267 ;;15268 esac15269 15270 # DLL is installed to $(libdir)/../bin by postinstall_cmds15271 postinstall_cmds='base_file=`basename \$file`~15272 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~15273 dldir=$destdir/`dirname \$dlpath`~15274 test -d \$dldir || mkdir -p \$dldir~15275 $install_prog $dir/$dlname \$dldir/$dlname'15276 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~15277 dlpath=$dir/\$dldll~15278 $RM \$dlpath'15279 shlibpath_overrides_runpath=yes15280 dynamic_linker='Win32 link.exe'15281 ;;15282 15283 *)15284 # Assume MSVC wrapper15285 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'15286 dynamic_linker='Win32 ld.exe'15287 ;;15288 esac15289 # FIXME: first we should search . and the directory the executable is in15290 shlibpath_var=PATH15291 ;;15292 15293 darwin* | rhapsody*)15294 dynamic_linker="$host_os dyld"15295 version_type=darwin15296 need_lib_prefix=no15297 need_version=no15298 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'15299 soname_spec='$libname$release$major$shared_ext'15300 shlibpath_overrides_runpath=yes15301 shlibpath_var=DYLD_LIBRARY_PATH15302 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'15303 15304 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'15305 ;;15306 15307 dgux*)15308 version_type=linux # correct to gnu/linux during the next big refactor15309 need_lib_prefix=no15310 need_version=no15311 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15312 soname_spec='$libname$release$shared_ext$major'15313 shlibpath_var=LD_LIBRARY_PATH15314 ;;15315 15316 freebsd* | dragonfly*)15317 # DragonFly does not have aout. When/if they implement a new15318 # versioning mechanism, adjust this.15319 if test -x /usr/bin/objformat; then15320 objformat=`/usr/bin/objformat`15321 else15322 case $host_os in15323 freebsd[23].*) objformat=aout ;;15324 *) objformat=elf ;;15325 esac15326 fi15327 version_type=freebsd-$objformat15328 case $version_type in15329 freebsd-elf*)15330 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15331 soname_spec='$libname$release$shared_ext$major'15332 need_version=no15333 need_lib_prefix=no15334 ;;15335 freebsd-*)15336 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15337 need_version=yes15338 ;;15339 esac15340 shlibpath_var=LD_LIBRARY_PATH15341 case $host_os in15342 freebsd2.*)15343 shlibpath_overrides_runpath=yes15344 ;;15345 freebsd3.[01]* | freebsdelf3.[01]*)15346 shlibpath_overrides_runpath=yes15347 hardcode_into_libs=yes15348 ;;15349 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \15350 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)15351 shlibpath_overrides_runpath=no15352 hardcode_into_libs=yes15353 ;;15354 *) # from 4.6 on, and DragonFly15355 shlibpath_overrides_runpath=yes15356 hardcode_into_libs=yes15357 ;;15358 esac15359 ;;15360 15361 haiku*)15362 version_type=linux # correct to gnu/linux during the next big refactor15363 need_lib_prefix=no15364 need_version=no15365 dynamic_linker="$host_os runtime_loader"15366 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15367 soname_spec='$libname$release$shared_ext$major'15368 shlibpath_var=LIBRARY_PATH15369 shlibpath_overrides_runpath=no15370 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'15371 hardcode_into_libs=yes15372 ;;15373 15374 hpux9* | hpux10* | hpux11*)15375 # Give a soname corresponding to the major version so that dld.sl refuses to15376 # link against other versions.15377 version_type=sunos15378 need_lib_prefix=no15379 need_version=no15380 case $host_cpu in15381 ia64*)15382 shrext_cmds='.so'15383 hardcode_into_libs=yes15384 dynamic_linker="$host_os dld.so"15385 shlibpath_var=LD_LIBRARY_PATH15386 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.15387 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15388 soname_spec='$libname$release$shared_ext$major'15389 if test 32 = "$HPUX_IA64_MODE"; then15390 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"15391 sys_lib_dlsearch_path_spec=/usr/lib/hpux3215392 else15393 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"15394 sys_lib_dlsearch_path_spec=/usr/lib/hpux6415395 fi15396 ;;15397 hppa*64*)15398 shrext_cmds='.sl'15399 hardcode_into_libs=yes15400 dynamic_linker="$host_os dld.sl"15401 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH15402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.15403 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15404 soname_spec='$libname$release$shared_ext$major'15405 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"15406 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec15407 ;;15408 *)15409 shrext_cmds='.sl'15410 dynamic_linker="$host_os dld.sl"15411 shlibpath_var=SHLIB_PATH15412 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH15413 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15414 soname_spec='$libname$release$shared_ext$major'15415 ;;15416 esac15417 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...15418 postinstall_cmds='chmod 555 $lib'15419 # or fails outright, so override atomically:15420 install_override_mode=55515421 ;;15422 15423 interix[3-9]*)15424 version_type=linux # correct to gnu/linux during the next big refactor15425 need_lib_prefix=no15426 need_version=no15427 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15428 soname_spec='$libname$release$shared_ext$major'15429 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'15430 shlibpath_var=LD_LIBRARY_PATH15431 shlibpath_overrides_runpath=no15432 hardcode_into_libs=yes15433 ;;15434 15435 irix5* | irix6* | nonstopux*)15436 case $host_os in15437 nonstopux*) version_type=nonstopux ;;15438 *)15439 if test yes = "$lt_cv_prog_gnu_ld"; then15440 version_type=linux # correct to gnu/linux during the next big refactor15441 else15442 version_type=irix15443 fi ;;15444 esac15445 need_lib_prefix=no15446 need_version=no15447 soname_spec='$libname$release$shared_ext$major'15448 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'15449 case $host_os in15450 irix5* | nonstopux*)15451 libsuff= shlibsuff=15452 ;;15453 *)15454 case $LD in # libtool.m4 will add one of these switches to LD15455 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")15456 libsuff= shlibsuff= libmagic=32-bit;;15457 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")15458 libsuff=32 shlibsuff=N32 libmagic=N32;;15459 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")15460 libsuff=64 shlibsuff=64 libmagic=64-bit;;15461 *) libsuff= shlibsuff= libmagic=never-match;;15462 esac15463 ;;15464 esac15465 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH15466 shlibpath_overrides_runpath=no15467 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"15468 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"15469 hardcode_into_libs=yes15470 ;;15471 15472 # No shared lib support for Linux oldld, aout, or coff.15473 linux*oldld* | linux*aout* | linux*coff*)15474 dynamic_linker=no15475 ;;15476 15477 linux*android*)15478 version_type=none # Android doesn't support versioned libraries.15479 need_lib_prefix=no15480 need_version=no15481 library_names_spec='$libname$release$shared_ext'15482 soname_spec='$libname$release$shared_ext'15483 finish_cmds=15484 shlibpath_var=LD_LIBRARY_PATH15485 shlibpath_overrides_runpath=yes15486 15487 # This implies no fast_install, which is unacceptable.15488 # Some rework will be needed to allow for fast_install15489 # before this can be enabled.15490 hardcode_into_libs=yes15491 15492 dynamic_linker='Android linker'15493 # Don't embed -rpath directories since the linker doesn't support them.15494 hardcode_libdir_flag_spec_CXX='-L$libdir'15495 ;;15496 15497 # This must be glibc/ELF.15498 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)15499 version_type=linux # correct to gnu/linux during the next big refactor15500 need_lib_prefix=no15501 need_version=no15502 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15503 soname_spec='$libname$release$shared_ext$major'15504 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'15505 shlibpath_var=LD_LIBRARY_PATH15506 shlibpath_overrides_runpath=no15507 15508 # Some binutils ld are patched to set DT_RUNPATH15509 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :15510 $as_echo_n "(cached) " >&615511 else15512 lt_cv_shlibpath_overrides_runpath=no15513 save_LDFLAGS=$LDFLAGS15514 save_libdir=$libdir15515 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \15516 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext15518 /* end confdefs.h. */15519 15520 int15521 main ()15522 {15523 15524 ;15525 return 0;15526 }15527 _ACEOF15528 if ac_fn_cxx_try_link "$LINENO"; then :15529 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :15530 lt_cv_shlibpath_overrides_runpath=yes15531 fi15532 fi15533 rm -f core conftest.err conftest.$ac_objext \15534 conftest$ac_exeext conftest.$ac_ext15535 LDFLAGS=$save_LDFLAGS15536 libdir=$save_libdir15537 15538 fi15539 15540 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath15541 15542 # This implies no fast_install, which is unacceptable.15543 # Some rework will be needed to allow for fast_install15544 # before this can be enabled.15545 hardcode_into_libs=yes15546 15547 # Ideally, we could use ldconfig to report *all* directores which are15548 # searched for libraries, however this is still not possible. Aside from not15549 # being certain /sbin/ldconfig is available, command15550 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,15551 # even though it is searched at run-time. Try to do the best guess by15552 # appending ld.so.conf contents (and includes) to the search path.15553 if test -f /etc/ld.so.conf; then15554 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`15555 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"15556 fi15557 15558 # We used to test for /lib/ld.so.1 and disable shared libraries on15559 # powerpc, because MkLinux only supported shared libraries with the15560 # GNU dynamic linker. Since this was broken with cross compilers,15561 # most powerpc-linux boxes support dynamic linking these days and15562 # people can always --disable-shared, the test was removed, and we15563 # assume the GNU/Linux dynamic linker is in use.15564 dynamic_linker='GNU/Linux ld.so'15565 ;;15566 15567 netbsdelf*-gnu)15568 version_type=linux15569 need_lib_prefix=no15570 need_version=no15571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'15572 soname_spec='${libname}${release}${shared_ext}$major'15573 shlibpath_var=LD_LIBRARY_PATH15574 shlibpath_overrides_runpath=no15575 hardcode_into_libs=yes15576 dynamic_linker='NetBSD ld.elf_so'15577 ;;15578 15579 netbsd*)15580 version_type=sunos15581 need_lib_prefix=no15582 need_version=no15583 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then15584 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15585 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'15586 dynamic_linker='NetBSD (a.out) ld.so'15587 else15588 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15589 soname_spec='$libname$release$shared_ext$major'15590 dynamic_linker='NetBSD ld.elf_so'15591 fi15592 shlibpath_var=LD_LIBRARY_PATH15593 shlibpath_overrides_runpath=yes15594 hardcode_into_libs=yes15595 ;;15596 15597 newsos6)15598 version_type=linux # correct to gnu/linux during the next big refactor15599 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15600 shlibpath_var=LD_LIBRARY_PATH15601 shlibpath_overrides_runpath=yes15602 ;;15603 15604 *nto* | *qnx*)15605 version_type=qnx15606 need_lib_prefix=no15607 need_version=no15608 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15609 soname_spec='$libname$release$shared_ext$major'15610 shlibpath_var=LD_LIBRARY_PATH15611 shlibpath_overrides_runpath=no15612 hardcode_into_libs=yes15613 dynamic_linker='ldqnx.so'15614 ;;15615 15616 openbsd* | bitrig*)15617 version_type=sunos15618 sys_lib_dlsearch_path_spec=/usr/lib15619 need_lib_prefix=no15620 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then15621 need_version=no15622 else15623 need_version=yes15624 fi15625 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15626 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'15627 shlibpath_var=LD_LIBRARY_PATH15628 shlibpath_overrides_runpath=yes15629 ;;15630 15631 os2*)15632 libname_spec='$name'15633 version_type=windows15634 shrext_cmds=.dll15635 need_version=no15636 need_lib_prefix=no15637 # OS/2 can only load a DLL with a base name of 8 characters or less.15638 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";15639 v=$($ECHO $release$versuffix | tr -d .-);15640 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);15641 $ECHO $n$v`$shared_ext'15642 library_names_spec='${libname}_dll.$libext'15643 dynamic_linker='OS/2 ld.exe'15644 shlibpath_var=BEGINLIBPATH15645 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"15646 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec15647 postinstall_cmds='base_file=`basename \$file`~15648 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~15649 dldir=$destdir/`dirname \$dlpath`~15650 test -d \$dldir || mkdir -p \$dldir~15651 $install_prog $dir/$dlname \$dldir/$dlname~15652 chmod a+x \$dldir/$dlname~15653 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then15654 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;15655 fi'15656 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~15657 dlpath=$dir/\$dldll~15658 $RM \$dlpath'15659 ;;15660 15661 osf3* | osf4* | osf5*)15662 version_type=osf15663 need_lib_prefix=no15664 need_version=no15665 soname_spec='$libname$release$shared_ext$major'15666 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15667 shlibpath_var=LD_LIBRARY_PATH15668 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"15669 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec15670 ;;15671 15672 rdos*)15673 dynamic_linker=no15674 ;;15675 15676 solaris*)15677 version_type=linux # correct to gnu/linux during the next big refactor15678 need_lib_prefix=no15679 need_version=no15680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15681 soname_spec='$libname$release$shared_ext$major'15682 shlibpath_var=LD_LIBRARY_PATH15683 shlibpath_overrides_runpath=yes15684 hardcode_into_libs=yes15685 # ldd complains unless libraries are executable15686 postinstall_cmds='chmod +x $lib'15687 ;;15688 15689 sunos4*)15690 version_type=sunos15691 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15692 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'15693 shlibpath_var=LD_LIBRARY_PATH15694 shlibpath_overrides_runpath=yes15695 if test yes = "$with_gnu_ld"; then15696 need_lib_prefix=no15697 fi15698 need_version=yes15699 ;;15700 15701 sysv4 | sysv4.3*)15702 version_type=linux # correct to gnu/linux during the next big refactor15703 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15704 soname_spec='$libname$release$shared_ext$major'15705 shlibpath_var=LD_LIBRARY_PATH15706 case $host_vendor in15707 sni)15708 shlibpath_overrides_runpath=no15709 need_lib_prefix=no15710 runpath_var=LD_RUN_PATH15711 ;;15712 siemens)15713 need_lib_prefix=no15714 ;;15715 motorola)15716 need_lib_prefix=no15717 need_version=no15718 shlibpath_overrides_runpath=no15719 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'15720 ;;15721 esac15722 ;;15723 15724 sysv4*MP*)15725 if test -d /usr/nec; then15726 version_type=linux # correct to gnu/linux during the next big refactor15727 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'15728 soname_spec='$libname$shared_ext.$major'15729 shlibpath_var=LD_LIBRARY_PATH15730 fi15731 ;;15732 15733 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)15734 version_type=sco15735 need_lib_prefix=no15736 need_version=no15737 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'15738 soname_spec='$libname$release$shared_ext$major'15739 shlibpath_var=LD_LIBRARY_PATH15740 shlibpath_overrides_runpath=yes15741 hardcode_into_libs=yes15742 if test yes = "$with_gnu_ld"; then15743 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'15744 else15745 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'15746 case $host_os in15747 sco3.2v5*)15748 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"15749 ;;15750 esac15751 fi15752 sys_lib_dlsearch_path_spec='/usr/lib'15753 ;;15754 15755 tpf*)15756 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.15757 version_type=linux # correct to gnu/linux during the next big refactor15758 need_lib_prefix=no15759 need_version=no15760 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15761 shlibpath_var=LD_LIBRARY_PATH15762 shlibpath_overrides_runpath=no15763 hardcode_into_libs=yes15764 ;;15765 15766 uts4*)15767 version_type=linux # correct to gnu/linux during the next big refactor15768 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15769 soname_spec='$libname$release$shared_ext$major'15770 shlibpath_var=LD_LIBRARY_PATH15771 ;;15772 15773 *)15774 dynamic_linker=no15775 ;;15776 esac15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&515778 $as_echo "$dynamic_linker" >&6; }15779 test no = "$dynamic_linker" && can_build_shared=no15780 15781 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"15782 if test yes = "$GCC"; then15783 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"15784 fi15785 15786 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then15787 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec15788 fi15789 15790 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then15791 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec15792 fi15793 15794 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...15795 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec15796 15797 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code15798 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"15799 15800 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool15801 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&515843 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }15844 hardcode_action_CXX=15845 if test -n "$hardcode_libdir_flag_spec_CXX" ||15846 test -n "$runpath_var_CXX" ||15847 test yes = "$hardcode_automatic_CXX"; then15848 15849 # We can hardcode non-existent directories.15850 if test no != "$hardcode_direct_CXX" &&15851 # If the only mechanism to avoid hardcoding is shlibpath_var, we15852 # have to relink, otherwise we might link with an installed library15853 # when we should be linking with a yet-to-be-installed one15854 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&15855 test no != "$hardcode_minus_L_CXX"; then15856 # Linking always hardcodes the temporary library directory.15857 hardcode_action_CXX=relink15858 else15859 # We can link without hardcoding, and we can hardcode nonexisting dirs.15860 hardcode_action_CXX=immediate15861 fi15862 else15863 # We cannot hardcode anything, or else we can only hardcode existing15864 # directories.15865 hardcode_action_CXX=unsupported15866 fi15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&515868 $as_echo "$hardcode_action_CXX" >&6; }15869 15870 if test relink = "$hardcode_action_CXX" ||15871 test yes = "$inherit_rpath_CXX"; then15872 # Fast installation is not supported15873 enable_fast_install=no15874 elif test yes = "$shlibpath_overrides_runpath" ||15875 test no = "$enable_shared"; then15876 # Fast installation is not necessary15877 enable_fast_install=needless15878 fi15879 15880 15881 15882 15883 15884 15885 15886 fi # test -n "$compiler"15887 15888 CC=$lt_save_CC15889 CFLAGS=$lt_save_CFLAGS15890 LDCXX=$LD15891 LD=$lt_save_LD15892 GCC=$lt_save_GCC15893 with_gnu_ld=$lt_save_with_gnu_ld15894 lt_cv_path_LDCXX=$lt_cv_path_LD15895 lt_cv_path_LD=$lt_save_path_LD15896 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld15897 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld15898 fi # test yes != "$_lt_caught_CXX_error"15899 15900 ac_ext=c15901 ac_cpp='$CPP $CPPFLAGS'15902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'15903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'15904 ac_compiler_gnu=$ac_cv_c_compiler_gnu15905 15906 15907 ac_ext=c15908 ac_cpp='$CPP $CPPFLAGS'15909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'15910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'15911 ac_compiler_gnu=$ac_cv_c_compiler_gnu15912 if test -n "$ac_tool_prefix"; then15913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.15914 set dummy ${ac_tool_prefix}gcc; ac_word=$215915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&515916 $as_echo_n "checking for $ac_word... " >&6; }15917 if ${ac_cv_prog_CC+:} false; then :15918 $as_echo_n "(cached) " >&615919 else15920 if test -n "$CC"; then15921 ac_cv_prog_CC="$CC" # Let the user override the test.15922 else15923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15924 for as_dir in $PATH15925 do15926 IFS=$as_save_IFS15927 test -z "$as_dir" && as_dir=.15928 for ac_exec_ext in '' $ac_executable_extensions; do15929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15930 ac_cv_prog_CC="${ac_tool_prefix}gcc"15931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&515932 break 215933 fi15934 done15935 done15936 IFS=$as_save_IFS15937 15938 fi15939 fi15940 CC=$ac_cv_prog_CC15941 if test -n "$CC"; then15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&515943 $as_echo "$CC" >&6; }15944 else15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&515946 $as_echo "no" >&6; }15947 fi15948 15949 15950 fi15951 if test -z "$ac_cv_prog_CC"; then15952 ac_ct_CC=$CC15953 # Extract the first word of "gcc", so it can be a program name with args.15954 set dummy gcc; ac_word=$215955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&515956 $as_echo_n "checking for $ac_word... " >&6; }15957 if ${ac_cv_prog_ac_ct_CC+:} false; then :15958 $as_echo_n "(cached) " >&615959 else15960 if test -n "$ac_ct_CC"; then15961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.15962 else15963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15964 for as_dir in $PATH15965 do15966 IFS=$as_save_IFS15967 test -z "$as_dir" && as_dir=.15968 for ac_exec_ext in '' $ac_executable_extensions; do15969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15970 ac_cv_prog_ac_ct_CC="gcc"15971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&515972 break 215973 fi15974 done15975 done15976 IFS=$as_save_IFS15977 15978 fi15979 fi15980 ac_ct_CC=$ac_cv_prog_ac_ct_CC15981 if test -n "$ac_ct_CC"; then15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&515983 $as_echo "$ac_ct_CC" >&6; }15984 else15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&515986 $as_echo "no" >&6; }15987 fi15988 15989 if test "x$ac_ct_CC" = x; then15990 CC=""15991 else15992 case $cross_compiling:$ac_tool_warned in15993 yes:)15994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&515995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}15996 ac_tool_warned=yes ;;15997 esac15998 CC=$ac_ct_CC15999 fi16000 else16001 CC="$ac_cv_prog_CC"16002 fi16003 16004 if test -z "$CC"; then16005 if test -n "$ac_tool_prefix"; then16006 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.16007 set dummy ${ac_tool_prefix}cc; ac_word=$216008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516009 $as_echo_n "checking for $ac_word... " >&6; }16010 if ${ac_cv_prog_CC+:} false; then :16011 $as_echo_n "(cached) " >&616012 else16013 if test -n "$CC"; then16014 ac_cv_prog_CC="$CC" # Let the user override the test.16015 else16016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16017 for as_dir in $PATH16018 do16019 IFS=$as_save_IFS16020 test -z "$as_dir" && as_dir=.16021 for ac_exec_ext in '' $ac_executable_extensions; do16022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16023 ac_cv_prog_CC="${ac_tool_prefix}cc"16024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516025 break 216026 fi16027 done16028 done16029 IFS=$as_save_IFS16030 16031 fi16032 fi16033 CC=$ac_cv_prog_CC16034 if test -n "$CC"; then16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&516036 $as_echo "$CC" >&6; }16037 else16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516039 $as_echo "no" >&6; }16040 fi16041 16042 16043 fi16044 fi16045 if test -z "$CC"; then16046 # Extract the first word of "cc", so it can be a program name with args.16047 set dummy cc; ac_word=$216048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516049 $as_echo_n "checking for $ac_word... " >&6; }16050 if ${ac_cv_prog_CC+:} false; then :16051 $as_echo_n "(cached) " >&616052 else16053 if test -n "$CC"; then16054 ac_cv_prog_CC="$CC" # Let the user override the test.16055 else16056 ac_prog_rejected=no16057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16058 for as_dir in $PATH16059 do16060 IFS=$as_save_IFS16061 test -z "$as_dir" && as_dir=.16062 for ac_exec_ext in '' $ac_executable_extensions; do16063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16064 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then16065 ac_prog_rejected=yes16066 continue16067 fi16068 ac_cv_prog_CC="cc"16069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516070 break 216071 fi16072 done16073 done16074 IFS=$as_save_IFS16075 16076 if test $ac_prog_rejected = yes; then16077 # We found a bogon in the path, so make sure we never use it.16078 set dummy $ac_cv_prog_CC16079 shift16080 if test $# != 0; then16081 # We chose a different compiler from the bogus one.16082 # However, it has the same basename, so the bogon will be chosen16083 # first if we set CC to just the basename; use the full file name.16084 shift16085 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"16086 fi16087 fi16088 fi16089 fi16090 CC=$ac_cv_prog_CC16091 if test -n "$CC"; then16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&516093 $as_echo "$CC" >&6; }16094 else16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516096 $as_echo "no" >&6; }16097 fi16098 16099 16100 fi16101 if test -z "$CC"; then16102 if test -n "$ac_tool_prefix"; then16103 for ac_prog in cl.exe16104 do16105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.16106 set dummy $ac_tool_prefix$ac_prog; ac_word=$216107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516108 $as_echo_n "checking for $ac_word... " >&6; }16109 if ${ac_cv_prog_CC+:} false; then :16110 $as_echo_n "(cached) " >&616111 else16112 if test -n "$CC"; then16113 ac_cv_prog_CC="$CC" # Let the user override the test.16114 else16115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16116 for as_dir in $PATH16117 do16118 IFS=$as_save_IFS16119 test -z "$as_dir" && as_dir=.16120 for ac_exec_ext in '' $ac_executable_extensions; do16121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16122 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"16123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516124 break 216125 fi16126 done16127 done16128 IFS=$as_save_IFS16129 16130 fi16131 fi16132 CC=$ac_cv_prog_CC16133 if test -n "$CC"; then16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&516135 $as_echo "$CC" >&6; }16136 else16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516138 $as_echo "no" >&6; }16139 fi16140 16141 16142 test -n "$CC" && break16143 done16144 fi16145 if test -z "$CC"; then16146 ac_ct_CC=$CC16147 for ac_prog in cl.exe16148 do16149 # Extract the first word of "$ac_prog", so it can be a program name with args.16150 set dummy $ac_prog; ac_word=$216151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516152 $as_echo_n "checking for $ac_word... " >&6; }16153 if ${ac_cv_prog_ac_ct_CC+:} false; then :16154 $as_echo_n "(cached) " >&616155 else16156 if test -n "$ac_ct_CC"; then16157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.16158 else16159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16160 for as_dir in $PATH16161 do16162 IFS=$as_save_IFS16163 test -z "$as_dir" && as_dir=.16164 for ac_exec_ext in '' $ac_executable_extensions; do16165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16166 ac_cv_prog_ac_ct_CC="$ac_prog"16167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516168 break 216169 fi16170 done16171 done16172 IFS=$as_save_IFS16173 16174 fi16175 fi16176 ac_ct_CC=$ac_cv_prog_ac_ct_CC16177 if test -n "$ac_ct_CC"; then16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&516179 $as_echo "$ac_ct_CC" >&6; }16180 else16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516182 $as_echo "no" >&6; }16183 fi16184 16185 16186 test -n "$ac_ct_CC" && break16187 done16188 16189 if test "x$ac_ct_CC" = x; then16190 CC=""16191 else16192 case $cross_compiling:$ac_tool_warned in16193 yes:)16194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&516195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}16196 ac_tool_warned=yes ;;16197 esac16198 CC=$ac_ct_CC16199 fi16200 fi16201 16202 fi16203 16204 16205 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&516206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}16207 as_fn_error $? "no acceptable C compiler found in \$PATH16208 See \`config.log' for more details" "$LINENO" 5; }16209 16210 # Provide some information about the compiler.16211 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&516212 set X $ac_compile16213 ac_compiler=$216214 for ac_option in --version -v -V -qversion; do16215 { { ac_try="$ac_compiler $ac_option >&5"16216 case "(($ac_try" in16217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;16218 *) ac_try_echo=$ac_try;;16219 esac16220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""16221 $as_echo "$ac_try_echo"; } >&516222 (eval "$ac_compiler $ac_option >&5") 2>conftest.err16223 ac_status=$?16224 if test -s conftest.err; then16225 sed '10a\16226 ... rest of stderr output deleted ...16227 10q' conftest.err >conftest.er116228 cat conftest.er1 >&516229 fi16230 rm -f conftest.er1 conftest.err16231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516232 test $ac_status = 0; }16233 done16234 16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&516236 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }16237 if ${ac_cv_c_compiler_gnu+:} false; then :16238 $as_echo_n "(cached) " >&616239 else16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16241 /* end confdefs.h. */16242 16243 int16244 main ()16245 {16246 #ifndef __GNUC__16247 choke me16248 #endif16249 16250 ;16251 return 0;16252 }16253 _ACEOF16254 if ac_fn_c_try_compile "$LINENO"; then :16255 ac_compiler_gnu=yes16256 else16257 ac_compiler_gnu=no16258 fi16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16260 ac_cv_c_compiler_gnu=$ac_compiler_gnu16261 16262 fi16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&516264 $as_echo "$ac_cv_c_compiler_gnu" >&6; }16265 if test $ac_compiler_gnu = yes; then16266 GCC=yes16267 else16268 GCC=16269 fi16270 ac_test_CFLAGS=${CFLAGS+set}16271 ac_save_CFLAGS=$CFLAGS16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&516273 $as_echo_n "checking whether $CC accepts -g... " >&6; }16274 if ${ac_cv_prog_cc_g+:} false; then :16275 $as_echo_n "(cached) " >&616276 else16277 ac_save_c_werror_flag=$ac_c_werror_flag16278 ac_c_werror_flag=yes16279 ac_cv_prog_cc_g=no16280 CFLAGS="-g"16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16282 /* end confdefs.h. */16283 16284 int16285 main ()16286 {16287 16288 ;16289 return 0;16290 }16291 _ACEOF16292 if ac_fn_c_try_compile "$LINENO"; then :16293 ac_cv_prog_cc_g=yes16294 else16295 CFLAGS=""16296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16297 /* end confdefs.h. */16298 16299 int16300 main ()16301 {16302 16303 ;16304 return 0;16305 }16306 _ACEOF16307 if ac_fn_c_try_compile "$LINENO"; then :16308 16309 else16310 ac_c_werror_flag=$ac_save_c_werror_flag16311 CFLAGS="-g"16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16313 /* end confdefs.h. */16314 16315 int16316 main ()16317 {16318 16319 ;16320 return 0;16321 }16322 _ACEOF16323 if ac_fn_c_try_compile "$LINENO"; then :16324 ac_cv_prog_cc_g=yes16325 fi16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16327 fi16328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16329 fi16330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16331 ac_c_werror_flag=$ac_save_c_werror_flag16332 fi16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&516334 $as_echo "$ac_cv_prog_cc_g" >&6; }16335 if test "$ac_test_CFLAGS" = set; then16336 CFLAGS=$ac_save_CFLAGS16337 elif test $ac_cv_prog_cc_g = yes; then16338 if test "$GCC" = yes; then16339 CFLAGS="-g -O2"16340 else16341 CFLAGS="-g"16342 fi16343 else16344 if test "$GCC" = yes; then16345 CFLAGS="-O2"16346 else16347 CFLAGS=16348 fi16349 fi16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&516351 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }16352 if ${ac_cv_prog_cc_c89+:} false; then :16353 $as_echo_n "(cached) " >&616354 else16355 ac_cv_prog_cc_c89=no16356 ac_save_CC=$CC16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16358 /* end confdefs.h. */16359 #include <stdarg.h>16360 #include <stdio.h>16361 struct stat;16362 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */16363 struct buf { int x; };16364 FILE * (*rcsopen) (struct buf *, struct stat *, int);16365 static char *e (p, i)16366 char **p;16367 int i;16368 {16369 return p[i];16370 }16371 static char *f (char * (*g) (char **, int), char **p, ...)16372 {16373 char *s;16374 va_list v;16375 va_start (v,p);16376 s = g (p, va_arg (v,int));16377 va_end (v);16378 return s;16379 }16380 16381 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has16382 function prototypes and stuff, but not '\xHH' hex character constants.16383 These don't provoke an error unfortunately, instead are silently treated16384 as 'x'. The following induces an error, until -std is added to get16385 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an16386 array size at least. It's necessary to write '\x00'==0 to get something16387 that's true only with -std. */16388 int osf4_cc_array ['\x00' == 0 ? 1 : -1];16389 16390 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters16391 inside strings and character constants. */16392 #define FOO(x) 'x'16393 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];16394 16395 int test (int i, double x);16396 struct s1 {int (*f) (int a);};16397 struct s2 {int (*f) (double a);};16398 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);16399 int argc;16400 char **argv;16401 int16402 main ()16403 {16404 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];16405 ;16406 return 0;16407 }16408 _ACEOF16409 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \16410 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"16411 do16412 CC="$ac_save_CC $ac_arg"16413 if ac_fn_c_try_compile "$LINENO"; then :16414 ac_cv_prog_cc_c89=$ac_arg16415 fi16416 rm -f core conftest.err conftest.$ac_objext16417 test "x$ac_cv_prog_cc_c89" != "xno" && break16418 done16419 rm -f conftest.$ac_ext16420 CC=$ac_save_CC16421 16422 fi16423 # AC_CACHE_VAL16424 case "x$ac_cv_prog_cc_c89" in16425 x)16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&516427 $as_echo "none needed" >&6; } ;;16428 xno)16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&516430 $as_echo "unsupported" >&6; } ;;16431 *)16432 CC="$CC $ac_cv_prog_cc_c89"16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&516434 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;16435 esac16436 if test "x$ac_cv_prog_cc_c89" != xno; then :16437 16438 fi16439 16440 ac_ext=c16441 ac_cpp='$CPP $CPPFLAGS'16442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'16443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'16444 ac_compiler_gnu=$ac_cv_c_compiler_gnu16445 16446 ac_ext=c16447 ac_cpp='$CPP $CPPFLAGS'16448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'16449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'16450 ac_compiler_gnu=$ac_cv_c_compiler_gnu16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&516452 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }16453 if ${am_cv_prog_cc_c_o+:} false; then :16454 $as_echo_n "(cached) " >&616455 else16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16457 /* end confdefs.h. */16458 16459 int16460 main ()16461 {16462 16463 ;16464 return 0;16465 }16466 _ACEOF16467 # Make sure it works both with $CC and with simple cc.16468 # Following AC_PROG_CC_C_O, we do the test twice because some16469 # compilers refuse to overwrite an existing .o file with -o,16470 # though they will create one.16471 am_cv_prog_cc_c_o=yes16472 for am_i in 1 2; do16473 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&516474 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&516475 ac_status=$?16476 echo "$as_me:$LINENO: \$? = $ac_status" >&516477 (exit $ac_status); } \16478 && test -f conftest2.$ac_objext; then16479 : OK16480 else16481 am_cv_prog_cc_c_o=no16482 break16483 fi16484 done16485 rm -f core conftest*16486 unset am_i16487 fi16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&516489 $as_echo "$am_cv_prog_cc_c_o" >&6; }16490 if test "$am_cv_prog_cc_c_o" != yes; then16491 # Losing compiler, so override with the script.16492 # FIXME: It is wrong to rewrite CC.16493 # But if we don't then we get into trouble of one sort or another.16494 # A longer-term fix would be to have automake use am__CC in this case,16495 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"16496 CC="$am_aux_dir/compile $CC"16497 fi16498 ac_ext=c16499 ac_cpp='$CPP $CPPFLAGS'16500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'16501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'16502 ac_compiler_gnu=$ac_cv_c_compiler_gnu16503 16504 16505 depcc="$CC" am_compiler_list=16506 16507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&516508 $as_echo_n "checking dependency style of $depcc... " >&6; }16509 if ${am_cv_CC_dependencies_compiler_type+:} false; then :16510 $as_echo_n "(cached) " >&616511 else16512 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then16513 # We make a subdir and do the tests there. Otherwise we can end up16514 # making bogus files that we don't know about and never remove. For16515 # instance it was reported that on HP-UX the gcc test will end up16516 # making a dummy file named 'D' -- because '-MD' means "put the output16517 # in D".16518 rm -rf conftest.dir16519 mkdir conftest.dir16520 # Copy depcomp to subdir because otherwise we won't find it if we're16521 # using a relative directory.16522 cp "$am_depcomp" conftest.dir16523 cd conftest.dir16524 # We will build objects and dependencies in a subdirectory because16525 # it helps to detect inapplicable dependency modes. For instance16526 # both Tru64's cc and ICC support -MD to output dependencies as a16527 # side effect of compilation, but ICC will put the dependencies in16528 # the current directory while Tru64 will put them in the object16529 # directory.16530 mkdir sub16531 16532 am_cv_CC_dependencies_compiler_type=none16533 if test "$am_compiler_list" = ""; then16534 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`16535 fi16536 am__universal=false16537 case " $depcc " in #(16538 *\ -arch\ *\ -arch\ *) am__universal=true ;;16539 esac16540 16541 for depmode in $am_compiler_list; do16542 # Setup a source with many dependencies, because some compilers16543 # like to wrap large dependency lists on column 80 (with \), and16544 # we should not choose a depcomp mode which is confused by this.16545 #16546 # We need to recreate these files for each test, as the compiler may16547 # overwrite some of them when testing with obscure command lines.16548 # This happens at least with the AIX C compiler.16549 : > sub/conftest.c16550 for i in 1 2 3 4 5 6; do16551 echo '#include "conftst'$i'.h"' >> sub/conftest.c16552 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with16553 # Solaris 10 /bin/sh.16554 echo '/* dummy */' > sub/conftst$i.h16555 done16556 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf16557 16558 # We check with '-c' and '-o' for the sake of the "dashmstdout"16559 # mode. It turns out that the SunPro C++ compiler does not properly16560 # handle '-M -o', and we need to detect this. Also, some Intel16561 # versions had trouble with output in subdirs.16562 am__obj=sub/conftest.${OBJEXT-o}16563 am__minus_obj="-o $am__obj"16564 case $depmode in16565 gcc)16566 # This depmode causes a compiler race in universal mode.16567 test "$am__universal" = false || continue16568 ;;16569 nosideeffect)16570 # After this tag, mechanisms are not by side-effect, so they'll16571 # only be used when explicitly requested.16572 if test "x$enable_dependency_tracking" = xyes; then16573 continue16574 else16575 break16576 fi16577 ;;16578 msvc7 | msvc7msys | msvisualcpp | msvcmsys)16579 # This compiler won't grok '-c -o', but also, the minuso test has16580 # not run yet. These depmodes are late enough in the game, and16581 # so weak that their functioning should not be impacted.16582 am__obj=conftest.${OBJEXT-o}16583 am__minus_obj=16584 ;;16585 none) break ;;16586 esac16587 if depmode=$depmode \16588 source=sub/conftest.c object=$am__obj \16589 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \16590 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \16591 >/dev/null 2>conftest.err &&16592 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&16593 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&16594 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&16595 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then16596 # icc doesn't choke on unknown options, it will just issue warnings16597 # or remarks (even with -Werror). So we grep stderr for any message16598 # that says an option was ignored or not supported.16599 # When given -MP, icc 7.0 and 7.1 complain thusly:16600 # icc: Command line warning: ignoring option '-M'; no argument required16601 # The diagnosis changed in icc 8.0:16602 # icc: Command line remark: option '-MP' not supported16603 if (grep 'ignoring option' conftest.err ||16604 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else16605 am_cv_CC_dependencies_compiler_type=$depmode16606 break16607 fi16608 fi16609 done16610 16611 cd ..16612 rm -rf conftest.dir16613 else16614 am_cv_CC_dependencies_compiler_type=none16615 fi16616 16617 fi16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&516619 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }16620 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type16621 16622 if16623 test "x$enable_dependency_tracking" != xno \16624 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then16625 am__fastdepCC_TRUE=16626 am__fastdepCC_FALSE='#'16627 else16628 am__fastdepCC_TRUE='#'16629 am__fastdepCC_FALSE=16630 fi16631 16632 16633 4074 # By default we simply use the C compiler to build assembly code. 16634 4075 … … 16796 4237 fi 16797 4238 4239 if test -n "$ac_tool_prefix"; then 4240 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4241 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4243 $as_echo_n "checking for $ac_word... " >&6; } 4244 if ${ac_cv_prog_RANLIB+:} false; then : 4245 $as_echo_n "(cached) " >&6 4246 else 4247 if test -n "$RANLIB"; then 4248 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4249 else 4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4251 for as_dir in $PATH 4252 do 4253 IFS=$as_save_IFS 4254 test -z "$as_dir" && as_dir=. 4255 for ac_exec_ext in '' $ac_executable_extensions; do 4256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4257 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4259 break 2 4260 fi 4261 done 4262 done 4263 IFS=$as_save_IFS 4264 4265 fi 4266 fi 4267 RANLIB=$ac_cv_prog_RANLIB 4268 if test -n "$RANLIB"; then 4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4270 $as_echo "$RANLIB" >&6; } 4271 else 4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4273 $as_echo "no" >&6; } 4274 fi 4275 4276 4277 fi 4278 if test -z "$ac_cv_prog_RANLIB"; then 4279 ac_ct_RANLIB=$RANLIB 4280 # Extract the first word of "ranlib", so it can be a program name with args. 4281 set dummy ranlib; ac_word=$2 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4283 $as_echo_n "checking for $ac_word... " >&6; } 4284 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4285 $as_echo_n "(cached) " >&6 4286 else 4287 if test -n "$ac_ct_RANLIB"; then 4288 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4289 else 4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4291 for as_dir in $PATH 4292 do 4293 IFS=$as_save_IFS 4294 test -z "$as_dir" && as_dir=. 4295 for ac_exec_ext in '' $ac_executable_extensions; do 4296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4297 ac_cv_prog_ac_ct_RANLIB="ranlib" 4298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4299 break 2 4300 fi 4301 done 4302 done 4303 IFS=$as_save_IFS 4304 4305 fi 4306 fi 4307 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4308 if test -n "$ac_ct_RANLIB"; then 4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4310 $as_echo "$ac_ct_RANLIB" >&6; } 4311 else 4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4313 $as_echo "no" >&6; } 4314 fi 4315 4316 if test "x$ac_ct_RANLIB" = x; then 4317 RANLIB=":" 4318 else 4319 case $cross_compiling:$ac_tool_warned in 4320 yes:) 4321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4323 ac_tool_warned=yes ;; 4324 esac 4325 RANLIB=$ac_ct_RANLIB 4326 fi 4327 else 4328 RANLIB="$ac_cv_prog_RANLIB" 4329 fi 4330 16798 4331 16799 4332 ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile" … … 16969 4502 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16970 4503 fi 16971 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then16972 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.16973 Usually this means the macro was only invoked conditionally." "$LINENO" 516974 fi16975 4504 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 16976 4505 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. … … 17549 5078 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17550 5079 17551 17552 # The HP-UX ksh and POSIX shell print the target directory to stdout17553 # if CDPATH is set.17554 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH17555 17556 sed_quote_subst='$sed_quote_subst'17557 double_quote_subst='$double_quote_subst'17558 delay_variable_subst='$delay_variable_subst'17559 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'17560 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'17561 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'17562 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'17563 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'17564 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'17565 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'17566 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'17567 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'17568 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'17569 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'17570 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'17571 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'17572 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'17573 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'17574 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'17575 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'17576 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'17577 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'17578 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'17579 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'17580 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'17581 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'17582 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'17583 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'17584 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'17585 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'17586 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'17587 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'17588 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'17589 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'17590 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'17591 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'17592 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'17593 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'17594 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'17595 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'17596 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'17597 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'17598 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'17599 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'17600 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'17601 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'17602 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'17603 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'17604 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'17605 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'17606 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'17607 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'17608 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'17609 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'17610 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'17611 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'17612 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'17613 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'17614 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'17615 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'17616 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'17617 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'17618 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'17619 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'17620 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'17621 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'17622 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'17623 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'17624 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'17625 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'17626 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'17627 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'17628 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'17629 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'17630 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'17631 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'17632 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'17633 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'17634 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'17635 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'17636 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'17637 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'17638 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'17639 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'17640 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'17641 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'17642 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'17643 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'17644 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'17645 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'17646 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'17647 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'17648 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'17649 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'17650 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'17651 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'17652 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'17653 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'17654 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'17655 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'17656 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'17657 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'17658 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'17659 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'17660 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'17661 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'17662 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'17663 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'17664 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'17665 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'17666 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'17667 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'17668 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'17669 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'17670 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'17671 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'17672 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'17673 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'17674 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'17675 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'17676 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'17677 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'17678 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'17679 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'17680 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'17681 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'17682 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'17683 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'17684 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'17685 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'17686 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'17687 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'17688 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'17689 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'17690 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'17691 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'17692 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'17693 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'17694 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'17695 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'17696 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'17697 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'17698 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'17699 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'17700 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'17701 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'17702 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'17703 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'17704 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'17705 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'17706 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'17707 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'17708 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'17709 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'17710 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'17711 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'17712 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'17713 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'17714 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'17715 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'17716 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'17717 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'17718 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'17719 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'17720 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'17721 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'17722 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'17723 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'17724 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'17725 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'17726 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'17727 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'17728 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'17729 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'17730 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'17731 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'17732 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'17733 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'17734 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'17735 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'17736 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'17737 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'17738 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'17739 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'17740 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'17741 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'17742 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'17743 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'17744 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'17745 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'17746 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'17747 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'17748 17749 LTCC='$LTCC'17750 LTCFLAGS='$LTCFLAGS'17751 compiler='$compiler_DEFAULT'17752 17753 # A function that is used when there is no print builtin or printf.17754 func_fallback_echo ()17755 {17756 eval 'cat <<_LTECHO_EOF17757 \$117758 _LTECHO_EOF'17759 }17760 17761 # Quote evaled strings.17762 for var in SHELL \17763 ECHO \17764 PATH_SEPARATOR \17765 SED \17766 GREP \17767 EGREP \17768 FGREP \17769 LD \17770 NM \17771 LN_S \17772 lt_SP2NL \17773 lt_NL2SP \17774 reload_flag \17775 OBJDUMP \17776 deplibs_check_method \17777 file_magic_cmd \17778 file_magic_glob \17779 want_nocaseglob \17780 DLLTOOL \17781 sharedlib_from_linklib_cmd \17782 AR \17783 AR_FLAGS \17784 archiver_list_spec \17785 STRIP \17786 RANLIB \17787 CC \17788 CFLAGS \17789 compiler \17790 lt_cv_sys_global_symbol_pipe \17791 lt_cv_sys_global_symbol_to_cdecl \17792 lt_cv_sys_global_symbol_to_import \17793 lt_cv_sys_global_symbol_to_c_name_address \17794 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \17795 lt_cv_nm_interface \17796 nm_file_list_spec \17797 lt_cv_truncate_bin \17798 lt_prog_compiler_no_builtin_flag \17799 lt_prog_compiler_pic \17800 lt_prog_compiler_wl \17801 lt_prog_compiler_static \17802 lt_cv_prog_compiler_c_o \17803 need_locks \17804 MANIFEST_TOOL \17805 DSYMUTIL \17806 NMEDIT \17807 LIPO \17808 OTOOL \17809 OTOOL64 \17810 shrext_cmds \17811 export_dynamic_flag_spec \17812 whole_archive_flag_spec \17813 compiler_needs_object \17814 with_gnu_ld \17815 allow_undefined_flag \17816 no_undefined_flag \17817 hardcode_libdir_flag_spec \17818 hardcode_libdir_separator \17819 exclude_expsyms \17820 include_expsyms \17821 file_list_spec \17822 variables_saved_for_relink \17823 libname_spec \17824 library_names_spec \17825 soname_spec \17826 install_override_mode \17827 finish_eval \17828 old_striplib \17829 striplib \17830 compiler_lib_search_dirs \17831 predep_objects \17832 postdep_objects \17833 predeps \17834 postdeps \17835 compiler_lib_search_path \17836 LD_CXX \17837 reload_flag_CXX \17838 compiler_CXX \17839 lt_prog_compiler_no_builtin_flag_CXX \17840 lt_prog_compiler_pic_CXX \17841 lt_prog_compiler_wl_CXX \17842 lt_prog_compiler_static_CXX \17843 lt_cv_prog_compiler_c_o_CXX \17844 export_dynamic_flag_spec_CXX \17845 whole_archive_flag_spec_CXX \17846 compiler_needs_object_CXX \17847 with_gnu_ld_CXX \17848 allow_undefined_flag_CXX \17849 no_undefined_flag_CXX \17850 hardcode_libdir_flag_spec_CXX \17851 hardcode_libdir_separator_CXX \17852 exclude_expsyms_CXX \17853 include_expsyms_CXX \17854 file_list_spec_CXX \17855 compiler_lib_search_dirs_CXX \17856 predep_objects_CXX \17857 postdep_objects_CXX \17858 predeps_CXX \17859 postdeps_CXX \17860 compiler_lib_search_path_CXX; do17861 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in17862 *[\\\\\\\`\\"\\\$]*)17863 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes17864 ;;17865 *)17866 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""17867 ;;17868 esac17869 done17870 17871 # Double-quote double-evaled strings.17872 for var in reload_cmds \17873 old_postinstall_cmds \17874 old_postuninstall_cmds \17875 old_archive_cmds \17876 extract_expsyms_cmds \17877 old_archive_from_new_cmds \17878 old_archive_from_expsyms_cmds \17879 archive_cmds \17880 archive_expsym_cmds \17881 module_cmds \17882 module_expsym_cmds \17883 export_symbols_cmds \17884 prelink_cmds \17885 postlink_cmds \17886 postinstall_cmds \17887 postuninstall_cmds \17888 finish_cmds \17889 sys_lib_search_path_spec \17890 configure_time_dlsearch_path \17891 configure_time_lt_sys_library_path \17892 reload_cmds_CXX \17893 old_archive_cmds_CXX \17894 old_archive_from_new_cmds_CXX \17895 old_archive_from_expsyms_cmds_CXX \17896 archive_cmds_CXX \17897 archive_expsym_cmds_CXX \17898 module_cmds_CXX \17899 module_expsym_cmds_CXX \17900 export_symbols_cmds_CXX \17901 prelink_cmds_CXX \17902 postlink_cmds_CXX; do17903 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in17904 *[\\\\\\\`\\"\\\$]*)17905 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes17906 ;;17907 *)17908 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""17909 ;;17910 esac17911 done17912 17913 ac_aux_dir='$ac_aux_dir'17914 17915 # See if we are running on zsh, and set the options that allow our17916 # commands through without removal of \ escapes INIT.17917 if test -n "\${ZSH_VERSION+set}"; then17918 setopt NO_GLOB_SUBST17919 fi17920 17921 17922 PACKAGE='$PACKAGE'17923 VERSION='$VERSION'17924 RM='$RM'17925 ofile='$ofile'17926 17927 17928 17929 17930 17931 17932 5080 _ACEOF 17933 5081 … … 17939 5087 case $ac_config_target in 17940 5088 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17941 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;17942 5089 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17943 5090 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; … … 18465 5612 } 18466 5613 ;; 18467 "libtool":C)18468 18469 # See if we are running on zsh, and set the options that allow our18470 # commands through without removal of \ escapes.18471 if test -n "${ZSH_VERSION+set}"; then18472 setopt NO_GLOB_SUBST18473 fi18474 18475 cfgfile=${ofile}T18476 trap "$RM \"$cfgfile\"; exit 1" 1 2 1518477 $RM "$cfgfile"18478 18479 cat <<_LT_EOF >> "$cfgfile"18480 #! $SHELL18481 # Generated automatically by $as_me ($PACKAGE) $VERSION18482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:18483 # NOTE: Changes made to this file will be lost: look at ltmain.sh.18484 18485 # Provide generalized library-building support services.18486 # Written by Gordon Matzigkeit, 199618487 18488 # Copyright (C) 2014 Free Software Foundation, Inc.18489 # This is free software; see the source for copying conditions. There is NO18490 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.18491 18492 # GNU Libtool is free software; you can redistribute it and/or modify18493 # it under the terms of the GNU General Public License as published by18494 # the Free Software Foundation; either version 2 of of the License, or18495 # (at your option) any later version.18496 #18497 # As a special exception to the GNU General Public License, if you18498 # distribute this file as part of a program or library that is built18499 # using GNU Libtool, you may include this file under the same18500 # distribution terms that you use for the rest of that program.18501 #18502 # GNU Libtool is distributed in the hope that it will be useful, but18503 # WITHOUT ANY WARRANTY; without even the implied warranty of18504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the18505 # GNU General Public License for more details.18506 #18507 # You should have received a copy of the GNU General Public License18508 # along with this program. If not, see <http://www.gnu.org/licenses/>.18509 18510 18511 # The names of the tagged configurations supported by this script.18512 available_tags='CXX '18513 18514 # Configured defaults for sys_lib_dlsearch_path munging.18515 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}18516 18517 # ### BEGIN LIBTOOL CONFIG18518 18519 # Which release of libtool.m4 was used?18520 macro_version=$macro_version18521 macro_revision=$macro_revision18522 18523 # Whether or not to build shared libraries.18524 build_libtool_libs=$enable_shared18525 18526 # Whether or not to build static libraries.18527 build_old_libs=$enable_static18528 18529 # What type of objects to build.18530 pic_mode=$pic_mode18531 18532 # Whether or not to optimize for fast installation.18533 fast_install=$enable_fast_install18534 18535 # Shared archive member basename,for filename based shared library versioning on AIX.18536 shared_archive_member_spec=$shared_archive_member_spec18537 18538 # Shell to use when invoking shell scripts.18539 SHELL=$lt_SHELL18540 18541 # An echo program that protects backslashes.18542 ECHO=$lt_ECHO18543 18544 # The PATH separator for the build system.18545 PATH_SEPARATOR=$lt_PATH_SEPARATOR18546 18547 # The host system.18548 host_alias=$host_alias18549 host=$host18550 host_os=$host_os18551 18552 # The build system.18553 build_alias=$build_alias18554 build=$build18555 build_os=$build_os18556 18557 # A sed program that does not truncate output.18558 SED=$lt_SED18559 18560 # Sed that helps us avoid accidentally triggering echo(1) options like -n.18561 Xsed="\$SED -e 1s/^X//"18562 18563 # A grep program that handles long lines.18564 GREP=$lt_GREP18565 18566 # An ERE matcher.18567 EGREP=$lt_EGREP18568 18569 # A literal string matcher.18570 FGREP=$lt_FGREP18571 18572 # A BSD- or MS-compatible name lister.18573 NM=$lt_NM18574 18575 # Whether we need soft or hard links.18576 LN_S=$lt_LN_S18577 18578 # What is the maximum length of a command?18579 max_cmd_len=$max_cmd_len18580 18581 # Object file suffix (normally "o").18582 objext=$ac_objext18583 18584 # Executable file suffix (normally "").18585 exeext=$exeext18586 18587 # whether the shell understands "unset".18588 lt_unset=$lt_unset18589 18590 # turn spaces into newlines.18591 SP2NL=$lt_lt_SP2NL18592 18593 # turn newlines into spaces.18594 NL2SP=$lt_lt_NL2SP18595 18596 # convert \$build file names to \$host format.18597 to_host_file_cmd=$lt_cv_to_host_file_cmd18598 18599 # convert \$build files to toolchain format.18600 to_tool_file_cmd=$lt_cv_to_tool_file_cmd18601 18602 # An object symbol dumper.18603 OBJDUMP=$lt_OBJDUMP18604 18605 # Method to check whether dependent libraries are shared objects.18606 deplibs_check_method=$lt_deplibs_check_method18607 18608 # Command to use when deplibs_check_method = "file_magic".18609 file_magic_cmd=$lt_file_magic_cmd18610 18611 # How to find potential files when deplibs_check_method = "file_magic".18612 file_magic_glob=$lt_file_magic_glob18613 18614 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".18615 want_nocaseglob=$lt_want_nocaseglob18616 18617 # DLL creation program.18618 DLLTOOL=$lt_DLLTOOL18619 18620 # Command to associate shared and link libraries.18621 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd18622 18623 # The archiver.18624 AR=$lt_AR18625 18626 # Flags to create an archive.18627 AR_FLAGS=$lt_AR_FLAGS18628 18629 # How to feed a file listing to the archiver.18630 archiver_list_spec=$lt_archiver_list_spec18631 18632 # A symbol stripping program.18633 STRIP=$lt_STRIP18634 18635 # Commands used to install an old-style archive.18636 RANLIB=$lt_RANLIB18637 old_postinstall_cmds=$lt_old_postinstall_cmds18638 old_postuninstall_cmds=$lt_old_postuninstall_cmds18639 18640 # Whether to use a lock for old archive extraction.18641 lock_old_archive_extraction=$lock_old_archive_extraction18642 18643 # A C compiler.18644 LTCC=$lt_CC18645 18646 # LTCC compiler flags.18647 LTCFLAGS=$lt_CFLAGS18648 18649 # Take the output of nm and produce a listing of raw symbols and C names.18650 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe18651 18652 # Transform the output of nm in a proper C declaration.18653 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl18654 18655 # Transform the output of nm into a list of symbols to manually relocate.18656 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import18657 18658 # Transform the output of nm in a C name address pair.18659 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address18660 18661 # Transform the output of nm in a C name address pair when lib prefix is needed.18662 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix18663 18664 # The name lister interface.18665 nm_interface=$lt_lt_cv_nm_interface18666 18667 # Specify filename containing input files for \$NM.18668 nm_file_list_spec=$lt_nm_file_list_spec18669 18670 # The root where to search for dependent libraries,and where our libraries should be installed.18671 lt_sysroot=$lt_sysroot18672 18673 # Command to truncate a binary pipe.18674 lt_truncate_bin=$lt_lt_cv_truncate_bin18675 18676 # The name of the directory that contains temporary libtool files.18677 objdir=$objdir18678 18679 # Used to examine libraries when file_magic_cmd begins with "file".18680 MAGIC_CMD=$MAGIC_CMD18681 18682 # Must we lock files when doing compilation?18683 need_locks=$lt_need_locks18684 18685 # Manifest tool.18686 MANIFEST_TOOL=$lt_MANIFEST_TOOL18687 18688 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.18689 DSYMUTIL=$lt_DSYMUTIL18690 18691 # Tool to change global to local symbols on Mac OS X.18692 NMEDIT=$lt_NMEDIT18693 18694 # Tool to manipulate fat objects and archives on Mac OS X.18695 LIPO=$lt_LIPO18696 18697 # ldd/readelf like tool for Mach-O binaries on Mac OS X.18698 OTOOL=$lt_OTOOL18699 18700 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.18701 OTOOL64=$lt_OTOOL6418702 18703 # Old archive suffix (normally "a").18704 libext=$libext18705 18706 # Shared library suffix (normally ".so").18707 shrext_cmds=$lt_shrext_cmds18708 18709 # The commands to extract the exported symbol list from a shared archive.18710 extract_expsyms_cmds=$lt_extract_expsyms_cmds18711 18712 # Variables whose values should be saved in libtool wrapper scripts and18713 # restored at link time.18714 variables_saved_for_relink=$lt_variables_saved_for_relink18715 18716 # Do we need the "lib" prefix for modules?18717 need_lib_prefix=$need_lib_prefix18718 18719 # Do we need a version for libraries?18720 need_version=$need_version18721 18722 # Library versioning type.18723 version_type=$version_type18724 18725 # Shared library runtime path variable.18726 runpath_var=$runpath_var18727 18728 # Shared library path variable.18729 shlibpath_var=$shlibpath_var18730 18731 # Is shlibpath searched before the hard-coded library search path?18732 shlibpath_overrides_runpath=$shlibpath_overrides_runpath18733 18734 # Format of library name prefix.18735 libname_spec=$lt_libname_spec18736 18737 # List of archive names. First name is the real one, the rest are links.18738 # The last name is the one that the linker finds with -lNAME18739 library_names_spec=$lt_library_names_spec18740 18741 # The coded name of the library, if different from the real name.18742 soname_spec=$lt_soname_spec18743 18744 # Permission mode override for installation of shared libraries.18745 install_override_mode=$lt_install_override_mode18746 18747 # Command to use after installation of a shared archive.18748 postinstall_cmds=$lt_postinstall_cmds18749 18750 # Command to use after uninstallation of a shared archive.18751 postuninstall_cmds=$lt_postuninstall_cmds18752 18753 # Commands used to finish a libtool library installation in a directory.18754 finish_cmds=$lt_finish_cmds18755 18756 # As "finish_cmds", except a single script fragment to be evaled but18757 # not shown.18758 finish_eval=$lt_finish_eval18759 18760 # Whether we should hardcode library paths into libraries.18761 hardcode_into_libs=$hardcode_into_libs18762 18763 # Compile-time system search path for libraries.18764 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec18765 18766 # Detected run-time system search path for libraries.18767 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path18768 18769 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.18770 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path18771 18772 # Whether dlopen is supported.18773 dlopen_support=$enable_dlopen18774 18775 # Whether dlopen of programs is supported.18776 dlopen_self=$enable_dlopen_self18777 18778 # Whether dlopen of statically linked programs is supported.18779 dlopen_self_static=$enable_dlopen_self_static18780 18781 # Commands to strip libraries.18782 old_striplib=$lt_old_striplib18783 striplib=$lt_striplib18784 18785 18786 # The linker used to build libraries.18787 LD=$lt_LD18788 18789 # How to create reloadable object files.18790 reload_flag=$lt_reload_flag18791 reload_cmds=$lt_reload_cmds18792 18793 # Commands used to build an old-style archive.18794 old_archive_cmds=$lt_old_archive_cmds18795 18796 # A language specific compiler.18797 CC=$lt_compiler18798 18799 # Is the compiler the GNU compiler?18800 with_gcc=$GCC18801 18802 # Compiler flag to turn off builtin functions.18803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag18804 18805 # Additional compiler flags for building library objects.18806 pic_flag=$lt_lt_prog_compiler_pic18807 18808 # How to pass a linker flag through the compiler.18809 wl=$lt_lt_prog_compiler_wl18810 18811 # Compiler flag to prevent dynamic linking.18812 link_static_flag=$lt_lt_prog_compiler_static18813 18814 # Does compiler simultaneously support -c and -o options?18815 compiler_c_o=$lt_lt_cv_prog_compiler_c_o18816 18817 # Whether or not to add -lc for building shared libraries.18818 build_libtool_need_lc=$archive_cmds_need_lc18819 18820 # Whether or not to disallow shared libs when runtime libs are static.18821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes18822 18823 # Compiler flag to allow reflexive dlopens.18824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec18825 18826 # Compiler flag to generate shared objects directly from archives.18827 whole_archive_flag_spec=$lt_whole_archive_flag_spec18828 18829 # Whether the compiler copes with passing no objects directly.18830 compiler_needs_object=$lt_compiler_needs_object18831 18832 # Create an old-style archive from a shared archive.18833 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds18834 18835 # Create a temporary old-style archive to link instead of a shared archive.18836 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds18837 18838 # Commands used to build a shared archive.18839 archive_cmds=$lt_archive_cmds18840 archive_expsym_cmds=$lt_archive_expsym_cmds18841 18842 # Commands used to build a loadable module if different from building18843 # a shared archive.18844 module_cmds=$lt_module_cmds18845 module_expsym_cmds=$lt_module_expsym_cmds18846 18847 # Whether we are building with GNU ld or not.18848 with_gnu_ld=$lt_with_gnu_ld18849 18850 # Flag that allows shared libraries with undefined symbols to be built.18851 allow_undefined_flag=$lt_allow_undefined_flag18852 18853 # Flag that enforces no undefined symbols.18854 no_undefined_flag=$lt_no_undefined_flag18855 18856 # Flag to hardcode \$libdir into a binary during linking.18857 # This must work even if \$libdir does not exist18858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec18859 18860 # Whether we need a single "-rpath" flag with a separated argument.18861 hardcode_libdir_separator=$lt_hardcode_libdir_separator18862 18863 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes18864 # DIR into the resulting binary.18865 hardcode_direct=$hardcode_direct18866 18867 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes18868 # DIR into the resulting binary and the resulting library dependency is18869 # "absolute",i.e impossible to change by setting \$shlibpath_var if the18870 # library is relocated.18871 hardcode_direct_absolute=$hardcode_direct_absolute18872 18873 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR18874 # into the resulting binary.18875 hardcode_minus_L=$hardcode_minus_L18876 18877 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR18878 # into the resulting binary.18879 hardcode_shlibpath_var=$hardcode_shlibpath_var18880 18881 # Set to "yes" if building a shared library automatically hardcodes DIR18882 # into the library and all subsequent libraries and executables linked18883 # against it.18884 hardcode_automatic=$hardcode_automatic18885 18886 # Set to yes if linker adds runtime paths of dependent libraries18887 # to runtime path list.18888 inherit_rpath=$inherit_rpath18889 18890 # Whether libtool must link a program against all its dependency libraries.18891 link_all_deplibs=$link_all_deplibs18892 18893 # Set to "yes" if exported symbols are required.18894 always_export_symbols=$always_export_symbols18895 18896 # The commands to list exported symbols.18897 export_symbols_cmds=$lt_export_symbols_cmds18898 18899 # Symbols that should not be listed in the preloaded symbols.18900 exclude_expsyms=$lt_exclude_expsyms18901 18902 # Symbols that must always be exported.18903 include_expsyms=$lt_include_expsyms18904 18905 # Commands necessary for linking programs (against libraries) with templates.18906 prelink_cmds=$lt_prelink_cmds18907 18908 # Commands necessary for finishing linking programs.18909 postlink_cmds=$lt_postlink_cmds18910 18911 # Specify filename containing input files.18912 file_list_spec=$lt_file_list_spec18913 18914 # How to hardcode a shared library path into an executable.18915 hardcode_action=$hardcode_action18916 18917 # The directories searched by this compiler when creating a shared library.18918 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs18919 18920 # Dependencies to place before and after the objects being linked to18921 # create a shared library.18922 predep_objects=$lt_predep_objects18923 postdep_objects=$lt_postdep_objects18924 predeps=$lt_predeps18925 postdeps=$lt_postdeps18926 18927 # The library search path used internally by the compiler when linking18928 # a shared library.18929 compiler_lib_search_path=$lt_compiler_lib_search_path18930 18931 # ### END LIBTOOL CONFIG18932 18933 _LT_EOF18934 18935 cat <<'_LT_EOF' >> "$cfgfile"18936 18937 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE18938 18939 # func_munge_path_list VARIABLE PATH18940 # -----------------------------------18941 # VARIABLE is name of variable containing _space_ separated list of18942 # directories to be munged by the contents of PATH, which is string18943 # having a format:18944 # "DIR[:DIR]:"18945 # string "DIR[ DIR]" will be prepended to VARIABLE18946 # ":DIR[:DIR]"18947 # string "DIR[ DIR]" will be appended to VARIABLE18948 # "DIRP[:DIRP]::[DIRA:]DIRA"18949 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string18950 # "DIRA[ DIRA]" will be appended to VARIABLE18951 # "DIR[:DIR]"18952 # VARIABLE will be replaced by "DIR[ DIR]"18953 func_munge_path_list ()18954 {18955 case x$2 in18956 x)18957 ;;18958 *:)18959 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"18960 ;;18961 x:*)18962 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"18963 ;;18964 *::*)18965 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"18966 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"18967 ;;18968 *)18969 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"18970 ;;18971 esac18972 }18973 18974 18975 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.18976 func_cc_basename ()18977 {18978 for cc_temp in $*""; do18979 case $cc_temp in18980 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;18981 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;18982 \-*) ;;18983 *) break;;18984 esac18985 done18986 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`18987 }18988 18989 18990 # ### END FUNCTIONS SHARED WITH CONFIGURE18991 18992 _LT_EOF18993 18994 case $host_os in18995 aix3*)18996 cat <<\_LT_EOF >> "$cfgfile"18997 # AIX sometimes has problems with the GCC collect2 program. For some18998 # reason, if we set the COLLECT_NAMES environment variable, the problems18999 # vanish in a puff of smoke.19000 if test set != "${COLLECT_NAMES+set}"; then19001 COLLECT_NAMES=19002 export COLLECT_NAMES19003 fi19004 _LT_EOF19005 ;;19006 esac19007 19008 19009 ltmain=$ac_aux_dir/ltmain.sh19010 19011 19012 # We use sed instead of cat because bash on DJGPP gets confused if19013 # if finds mixed CR/LF and LF-only lines. Since sed operates in19014 # text mode, it properly converts lines to CR/LF. This bash problem19015 # is reportedly fixed, but why not run on old versions too?19016 sed '$q' "$ltmain" >> "$cfgfile" \19017 || (rm -f "$cfgfile"; exit 1)19018 19019 mv -f "$cfgfile" "$ofile" ||19020 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")19021 chmod +x "$ofile"19022 19023 19024 cat <<_LT_EOF >> "$ofile"19025 19026 # ### BEGIN LIBTOOL TAG CONFIG: CXX19027 19028 # The linker used to build libraries.19029 LD=$lt_LD_CXX19030 19031 # How to create reloadable object files.19032 reload_flag=$lt_reload_flag_CXX19033 reload_cmds=$lt_reload_cmds_CXX19034 19035 # Commands used to build an old-style archive.19036 old_archive_cmds=$lt_old_archive_cmds_CXX19037 19038 # A language specific compiler.19039 CC=$lt_compiler_CXX19040 19041 # Is the compiler the GNU compiler?19042 with_gcc=$GCC_CXX19043 19044 # Compiler flag to turn off builtin functions.19045 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX19046 19047 # Additional compiler flags for building library objects.19048 pic_flag=$lt_lt_prog_compiler_pic_CXX19049 19050 # How to pass a linker flag through the compiler.19051 wl=$lt_lt_prog_compiler_wl_CXX19052 19053 # Compiler flag to prevent dynamic linking.19054 link_static_flag=$lt_lt_prog_compiler_static_CXX19055 19056 # Does compiler simultaneously support -c and -o options?19057 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX19058 19059 # Whether or not to add -lc for building shared libraries.19060 build_libtool_need_lc=$archive_cmds_need_lc_CXX19061 19062 # Whether or not to disallow shared libs when runtime libs are static.19063 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX19064 19065 # Compiler flag to allow reflexive dlopens.19066 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX19067 19068 # Compiler flag to generate shared objects directly from archives.19069 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX19070 19071 # Whether the compiler copes with passing no objects directly.19072 compiler_needs_object=$lt_compiler_needs_object_CXX19073 19074 # Create an old-style archive from a shared archive.19075 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX19076 19077 # Create a temporary old-style archive to link instead of a shared archive.19078 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX19079 19080 # Commands used to build a shared archive.19081 archive_cmds=$lt_archive_cmds_CXX19082 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX19083 19084 # Commands used to build a loadable module if different from building19085 # a shared archive.19086 module_cmds=$lt_module_cmds_CXX19087 module_expsym_cmds=$lt_module_expsym_cmds_CXX19088 19089 # Whether we are building with GNU ld or not.19090 with_gnu_ld=$lt_with_gnu_ld_CXX19091 19092 # Flag that allows shared libraries with undefined symbols to be built.19093 allow_undefined_flag=$lt_allow_undefined_flag_CXX19094 19095 # Flag that enforces no undefined symbols.19096 no_undefined_flag=$lt_no_undefined_flag_CXX19097 19098 # Flag to hardcode \$libdir into a binary during linking.19099 # This must work even if \$libdir does not exist19100 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX19101 19102 # Whether we need a single "-rpath" flag with a separated argument.19103 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX19104 19105 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes19106 # DIR into the resulting binary.19107 hardcode_direct=$hardcode_direct_CXX19108 19109 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes19110 # DIR into the resulting binary and the resulting library dependency is19111 # "absolute",i.e impossible to change by setting \$shlibpath_var if the19112 # library is relocated.19113 hardcode_direct_absolute=$hardcode_direct_absolute_CXX19114 19115 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR19116 # into the resulting binary.19117 hardcode_minus_L=$hardcode_minus_L_CXX19118 19119 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR19120 # into the resulting binary.19121 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX19122 19123 # Set to "yes" if building a shared library automatically hardcodes DIR19124 # into the library and all subsequent libraries and executables linked19125 # against it.19126 hardcode_automatic=$hardcode_automatic_CXX19127 19128 # Set to yes if linker adds runtime paths of dependent libraries19129 # to runtime path list.19130 inherit_rpath=$inherit_rpath_CXX19131 19132 # Whether libtool must link a program against all its dependency libraries.19133 link_all_deplibs=$link_all_deplibs_CXX19134 19135 # Set to "yes" if exported symbols are required.19136 always_export_symbols=$always_export_symbols_CXX19137 19138 # The commands to list exported symbols.19139 export_symbols_cmds=$lt_export_symbols_cmds_CXX19140 19141 # Symbols that should not be listed in the preloaded symbols.19142 exclude_expsyms=$lt_exclude_expsyms_CXX19143 19144 # Symbols that must always be exported.19145 include_expsyms=$lt_include_expsyms_CXX19146 19147 # Commands necessary for linking programs (against libraries) with templates.19148 prelink_cmds=$lt_prelink_cmds_CXX19149 19150 # Commands necessary for finishing linking programs.19151 postlink_cmds=$lt_postlink_cmds_CXX19152 19153 # Specify filename containing input files.19154 file_list_spec=$lt_file_list_spec_CXX19155 19156 # How to hardcode a shared library path into an executable.19157 hardcode_action=$hardcode_action_CXX19158 19159 # The directories searched by this compiler when creating a shared library.19160 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX19161 19162 # Dependencies to place before and after the objects being linked to19163 # create a shared library.19164 predep_objects=$lt_predep_objects_CXX19165 postdep_objects=$lt_postdep_objects_CXX19166 predeps=$lt_predeps_CXX19167 postdeps=$lt_postdeps_CXX19168 19169 # The library search path used internally by the compiler when linking19170 # a shared library.19171 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX19172 19173 # ### END LIBTOOL TAG CONFIG: CXX19174 _LT_EOF19175 19176 ;;19177 5614 19178 5615 esac -
libcfa/configure.ac
r6d44da1 r7428ad9 4 4 AC_PREREQ([2.68]) 5 5 AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca]) 6 AC_CONFIG_AUX_DIR([automake]) 7 AC_CONFIG_MACRO_DIRS([automake]) 6 AC_CONFIG_AUX_DIR([./automake]) 8 7 AM_SILENT_RULES([yes]) 9 8 … … 71 70 72 71 # Checks for programs. 73 LT_INIT74 75 72 AC_PROG_CXX 76 73 AC_PROG_CC … … 78 75 AC_PROG_INSTALL 79 76 AC_PROG_MAKE_SET 77 AC_PROG_RANLIB 80 78 81 79 AC_CONFIG_FILES([ -
libcfa/prelude/Makefile.am
r6d44da1 r7428ad9 17 17 # create object files in directory with source files 18 18 AUTOMAKE_OPTIONS = foreign subdir-objects 19 ACLOCAL_AMFLAGS = -I automake20 19 21 20 # put into lib for now … … 24 23 25 24 CC = @CFACC@ 26 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC@ARCH_FLAGS@ @CONFIG_CFLAGS@25 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 27 26 AM_CFAFLAGS = @CONFIG_CFAFLAGS@ 28 27 -
libcfa/prelude/Makefile.in
r6d44da1 r7428ad9 90 90 PRE_UNINSTALL = : 91 91 POST_UNINSTALL = : 92 build_triplet = @build@93 host_triplet = @host@94 92 subdir = prelude 95 93 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 96 am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \ 97 $(top_srcdir)/automake/ltoptions.m4 \ 98 $(top_srcdir)/automake/ltsugar.m4 \ 99 $(top_srcdir)/automake/ltversion.m4 \ 100 $(top_srcdir)/automake/lt~obsolete.m4 \ 101 $(top_srcdir)/../automake/cfa.m4 $(top_srcdir)/configure.ac 94 am__aclocal_m4_deps = $(top_srcdir)/../automake/cfa.m4 \ 95 $(top_srcdir)/configure.ac 102 96 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 103 97 $(ACLOCAL_M4) … … 160 154 AMTAR = @AMTAR@ 161 155 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 162 AR = @AR@163 156 ARCHITECTURE = @ARCHITECTURE@ 164 157 ARCH_FLAGS = @ARCH_FLAGS@ … … 184 177 CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@ 185 178 CONFIG_CFLAGS = @CONFIG_CFLAGS@ 186 CPP = @CPP@187 179 CPPFLAGS = @CPPFLAGS@ 188 180 CXX = @CXX@ 189 CXXCPP = @CXXCPP@190 181 CXXDEPMODE = @CXXDEPMODE@ 191 182 CXXFLAGS = @CXXFLAGS@ … … 193 184 DEFS = @DEFS@ 194 185 DEPDIR = @DEPDIR@ 195 DLLTOOL = @DLLTOOL@196 186 DRIVER_DIR = @DRIVER_DIR@ 197 DSYMUTIL = @DSYMUTIL@198 DUMPBIN = @DUMPBIN@199 187 ECHO_C = @ECHO_C@ 200 188 ECHO_N = @ECHO_N@ 201 189 ECHO_T = @ECHO_T@ 202 EGREP = @EGREP@203 190 EXEEXT = @EXEEXT@ 204 FGREP = @FGREP@205 GREP = @GREP@206 191 INSTALL = @INSTALL@ 207 192 INSTALL_DATA = @INSTALL_DATA@ … … 209 194 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 210 195 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 211 LD = @LD@212 196 LDFLAGS = @LDFLAGS@ 213 197 LIBOBJS = @LIBOBJS@ 214 198 LIBS = @LIBS@ 215 LIBTOOL = @LIBTOOL@216 LIPO = @LIPO@217 LN_S = @LN_S@218 199 LTLIBOBJS = @LTLIBOBJS@ 219 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@220 200 MAKEINFO = @MAKEINFO@ 221 MANIFEST_TOOL = @MANIFEST_TOOL@222 201 MKDIR_P = @MKDIR_P@ 223 NM = @NM@224 NMEDIT = @NMEDIT@225 OBJDUMP = @OBJDUMP@226 202 OBJEXT = @OBJEXT@ 227 OTOOL = @OTOOL@228 OTOOL64 = @OTOOL64@229 203 PACKAGE = @PACKAGE@ 230 204 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ … … 236 210 PATH_SEPARATOR = @PATH_SEPARATOR@ 237 211 RANLIB = @RANLIB@ 238 SED = @SED@239 212 SET_MAKE = @SET_MAKE@ 240 213 SHELL = @SHELL@ … … 245 218 abs_top_builddir = @abs_top_builddir@ 246 219 abs_top_srcdir = @abs_top_srcdir@ 247 ac_ct_AR = @ac_ct_AR@248 220 ac_ct_CC = @ac_ct_CC@ 249 221 ac_ct_CXX = @ac_ct_CXX@ 250 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@251 222 am__include = @am__include@ 252 223 am__leading_dot = @am__leading_dot@ … … 255 226 am__untar = @am__untar@ 256 227 bindir = @bindir@ 257 build = @build@258 228 build_alias = @build_alias@ 259 build_cpu = @build_cpu@260 build_os = @build_os@261 build_vendor = @build_vendor@262 229 builddir = @builddir@ 263 230 datadir = @datadir@ … … 266 233 dvidir = @dvidir@ 267 234 exec_prefix = @exec_prefix@ 268 host = @host@269 235 host_alias = @host_alias@ 270 host_cpu = @host_cpu@271 host_os = @host_os@272 host_vendor = @host_vendor@273 236 htmldir = @htmldir@ 274 237 includedir = @includedir@ … … 298 261 # create object files in directory with source files 299 262 AUTOMAKE_OPTIONS = foreign subdir-objects 300 ACLOCAL_AMFLAGS = -I automake301 263 302 264 # put into lib for now 303 265 cfalibdir = ${CFA_LIBDIR} 304 <<<<<<< HEAD305 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cf bootloader.c306 noinst_DATA = ../src/prelude.c307 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@308 =======309 266 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c 310 267 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 311 >>>>>>> master312 268 AM_CFAFLAGS = @CONFIG_CFAFLAGS@ 313 269 MOSTLYCLEANFILES = bootloader.c builtins.cf extras.cf gcc-builtins.c gcc-builtins.cf prelude.cfa … … 345 301 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 346 302 $(am__aclocal_m4_deps): 347 348 mostlyclean-libtool:349 -rm -f *.lo350 351 clean-libtool:352 -rm -rf .libs _libs353 303 install-cfalibDATA: $(cfalib_DATA) 354 304 @$(NORMAL_INSTALL) … … 450 400 clean: clean-am 451 401 452 clean-am: clean-generic clean-libtoolmostlyclean-am402 clean-am: clean-generic mostlyclean-am 453 403 454 404 distclean: distclean-am … … 503 453 mostlyclean: mostlyclean-am 504 454 505 mostlyclean-am: mostlyclean-generic mostlyclean-libtool455 mostlyclean-am: mostlyclean-generic 506 456 507 457 pdf: pdf-am … … 517 467 .MAKE: install-am install-strip 518 468 519 .PHONY: all all-am check check-am clean clean-generic clean-libtool \ 520 cscopelist-am ctags-am distclean distclean-generic \ 521 distclean-libtool distdir dvi dvi-am html html-am info info-am \ 522 install install-am install-cfalibDATA install-data \ 523 install-data-am install-dvi install-dvi-am install-exec \ 524 install-exec-am install-html install-html-am install-info \ 525 install-info-am install-man install-pdf install-pdf-am \ 526 install-ps install-ps-am install-strip installcheck \ 527 installcheck-am installdirs maintainer-clean \ 469 .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ 470 ctags-am distclean distclean-generic distdir dvi dvi-am html \ 471 html-am info info-am install install-am install-cfalibDATA \ 472 install-data install-data-am install-dvi install-dvi-am \ 473 install-exec install-exec-am install-html install-html-am \ 474 install-info install-info-am install-man install-pdf \ 475 install-pdf-am install-ps install-ps-am install-strip \ 476 installcheck installcheck-am installdirs maintainer-clean \ 528 477 maintainer-clean-generic maintainer-clean-local mostlyclean \ 529 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am\530 tags-am uninstalluninstall-am uninstall-cfalibDATA478 mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ 479 uninstall-am uninstall-cfalibDATA 531 480 532 481 .PRECIOUS: Makefile -
libcfa/src/Makefile.am
r6d44da1 r7428ad9 17 17 # create object files in directory with source files 18 18 AUTOMAKE_OPTIONS = foreign subdir-objects 19 ACLOCAL_AMFLAGS = -I automake20 19 ARFLAGS = cr 21 20 … … 23 22 24 23 libdir = ${CFA_LIBDIR} 25 lib_L TLIBRARIES = libcfa.la24 lib_LIBRARIES = libcfa.a 26 25 27 26 VPATH += :../prelude … … 32 31 # The built sources must not depend on the installed headers 33 32 AM_CFAFLAGS = -quiet -in-tree -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@ 34 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC@ARCH_FLAGS@ @CONFIG_CFLAGS@33 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 35 34 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 36 35 CFACC = @CFACC@ … … 48 47 headers_nosrc += concurrency/invoke.h 49 48 50 libobjs = ${headers:.hfa=.lo}51 49 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} 52 50 … … 65 63 66 64 # add dependency of cfa files 67 libobjs = $(addsuffix . lo, $(basename $(filter %.cfa,$(libsrc))))65 libobjs = $(addsuffix .o, $(basename $(filter %.cfa,$(libsrc)))) 68 66 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 69 67 … … 72 70 libdeps = $(join \ 73 71 $(addsuffix $(DEPDIR)/ , $(dir $(libobjs) ) ), \ 74 $(notdir ${libobjs:. lo=.Po}) \72 $(notdir ${libobjs:.o=.Po}) \ 75 73 ) 76 74 77 75 -include $(libdeps) 78 76 79 prelude. lo : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@77 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 80 78 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 81 79 … … 83 81 84 82 #---------------------------------------------------------------------------------------------------------------- 85 libcfa_ la_SOURCES = prelude.cfa ${libsrc}83 libcfa_a_SOURCES = prelude.cfa ${libsrc} 86 84 87 stdhdr = $ (shell find $(srcdir)/stdhdr -type f -printf "%p ")85 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "} 88 86 89 87 cfa_includedir = $(CFA_INCDIR) -
libcfa/src/Makefile.in
r6d44da1 r7428ad9 90 90 PRE_UNINSTALL = : 91 91 POST_UNINSTALL = : 92 build_triplet = @build@93 host_triplet = @host@94 92 subdir = src 95 93 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 96 am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \ 97 $(top_srcdir)/automake/ltoptions.m4 \ 98 $(top_srcdir)/automake/ltsugar.m4 \ 99 $(top_srcdir)/automake/ltversion.m4 \ 100 $(top_srcdir)/automake/lt~obsolete.m4 \ 101 $(top_srcdir)/../automake/cfa.m4 $(top_srcdir)/configure.ac 94 am__aclocal_m4_deps = $(top_srcdir)/../automake/cfa.m4 \ 95 $(top_srcdir)/configure.ac 102 96 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 103 97 $(ACLOCAL_M4) … … 135 129 } 136 130 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfa_includedir)" 137 <<<<<<< HEAD138 LTLIBRARIES = $(lib_LTLIBRARIES)139 libcfa_la_LIBADD =140 am__dirstamp = $(am__leading_dot)dirstamp141 am__objects_1 = fstream.lo iostream.lo iterator.lo limits.lo \142 rational.lo time.lo stdlib.lo common.lo containers/maybe.lo \143 containers/pair.lo containers/result.lo containers/vector.lo \144 concurrency/coroutine.lo concurrency/thread.lo \145 concurrency/kernel.lo concurrency/monitor.lo \146 concurrency/mutex.lo147 am__objects_2 = prelude.lo startup.lo interpose.lo bits/debug.lo \148 assert.lo exception.lo virtual.lo heap.lo $(am__objects_1) \149 concurrency/CtxSwitch-@ARCHITECTURE@.lo concurrency/alarm.lo \150 concurrency/invoke.lo concurrency/preemption.lo151 am_libcfa_la_OBJECTS = $(am__objects_2)152 libcfa_la_OBJECTS = $(am_libcfa_la_OBJECTS)153 AM_V_lt = $(am__v_lt_@AM_V@)154 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)155 am__v_lt_0 = --silent156 am__v_lt_1 =157 =======158 131 LIBRARIES = $(lib_LIBRARIES) 159 132 AR = ar … … 198 171 am_libcfa_a_OBJECTS = prelude.$(OBJEXT) $(am__objects_2) 199 172 libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS) 200 >>>>>>> master201 173 AM_V_P = $(am__v_P_@AM_V@) 202 174 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) … … 212 184 am__v_at_1 = 213 185 DEFAULT_INCLUDES = -I.@am__isrc@ 214 depcomp = $(SHELL) $(top_srcdir)/ automake/depcomp186 depcomp = $(SHELL) $(top_srcdir)/./automake/depcomp 215 187 am__depfiles_maybe = depfiles 216 188 am__mv = mv -f 217 189 CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 218 190 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) 219 LTCPPASCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \220 $(LIBTOOLFLAGS) --mode=compile $(CCAS) $(DEFS) \221 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \222 $(AM_CCASFLAGS) $(CCASFLAGS)223 191 AM_V_CPPAS = $(am__v_CPPAS_@AM_V@) 224 192 am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@) … … 227 195 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 228 196 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 229 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \230 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \231 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \232 $(AM_CFLAGS) $(CFLAGS)233 197 AM_V_CC = $(am__v_CC_@AM_V@) 234 198 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) … … 236 200 am__v_CC_1 = 237 201 CCLD = $(CC) 238 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 239 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 240 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 202 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 241 203 AM_V_CCLD = $(am__v_CCLD_@AM_V@) 242 204 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) 243 205 am__v_CCLD_0 = @echo " CCLD " $@; 244 206 am__v_CCLD_1 = 245 <<<<<<< HEAD246 SOURCES = $(libcfa_la_SOURCES)247 DIST_SOURCES = $(libcfa_la_SOURCES)248 =======249 207 SOURCES = $(libcfa_a_SOURCES) 250 208 DIST_SOURCES = $(am__libcfa_a_SOURCES_DIST) 251 >>>>>>> master252 209 am__can_run_installinfo = \ 253 210 case $$AM_UPDATE_INFO_DIR in \ … … 285 242 CTAGS = ctags 286 243 am__DIST_COMMON = $(srcdir)/../../src/cfa.make $(srcdir)/Makefile.in \ 287 $(top_srcdir)/ automake/depcomp244 $(top_srcdir)/./automake/depcomp 288 245 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 289 246 VPATH = @srcdir@ :../prelude … … 291 248 AMTAR = @AMTAR@ 292 249 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 293 AR = @AR@294 250 ARCHITECTURE = @ARCHITECTURE@ 295 251 ARCH_FLAGS = @ARCH_FLAGS@ … … 315 271 CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@ 316 272 CONFIG_CFLAGS = @CONFIG_CFLAGS@ 317 CPP = @CPP@318 273 CPPFLAGS = @CPPFLAGS@ 319 274 CXX = @CXX@ 320 CXXCPP = @CXXCPP@321 275 CXXDEPMODE = @CXXDEPMODE@ 322 276 CXXFLAGS = @CXXFLAGS@ … … 324 278 DEFS = @DEFS@ 325 279 DEPDIR = @DEPDIR@ 326 DLLTOOL = @DLLTOOL@327 280 DRIVER_DIR = @DRIVER_DIR@ 328 DSYMUTIL = @DSYMUTIL@329 DUMPBIN = @DUMPBIN@330 281 ECHO_C = @ECHO_C@ 331 282 ECHO_N = @ECHO_N@ 332 283 ECHO_T = @ECHO_T@ 333 EGREP = @EGREP@334 284 EXEEXT = @EXEEXT@ 335 FGREP = @FGREP@336 GREP = @GREP@337 285 INSTALL = @INSTALL@ 338 286 INSTALL_DATA = @INSTALL_DATA@ … … 340 288 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 341 289 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 342 LD = @LD@343 290 LDFLAGS = @LDFLAGS@ 344 291 LIBOBJS = @LIBOBJS@ 345 292 LIBS = @LIBS@ 346 LIBTOOL = @LIBTOOL@347 LIPO = @LIPO@348 LN_S = @LN_S@349 293 LTLIBOBJS = @LTLIBOBJS@ 350 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@351 294 MAKEINFO = @MAKEINFO@ 352 MANIFEST_TOOL = @MANIFEST_TOOL@353 295 MKDIR_P = @MKDIR_P@ 354 NM = @NM@355 NMEDIT = @NMEDIT@356 OBJDUMP = @OBJDUMP@357 296 OBJEXT = @OBJEXT@ 358 OTOOL = @OTOOL@359 OTOOL64 = @OTOOL64@360 297 PACKAGE = @PACKAGE@ 361 298 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ … … 367 304 PATH_SEPARATOR = @PATH_SEPARATOR@ 368 305 RANLIB = @RANLIB@ 369 SED = @SED@370 306 SET_MAKE = @SET_MAKE@ 371 307 SHELL = @SHELL@ … … 376 312 abs_top_builddir = @abs_top_builddir@ 377 313 abs_top_srcdir = @abs_top_srcdir@ 378 ac_ct_AR = @ac_ct_AR@379 314 ac_ct_CC = @ac_ct_CC@ 380 315 ac_ct_CXX = @ac_ct_CXX@ 381 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@382 316 am__include = @am__include@ 383 317 am__leading_dot = @am__leading_dot@ … … 386 320 am__untar = @am__untar@ 387 321 bindir = @bindir@ 388 build = @build@389 322 build_alias = @build_alias@ 390 build_cpu = @build_cpu@391 build_os = @build_os@392 build_vendor = @build_vendor@393 323 builddir = @builddir@ 394 324 datadir = @datadir@ … … 397 327 dvidir = @dvidir@ 398 328 exec_prefix = @exec_prefix@ 399 host = @host@400 329 host_alias = @host_alias@ 401 host_cpu = @host_cpu@402 host_os = @host_os@403 host_vendor = @host_vendor@404 330 htmldir = @htmldir@ 405 331 includedir = @includedir@ … … 429 355 # create object files in directory with source files 430 356 AUTOMAKE_OPTIONS = foreign subdir-objects 431 <<<<<<< HEAD432 ACLOCAL_AMFLAGS = -I automake433 =======434 >>>>>>> master435 357 ARFLAGS = cr 436 358 CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS) 437 LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \438 $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \439 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \440 $(AM_CFLAGS) $(CFLAGS)441 442 359 AM_V_CFA = $(am__v_CFA_@AM_V@) 443 360 am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@) 444 361 am__v_CFA_0 = @echo " CFA " $@; 445 362 am__v_CFA_1 = 446 lib_L TLIBRARIES = libcfa.la363 lib_LIBRARIES = libcfa.a 447 364 448 365 # AM_CFLAGS for all cfa source … … 450 367 # use -no-include-stdhdr to prevent rebuild cycles 451 368 # The built sources must not depend on the installed headers 452 <<<<<<< HEAD453 AM_CFAFLAGS = -quiet -in-tree -imacros prelude.c -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@454 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@455 =======456 369 AM_CFAFLAGS = -quiet -in-tree -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@ 457 370 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 458 >>>>>>> master459 371 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 460 372 @BUILDLIB_FALSE@headers = … … 463 375 464 376 # not all platforms support concurrency, add option do disable it 465 <<<<<<< HEAD466 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa \467 rational.hfa time.hfa stdlib.hfa common.hfa \468 containers/maybe.hfa containers/pair.hfa containers/result.hfa \469 containers/vector.hfa concurrency/coroutine.hfa \470 concurrency/thread.hfa concurrency/kernel.hfa \471 concurrency/monitor.hfa concurrency/mutex.hfa472 libobjs = ${headers:.hfa=.lo}473 474 # not all platforms support concurrency, add option do disable it475 libsrc = prelude.c startup.cfa interpose.cfa bits/debug.cfa assert.cfa \476 exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} \477 concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa \478 concurrency/invoke.c concurrency/preemption.cfa479 libcfa_la_SOURCES = ${libsrc}480 stdhdr = $(shell find $(srcdir)/stdhdr -type f -printf "%p ")481 =======482 377 @BUILDLIB_TRUE@headers = fstream.hfa iostream.hfa iterator.hfa \ 483 378 @BUILDLIB_TRUE@ limits.hfa rational.hfa time.hfa stdlib.hfa \ … … 519 414 libcfa_a_SOURCES = prelude.cfa ${libsrc} 520 415 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "} 521 >>>>>>> master522 416 cfa_includedir = $(CFA_INCDIR) 523 417 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} … … 525 419 526 420 .SUFFIXES: 527 .SUFFIXES: .S .c .cfa . lo .o .obj421 .SUFFIXES: .S .c .cfa .o .obj 528 422 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../src/cfa.make $(am__configure_deps) 529 423 @for dep in $?; do \ … … 556 450 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 557 451 $(am__aclocal_m4_deps): 558 559 install-libLTLIBRARIES: $(lib_LTLIBRARIES) 452 install-libLIBRARIES: $(lib_LIBRARIES) 560 453 @$(NORMAL_INSTALL) 561 @list='$(lib_L TLIBRARIES)'; test -n "$(libdir)" || list=; \454 @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ 562 455 list2=; for p in $$list; do \ 563 456 if test -f $$p; then \ … … 568 461 echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ 569 462 $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ 570 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ 571 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ 572 } 573 574 uninstall-libLTLIBRARIES: 463 echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(libdir)'"; \ 464 $(INSTALL_DATA) $$list2 "$(DESTDIR)$(libdir)" || exit $$?; } 465 @$(POST_INSTALL) 466 @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ 467 for p in $$list; do \ 468 if test -f $$p; then \ 469 $(am__strip_dir) \ 470 echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \ 471 ( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \ 472 else :; fi; \ 473 done 474 475 uninstall-libLIBRARIES: 575 476 @$(NORMAL_UNINSTALL) 576 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ 577 for p in $$list; do \ 578 $(am__strip_dir) \ 579 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ 580 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ 581 done 582 583 clean-libLTLIBRARIES: 584 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 585 @list='$(lib_LTLIBRARIES)'; \ 586 locs=`for p in $$list; do echo $$p; done | \ 587 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ 588 sort -u`; \ 589 test -z "$$locs" || { \ 590 echo rm -f $${locs}; \ 591 rm -f $${locs}; \ 592 } 477 @list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \ 478 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ 479 dir='$(DESTDIR)$(libdir)'; $(am__uninstall_files_from_dir) 480 481 clean-libLIBRARIES: 482 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) 593 483 bits/$(am__dirstamp): 594 484 @$(MKDIR_P) bits … … 597 487 @$(MKDIR_P) bits/$(DEPDIR) 598 488 @: > bits/$(DEPDIR)/$(am__dirstamp) 599 bits/debug.lo: bits/$(am__dirstamp) bits/$(DEPDIR)/$(am__dirstamp) 489 bits/debug.$(OBJEXT): bits/$(am__dirstamp) \ 490 bits/$(DEPDIR)/$(am__dirstamp) 600 491 containers/$(am__dirstamp): 601 492 @$(MKDIR_P) containers … … 604 495 @$(MKDIR_P) containers/$(DEPDIR) 605 496 @: > containers/$(DEPDIR)/$(am__dirstamp) 606 containers/maybe. lo: containers/$(am__dirstamp) \497 containers/maybe.$(OBJEXT): containers/$(am__dirstamp) \ 607 498 containers/$(DEPDIR)/$(am__dirstamp) 608 containers/pair. lo: containers/$(am__dirstamp) \499 containers/pair.$(OBJEXT): containers/$(am__dirstamp) \ 609 500 containers/$(DEPDIR)/$(am__dirstamp) 610 containers/result. lo: containers/$(am__dirstamp) \501 containers/result.$(OBJEXT): containers/$(am__dirstamp) \ 611 502 containers/$(DEPDIR)/$(am__dirstamp) 612 containers/vector. lo: containers/$(am__dirstamp) \503 containers/vector.$(OBJEXT): containers/$(am__dirstamp) \ 613 504 containers/$(DEPDIR)/$(am__dirstamp) 614 505 concurrency/$(am__dirstamp): … … 618 509 @$(MKDIR_P) concurrency/$(DEPDIR) 619 510 @: > concurrency/$(DEPDIR)/$(am__dirstamp) 620 concurrency/coroutine. lo: concurrency/$(am__dirstamp) \511 concurrency/coroutine.$(OBJEXT): concurrency/$(am__dirstamp) \ 621 512 concurrency/$(DEPDIR)/$(am__dirstamp) 622 concurrency/thread. lo: concurrency/$(am__dirstamp) \513 concurrency/thread.$(OBJEXT): concurrency/$(am__dirstamp) \ 623 514 concurrency/$(DEPDIR)/$(am__dirstamp) 624 concurrency/kernel. lo: concurrency/$(am__dirstamp) \515 concurrency/kernel.$(OBJEXT): concurrency/$(am__dirstamp) \ 625 516 concurrency/$(DEPDIR)/$(am__dirstamp) 626 concurrency/monitor. lo: concurrency/$(am__dirstamp) \517 concurrency/monitor.$(OBJEXT): concurrency/$(am__dirstamp) \ 627 518 concurrency/$(DEPDIR)/$(am__dirstamp) 628 concurrency/mutex. lo: concurrency/$(am__dirstamp) \519 concurrency/mutex.$(OBJEXT): concurrency/$(am__dirstamp) \ 629 520 concurrency/$(DEPDIR)/$(am__dirstamp) 630 concurrency/CtxSwitch-@ARCHITECTURE@.lo: concurrency/$(am__dirstamp) \ 521 concurrency/CtxSwitch-@ARCHITECTURE@.$(OBJEXT): \ 522 concurrency/$(am__dirstamp) \ 631 523 concurrency/$(DEPDIR)/$(am__dirstamp) 632 concurrency/alarm. lo: concurrency/$(am__dirstamp) \524 concurrency/alarm.$(OBJEXT): concurrency/$(am__dirstamp) \ 633 525 concurrency/$(DEPDIR)/$(am__dirstamp) 634 concurrency/invoke. lo: concurrency/$(am__dirstamp) \526 concurrency/invoke.$(OBJEXT): concurrency/$(am__dirstamp) \ 635 527 concurrency/$(DEPDIR)/$(am__dirstamp) 636 concurrency/preemption. lo: concurrency/$(am__dirstamp) \528 concurrency/preemption.$(OBJEXT): concurrency/$(am__dirstamp) \ 637 529 concurrency/$(DEPDIR)/$(am__dirstamp) 638 530 639 libcfa.la: $(libcfa_la_OBJECTS) $(libcfa_la_DEPENDENCIES) $(EXTRA_libcfa_la_DEPENDENCIES) 640 $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libcfa_la_OBJECTS) $(libcfa_la_LIBADD) $(LIBS) 531 libcfa.a: $(libcfa_a_OBJECTS) $(libcfa_a_DEPENDENCIES) $(EXTRA_libcfa_a_DEPENDENCIES) 532 $(AM_V_at)-rm -f libcfa.a 533 $(AM_V_AR)$(libcfa_a_AR) libcfa.a $(libcfa_a_OBJECTS) $(libcfa_a_LIBADD) 534 $(AM_V_at)$(RANLIB) libcfa.a 641 535 642 536 mostlyclean-compile: 643 537 -rm -f *.$(OBJEXT) 644 538 -rm -f bits/*.$(OBJEXT) 645 -rm -f bits/*.lo646 539 -rm -f concurrency/*.$(OBJEXT) 647 -rm -f concurrency/*.lo648 540 -rm -f containers/*.$(OBJEXT) 649 -rm -f containers/*.lo650 541 651 542 distclean-compile: 652 543 -rm -f *.tab.c 653 544 654 <<<<<<< HEAD655 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Plo@am__quote@656 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prelude.Plo@am__quote@657 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virtual.Plo@am__quote@658 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch-@ARCHITECTURE@.Plo@am__quote@659 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/invoke.Plo@am__quote@660 =======661 545 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Po@am__quote@ 662 546 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virtual.Po@am__quote@ 663 547 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch-@ARCHITECTURE@.Po@am__quote@ 664 548 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/invoke.Po@am__quote@ 665 >>>>>>> master666 549 667 550 .S.o: … … 681 564 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 682 565 683 .S.lo:684 @am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\685 @am__fastdepCCAS_TRUE@ $(LTCPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\686 @am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo687 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@688 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@689 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(LTCPPASCOMPILE) -c -o $@ $<690 691 566 .c.o: 692 567 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ … … 704 579 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 705 580 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 706 707 .c.lo:708 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\709 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\710 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo711 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@712 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@713 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<714 715 mostlyclean-libtool:716 -rm -f *.lo717 718 clean-libtool:719 -rm -rf .libs _libs720 -rm -rf bits/.libs bits/_libs721 -rm -rf concurrency/.libs concurrency/_libs722 -rm -rf containers/.libs containers/_libs723 581 install-nobase_cfa_includeHEADERS: $(nobase_cfa_include_HEADERS) 724 582 @$(NORMAL_INSTALL) … … 830 688 check-am: all-am 831 689 check: check-am 832 all-am: Makefile $(L TLIBRARIES) $(HEADERS)690 all-am: Makefile $(LIBRARIES) $(HEADERS) 833 691 installdirs: 834 692 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfa_includedir)"; do \ … … 873 731 clean: clean-am 874 732 875 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ 876 mostlyclean-am 733 clean-am: clean-generic clean-libLIBRARIES mostlyclean-am 877 734 878 735 distclean: distclean-am … … 900 757 install-dvi-am: 901 758 902 install-exec-am: install-libL TLIBRARIES759 install-exec-am: install-libLIBRARIES 903 760 904 761 install-html: install-html-am … … 930 787 mostlyclean: mostlyclean-am 931 788 932 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 933 mostlyclean-libtool 789 mostlyclean-am: mostlyclean-compile mostlyclean-generic 934 790 935 791 pdf: pdf-am … … 941 797 ps-am: 942 798 943 uninstall-am: uninstall-libL TLIBRARIES \799 uninstall-am: uninstall-libLIBRARIES \ 944 800 uninstall-nobase_cfa_includeHEADERS 945 801 … … 947 803 948 804 .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ 949 clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ 950 ctags-am distclean distclean-compile distclean-generic \ 951 distclean-libtool distclean-tags distdir dvi dvi-am html \ 952 html-am info info-am install install-am install-data \ 953 install-data-am install-dvi install-dvi-am install-exec \ 954 install-exec-am install-html install-html-am install-info \ 955 install-info-am install-libLTLIBRARIES install-man \ 805 clean-libLIBRARIES cscopelist-am ctags ctags-am distclean \ 806 distclean-compile distclean-generic distclean-tags distdir dvi \ 807 dvi-am html html-am info info-am install install-am \ 808 install-data install-data-am install-dvi install-dvi-am \ 809 install-exec install-exec-am install-html install-html-am \ 810 install-info install-info-am install-libLIBRARIES install-man \ 956 811 install-nobase_cfa_includeHEADERS install-pdf install-pdf-am \ 957 812 install-ps install-ps-am install-strip installcheck \ 958 813 installcheck-am installdirs maintainer-clean \ 959 814 maintainer-clean-generic maintainer-clean-local mostlyclean \ 960 mostlyclean-compile mostlyclean-generic mostlyclean-libtool\961 pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am\962 uninstall- libLTLIBRARIES uninstall-nobase_cfa_includeHEADERS815 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ 816 tags tags-am uninstall uninstall-am uninstall-libLIBRARIES \ 817 uninstall-nobase_cfa_includeHEADERS 963 818 964 819 .PRECIOUS: Makefile … … 971 826 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 972 827 973 <<<<<<< HEAD974 .cfa.lo:975 $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\976 $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\977 $(am__mv) $$depbase.Tpo $$depbase.Plo978 979 #----------------------------------------------------------------------------------------------------------------980 # add dependency to cfa-cpp so all libraries are rebuilt with new translator981 ${libobjs} : ${cfalib_DATA}982 =======983 828 -include $(libdeps) 984 829 985 830 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 986 831 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 987 >>>>>>> master988 832 989 833 #---------------------------------------------------------------------------------------------------------------- -
libcfa/src/concurrency/invoke.h
r6d44da1 r7428ad9 59 59 volatile bool in_progress; 60 60 } preemption_state; 61 } kernelTLS __attribute__ ((tls_model ( "initial-exec" )));61 } kernelTLS; 62 62 } 63 63 -
libcfa/src/concurrency/kernel.cfa
r6d44da1 r7428ad9 57 57 //----------------------------------------------------------------------------- 58 58 // Global state 59 thread_local struct KernelThreadData kernelTLS __attribute__ ((tls_model ( "initial-exec" )))= {59 thread_local struct KernelThreadData kernelTLS = { 60 60 NULL, 61 61 NULL, -
libcfa/src/concurrency/kernel_private.hfa
r6d44da1 r7428ad9 79 79 }; 80 80 81 extern volatile thread_local __cfa_kernel_preemption_state_t preemption_state __attribute__ ((tls_model ( "initial-exec" )));81 extern volatile thread_local __cfa_kernel_preemption_state_t preemption_state; 82 82 83 83 //----------------------------------------------------------------------------- -
libcfa/src/exception.c
r6d44da1 r7428ad9 246 246 } 247 247 248 #if defined(PIC)249 #warning Exceptions not yet supported when using Position-Independent Code250 __attribute__((noinline))251 void __cfaabi_ehm__try_terminate(void (*try_block)(),252 void (*catch_block)(int index, exception_t * except),253 __attribute__((unused)) int (*match_block)(exception_t * except)) {254 abort();255 }256 #else257 248 // This is our personality routine. For every stack frame anotated with ".cfi_personality 0x3,__gcfa_personality_v0". 258 249 // This function will be called twice when unwinding. Once in the search phased and once in the cleanup phase. … … 486 477 ); 487 478 #endif // __i386 || __x86_64 488 #endif //PIC -
src/cfa.make
r6d44da1 r7428ad9 1 2 3 1 CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS) 4 LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \5 $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \6 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \7 $(AM_CFLAGS) $(CFLAGS)8 2 9 3 AM_V_CFA = $(am__v_CFA_@AM_V@) … … 16 10 $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 17 11 $(am__mv) $$depbase.Tpo $$depbase.Po 18 19 .cfa.lo:20 $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\21 $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\22 $(am__mv) $$depbase.Tpo $$depbase.Plo
Note:
See TracChangeset
for help on using the changeset viewer.