configure (266114) | configure (276605) |
---|---|
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. | 1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. |
3# Generated by GNU Autoconf 2.69 for unbound 1.4.22. | 3# Generated by GNU Autoconf 2.69 for unbound 1.5.1. |
4# 5# Report bugs to <unbound-bugs@nlnetlabs.nl>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation --- 573 unchanged lines hidden (view full) --- 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='unbound' 592PACKAGE_TARNAME='unbound' | 4# 5# Report bugs to <unbound-bugs@nlnetlabs.nl>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation --- 573 unchanged lines hidden (view full) --- 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='unbound' 592PACKAGE_TARNAME='unbound' |
593PACKAGE_VERSION='1.4.22' 594PACKAGE_STRING='unbound 1.4.22' | 593PACKAGE_VERSION='1.5.1' 594PACKAGE_STRING='unbound 1.5.1' |
595PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> --- 24 unchanged lines hidden (view full) --- 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='LTLIBOBJS | 595PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> --- 24 unchanged lines hidden (view full) --- 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='LTLIBOBJS |
635date 636version |
|
635INSTALLTARGET 636ALLTARGET 637SOURCEFILE 638SOURCEDETERMINE | 637INSTALLTARGET 638ALLTARGET 639SOURCEFILE 640SOURCEDETERMINE |
641DNSTAP_OBJ 642DNSTAP_SRC 643opt_dnstap_socket_path 644ENABLE_DNSTAP 645PROTOC_C |
|
639UBSYMS 640EXTRALINK 641COMMON_OBJ_ALL_SYMBOLS 642LIBOBJ_WITHOUT_CTIME | 646UBSYMS 647EXTRALINK 648COMMON_OBJ_ALL_SYMBOLS 649LIBOBJ_WITHOUT_CTIME |
650LIBOBJ_WITHOUT_CTIMEARC4 |
|
643WIN_CHECKCONF_OBJ_LINK 644WIN_CONTROL_OBJ_LINK 645WIN_UBANCHOR_OBJ_LINK 646WIN_HOST_OBJ_LINK 647WIN_DAEMON_OBJ_LINK 648WIN_DAEMON_OBJ 649WIN_DAEMON_SRC 650WINAPPS --- 13 unchanged lines hidden (view full) --- 664PYTHONMOD_UNINSTALL 665PYTHONMOD_INSTALL 666PYTHONMOD_HEADER 667PYTHONMOD_OBJ 668WITH_PYTHONMODULE 669swig 670SWIG_LIB 671SWIG | 651WIN_CHECKCONF_OBJ_LINK 652WIN_CONTROL_OBJ_LINK 653WIN_UBANCHOR_OBJ_LINK 654WIN_HOST_OBJ_LINK 655WIN_DAEMON_OBJ_LINK 656WIN_DAEMON_OBJ 657WIN_DAEMON_SRC 658WINAPPS --- 13 unchanged lines hidden (view full) --- 672PYTHONMOD_UNINSTALL 673PYTHONMOD_INSTALL 674PYTHONMOD_HEADER 675PYTHONMOD_OBJ 676WITH_PYTHONMODULE 677swig 678SWIG_LIB 679SWIG |
672PYTHON_EXTRA_LDFLAGS 673PYTHON_EXTRA_LIBS | |
674PYTHON_SITE_PKG 675PYTHON_LDFLAGS 676PYTHON_CPPFLAGS 677PYTHON 678PYTHON_VERSION 679PTHREAD_CFLAGS 680PTHREAD_LIBS 681PTHREAD_CC --- 136 unchanged lines hidden (view full) --- 818enable_gost 819enable_ecdsa 820enable_event_api 821with_libevent 822with_libexpat 823enable_static_exe 824enable_lock_checks 825enable_allsymbols | 680PYTHON_SITE_PKG 681PYTHON_LDFLAGS 682PYTHON_CPPFLAGS 683PYTHON 684PYTHON_VERSION 685PTHREAD_CFLAGS 686PTHREAD_LIBS 687PTHREAD_CC --- 136 unchanged lines hidden (view full) --- 824enable_gost 825enable_ecdsa 826enable_event_api 827with_libevent 828with_libexpat 829enable_static_exe 830enable_lock_checks 831enable_allsymbols |
832enable_dnstap 833with_dnstap_socket_path 834with_protobuf_c 835with_libfstrm |
|
826with_libunbound_only 827' 828 ac_precious_vars='build_alias 829host_alias 830target_alias 831CC 832CFLAGS 833LDFLAGS --- 538 unchanged lines hidden (view full) --- 1372 1373# 1374# Report the --help message. 1375# 1376if test "$ac_init_help" = "long"; then 1377 # Omit some internal or obsolete options to make the list less imposing. 1378 # This message is too long to be a string in the A/UX 3.1 sh. 1379 cat <<_ACEOF | 836with_libunbound_only 837' 838 ac_precious_vars='build_alias 839host_alias 840target_alias 841CC 842CFLAGS 843LDFLAGS --- 538 unchanged lines hidden (view full) --- 1382 1383# 1384# Report the --help message. 1385# 1386if test "$ac_init_help" = "long"; then 1387 # Omit some internal or obsolete options to make the list less imposing. 1388 # This message is too long to be a string in the A/UX 3.1 sh. 1389 cat <<_ACEOF |
1380\`configure' configures unbound 1.4.22 to adapt to many kinds of systems. | 1390\`configure' configures unbound 1.5.1 to adapt to many kinds of systems. |
1381 1382Usage: $0 [OPTION]... [VAR=VALUE]... 1383 1384To assign environment variables (e.g., CC, CFLAGS...), specify them as 1385VAR=VALUE. See below for descriptions of some of the useful variables. 1386 1387Defaults for the options are specified in brackets. 1388 --- 48 unchanged lines hidden (view full) --- 1437System types: 1438 --build=BUILD configure for building on BUILD [guessed] 1439 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1440_ACEOF 1441fi 1442 1443if test -n "$ac_init_help"; then 1444 case $ac_init_help in | 1391 1392Usage: $0 [OPTION]... [VAR=VALUE]... 1393 1394To assign environment variables (e.g., CC, CFLAGS...), specify them as 1395VAR=VALUE. See below for descriptions of some of the useful variables. 1396 1397Defaults for the options are specified in brackets. 1398 --- 48 unchanged lines hidden (view full) --- 1447System types: 1448 --build=BUILD configure for building on BUILD [guessed] 1449 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1450_ACEOF 1451fi 1452 1453if test -n "$ac_init_help"; then 1454 case $ac_init_help in |
1445 short | recursive ) echo "Configuration of unbound 1.4.22:";; | 1455 short | recursive ) echo "Configuration of unbound 1.5.1:";; |
1446 esac 1447 cat <<\_ACEOF 1448 1449Optional Features: 1450 --disable-option-checking ignore unrecognized --enable/--with options 1451 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1452 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1453 --enable-checking Enable warnings, asserts, makefile-dependencies --- 21 unchanged lines hidden (view full) --- 1475 installed to unbound-event.h 1476 --enable-static-exe enable to compile executables statically against 1477 (event) libs, for debug purposes 1478 --enable-lock-checks enable to check lock and unlock calls, for debug 1479 purposes 1480 --enable-allsymbols export all symbols from libunbound and link binaries 1481 to it, smaller install size but libunbound export 1482 table is polluted by internal symbols | 1456 esac 1457 cat <<\_ACEOF 1458 1459Optional Features: 1460 --disable-option-checking ignore unrecognized --enable/--with options 1461 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1462 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1463 --enable-checking Enable warnings, asserts, makefile-dependencies --- 21 unchanged lines hidden (view full) --- 1485 installed to unbound-event.h 1486 --enable-static-exe enable to compile executables statically against 1487 (event) libs, for debug purposes 1488 --enable-lock-checks enable to check lock and unlock calls, for debug 1489 purposes 1490 --enable-allsymbols export all symbols from libunbound and link binaries 1491 to it, smaller install size but libunbound export 1492 table is polluted by internal symbols |
1493 --enable-dnstap Enable dnstap support (requires fstrm, protobuf-c) |
|
1483 1484Optional Packages: 1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1487 --with-conf-file=path Pathname to the Unbound configuration file 1488 --with-run-dir=path set default directory to chdir to (by default dir 1489 part of cfg file) 1490 --with-chroot-dir=path set default directory to chroot to (by default same --- 9 unchanged lines hidden (view full) --- 1500 set default pathname to root update certificate file 1501 (default run-dir/icannbundle.pem). This file need 1502 not exist if you are content with the builtin. 1503 --with-username=user set default user that unbound changes to (default 1504 user is unbound) 1505 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1506 both] 1507 --with-gnu-ld assume the C compiler uses GNU ld [default=no] | 1494 1495Optional Packages: 1496 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1497 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1498 --with-conf-file=path Pathname to the Unbound configuration file 1499 --with-run-dir=path set default directory to chdir to (by default dir 1500 part of cfg file) 1501 --with-chroot-dir=path set default directory to chroot to (by default same --- 9 unchanged lines hidden (view full) --- 1511 set default pathname to root update certificate file 1512 (default run-dir/icannbundle.pem). This file need 1513 not exist if you are content with the builtin. 1514 --with-username=user set default user that unbound changes to (default 1515 user is unbound) 1516 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1517 both] 1518 --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1508 --with-sysroot=DIR Search for dependent libraries within DIR 1509 (or the compiler's sysroot if not specified). | 1519 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1520 compiler's sysroot if not specified). |
1510 --with-pthreads use pthreads library, or --without-pthreads to 1511 disable threading support. 1512 --with-solaris-threads use solaris native thread library. 1513 --with-pyunbound build PyUnbound, or --without-pyunbound to skip it. 1514 (default=no) 1515 --with-pythonmodule build Python module, or --without-pythonmodule to 1516 disable script engine. (default=no) 1517 --with-nss=path use libnss instead of openssl, installed at path. 1518 --with-ssl=pathname enable SSL (will check /usr/local/ssl /usr/lib/ssl 1519 /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw 1520 /usr) 1521 --with-libevent=pathname 1522 use libevent (will check /usr/local /opt/local 1523 /usr/lib /usr/pkg /usr/sfw /usr or you can specify 1524 an explicit path). Slower, but allows use of large 1525 outgoing port ranges. 1526 --with-libexpat=path specify explicit path for libexpat. | 1521 --with-pthreads use pthreads library, or --without-pthreads to 1522 disable threading support. 1523 --with-solaris-threads use solaris native thread library. 1524 --with-pyunbound build PyUnbound, or --without-pyunbound to skip it. 1525 (default=no) 1526 --with-pythonmodule build Python module, or --without-pythonmodule to 1527 disable script engine. (default=no) 1528 --with-nss=path use libnss instead of openssl, installed at path. 1529 --with-ssl=pathname enable SSL (will check /usr/local/ssl /usr/lib/ssl 1530 /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw 1531 /usr) 1532 --with-libevent=pathname 1533 use libevent (will check /usr/local /opt/local 1534 /usr/lib /usr/pkg /usr/sfw /usr or you can specify 1535 an explicit path). Slower, but allows use of large 1536 outgoing port ranges. 1537 --with-libexpat=path specify explicit path for libexpat. |
1538 --with-dnstap-socket-path=pathname 1539 set default dnstap socket path 1540 --with-protobuf-c=path Path where protobuf-c is installed, for dnstap 1541 --with-libfstrm=path Path where libfstrm is installed, for dnstap |
|
1527 --with-libunbound-only do not build daemon and tool programs 1528 1529Some influential environment variables: 1530 CC C compiler command 1531 CFLAGS C compiler flags 1532 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1533 nonstandard directory <lib dir> 1534 LIBS libraries to pass to the linker, e.g. -l<library> --- 72 unchanged lines hidden (view full) --- 1607 fi || ac_status=$? 1608 cd "$ac_pwd" || { ac_status=$?; break; } 1609 done 1610fi 1611 1612test -n "$ac_init_help" && exit $ac_status 1613if $ac_init_version; then 1614 cat <<\_ACEOF | 1542 --with-libunbound-only do not build daemon and tool programs 1543 1544Some influential environment variables: 1545 CC C compiler command 1546 CFLAGS C compiler flags 1547 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1548 nonstandard directory <lib dir> 1549 LIBS libraries to pass to the linker, e.g. -l<library> --- 72 unchanged lines hidden (view full) --- 1622 fi || ac_status=$? 1623 cd "$ac_pwd" || { ac_status=$?; break; } 1624 done 1625fi 1626 1627test -n "$ac_init_help" && exit $ac_status 1628if $ac_init_version; then 1629 cat <<\_ACEOF |
1615unbound configure 1.4.22 | 1630unbound configure 1.5.1 |
1616generated by GNU Autoconf 2.69 1617 1618Copyright (C) 2012 Free Software Foundation, Inc. 1619This configure script is free software; the Free Software Foundation 1620gives unlimited permission to copy, distribute and modify it. 1621_ACEOF 1622 exit 1623fi --- 692 unchanged lines hidden (view full) --- 2316$as_echo "$ac_res" >&6; } 2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2318 2319} # ac_fn_c_check_member 2320cat >config.log <<_ACEOF 2321This file contains any messages produced by compilers while 2322running configure, to aid debugging if configure makes a mistake. 2323 | 1631generated by GNU Autoconf 2.69 1632 1633Copyright (C) 2012 Free Software Foundation, Inc. 1634This configure script is free software; the Free Software Foundation 1635gives unlimited permission to copy, distribute and modify it. 1636_ACEOF 1637 exit 1638fi --- 692 unchanged lines hidden (view full) --- 2331$as_echo "$ac_res" >&6; } 2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2333 2334} # ac_fn_c_check_member 2335cat >config.log <<_ACEOF 2336This file contains any messages produced by compilers while 2337running configure, to aid debugging if configure makes a mistake. 2338 |
2324It was created by unbound $as_me 1.4.22, which was | 2339It was created by unbound $as_me 1.5.1, which was |
2325generated by GNU Autoconf 2.69. Invocation command line was 2326 2327 $ $0 $@ 2328 2329_ACEOF 2330exec 5>>config.log 2331{ 2332cat <<_ASUNAME --- 333 unchanged lines hidden (view full) --- 2666ac_cpp='$CPP $CPPFLAGS' 2667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2669ac_compiler_gnu=$ac_cv_c_compiler_gnu 2670 2671 2672UNBOUND_VERSION_MAJOR=1 2673 | 2340generated by GNU Autoconf 2.69. Invocation command line was 2341 2342 $ $0 $@ 2343 2344_ACEOF 2345exec 5>>config.log 2346{ 2347cat <<_ASUNAME --- 333 unchanged lines hidden (view full) --- 2681ac_cpp='$CPP $CPPFLAGS' 2682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2684ac_compiler_gnu=$ac_cv_c_compiler_gnu 2685 2686 2687UNBOUND_VERSION_MAJOR=1 2688 |
2674UNBOUND_VERSION_MINOR=4 | 2689UNBOUND_VERSION_MINOR=5 |
2675 | 2690 |
2676UNBOUND_VERSION_MICRO=22 | 2691UNBOUND_VERSION_MICRO=1 |
2677 2678 | 2692 2693 |
2679LIBUNBOUND_CURRENT=4 2680LIBUNBOUND_REVISION=1 2681LIBUNBOUND_AGE=2 | 2694LIBUNBOUND_CURRENT=5 2695LIBUNBOUND_REVISION=3 2696LIBUNBOUND_AGE=3 |
2682# 1.0.0 had 0:12:0 2683# 1.0.1 had 0:13:0 2684# 1.0.2 had 0:14:0 2685# 1.1.0 had 0:15:0 2686# 1.1.1 had 0:16:0 2687# 1.2.0 had 0:17:0 2688# 1.2.1 had 0:18:0 2689# 1.3.0 had 1:0:0 # ub_cancel and -export-symbols. --- 20 unchanged lines hidden (view full) --- 2710# 1.4.14 had 2:14:0 2711# 1.4.15 had 3:0:1 # adds ub_version() 2712# 1.4.16 had 3:1:1 2713# 1.4.17 had 3:2:1 2714# 1.4.18 had 3:3:1 2715# 1.4.19 had 3:4:1 2716# 1.4.20 had 4:0:2 # adds libunbound.ttl # but shipped 3:5:1 2717# 1.4.21 had 4:1:2 | 2697# 1.0.0 had 0:12:0 2698# 1.0.1 had 0:13:0 2699# 1.0.2 had 0:14:0 2700# 1.1.0 had 0:15:0 2701# 1.1.1 had 0:16:0 2702# 1.2.0 had 0:17:0 2703# 1.2.1 had 0:18:0 2704# 1.3.0 had 1:0:0 # ub_cancel and -export-symbols. --- 20 unchanged lines hidden (view full) --- 2725# 1.4.14 had 2:14:0 2726# 1.4.15 had 3:0:1 # adds ub_version() 2727# 1.4.16 had 3:1:1 2728# 1.4.17 had 3:2:1 2729# 1.4.18 had 3:3:1 2730# 1.4.19 had 3:4:1 2731# 1.4.20 had 4:0:2 # adds libunbound.ttl # but shipped 3:5:1 2732# 1.4.21 had 4:1:2 |
2733# 1.4.22 had 4:1:2 2734# 1.5.0 had 5:3:3 # adds ub_ctx_add_ta_autr 2735# 1.5.1 had 5:4:3 |
|
2718 2719# Current -- the number of the binary API that we're implementing 2720# Revision -- which iteration of the implementation of the binary 2721# API are we supplying? 2722# Age -- How many previous binary API versions do we also 2723# support? 2724# 2725# If we release a new version that does not change the binary API, --- 3806 unchanged lines hidden (view full) --- 6532case `pwd` in 6533 *\ * | *\ *) 6534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6535$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6536esac 6537 6538 6539 | 2736 2737# Current -- the number of the binary API that we're implementing 2738# Revision -- which iteration of the implementation of the binary 2739# API are we supplying? 2740# Age -- How many previous binary API versions do we also 2741# support? 2742# 2743# If we release a new version that does not change the binary API, --- 3806 unchanged lines hidden (view full) --- 6550case `pwd` in 6551 *\ * | *\ *) 6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6553$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6554esac 6555 6556 6557 |
6540macro_version='2.4.2' 6541macro_revision='1.3337' | 6558macro_version='2.4.2.418' 6559macro_revision='2.4.2.418' |
6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 | 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 |
6555ltmain="$ac_aux_dir/ltmain.sh" | 6573ltmain=$ac_aux_dir/ltmain.sh |
6556 6557# Backslashify metacharacters that are still active within 6558# double-quoted strings. 6559sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6560 6561# Same as above, but do not quote variable references. 6562double_quote_subst='s/\(["`\\]\)/\\\1/g' 6563 --- 32 unchanged lines hidden (view full) --- 6596 6597# func_echo_all arg... 6598# Invoke $ECHO with all args, space-separated. 6599func_echo_all () 6600{ 6601 $ECHO "" 6602} 6603 | 6574 6575# Backslashify metacharacters that are still active within 6576# double-quoted strings. 6577sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6578 6579# Same as above, but do not quote variable references. 6580double_quote_subst='s/\(["`\\]\)/\\\1/g' 6581 --- 32 unchanged lines hidden (view full) --- 6614 6615# func_echo_all arg... 6616# Invoke $ECHO with all args, space-separated. 6617func_echo_all () 6618{ 6619 $ECHO "" 6620} 6621 |
6604case "$ECHO" in | 6622case $ECHO in |
6605 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6606$as_echo "printf" >&6; } ;; 6607 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6608$as_echo "print -r" >&6; } ;; 6609 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6610$as_echo "cat" >&6; } ;; 6611esac 6612 --- 176 unchanged lines hidden (view full) --- 6789 6790 6791 6792 6793 6794 6795# Check whether --with-gnu-ld was given. 6796if test "${with_gnu_ld+set}" = set; then : | 6623 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6624$as_echo "printf" >&6; } ;; 6625 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6626$as_echo "print -r" >&6; } ;; 6627 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6628$as_echo "cat" >&6; } ;; 6629esac 6630 --- 176 unchanged lines hidden (view full) --- 6807 6808 6809 6810 6811 6812 6813# Check whether --with-gnu-ld was given. 6814if test "${with_gnu_ld+set}" = set; then : |
6797 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | 6815 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
6798else 6799 with_gnu_ld=no 6800fi 6801 6802ac_prog=ld | 6816else 6817 with_gnu_ld=no 6818fi 6819 6820ac_prog=ld |
6803if test "$GCC" = yes; then | 6821if test yes = "$GCC"; then |
6804 # Check if gcc -print-prog-name=ld gives a path. 6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6806$as_echo_n "checking for ld used by $CC... " >&6; } 6807 case $host in 6808 *-*-mingw*) | 6822 # Check if gcc -print-prog-name=ld gives a path. 6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6824$as_echo_n "checking for ld used by $CC... " >&6; } 6825 case $host in 6826 *-*-mingw*) |
6809 # gcc leaves a trailing carriage return which upsets mingw | 6827 # gcc leaves a trailing carriage return, which upsets mingw |
6810 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6811 *) 6812 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6813 esac 6814 case $ac_prog in 6815 # Accept absolute paths. 6816 [\\/]* | ?:[\\/]*) 6817 re_direlt='/[^/][^/]*/\.\./' 6818 # Canonicalize the pathname of ld 6819 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6820 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6821 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6822 done | 6828 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6829 *) 6830 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6831 esac 6832 case $ac_prog in 6833 # Accept absolute paths. 6834 [\\/]* | ?:[\\/]*) 6835 re_direlt='/[^/][^/]*/\.\./' 6836 # Canonicalize the pathname of ld 6837 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6838 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6839 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6840 done |
6823 test -z "$LD" && LD="$ac_prog" | 6841 test -z "$LD" && LD=$ac_prog |
6824 ;; 6825 "") 6826 # If it fails, then pretend we aren't using GCC. 6827 ac_prog=ld 6828 ;; 6829 *) 6830 # If it is relative, then search for the first ld in PATH. 6831 with_gnu_ld=unknown 6832 ;; 6833 esac | 6842 ;; 6843 "") 6844 # If it fails, then pretend we aren't using GCC. 6845 ac_prog=ld 6846 ;; 6847 *) 6848 # If it is relative, then search for the first ld in PATH. 6849 with_gnu_ld=unknown 6850 ;; 6851 esac |
6834elif test "$with_gnu_ld" = yes; then | 6852elif test yes = "$with_gnu_ld"; then |
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6836$as_echo_n "checking for GNU ld... " >&6; } 6837else 6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6839$as_echo_n "checking for non-GNU ld... " >&6; } 6840fi 6841if ${lt_cv_path_LD+:} false; then : 6842 $as_echo_n "(cached) " >&6 6843else 6844 if test -z "$LD"; then | 6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6854$as_echo_n "checking for GNU ld... " >&6; } 6855else 6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6857$as_echo_n "checking for non-GNU ld... " >&6; } 6858fi 6859if ${lt_cv_path_LD+:} false; then : 6860 $as_echo_n "(cached) " >&6 6861else 6862 if test -z "$LD"; then |
6845 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 6863 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
6846 for ac_dir in $PATH; do | 6864 for ac_dir in $PATH; do |
6847 IFS="$lt_save_ifs" | 6865 IFS=$lt_save_ifs |
6848 test -z "$ac_dir" && ac_dir=. 6849 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 6866 test -z "$ac_dir" && ac_dir=. 6867 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
6850 lt_cv_path_LD="$ac_dir/$ac_prog" | 6868 lt_cv_path_LD=$ac_dir/$ac_prog |
6851 # Check to see if the program is GNU ld. I'd rather use --version, 6852 # but apparently some variants of GNU ld only accept -v. 6853 # Break only if it was the GNU/non-GNU ld that we prefer. 6854 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6855 *GNU* | *'with BFD'*) | 6869 # Check to see if the program is GNU ld. I'd rather use --version, 6870 # but apparently some variants of GNU ld only accept -v. 6871 # Break only if it was the GNU/non-GNU ld that we prefer. 6872 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6873 *GNU* | *'with BFD'*) |
6856 test "$with_gnu_ld" != no && break | 6874 test no != "$with_gnu_ld" && break |
6857 ;; 6858 *) | 6875 ;; 6876 *) |
6859 test "$with_gnu_ld" != yes && break | 6877 test yes != "$with_gnu_ld" && break |
6860 ;; 6861 esac 6862 fi 6863 done | 6878 ;; 6879 esac 6880 fi 6881 done |
6864 IFS="$lt_save_ifs" | 6882 IFS=$lt_save_ifs |
6865else | 6883else |
6866 lt_cv_path_LD="$LD" # Let the user override the test with a path. | 6884 lt_cv_path_LD=$LD # Let the user override the test with a path. |
6867fi 6868fi 6869 | 6885fi 6886fi 6887 |
6870LD="$lt_cv_path_LD" | 6888LD=$lt_cv_path_LD |
6871if test -n "$LD"; then 6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6873$as_echo "$LD" >&6; } 6874else 6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6876$as_echo "no" >&6; } 6877fi 6878test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 --- 26 unchanged lines hidden (view full) --- 6905 6906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6907$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6908if ${lt_cv_path_NM+:} false; then : 6909 $as_echo_n "(cached) " >&6 6910else 6911 if test -n "$NM"; then 6912 # Let the user override the test. | 6889if test -n "$LD"; then 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6891$as_echo "$LD" >&6; } 6892else 6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6894$as_echo "no" >&6; } 6895fi 6896test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 --- 26 unchanged lines hidden (view full) --- 6923 6924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6925$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6926if ${lt_cv_path_NM+:} false; then : 6927 $as_echo_n "(cached) " >&6 6928else 6929 if test -n "$NM"; then 6930 # Let the user override the test. |
6913 lt_cv_path_NM="$NM" | 6931 lt_cv_path_NM=$NM |
6914else | 6932else |
6915 lt_nm_to_check="${ac_tool_prefix}nm" | 6933 lt_nm_to_check=${ac_tool_prefix}nm |
6916 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6917 lt_nm_to_check="$lt_nm_to_check nm" 6918 fi 6919 for lt_tmp_nm in $lt_nm_to_check; do | 6934 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6935 lt_nm_to_check="$lt_nm_to_check nm" 6936 fi 6937 for lt_tmp_nm in $lt_nm_to_check; do |
6920 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 6938 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
6921 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | 6939 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
6922 IFS="$lt_save_ifs" | 6940 IFS=$lt_save_ifs |
6923 test -z "$ac_dir" && ac_dir=. | 6941 test -z "$ac_dir" && ac_dir=. |
6924 tmp_nm="$ac_dir/$lt_tmp_nm" 6925 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 6942 tmp_nm=$ac_dir/$lt_tmp_nm 6943 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
6926 # Check to see if the nm accepts a BSD-compat flag. | 6944 # Check to see if the nm accepts a BSD-compat flag. |
6927 # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 6945 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
6928 # nm: unknown option "B" ignored 6929 # Tru64's nm complains that /dev/null is an invalid object file 6930 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6931 */dev/null* | *'Invalid file or object type'*) 6932 lt_cv_path_NM="$tmp_nm -B" | 6946 # nm: unknown option "B" ignored 6947 # Tru64's nm complains that /dev/null is an invalid object file 6948 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6949 */dev/null* | *'Invalid file or object type'*) 6950 lt_cv_path_NM="$tmp_nm -B" |
6933 break | 6951 break 2 |
6934 ;; 6935 *) 6936 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6937 */dev/null*) 6938 lt_cv_path_NM="$tmp_nm -p" | 6952 ;; 6953 *) 6954 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6955 */dev/null*) 6956 lt_cv_path_NM="$tmp_nm -p" |
6939 break | 6957 break 2 |
6940 ;; 6941 *) 6942 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6943 continue # so that we can try to find one that supports BSD flags 6944 ;; 6945 esac 6946 ;; 6947 esac 6948 fi 6949 done | 6958 ;; 6959 *) 6960 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6961 continue # so that we can try to find one that supports BSD flags 6962 ;; 6963 esac 6964 ;; 6965 esac 6966 fi 6967 done |
6950 IFS="$lt_save_ifs" | 6968 IFS=$lt_save_ifs |
6951 done 6952 : ${lt_cv_path_NM=no} 6953fi 6954fi 6955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6956$as_echo "$lt_cv_path_NM" >&6; } | 6969 done 6970 : ${lt_cv_path_NM=no} 6971fi 6972fi 6973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6974$as_echo "$lt_cv_path_NM" >&6; } |
6957if test "$lt_cv_path_NM" != "no"; then 6958 NM="$lt_cv_path_NM" | 6975if test no != "$lt_cv_path_NM"; then 6976 NM=$lt_cv_path_NM |
6959else 6960 # Didn't find any BSD compatible name lister, look for dumpbin. 6961 if test -n "$DUMPBIN"; then : 6962 # Let the user override the test. 6963 else 6964 if test -n "$ac_tool_prefix"; then 6965 for ac_prog in dumpbin "link -dump" 6966 do --- 89 unchanged lines hidden (view full) --- 7056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7058ac_tool_warned=yes ;; 7059esac 7060 DUMPBIN=$ac_ct_DUMPBIN 7061 fi 7062fi 7063 | 6977else 6978 # Didn't find any BSD compatible name lister, look for dumpbin. 6979 if test -n "$DUMPBIN"; then : 6980 # Let the user override the test. 6981 else 6982 if test -n "$ac_tool_prefix"; then 6983 for ac_prog in dumpbin "link -dump" 6984 do --- 89 unchanged lines hidden (view full) --- 7074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7076ac_tool_warned=yes ;; 7077esac 7078 DUMPBIN=$ac_ct_DUMPBIN 7079 fi 7080fi 7081 |
7064 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in | 7082 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in |
7065 *COFF*) | 7083 *COFF*) |
7066 DUMPBIN="$DUMPBIN -symbols" | 7084 DUMPBIN="$DUMPBIN -symbols -headers" |
7067 ;; 7068 *) 7069 DUMPBIN=: 7070 ;; 7071 esac 7072 fi 7073 | 7085 ;; 7086 *) 7087 DUMPBIN=: 7088 ;; 7089 esac 7090 fi 7091 |
7074 if test "$DUMPBIN" != ":"; then 7075 NM="$DUMPBIN" | 7092 if test : != "$DUMPBIN"; then 7093 NM=$DUMPBIN |
7076 fi 7077fi 7078test -z "$NM" && NM=nm 7079 7080 7081 7082 7083 --- 34 unchanged lines hidden (view full) --- 7118 7119# find the maximum length of command line arguments 7120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 7121$as_echo_n "checking the maximum length of command line arguments... " >&6; } 7122if ${lt_cv_sys_max_cmd_len+:} false; then : 7123 $as_echo_n "(cached) " >&6 7124else 7125 i=0 | 7094 fi 7095fi 7096test -z "$NM" && NM=nm 7097 7098 7099 7100 7101 --- 34 unchanged lines hidden (view full) --- 7136 7137# find the maximum length of command line arguments 7138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 7139$as_echo_n "checking the maximum length of command line arguments... " >&6; } 7140if ${lt_cv_sys_max_cmd_len+:} false; then : 7141 $as_echo_n "(cached) " >&6 7142else 7143 i=0 |
7126 teststring="ABCD" | 7144 teststring=ABCD |
7127 7128 case $build_os in 7129 msdosdjgpp*) 7130 # On DJGPP, this test can blow up pretty badly due to problems in libc 7131 # (any single argument exceeding 2000 bytes causes a buffer overrun 7132 # during glob expansion). Even if it were fixed, the result of this 7133 # check would be larger than it should be. 7134 lt_cv_sys_max_cmd_len=12288; # 12K is about right --- 23 unchanged lines hidden (view full) --- 7158 ;; 7159 7160 amigaos*) 7161 # On AmigaOS with pdksh, this test takes hours, literally. 7162 # So we just punt and use a minimum line length of 8192. 7163 lt_cv_sys_max_cmd_len=8192; 7164 ;; 7165 | 7145 7146 case $build_os in 7147 msdosdjgpp*) 7148 # On DJGPP, this test can blow up pretty badly due to problems in libc 7149 # (any single argument exceeding 2000 bytes causes a buffer overrun 7150 # during glob expansion). Even if it were fixed, the result of this 7151 # check would be larger than it should be. 7152 lt_cv_sys_max_cmd_len=12288; # 12K is about right --- 23 unchanged lines hidden (view full) --- 7176 ;; 7177 7178 amigaos*) 7179 # On AmigaOS with pdksh, this test takes hours, literally. 7180 # So we just punt and use a minimum line length of 8192. 7181 lt_cv_sys_max_cmd_len=8192; 7182 ;; 7183 |
7166 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | 7184 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) |
7167 # This has been around since 386BSD, at least. Likely further. 7168 if test -x /sbin/sysctl; then 7169 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7170 elif test -x /usr/sbin/sysctl; then 7171 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7172 else 7173 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7174 fi --- 33 unchanged lines hidden (view full) --- 7208 if test -n "$kargmax"; then 7209 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7210 else 7211 lt_cv_sys_max_cmd_len=32768 7212 fi 7213 ;; 7214 *) 7215 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | 7185 # This has been around since 386BSD, at least. Likely further. 7186 if test -x /sbin/sysctl; then 7187 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 7188 elif test -x /usr/sbin/sysctl; then 7189 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 7190 else 7191 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 7192 fi --- 33 unchanged lines hidden (view full) --- 7226 if test -n "$kargmax"; then 7227 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 7228 else 7229 lt_cv_sys_max_cmd_len=32768 7230 fi 7231 ;; 7232 *) 7233 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
7216 if test -n "$lt_cv_sys_max_cmd_len"; then | 7234 if test -n "$lt_cv_sys_max_cmd_len" && \ 7235 test undefined != "$lt_cv_sys_max_cmd_len"; then |
7217 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7218 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7219 else 7220 # Make teststring a little bigger before we do anything with it. 7221 # a 1K string should be a reasonable start. | 7236 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 7237 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 7238 else 7239 # Make teststring a little bigger before we do anything with it. 7240 # a 1K string should be a reasonable start. |
7222 for i in 1 2 3 4 5 6 7 8 ; do | 7241 for i in 1 2 3 4 5 6 7 8; do |
7223 teststring=$teststring$teststring 7224 done 7225 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 7226 # If test is not a shell built-in, we'll probably end up computing a 7227 # maximum length that is only half of the actual maximum length, but 7228 # we can't tell. | 7242 teststring=$teststring$teststring 7243 done 7244 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 7245 # If test is not a shell built-in, we'll probably end up computing a 7246 # maximum length that is only half of the actual maximum length, but 7247 # we can't tell. |
7229 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ | 7248 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
7230 = "X$teststring$teststring"; } >/dev/null 2>&1 && | 7249 = "X$teststring$teststring"; } >/dev/null 2>&1 && |
7231 test $i != 17 # 1/2 MB should be enough | 7250 test 17 != "$i" # 1/2 MB should be enough |
7232 do 7233 i=`expr $i + 1` 7234 teststring=$teststring$teststring 7235 done 7236 # Only check the string length outside the loop. 7237 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 7238 teststring= 7239 # Add a significant safety factor because C++ compilers can tack on 7240 # massive amounts of additional arguments before passing them to the 7241 # linker. It appears as though 1/2 is a usable value. 7242 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 7243 fi 7244 ;; 7245 esac 7246 7247fi 7248 | 7251 do 7252 i=`expr $i + 1` 7253 teststring=$teststring$teststring 7254 done 7255 # Only check the string length outside the loop. 7256 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 7257 teststring= 7258 # Add a significant safety factor because C++ compilers can tack on 7259 # massive amounts of additional arguments before passing them to the 7260 # linker. It appears as though 1/2 is a usable value. 7261 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 7262 fi 7263 ;; 7264 esac 7265 7266fi 7267 |
7249if test -n $lt_cv_sys_max_cmd_len ; then | 7268if test -n "$lt_cv_sys_max_cmd_len"; then |
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 7251$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 7252else 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 7254$as_echo "none" >&6; } 7255fi 7256max_cmd_len=$lt_cv_sys_max_cmd_len 7257 7258 7259 7260 7261 7262 7263: ${CP="cp -f"} 7264: ${MV="mv -f"} 7265: ${RM="rm -f"} 7266 | 7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 7270$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 7271else 7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 7273$as_echo "none" >&6; } 7274fi 7275max_cmd_len=$lt_cv_sys_max_cmd_len 7276 7277 7278 7279 7280 7281 7282: ${CP="cp -f"} 7283: ${MV="mv -f"} 7284: ${RM="rm -f"} 7285 |
7267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 7268$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 7269# Try some XSI features 7270xsi_shell=no 7271( _lt_dummy="a/b/c" 7272 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 7273 = c,a/b,b/c, \ 7274 && eval 'test $(( 1 + 1 )) -eq 2 \ 7275 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 7276 && xsi_shell=yes 7277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 7278$as_echo "$xsi_shell" >&6; } 7279 7280 7281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 7282$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 7283lt_shell_append=no 7284( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 7285 >/dev/null 2>&1 \ 7286 && lt_shell_append=yes 7287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 7288$as_echo "$lt_shell_append" >&6; } 7289 7290 | |
7291if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7292 lt_unset=unset 7293else 7294 lt_unset=false 7295fi 7296 7297 7298 --- 106 unchanged lines hidden (view full) --- 7405reload_flag=$lt_cv_ld_reload_flag 7406case $reload_flag in 7407"" | " "*) ;; 7408*) reload_flag=" $reload_flag" ;; 7409esac 7410reload_cmds='$LD$reload_flag -o $output$reload_objs' 7411case $host_os in 7412 cygwin* | mingw* | pw32* | cegcc*) | 7286if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7287 lt_unset=unset 7288else 7289 lt_unset=false 7290fi 7291 7292 7293 --- 106 unchanged lines hidden (view full) --- 7400reload_flag=$lt_cv_ld_reload_flag 7401case $reload_flag in 7402"" | " "*) ;; 7403*) reload_flag=" $reload_flag" ;; 7404esac 7405reload_cmds='$LD$reload_flag -o $output$reload_objs' 7406case $host_os in 7407 cygwin* | mingw* | pw32* | cegcc*) |
7413 if test "$GCC" != yes; then | 7408 if test yes != "$GCC"; then |
7414 reload_cmds=false 7415 fi 7416 ;; 7417 darwin*) | 7409 reload_cmds=false 7410 fi 7411 ;; 7412 darwin*) |
7418 if test "$GCC" = yes; then 7419 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | 7413 if test yes = "$GCC"; then 7414 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
7420 else 7421 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7422 fi 7423 ;; 7424esac 7425 7426 7427 --- 111 unchanged lines hidden (view full) --- 7539 $as_echo_n "(cached) " >&6 7540else 7541 lt_cv_file_magic_cmd='$MAGIC_CMD' 7542lt_cv_file_magic_test_file= 7543lt_cv_deplibs_check_method='unknown' 7544# Need to set the preceding variable on all platforms that support 7545# interlibrary dependencies. 7546# 'none' -- dependencies not supported. | 7415 else 7416 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7417 fi 7418 ;; 7419esac 7420 7421 7422 --- 111 unchanged lines hidden (view full) --- 7534 $as_echo_n "(cached) " >&6 7535else 7536 lt_cv_file_magic_cmd='$MAGIC_CMD' 7537lt_cv_file_magic_test_file= 7538lt_cv_deplibs_check_method='unknown' 7539# Need to set the preceding variable on all platforms that support 7540# interlibrary dependencies. 7541# 'none' -- dependencies not supported. |
7547# `unknown' -- same as none, but documents that we really don't know. | 7542# 'unknown' -- same as none, but documents that we really don't know. |
7548# 'pass_all' -- all dependencies passed with no checks. 7549# 'test_compile' -- check by making test program. 7550# 'file_magic [[regex]]' -- check by looking for files in library path | 7543# 'pass_all' -- all dependencies passed with no checks. 7544# 'test_compile' -- check by making test program. 7545# 'file_magic [[regex]]' -- check by looking for files in library path |
7551# which responds to the $file_magic_cmd with a given extended regex. 7552# If you have `file' or equivalent on your system and you're not sure 7553# whether `pass_all' will *always* work, you probably want this one. | 7546# that responds to the $file_magic_cmd with a given extended regex. 7547# If you have 'file' or equivalent on your system and you're not sure 7548# whether 'pass_all' will *always* work, you probably want this one. |
7554 7555case $host_os in 7556aix[4-9]*) 7557 lt_cv_deplibs_check_method=pass_all 7558 ;; 7559 7560beos*) 7561 lt_cv_deplibs_check_method=pass_all --- 10 unchanged lines hidden (view full) --- 7572 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7573 lt_cv_file_magic_cmd='func_win32_libid' 7574 ;; 7575 7576mingw* | pw32*) 7577 # Base MSYS/MinGW do not provide the 'file' command needed by 7578 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7579 # unless we find 'file', for example because we are cross-compiling. | 7549 7550case $host_os in 7551aix[4-9]*) 7552 lt_cv_deplibs_check_method=pass_all 7553 ;; 7554 7555beos*) 7556 lt_cv_deplibs_check_method=pass_all --- 10 unchanged lines hidden (view full) --- 7567 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7568 lt_cv_file_magic_cmd='func_win32_libid' 7569 ;; 7570 7571mingw* | pw32*) 7572 # Base MSYS/MinGW do not provide the 'file' command needed by 7573 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7574 # unless we find 'file', for example because we are cross-compiling. |
7580 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 7581 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then | 7575 if ( file / ) >/dev/null 2>&1; then |
7582 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7583 lt_cv_file_magic_cmd='func_win32_libid' 7584 else 7585 # Keep this pattern in sync with the one in func_win32_libid. 7586 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7587 lt_cv_file_magic_cmd='$OBJDUMP -f' 7588 fi 7589 ;; --- 19 unchanged lines hidden (view full) --- 7609 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7610 ;; 7611 esac 7612 else 7613 lt_cv_deplibs_check_method=pass_all 7614 fi 7615 ;; 7616 | 7576 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7577 lt_cv_file_magic_cmd='func_win32_libid' 7578 else 7579 # Keep this pattern in sync with the one in func_win32_libid. 7580 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7581 lt_cv_file_magic_cmd='$OBJDUMP -f' 7582 fi 7583 ;; --- 19 unchanged lines hidden (view full) --- 7603 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7604 ;; 7605 esac 7606 else 7607 lt_cv_deplibs_check_method=pass_all 7608 fi 7609 ;; 7610 |
7617gnu*) 7618 lt_cv_deplibs_check_method=pass_all 7619 ;; 7620 | |
7621haiku*) 7622 lt_cv_deplibs_check_method=pass_all 7623 ;; 7624 7625hpux10.20* | hpux11*) 7626 lt_cv_file_magic_cmd=/usr/bin/file 7627 case $host_cpu in 7628 ia64*) --- 22 unchanged lines hidden (view full) --- 7651 *-n32|*"-n32 ") libmagic=N32;; 7652 *-64|*"-64 ") libmagic=64-bit;; 7653 *) libmagic=never-match;; 7654 esac 7655 lt_cv_deplibs_check_method=pass_all 7656 ;; 7657 7658# This must be glibc/ELF. | 7611haiku*) 7612 lt_cv_deplibs_check_method=pass_all 7613 ;; 7614 7615hpux10.20* | hpux11*) 7616 lt_cv_file_magic_cmd=/usr/bin/file 7617 case $host_cpu in 7618 ia64*) --- 22 unchanged lines hidden (view full) --- 7641 *-n32|*"-n32 ") libmagic=N32;; 7642 *-64|*"-64 ") libmagic=64-bit;; 7643 *) libmagic=never-match;; 7644 esac 7645 lt_cv_deplibs_check_method=pass_all 7646 ;; 7647 7648# This must be glibc/ELF. |
7659linux* | k*bsd*-gnu | kopensolaris*-gnu) | 7649linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
7660 lt_cv_deplibs_check_method=pass_all 7661 ;; 7662 7663netbsd*) 7664 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7665 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7666 else 7667 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' --- 5 unchanged lines hidden (view full) --- 7673 lt_cv_file_magic_cmd=/usr/bin/file 7674 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7675 ;; 7676 7677*nto* | *qnx*) 7678 lt_cv_deplibs_check_method=pass_all 7679 ;; 7680 | 7650 lt_cv_deplibs_check_method=pass_all 7651 ;; 7652 7653netbsd*) 7654 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7655 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7656 else 7657 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' --- 5 unchanged lines hidden (view full) --- 7663 lt_cv_file_magic_cmd=/usr/bin/file 7664 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7665 ;; 7666 7667*nto* | *qnx*) 7668 lt_cv_deplibs_check_method=pass_all 7669 ;; 7670 |
7681openbsd*) 7682 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 7671openbsd* | bitrig*) 7672 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
7683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7684 else 7685 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7686 fi 7687 ;; 7688 7689osf3* | osf4* | osf5*) 7690 lt_cv_deplibs_check_method=pass_all --- 193 unchanged lines hidden (view full) --- 7884$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7885if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7886 $as_echo_n "(cached) " >&6 7887else 7888 lt_cv_sharedlib_from_linklib_cmd='unknown' 7889 7890case $host_os in 7891cygwin* | mingw* | pw32* | cegcc*) | 7673 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7674 else 7675 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7676 fi 7677 ;; 7678 7679osf3* | osf4* | osf5*) 7680 lt_cv_deplibs_check_method=pass_all --- 193 unchanged lines hidden (view full) --- 7874$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7875if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7876 $as_echo_n "(cached) " >&6 7877else 7878 lt_cv_sharedlib_from_linklib_cmd='unknown' 7879 7880case $host_os in 7881cygwin* | mingw* | pw32* | cegcc*) |
7892 # two different shell functions defined in ltmain.sh 7893 # decide which to use based on capabilities of $DLLTOOL | 7882 # two different shell functions defined in ltmain.sh; 7883 # decide which one to use based on capabilities of $DLLTOOL |
7894 case `$DLLTOOL --help 2>&1` in 7895 *--identify-strict*) 7896 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7897 ;; 7898 *) 7899 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7900 ;; 7901 esac 7902 ;; 7903*) 7904 # fallback: assume linklib IS sharedlib | 7884 case `$DLLTOOL --help 2>&1` in 7885 *--identify-strict*) 7886 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7887 ;; 7888 *) 7889 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7890 ;; 7891 esac 7892 ;; 7893*) 7894 # fallback: assume linklib IS sharedlib |
7905 lt_cv_sharedlib_from_linklib_cmd="$ECHO" | 7895 lt_cv_sharedlib_from_linklib_cmd=$ECHO |
7906 ;; 7907esac 7908 7909fi 7910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7911$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7912sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7913test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO --- 137 unchanged lines hidden (view full) --- 8051if ac_fn_c_try_compile "$LINENO"; then : 8052 echo conftest.$ac_objext > conftest.lst 8053 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 8054 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8055 (eval $lt_ar_try) 2>&5 8056 ac_status=$? 8057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8058 test $ac_status = 0; } | 7896 ;; 7897esac 7898 7899fi 7900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7901$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7902sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7903test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO --- 137 unchanged lines hidden (view full) --- 8041if ac_fn_c_try_compile "$LINENO"; then : 8042 echo conftest.$ac_objext > conftest.lst 8043 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 8044 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8045 (eval $lt_ar_try) 2>&5 8046 ac_status=$? 8047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8048 test $ac_status = 0; } |
8059 if test "$ac_status" -eq 0; then | 8049 if test 0 -eq "$ac_status"; then |
8060 # Ensure the archiver fails upon bogus file names. 8061 rm -f conftest.$ac_objext libconftest.a 8062 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8063 (eval $lt_ar_try) 2>&5 8064 ac_status=$? 8065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8066 test $ac_status = 0; } | 8050 # Ensure the archiver fails upon bogus file names. 8051 rm -f conftest.$ac_objext libconftest.a 8052 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 8053 (eval $lt_ar_try) 2>&5 8054 ac_status=$? 8055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8056 test $ac_status = 0; } |
8067 if test "$ac_status" -ne 0; then | 8057 if test 0 -ne "$ac_status"; then |
8068 lt_cv_ar_at_file=@ 8069 fi 8070 fi 8071 rm -f conftest.* libconftest.a 8072 8073fi 8074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8075 8076fi 8077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 8078$as_echo "$lt_cv_ar_at_file" >&6; } 8079 | 8058 lt_cv_ar_at_file=@ 8059 fi 8060 fi 8061 rm -f conftest.* libconftest.a 8062 8063fi 8064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8065 8066fi 8067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 8068$as_echo "$lt_cv_ar_at_file" >&6; } 8069 |
8080if test "x$lt_cv_ar_at_file" = xno; then | 8070if test no = "$lt_cv_ar_at_file"; then |
8081 archiver_list_spec= 8082else 8083 archiver_list_spec=$lt_cv_ar_at_file 8084fi 8085 8086 8087 8088 --- 200 unchanged lines hidden (view full) --- 8289 8290# Determine commands to create old-style static archives. 8291old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 8292old_postinstall_cmds='chmod 644 $oldlib' 8293old_postuninstall_cmds= 8294 8295if test -n "$RANLIB"; then 8296 case $host_os in | 8071 archiver_list_spec= 8072else 8073 archiver_list_spec=$lt_cv_ar_at_file 8074fi 8075 8076 8077 8078 --- 200 unchanged lines hidden (view full) --- 8279 8280# Determine commands to create old-style static archives. 8281old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 8282old_postinstall_cmds='chmod 644 $oldlib' 8283old_postuninstall_cmds= 8284 8285if test -n "$RANLIB"; then 8286 case $host_os in |
8297 openbsd*) | 8287 bitrig* | openbsd*) |
8298 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 8299 ;; 8300 *) 8301 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 8302 ;; 8303 esac 8304 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 8305fi --- 115 unchanged lines hidden (view full) --- 8421case $host_os in 8422aix*) 8423 symcode='[BCDT]' 8424 ;; 8425cygwin* | mingw* | pw32* | cegcc*) 8426 symcode='[ABCDGISTW]' 8427 ;; 8428hpux*) | 8288 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 8289 ;; 8290 *) 8291 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 8292 ;; 8293 esac 8294 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 8295fi --- 115 unchanged lines hidden (view full) --- 8411case $host_os in 8412aix*) 8413 symcode='[BCDT]' 8414 ;; 8415cygwin* | mingw* | pw32* | cegcc*) 8416 symcode='[ABCDGISTW]' 8417 ;; 8418hpux*) |
8429 if test "$host_cpu" = ia64; then | 8419 if test ia64 = "$host_cpu"; then |
8430 symcode='[ABCDEGRST]' 8431 fi 8432 ;; 8433irix* | nonstopux*) 8434 symcode='[BCDEGRST]' 8435 ;; 8436osf*) 8437 symcode='[BCDEGQRST]' --- 16 unchanged lines hidden (view full) --- 8454esac 8455 8456# If we're using GNU nm, then use its standard symbol codes. 8457case `$NM -V 2>&1` in 8458*GNU* | *'with BFD'*) 8459 symcode='[ABCDGIRSTW]' ;; 8460esac 8461 | 8420 symcode='[ABCDEGRST]' 8421 fi 8422 ;; 8423irix* | nonstopux*) 8424 symcode='[BCDEGRST]' 8425 ;; 8426osf*) 8427 symcode='[BCDEGQRST]' --- 16 unchanged lines hidden (view full) --- 8444esac 8445 8446# If we're using GNU nm, then use its standard symbol codes. 8447case `$NM -V 2>&1` in 8448*GNU* | *'with BFD'*) 8449 symcode='[ABCDGIRSTW]' ;; 8450esac 8451 |
8452if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8453 # Gets list of data symbols to import. 8454 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 8455 # Adjust the below global symbol transforms to fixup imported variables. 8456 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 8457 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 8458 lt_c_name_lib_hook="\ 8459 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 8460 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 8461else 8462 # Disable hooks by default. 8463 lt_cv_sys_global_symbol_to_import= 8464 lt_cdecl_hook= 8465 lt_c_name_hook= 8466 lt_c_name_lib_hook= 8467fi 8468 |
|
8462# Transform an extracted symbol line into a proper C declaration. 8463# Some systems (esp. on ia64) link data and code symbols differently, 8464# so use this general approach. | 8469# Transform an extracted symbol line into a proper C declaration. 8470# Some systems (esp. on ia64) link data and code symbols differently, 8471# so use this general approach. |
8465lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 8472lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 8473$lt_cdecl_hook\ 8474" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 8475" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
8466 8467# Transform an extracted symbol line into symbol name and symbol address | 8476 8477# Transform an extracted symbol line into symbol name and symbol address |
8468lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 8469lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" | 8478lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 8479$lt_c_name_hook\ 8480" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 8481" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
8470 | 8482 |
8483# Transform an extracted symbol line into symbol name with lib prefix and 8484# symbol address. 8485lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 8486$lt_c_name_lib_hook\ 8487" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 8488" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 8489" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 8490 |
|
8471# Handle CRLF in mingw tool chain 8472opt_cr= 8473case $build_os in 8474mingw*) 8475 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 8476 ;; 8477esac 8478 8479# Try without a prefix underscore, then with it. 8480for ac_symprfx in "" "_"; do 8481 8482 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 8483 symxfrm="\\1 $ac_symprfx\\2 \\2" 8484 8485 # Write the raw and C identifiers. 8486 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 8491# Handle CRLF in mingw tool chain 8492opt_cr= 8493case $build_os in 8494mingw*) 8495 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 8496 ;; 8497esac 8498 8499# Try without a prefix underscore, then with it. 8500for ac_symprfx in "" "_"; do 8501 8502 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 8503 symxfrm="\\1 $ac_symprfx\\2 \\2" 8504 8505 # Write the raw and C identifiers. 8506 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
8487 # Fake it for dumpbin and say T for any non-static function 8488 # and D for any global variable. | 8507 # Fake it for dumpbin and say T for any non-static function, 8508 # D for any global variable and I for any imported variable. |
8489 # Also find C++ and __fastcall symbols from MSVC++, 8490 # which start with @ or ?. 8491 lt_cv_sys_global_symbol_pipe="$AWK '"\ 8492" {last_section=section; section=\$ 3};"\ 8493" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 8494" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | 8509 # Also find C++ and __fastcall symbols from MSVC++, 8510 # which start with @ or ?. 8511 lt_cv_sys_global_symbol_pipe="$AWK '"\ 8512" {last_section=section; section=\$ 3};"\ 8513" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 8514" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
8515" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 8516" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 8517" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
|
8495" \$ 0!~/External *\|/{next};"\ 8496" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8497" {if(hide[section]) next};"\ | 8518" \$ 0!~/External *\|/{next};"\ 8519" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 8520" {if(hide[section]) next};"\ |
8498" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 8499" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 8500" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 8501" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ | 8521" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 8522" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 8523" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 8524" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
8502" ' prfx=^$ac_symprfx" 8503 else 8504 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8505 fi 8506 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 8507 8508 # Check to see that the pipe works correctly. 8509 pipe_works=no --- 31 unchanged lines hidden (view full) --- 8541 rm -f "$nlist"T 8542 fi 8543 8544 # Make sure that we snagged all the symbols we need. 8545 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8546 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8547 cat <<_LT_EOF > conftest.$ac_ext 8548/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ | 8525" ' prfx=^$ac_symprfx" 8526 else 8527 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8528 fi 8529 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 8530 8531 # Check to see that the pipe works correctly. 8532 pipe_works=no --- 31 unchanged lines hidden (view full) --- 8564 rm -f "$nlist"T 8565 fi 8566 8567 # Make sure that we snagged all the symbols we need. 8568 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8569 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8570 cat <<_LT_EOF > conftest.$ac_ext 8571/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
8549#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 8550/* DATA imports from DLLs on WIN32 con't be const, because runtime | 8572#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 8573/* DATA imports from DLLs on WIN32 can't be const, because runtime |
8551 relocations are performed -- see ld's documentation on pseudo-relocs. */ 8552# define LT_DLSYM_CONST | 8574 relocations are performed -- see ld's documentation on pseudo-relocs. */ 8575# define LT_DLSYM_CONST |
8553#elif defined(__osf__) | 8576#elif defined __osf__ |
8554/* This system does not cope well with relocations in const data. */ 8555# define LT_DLSYM_CONST 8556#else 8557# define LT_DLSYM_CONST const 8558#endif 8559 8560#ifdef __cplusplus 8561extern "C" { --- 9 unchanged lines hidden (view full) --- 8571LT_DLSYM_CONST struct { 8572 const char *name; 8573 void *address; 8574} 8575lt__PROGRAM__LTX_preloaded_symbols[] = 8576{ 8577 { "@PROGRAM@", (void *) 0 }, 8578_LT_EOF | 8577/* This system does not cope well with relocations in const data. */ 8578# define LT_DLSYM_CONST 8579#else 8580# define LT_DLSYM_CONST const 8581#endif 8582 8583#ifdef __cplusplus 8584extern "C" { --- 9 unchanged lines hidden (view full) --- 8594LT_DLSYM_CONST struct { 8595 const char *name; 8596 void *address; 8597} 8598lt__PROGRAM__LTX_preloaded_symbols[] = 8599{ 8600 { "@PROGRAM@", (void *) 0 }, 8601_LT_EOF |
8579 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext | 8602 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
8580 cat <<\_LT_EOF >> conftest.$ac_ext 8581 {0, (void *) 0} 8582}; 8583 8584/* This works around a problem in FreeBSD linker */ 8585#ifdef FREEBSD_WORKAROUND 8586static const void *lt_preloaded_setup() { 8587 return lt__PROGRAM__LTX_preloaded_symbols; 8588} 8589#endif 8590 8591#ifdef __cplusplus 8592} 8593#endif 8594_LT_EOF 8595 # Now try linking the two files. 8596 mv conftest.$ac_objext conftstm.$ac_objext 8597 lt_globsym_save_LIBS=$LIBS 8598 lt_globsym_save_CFLAGS=$CFLAGS | 8603 cat <<\_LT_EOF >> conftest.$ac_ext 8604 {0, (void *) 0} 8605}; 8606 8607/* This works around a problem in FreeBSD linker */ 8608#ifdef FREEBSD_WORKAROUND 8609static const void *lt_preloaded_setup() { 8610 return lt__PROGRAM__LTX_preloaded_symbols; 8611} 8612#endif 8613 8614#ifdef __cplusplus 8615} 8616#endif 8617_LT_EOF 8618 # Now try linking the two files. 8619 mv conftest.$ac_objext conftstm.$ac_objext 8620 lt_globsym_save_LIBS=$LIBS 8621 lt_globsym_save_CFLAGS=$CFLAGS |
8599 LIBS="conftstm.$ac_objext" | 8622 LIBS=conftstm.$ac_objext |
8600 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8602 (eval $ac_link) 2>&5 8603 ac_status=$? 8604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8623 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8625 (eval $ac_link) 2>&5 8626 ac_status=$? 8627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8605 test $ac_status = 0; } && test -s conftest${ac_exeext}; then | 8628 test $ac_status = 0; } && test -s conftest$ac_exeext; then |
8606 pipe_works=yes 8607 fi 8608 LIBS=$lt_globsym_save_LIBS 8609 CFLAGS=$lt_globsym_save_CFLAGS 8610 else 8611 echo "cannot find nm_test_func in $nlist" >&5 8612 fi 8613 else --- 4 unchanged lines hidden (view full) --- 8618 fi 8619 else 8620 echo "$progname: failed program was:" >&5 8621 cat conftest.$ac_ext >&5 8622 fi 8623 rm -rf conftest* conftst* 8624 8625 # Do not use the global_symbol_pipe unless it works. | 8629 pipe_works=yes 8630 fi 8631 LIBS=$lt_globsym_save_LIBS 8632 CFLAGS=$lt_globsym_save_CFLAGS 8633 else 8634 echo "cannot find nm_test_func in $nlist" >&5 8635 fi 8636 else --- 4 unchanged lines hidden (view full) --- 8641 fi 8642 else 8643 echo "$progname: failed program was:" >&5 8644 cat conftest.$ac_ext >&5 8645 fi 8646 rm -rf conftest* conftst* 8647 8648 # Do not use the global_symbol_pipe unless it works. |
8626 if test "$pipe_works" = yes; then | 8649 if test yes = "$pipe_works"; then |
8627 break 8628 else 8629 lt_cv_sys_global_symbol_pipe= 8630 fi 8631done 8632 8633fi 8634 --- 36 unchanged lines hidden (view full) --- 8671 8672 8673 8674 8675 8676 8677 8678 | 8650 break 8651 else 8652 lt_cv_sys_global_symbol_pipe= 8653 fi 8654done 8655 8656fi 8657 --- 36 unchanged lines hidden (view full) --- 8694 8695 8696 8697 8698 8699 8700 8701 |
8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 |
|
8679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8680$as_echo_n "checking for sysroot... " >&6; } 8681 8682# Check whether --with-sysroot was given. 8683if test "${with_sysroot+set}" = set; then : 8684 withval=$with_sysroot; 8685else 8686 with_sysroot=no 8687fi 8688 8689 8690lt_sysroot= | 8712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8713$as_echo_n "checking for sysroot... " >&6; } 8714 8715# Check whether --with-sysroot was given. 8716if test "${with_sysroot+set}" = set; then : 8717 withval=$with_sysroot; 8718else 8719 with_sysroot=no 8720fi 8721 8722 8723lt_sysroot= |
8691case ${with_sysroot} in #( | 8724case $with_sysroot in #( |
8692 yes) | 8725 yes) |
8693 if test "$GCC" = yes; then | 8726 if test yes = "$GCC"; then |
8694 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8695 fi 8696 ;; #( 8697 /*) 8698 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8699 ;; #( 8700 no|'') 8701 ;; #( 8702 *) | 8727 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8728 fi 8729 ;; #( 8730 /*) 8731 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8732 ;; #( 8733 no|'') 8734 ;; #( 8735 *) |
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 8704$as_echo "${with_sysroot}" >&6; } | 8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8737$as_echo "$with_sysroot" >&6; } |
8705 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8706 ;; 8707esac 8708 8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8710$as_echo "${lt_sysroot:-no}" >&6; } 8711 8712 8713 8714 8715 8716# Check whether --enable-libtool-lock was given. 8717if test "${enable_libtool_lock+set}" = set; then : 8718 enableval=$enable_libtool_lock; 8719fi 8720 | 8738 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8739 ;; 8740esac 8741 8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8743$as_echo "${lt_sysroot:-no}" >&6; } 8744 8745 8746 8747 8748 8749# Check whether --enable-libtool-lock was given. 8750if test "${enable_libtool_lock+set}" = set; then : 8751 enableval=$enable_libtool_lock; 8752fi 8753 |
8721test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 8754test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
8722 8723# Some flags need to be propagated to the compiler or linker for good 8724# libtool support. 8725case $host in 8726ia64-*-hpux*) | 8755 8756# Some flags need to be propagated to the compiler or linker for good 8757# libtool support. 8758case $host in 8759ia64-*-hpux*) |
8727 # Find out which ABI we are using. | 8760 # Find out what ABI is being produced by ac_compile, and set mode 8761 # options accordingly. |
8728 echo 'int i;' > conftest.$ac_ext 8729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8730 (eval $ac_compile) 2>&5 8731 ac_status=$? 8732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8733 test $ac_status = 0; }; then 8734 case `/usr/bin/file conftest.$ac_objext` in 8735 *ELF-32*) | 8762 echo 'int i;' > conftest.$ac_ext 8763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8764 (eval $ac_compile) 2>&5 8765 ac_status=$? 8766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8767 test $ac_status = 0; }; then 8768 case `/usr/bin/file conftest.$ac_objext` in 8769 *ELF-32*) |
8736 HPUX_IA64_MODE="32" | 8770 HPUX_IA64_MODE=32 |
8737 ;; 8738 *ELF-64*) | 8771 ;; 8772 *ELF-64*) |
8739 HPUX_IA64_MODE="64" | 8773 HPUX_IA64_MODE=64 |
8740 ;; 8741 esac 8742 fi 8743 rm -rf conftest* 8744 ;; 8745*-*-irix6*) | 8774 ;; 8775 esac 8776 fi 8777 rm -rf conftest* 8778 ;; 8779*-*-irix6*) |
8746 # Find out which ABI we are using. | 8780 # Find out what ABI is being produced by ac_compile, and set linker 8781 # options accordingly. |
8747 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8748 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8749 (eval $ac_compile) 2>&5 8750 ac_status=$? 8751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8752 test $ac_status = 0; }; then | 8782 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8784 (eval $ac_compile) 2>&5 8785 ac_status=$? 8786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8787 test $ac_status = 0; }; then |
8753 if test "$lt_cv_prog_gnu_ld" = yes; then | 8788 if test yes = "$lt_cv_prog_gnu_ld"; then |
8754 case `/usr/bin/file conftest.$ac_objext` in 8755 *32-bit*) 8756 LD="${LD-ld} -melf32bsmip" 8757 ;; 8758 *N32*) 8759 LD="${LD-ld} -melf32bmipn32" 8760 ;; 8761 *64-bit*) --- 12 unchanged lines hidden (view full) --- 8774 LD="${LD-ld} -64" 8775 ;; 8776 esac 8777 fi 8778 fi 8779 rm -rf conftest* 8780 ;; 8781 | 8789 case `/usr/bin/file conftest.$ac_objext` in 8790 *32-bit*) 8791 LD="${LD-ld} -melf32bsmip" 8792 ;; 8793 *N32*) 8794 LD="${LD-ld} -melf32bmipn32" 8795 ;; 8796 *64-bit*) --- 12 unchanged lines hidden (view full) --- 8809 LD="${LD-ld} -64" 8810 ;; 8811 esac 8812 fi 8813 fi 8814 rm -rf conftest* 8815 ;; 8816 |
8782x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | 8817mips64*-*linux*) 8818 # Find out what ABI is being produced by ac_compile, and set linker 8819 # options accordingly. 8820 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8822 (eval $ac_compile) 2>&5 8823 ac_status=$? 8824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8825 test $ac_status = 0; }; then 8826 emul=elf 8827 case `/usr/bin/file conftest.$ac_objext` in 8828 *32-bit*) 8829 emul="${emul}32" 8830 ;; 8831 *64-bit*) 8832 emul="${emul}64" 8833 ;; 8834 esac 8835 case `/usr/bin/file conftest.$ac_objext` in 8836 *MSB*) 8837 emul="${emul}btsmip" 8838 ;; 8839 *LSB*) 8840 emul="${emul}ltsmip" 8841 ;; 8842 esac 8843 case `/usr/bin/file conftest.$ac_objext` in 8844 *N32*) 8845 emul="${emul}n32" 8846 ;; 8847 esac 8848 LD="${LD-ld} -m $emul" 8849 fi 8850 rm -rf conftest* 8851 ;; 8852 8853x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
8783s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 8854s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
8784 # Find out which ABI we are using. | 8855 # Find out what ABI is being produced by ac_compile, and set linker 8856 # options accordingly. Note that the listed cases only cover the 8857 # situations where additional linker options are needed (such as when 8858 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8859 # vice versa); the common cases where no linker options are needed do 8860 # not appear in the list. |
8785 echo 'int i;' > conftest.$ac_ext 8786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8787 (eval $ac_compile) 2>&5 8788 ac_status=$? 8789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8790 test $ac_status = 0; }; then 8791 case `/usr/bin/file conftest.o` in 8792 *32-bit*) 8793 case $host in 8794 x86_64-*kfreebsd*-gnu) 8795 LD="${LD-ld} -m elf_i386_fbsd" 8796 ;; 8797 x86_64-*linux*) | 8861 echo 'int i;' > conftest.$ac_ext 8862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8863 (eval $ac_compile) 2>&5 8864 ac_status=$? 8865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8866 test $ac_status = 0; }; then 8867 case `/usr/bin/file conftest.o` in 8868 *32-bit*) 8869 case $host in 8870 x86_64-*kfreebsd*-gnu) 8871 LD="${LD-ld} -m elf_i386_fbsd" 8872 ;; 8873 x86_64-*linux*) |
8798 LD="${LD-ld} -m elf_i386" | 8874 case `/usr/bin/file conftest.o` in 8875 *x86-64*) 8876 LD="${LD-ld} -m elf32_x86_64" 8877 ;; 8878 *) 8879 LD="${LD-ld} -m elf_i386" 8880 ;; 8881 esac |
8799 ;; | 8882 ;; |
8800 ppc64-*linux*|powerpc64-*linux*) | 8883 powerpc64le-*linux*) 8884 LD="${LD-ld} -m elf32lppclinux" 8885 ;; 8886 powerpc64-*linux*) |
8801 LD="${LD-ld} -m elf32ppclinux" 8802 ;; 8803 s390x-*linux*) 8804 LD="${LD-ld} -m elf_s390" 8805 ;; 8806 sparc64-*linux*) 8807 LD="${LD-ld} -m elf32_sparc" 8808 ;; 8809 esac 8810 ;; 8811 *64-bit*) 8812 case $host in 8813 x86_64-*kfreebsd*-gnu) 8814 LD="${LD-ld} -m elf_x86_64_fbsd" 8815 ;; 8816 x86_64-*linux*) 8817 LD="${LD-ld} -m elf_x86_64" 8818 ;; | 8887 LD="${LD-ld} -m elf32ppclinux" 8888 ;; 8889 s390x-*linux*) 8890 LD="${LD-ld} -m elf_s390" 8891 ;; 8892 sparc64-*linux*) 8893 LD="${LD-ld} -m elf32_sparc" 8894 ;; 8895 esac 8896 ;; 8897 *64-bit*) 8898 case $host in 8899 x86_64-*kfreebsd*-gnu) 8900 LD="${LD-ld} -m elf_x86_64_fbsd" 8901 ;; 8902 x86_64-*linux*) 8903 LD="${LD-ld} -m elf_x86_64" 8904 ;; |
8819 ppc*-*linux*|powerpc*-*linux*) | 8905 powerpcle-*linux*) 8906 LD="${LD-ld} -m elf64lppc" 8907 ;; 8908 powerpc-*linux*) |
8820 LD="${LD-ld} -m elf64ppc" 8821 ;; 8822 s390*-*linux*|s390*-*tpf*) 8823 LD="${LD-ld} -m elf64_s390" 8824 ;; 8825 sparc*-*linux*) 8826 LD="${LD-ld} -m elf64_sparc" 8827 ;; 8828 esac 8829 ;; 8830 esac 8831 fi 8832 rm -rf conftest* 8833 ;; 8834 8835*-*-sco3.2v5*) 8836 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 8909 LD="${LD-ld} -m elf64ppc" 8910 ;; 8911 s390*-*linux*|s390*-*tpf*) 8912 LD="${LD-ld} -m elf64_s390" 8913 ;; 8914 sparc*-*linux*) 8915 LD="${LD-ld} -m elf64_sparc" 8916 ;; 8917 esac 8918 ;; 8919 esac 8920 fi 8921 rm -rf conftest* 8922 ;; 8923 8924*-*-sco3.2v5*) 8925 # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
8837 SAVE_CFLAGS="$CFLAGS" | 8926 SAVE_CFLAGS=$CFLAGS |
8838 CFLAGS="$CFLAGS -belf" 8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8840$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8841if ${lt_cv_cc_needs_belf+:} false; then : 8842 $as_echo_n "(cached) " >&6 8843else 8844 ac_ext=c 8845ac_cpp='$CPP $CPPFLAGS' --- 23 unchanged lines hidden (view full) --- 8869ac_cpp='$CPP $CPPFLAGS' 8870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8872ac_compiler_gnu=$ac_cv_c_compiler_gnu 8873 8874fi 8875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8876$as_echo "$lt_cv_cc_needs_belf" >&6; } | 8927 CFLAGS="$CFLAGS -belf" 8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8929$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8930if ${lt_cv_cc_needs_belf+:} false; then : 8931 $as_echo_n "(cached) " >&6 8932else 8933 ac_ext=c 8934ac_cpp='$CPP $CPPFLAGS' --- 23 unchanged lines hidden (view full) --- 8958ac_cpp='$CPP $CPPFLAGS' 8959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8961ac_compiler_gnu=$ac_cv_c_compiler_gnu 8962 8963fi 8964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8965$as_echo "$lt_cv_cc_needs_belf" >&6; } |
8877 if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 8966 if test yes != "$lt_cv_cc_needs_belf"; then |
8878 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 8967 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
8879 CFLAGS="$SAVE_CFLAGS" | 8968 CFLAGS=$SAVE_CFLAGS |
8880 fi 8881 ;; 8882*-*solaris*) | 8969 fi 8970 ;; 8971*-*solaris*) |
8883 # Find out which ABI we are using. | 8972 # Find out what ABI is being produced by ac_compile, and set linker 8973 # options accordingly. |
8884 echo 'int i;' > conftest.$ac_ext 8885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8886 (eval $ac_compile) 2>&5 8887 ac_status=$? 8888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8889 test $ac_status = 0; }; then 8890 case `/usr/bin/file conftest.o` in 8891 *64-bit*) 8892 case $lt_cv_prog_gnu_ld in 8893 yes*) 8894 case $host in | 8974 echo 'int i;' > conftest.$ac_ext 8975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8976 (eval $ac_compile) 2>&5 8977 ac_status=$? 8978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8979 test $ac_status = 0; }; then 8980 case `/usr/bin/file conftest.o` in 8981 *64-bit*) 8982 case $lt_cv_prog_gnu_ld in 8983 yes*) 8984 case $host in |
8895 i?86-*-solaris*) | 8985 i?86-*-solaris*|x86_64-*-solaris*) |
8896 LD="${LD-ld} -m elf_x86_64" 8897 ;; 8898 sparc*-*-solaris*) 8899 LD="${LD-ld} -m elf64_sparc" 8900 ;; 8901 esac 8902 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8903 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | 8986 LD="${LD-ld} -m elf_x86_64" 8987 ;; 8988 sparc*-*-solaris*) 8989 LD="${LD-ld} -m elf64_sparc" 8990 ;; 8991 esac 8992 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8993 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
8904 LD="${LD-ld}_sol2" | 8994 LD=${LD-ld}_sol2 |
8905 fi 8906 ;; 8907 *) 8908 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8909 LD="${LD-ld} -64" 8910 fi 8911 ;; 8912 esac 8913 ;; 8914 esac 8915 fi 8916 rm -rf conftest* 8917 ;; 8918esac 8919 | 8995 fi 8996 ;; 8997 *) 8998 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8999 LD="${LD-ld} -64" 9000 fi 9001 ;; 9002 esac 9003 ;; 9004 esac 9005 fi 9006 rm -rf conftest* 9007 ;; 9008esac 9009 |
8920need_locks="$enable_libtool_lock" | 9010need_locks=$enable_libtool_lock |
8921 8922if test -n "$ac_tool_prefix"; then 8923 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8924set dummy ${ac_tool_prefix}mt; ac_word=$2 8925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8926$as_echo_n "checking for $ac_word... " >&6; } 8927if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8928 $as_echo_n "(cached) " >&6 --- 94 unchanged lines hidden (view full) --- 9023 cat conftest.err >&5 9024 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 9025 lt_cv_path_mainfest_tool=yes 9026 fi 9027 rm -f conftest* 9028fi 9029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 9030$as_echo "$lt_cv_path_mainfest_tool" >&6; } | 9011 9012if test -n "$ac_tool_prefix"; then 9013 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 9014set dummy ${ac_tool_prefix}mt; ac_word=$2 9015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9016$as_echo_n "checking for $ac_word... " >&6; } 9017if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 9018 $as_echo_n "(cached) " >&6 --- 94 unchanged lines hidden (view full) --- 9113 cat conftest.err >&5 9114 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 9115 lt_cv_path_mainfest_tool=yes 9116 fi 9117 rm -f conftest* 9118fi 9119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 9120$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
9031if test "x$lt_cv_path_mainfest_tool" != xyes; then | 9121if test yes != "$lt_cv_path_mainfest_tool"; then |
9032 MANIFEST_TOOL=: 9033fi 9034 9035 9036 9037 9038 9039 --- 486 unchanged lines hidden (view full) --- 9526 9527 9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9529$as_echo_n "checking for -single_module linker flag... " >&6; } 9530if ${lt_cv_apple_cc_single_mod+:} false; then : 9531 $as_echo_n "(cached) " >&6 9532else 9533 lt_cv_apple_cc_single_mod=no | 9122 MANIFEST_TOOL=: 9123fi 9124 9125 9126 9127 9128 9129 --- 486 unchanged lines hidden (view full) --- 9616 9617 9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9619$as_echo_n "checking for -single_module linker flag... " >&6; } 9620if ${lt_cv_apple_cc_single_mod+:} false; then : 9621 $as_echo_n "(cached) " >&6 9622else 9623 lt_cv_apple_cc_single_mod=no |
9534 if test -z "${LT_MULTI_MODULE}"; then | 9624 if test -z "$LT_MULTI_MODULE"; then |
9535 # By default we will add the -single_module flag. You can override 9536 # by either setting the environment variable LT_MULTI_MODULE 9537 # non-empty at configure time, or by adding -multi_module to the 9538 # link flags. 9539 rm -rf libconftest.dylib* 9540 echo "int foo(void){return 1;}" > conftest.c 9541 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9542-dynamiclib -Wl,-single_module conftest.c" >&5 9543 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9544 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9545 _lt_result=$? 9546 # If there is a non-empty error log, and "single_module" 9547 # appears in it, assume the flag caused a linker warning 9548 if test -s conftest.err && $GREP single_module conftest.err; then 9549 cat conftest.err >&5 9550 # Otherwise, if the output was created with a 0 exit code from 9551 # the compiler, it worked. | 9625 # By default we will add the -single_module flag. You can override 9626 # by either setting the environment variable LT_MULTI_MODULE 9627 # non-empty at configure time, or by adding -multi_module to the 9628 # link flags. 9629 rm -rf libconftest.dylib* 9630 echo "int foo(void){return 1;}" > conftest.c 9631 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9632-dynamiclib -Wl,-single_module conftest.c" >&5 9633 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9634 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9635 _lt_result=$? 9636 # If there is a non-empty error log, and "single_module" 9637 # appears in it, assume the flag caused a linker warning 9638 if test -s conftest.err && $GREP single_module conftest.err; then 9639 cat conftest.err >&5 9640 # Otherwise, if the output was created with a 0 exit code from 9641 # the compiler, it worked. |
9552 elif test -f libconftest.dylib && test $_lt_result -eq 0; then | 9642 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
9553 lt_cv_apple_cc_single_mod=yes 9554 else 9555 cat conftest.err >&5 9556 fi 9557 rm -rf libconftest.dylib* 9558 rm -f conftest.* 9559 fi 9560fi --- 22 unchanged lines hidden (view full) --- 9583_ACEOF 9584if ac_fn_c_try_link "$LINENO"; then : 9585 lt_cv_ld_exported_symbols_list=yes 9586else 9587 lt_cv_ld_exported_symbols_list=no 9588fi 9589rm -f core conftest.err conftest.$ac_objext \ 9590 conftest$ac_exeext conftest.$ac_ext | 9643 lt_cv_apple_cc_single_mod=yes 9644 else 9645 cat conftest.err >&5 9646 fi 9647 rm -rf libconftest.dylib* 9648 rm -f conftest.* 9649 fi 9650fi --- 22 unchanged lines hidden (view full) --- 9673_ACEOF 9674if ac_fn_c_try_link "$LINENO"; then : 9675 lt_cv_ld_exported_symbols_list=yes 9676else 9677 lt_cv_ld_exported_symbols_list=no 9678fi 9679rm -f core conftest.err conftest.$ac_objext \ 9680 conftest$ac_exeext conftest.$ac_ext |
9591 LDFLAGS="$save_LDFLAGS" | 9681 LDFLAGS=$save_LDFLAGS |
9592 9593fi 9594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9595$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9596 9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9598$as_echo_n "checking for -force_load linker flag... " >&6; } 9599if ${lt_cv_ld_force_load+:} false; then : --- 12 unchanged lines hidden (view full) --- 9612 cat > conftest.c << _LT_EOF 9613int main() { return 0;} 9614_LT_EOF 9615 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9616 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9617 _lt_result=$? 9618 if test -s conftest.err && $GREP force_load conftest.err; then 9619 cat conftest.err >&5 | 9682 9683fi 9684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9685$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9686 9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9688$as_echo_n "checking for -force_load linker flag... " >&6; } 9689if ${lt_cv_ld_force_load+:} false; then : --- 12 unchanged lines hidden (view full) --- 9702 cat > conftest.c << _LT_EOF 9703int main() { return 0;} 9704_LT_EOF 9705 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9706 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9707 _lt_result=$? 9708 if test -s conftest.err && $GREP force_load conftest.err; then 9709 cat conftest.err >&5 |
9620 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then | 9710 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then |
9621 lt_cv_ld_force_load=yes 9622 else 9623 cat conftest.err >&5 9624 fi 9625 rm -f conftest.err libconftest.a conftest conftest.c 9626 rm -rf conftest.dSYM 9627 9628fi 9629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9630$as_echo "$lt_cv_ld_force_load" >&6; } 9631 case $host_os in 9632 rhapsody* | darwin1.[012]) | 9711 lt_cv_ld_force_load=yes 9712 else 9713 cat conftest.err >&5 9714 fi 9715 rm -f conftest.err libconftest.a conftest conftest.c 9716 rm -rf conftest.dSYM 9717 9718fi 9719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9720$as_echo "$lt_cv_ld_force_load" >&6; } 9721 case $host_os in 9722 rhapsody* | darwin1.[012]) |
9633 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | 9723 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
9634 darwin1.*) | 9724 darwin1.*) |
9635 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 9725 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
9636 darwin*) # darwin 5.x on 9637 # if running on 10.5 or later, the deployment target defaults 9638 # to the OS version, if on x86, and 10.4, the deployment 9639 # target defaults to 10.4. Don't you love it? 9640 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9641 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | 9726 darwin*) # darwin 5.x on 9727 # if running on 10.5 or later, the deployment target defaults 9728 # to the OS version, if on x86, and 10.4, the deployment 9729 # target defaults to 10.4. Don't you love it? 9730 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9731 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
9642 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 9732 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
9643 10.[012]*) | 9733 10.[012]*) |
9644 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 9734 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
9645 10.*) | 9735 10.*) |
9646 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 9736 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
9647 esac 9648 ;; 9649 esac | 9737 esac 9738 ;; 9739 esac |
9650 if test "$lt_cv_apple_cc_single_mod" = "yes"; then | 9740 if test yes = "$lt_cv_apple_cc_single_mod"; then |
9651 _lt_dar_single_mod='$single_module' 9652 fi | 9741 _lt_dar_single_mod='$single_module' 9742 fi |
9653 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 9654 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' | 9743 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9744 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
9655 else | 9745 else |
9656 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' | 9746 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
9657 fi | 9747 fi |
9658 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | 9748 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
9659 _lt_dsymutil='~$DSYMUTIL $lib || :' 9660 else 9661 _lt_dsymutil= 9662 fi 9663 ;; 9664 esac 9665 9666for ac_header in dlfcn.h --- 29 unchanged lines hidden (view full) --- 9696if test "${enable_shared+set}" = set; then : 9697 enableval=$enable_shared; p=${PACKAGE-default} 9698 case $enableval in 9699 yes) enable_shared=yes ;; 9700 no) enable_shared=no ;; 9701 *) 9702 enable_shared=no 9703 # Look at the argument we got. We use all the common list separators. | 9749 _lt_dsymutil='~$DSYMUTIL $lib || :' 9750 else 9751 _lt_dsymutil= 9752 fi 9753 ;; 9754 esac 9755 9756for ac_header in dlfcn.h --- 29 unchanged lines hidden (view full) --- 9786if test "${enable_shared+set}" = set; then : 9787 enableval=$enable_shared; p=${PACKAGE-default} 9788 case $enableval in 9789 yes) enable_shared=yes ;; 9790 no) enable_shared=no ;; 9791 *) 9792 enable_shared=no 9793 # Look at the argument we got. We use all the common list separators. |
9704 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9794 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
9705 for pkg in $enableval; do | 9795 for pkg in $enableval; do |
9706 IFS="$lt_save_ifs" | 9796 IFS=$lt_save_ifs |
9707 if test "X$pkg" = "X$p"; then 9708 enable_shared=yes 9709 fi 9710 done | 9797 if test "X$pkg" = "X$p"; then 9798 enable_shared=yes 9799 fi 9800 done |
9711 IFS="$lt_save_ifs" | 9801 IFS=$lt_save_ifs |
9712 ;; 9713 esac 9714else 9715 enable_shared=yes 9716fi 9717 9718 9719 --- 7 unchanged lines hidden (view full) --- 9727if test "${enable_static+set}" = set; then : 9728 enableval=$enable_static; p=${PACKAGE-default} 9729 case $enableval in 9730 yes) enable_static=yes ;; 9731 no) enable_static=no ;; 9732 *) 9733 enable_static=no 9734 # Look at the argument we got. We use all the common list separators. | 9802 ;; 9803 esac 9804else 9805 enable_shared=yes 9806fi 9807 9808 9809 --- 7 unchanged lines hidden (view full) --- 9817if test "${enable_static+set}" = set; then : 9818 enableval=$enable_static; p=${PACKAGE-default} 9819 case $enableval in 9820 yes) enable_static=yes ;; 9821 no) enable_static=no ;; 9822 *) 9823 enable_static=no 9824 # Look at the argument we got. We use all the common list separators. |
9735 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9825 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
9736 for pkg in $enableval; do | 9826 for pkg in $enableval; do |
9737 IFS="$lt_save_ifs" | 9827 IFS=$lt_save_ifs |
9738 if test "X$pkg" = "X$p"; then 9739 enable_static=yes 9740 fi 9741 done | 9828 if test "X$pkg" = "X$p"; then 9829 enable_static=yes 9830 fi 9831 done |
9742 IFS="$lt_save_ifs" | 9832 IFS=$lt_save_ifs |
9743 ;; 9744 esac 9745else 9746 enable_static=yes 9747fi 9748 9749 9750 --- 7 unchanged lines hidden (view full) --- 9758# Check whether --with-pic was given. 9759if test "${with_pic+set}" = set; then : 9760 withval=$with_pic; lt_p=${PACKAGE-default} 9761 case $withval in 9762 yes|no) pic_mode=$withval ;; 9763 *) 9764 pic_mode=default 9765 # Look at the argument we got. We use all the common list separators. | 9833 ;; 9834 esac 9835else 9836 enable_static=yes 9837fi 9838 9839 9840 --- 7 unchanged lines hidden (view full) --- 9848# Check whether --with-pic was given. 9849if test "${with_pic+set}" = set; then : 9850 withval=$with_pic; lt_p=${PACKAGE-default} 9851 case $withval in 9852 yes|no) pic_mode=$withval ;; 9853 *) 9854 pic_mode=default 9855 # Look at the argument we got. We use all the common list separators. |
9766 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9856 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
9767 for lt_pkg in $withval; do | 9857 for lt_pkg in $withval; do |
9768 IFS="$lt_save_ifs" | 9858 IFS=$lt_save_ifs |
9769 if test "X$lt_pkg" = "X$lt_p"; then 9770 pic_mode=yes 9771 fi 9772 done | 9859 if test "X$lt_pkg" = "X$lt_p"; then 9860 pic_mode=yes 9861 fi 9862 done |
9773 IFS="$lt_save_ifs" | 9863 IFS=$lt_save_ifs |
9774 ;; 9775 esac 9776else 9777 pic_mode=default 9778fi 9779 9780 | 9864 ;; 9865 esac 9866else 9867 pic_mode=default 9868fi 9869 9870 |
9781test -z "$pic_mode" && pic_mode=default | |
9782 9783 9784 9785 9786 9787 | 9871 9872 9873 9874 9875 9876 |
9788 | |
9789 # Check whether --enable-fast-install was given. 9790if test "${enable_fast_install+set}" = set; then : 9791 enableval=$enable_fast_install; p=${PACKAGE-default} 9792 case $enableval in 9793 yes) enable_fast_install=yes ;; 9794 no) enable_fast_install=no ;; 9795 *) 9796 enable_fast_install=no 9797 # Look at the argument we got. We use all the common list separators. | 9877 # Check whether --enable-fast-install was given. 9878if test "${enable_fast_install+set}" = set; then : 9879 enableval=$enable_fast_install; p=${PACKAGE-default} 9880 case $enableval in 9881 yes) enable_fast_install=yes ;; 9882 no) enable_fast_install=no ;; 9883 *) 9884 enable_fast_install=no 9885 # Look at the argument we got. We use all the common list separators. |
9798 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9886 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
9799 for pkg in $enableval; do | 9887 for pkg in $enableval; do |
9800 IFS="$lt_save_ifs" | 9888 IFS=$lt_save_ifs |
9801 if test "X$pkg" = "X$p"; then 9802 enable_fast_install=yes 9803 fi 9804 done | 9889 if test "X$pkg" = "X$p"; then 9890 enable_fast_install=yes 9891 fi 9892 done |
9805 IFS="$lt_save_ifs" | 9893 IFS=$lt_save_ifs |
9806 ;; 9807 esac 9808else 9809 enable_fast_install=yes 9810fi 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822# This can be used to rebuild libtool when needed | 9894 ;; 9895 esac 9896else 9897 enable_fast_install=yes 9898fi 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910# This can be used to rebuild libtool when needed |
9823LIBTOOL_DEPS="$ltmain" | 9911LIBTOOL_DEPS=$ltmain |
9824 9825# Always use our own libtool. 9826LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9827 9828 9829 9830 9831 --- 32 unchanged lines hidden (view full) --- 9864 9865 9866 9867 9868 9869 9870 9871 | 9912 9913# Always use our own libtool. 9914LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9915 9916 9917 9918 9919 --- 32 unchanged lines hidden (view full) --- 9952 9953 9954 9955 9956 9957 9958 9959 |
9872if test -n "${ZSH_VERSION+set}" ; then | 9960if test -n "${ZSH_VERSION+set}"; then |
9873 setopt NO_GLOB_SUBST 9874fi 9875 9876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9877$as_echo_n "checking for objdir... " >&6; } 9878if ${lt_cv_objdir+:} false; then : 9879 $as_echo_n "(cached) " >&6 9880else --- 22 unchanged lines hidden (view full) --- 9903 9904 9905 9906case $host_os in 9907aix3*) 9908 # AIX sometimes has problems with the GCC collect2 program. For some 9909 # reason, if we set the COLLECT_NAMES environment variable, the problems 9910 # vanish in a puff of smoke. | 9961 setopt NO_GLOB_SUBST 9962fi 9963 9964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9965$as_echo_n "checking for objdir... " >&6; } 9966if ${lt_cv_objdir+:} false; then : 9967 $as_echo_n "(cached) " >&6 9968else --- 22 unchanged lines hidden (view full) --- 9991 9992 9993 9994case $host_os in 9995aix3*) 9996 # AIX sometimes has problems with the GCC collect2 program. For some 9997 # reason, if we set the COLLECT_NAMES environment variable, the problems 9998 # vanish in a puff of smoke. |
9911 if test "X${COLLECT_NAMES+set}" != Xset; then | 9999 if test set != "${COLLECT_NAMES+set}"; then |
9912 COLLECT_NAMES= 9913 export COLLECT_NAMES 9914 fi 9915 ;; 9916esac 9917 9918# Global variables: 9919ofile=libtool 9920can_build_shared=yes 9921 | 10000 COLLECT_NAMES= 10001 export COLLECT_NAMES 10002 fi 10003 ;; 10004esac 10005 10006# Global variables: 10007ofile=libtool 10008can_build_shared=yes 10009 |
9922# All known linkers require a `.a' archive for static linking (except MSVC, | 10010# All known linkers require a '.a' archive for static linking (except MSVC, |
9923# which needs '.lib'). 9924libext=a 9925 | 10011# which needs '.lib'). 10012libext=a 10013 |
9926with_gnu_ld="$lt_cv_prog_gnu_ld" | 10014with_gnu_ld=$lt_cv_prog_gnu_ld |
9927 | 10015 |
9928old_CC="$CC" 9929old_CFLAGS="$CFLAGS" | 10016old_CC=$CC 10017old_CFLAGS=$CFLAGS |
9930 9931# Set sane defaults for various variables 9932test -z "$CC" && CC=cc 9933test -z "$LTCC" && LTCC=$CC 9934test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9935test -z "$LD" && LD=ld 9936test -z "$ac_objext" && ac_objext=o 9937 --- 15 unchanged lines hidden (view full) --- 9953 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9955$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9956if ${lt_cv_path_MAGIC_CMD+:} false; then : 9957 $as_echo_n "(cached) " >&6 9958else 9959 case $MAGIC_CMD in 9960[\\/*] | ?:[\\/]*) | 10018 10019# Set sane defaults for various variables 10020test -z "$CC" && CC=cc 10021test -z "$LTCC" && LTCC=$CC 10022test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 10023test -z "$LD" && LD=ld 10024test -z "$ac_objext" && ac_objext=o 10025 --- 15 unchanged lines hidden (view full) --- 10041 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 10043$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 10044if ${lt_cv_path_MAGIC_CMD+:} false; then : 10045 $as_echo_n "(cached) " >&6 10046else 10047 case $MAGIC_CMD in 10048[\\/*] | ?:[\\/]*) |
9961 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 10049 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
9962 ;; 9963*) | 10050 ;; 10051*) |
9964 lt_save_MAGIC_CMD="$MAGIC_CMD" 9965 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 10052 lt_save_MAGIC_CMD=$MAGIC_CMD 10053 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
9966 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9967 for ac_dir in $ac_dummy; do | 10054 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10055 for ac_dir in $ac_dummy; do |
9968 IFS="$lt_save_ifs" | 10056 IFS=$lt_save_ifs |
9969 test -z "$ac_dir" && ac_dir=. | 10057 test -z "$ac_dir" && ac_dir=. |
9970 if test -f $ac_dir/${ac_tool_prefix}file; then 9971 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 10058 if test -f "$ac_dir/${ac_tool_prefix}file"; then 10059 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
9972 if test -n "$file_magic_test_file"; then 9973 case $deplibs_check_method in 9974 "file_magic "*) 9975 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 10060 if test -n "$file_magic_test_file"; then 10061 case $deplibs_check_method in 10062 "file_magic "*) 10063 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
9976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 10064 MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
9977 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9978 $EGREP "$file_magic_regex" > /dev/null; then 9979 : 9980 else 9981 cat <<_LT_EOF 1>&2 9982 9983*** Warning: the command libtool uses to detect shared libraries, 9984*** $file_magic_cmd, produces output that libtool cannot recognize. --- 6 unchanged lines hidden (view full) --- 9991 9992_LT_EOF 9993 fi ;; 9994 esac 9995 fi 9996 break 9997 fi 9998 done | 10065 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10066 $EGREP "$file_magic_regex" > /dev/null; then 10067 : 10068 else 10069 cat <<_LT_EOF 1>&2 10070 10071*** Warning: the command libtool uses to detect shared libraries, 10072*** $file_magic_cmd, produces output that libtool cannot recognize. --- 6 unchanged lines hidden (view full) --- 10079 10080_LT_EOF 10081 fi ;; 10082 esac 10083 fi 10084 break 10085 fi 10086 done |
9999 IFS="$lt_save_ifs" 10000 MAGIC_CMD="$lt_save_MAGIC_CMD" | 10087 IFS=$lt_save_ifs 10088 MAGIC_CMD=$lt_save_MAGIC_CMD |
10001 ;; 10002esac 10003fi 10004 | 10089 ;; 10090esac 10091fi 10092 |
10005MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 10093MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
10006if test -n "$MAGIC_CMD"; then 10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10008$as_echo "$MAGIC_CMD" >&6; } 10009else 10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10011$as_echo "no" >&6; } 10012fi 10013 --- 5 unchanged lines hidden (view full) --- 10019 if test -n "$ac_tool_prefix"; then 10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 10021$as_echo_n "checking for file... " >&6; } 10022if ${lt_cv_path_MAGIC_CMD+:} false; then : 10023 $as_echo_n "(cached) " >&6 10024else 10025 case $MAGIC_CMD in 10026[\\/*] | ?:[\\/]*) | 10094if test -n "$MAGIC_CMD"; then 10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10096$as_echo "$MAGIC_CMD" >&6; } 10097else 10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10099$as_echo "no" >&6; } 10100fi 10101 --- 5 unchanged lines hidden (view full) --- 10107 if test -n "$ac_tool_prefix"; then 10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 10109$as_echo_n "checking for file... " >&6; } 10110if ${lt_cv_path_MAGIC_CMD+:} false; then : 10111 $as_echo_n "(cached) " >&6 10112else 10113 case $MAGIC_CMD in 10114[\\/*] | ?:[\\/]*) |
10027 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 10115 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
10028 ;; 10029*) | 10116 ;; 10117*) |
10030 lt_save_MAGIC_CMD="$MAGIC_CMD" 10031 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 10118 lt_save_MAGIC_CMD=$MAGIC_CMD 10119 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
10032 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10033 for ac_dir in $ac_dummy; do | 10120 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 10121 for ac_dir in $ac_dummy; do |
10034 IFS="$lt_save_ifs" | 10122 IFS=$lt_save_ifs |
10035 test -z "$ac_dir" && ac_dir=. | 10123 test -z "$ac_dir" && ac_dir=. |
10036 if test -f $ac_dir/file; then 10037 lt_cv_path_MAGIC_CMD="$ac_dir/file" | 10124 if test -f "$ac_dir/file"; then 10125 lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
10038 if test -n "$file_magic_test_file"; then 10039 case $deplibs_check_method in 10040 "file_magic "*) 10041 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 10126 if test -n "$file_magic_test_file"; then 10127 case $deplibs_check_method in 10128 "file_magic "*) 10129 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
10042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 10130 MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
10043 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10044 $EGREP "$file_magic_regex" > /dev/null; then 10045 : 10046 else 10047 cat <<_LT_EOF 1>&2 10048 10049*** Warning: the command libtool uses to detect shared libraries, 10050*** $file_magic_cmd, produces output that libtool cannot recognize. --- 6 unchanged lines hidden (view full) --- 10057 10058_LT_EOF 10059 fi ;; 10060 esac 10061 fi 10062 break 10063 fi 10064 done | 10131 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 10132 $EGREP "$file_magic_regex" > /dev/null; then 10133 : 10134 else 10135 cat <<_LT_EOF 1>&2 10136 10137*** Warning: the command libtool uses to detect shared libraries, 10138*** $file_magic_cmd, produces output that libtool cannot recognize. --- 6 unchanged lines hidden (view full) --- 10145 10146_LT_EOF 10147 fi ;; 10148 esac 10149 fi 10150 break 10151 fi 10152 done |
10065 IFS="$lt_save_ifs" 10066 MAGIC_CMD="$lt_save_MAGIC_CMD" | 10153 IFS=$lt_save_ifs 10154 MAGIC_CMD=$lt_save_MAGIC_CMD |
10067 ;; 10068esac 10069fi 10070 | 10155 ;; 10156esac 10157fi 10158 |
10071MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 10159MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
10072if test -n "$MAGIC_CMD"; then 10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10074$as_echo "$MAGIC_CMD" >&6; } 10075else 10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10077$as_echo "no" >&6; } 10078fi 10079 --- 4 unchanged lines hidden (view full) --- 10084fi 10085 10086 fi 10087 ;; 10088esac 10089 10090# Use C for the default configuration in the libtool script 10091 | 10160if test -n "$MAGIC_CMD"; then 10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 10162$as_echo "$MAGIC_CMD" >&6; } 10163else 10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10165$as_echo "no" >&6; } 10166fi 10167 --- 4 unchanged lines hidden (view full) --- 10172fi 10173 10174 fi 10175 ;; 10176esac 10177 10178# Use C for the default configuration in the libtool script 10179 |
10092lt_save_CC="$CC" | 10180lt_save_CC=$CC |
10093ac_ext=c 10094ac_cpp='$CPP $CPPFLAGS' 10095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10097ac_compiler_gnu=$ac_cv_c_compiler_gnu 10098 10099 10100# Source file extension for C test sources. --- 41 unchanged lines hidden (view full) --- 10142_lt_linker_boilerplate=`cat conftest.err` 10143$RM -r conftest* 10144 10145 10146if test -n "$compiler"; then 10147 10148lt_prog_compiler_no_builtin_flag= 10149 | 10181ac_ext=c 10182ac_cpp='$CPP $CPPFLAGS' 10183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10185ac_compiler_gnu=$ac_cv_c_compiler_gnu 10186 10187 10188# Source file extension for C test sources. --- 41 unchanged lines hidden (view full) --- 10230_lt_linker_boilerplate=`cat conftest.err` 10231$RM -r conftest* 10232 10233 10234if test -n "$compiler"; then 10235 10236lt_prog_compiler_no_builtin_flag= 10237 |
10150if test "$GCC" = yes; then | 10238if test yes = "$GCC"; then |
10151 case $cc_basename in 10152 nvcc*) 10153 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 10154 *) 10155 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 10156 esac 10157 10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 10159$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 10160if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 10161 $as_echo_n "(cached) " >&6 10162else 10163 lt_cv_prog_compiler_rtti_exceptions=no 10164 ac_outfile=conftest.$ac_objext 10165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 10239 case $cc_basename in 10240 nvcc*) 10241 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 10242 *) 10243 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 10244 esac 10245 10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 10247$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 10248if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 10249 $as_echo_n "(cached) " >&6 10250else 10251 lt_cv_prog_compiler_rtti_exceptions=no 10252 ac_outfile=conftest.$ac_objext 10253 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10166 lt_compiler_flag="-fno-rtti -fno-exceptions" | 10254 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
10167 # Insert the option either (1) after the last *FLAGS variable, or 10168 # (2) before a word containing "conftest.", or (3) at the end. 10169 # Note that $ac_compile itself does not contain backslashes and begins 10170 # with a dollar sign (not a hyphen), so the echo should work correctly. 10171 # The option is referenced via a variable to avoid confusing sed. 10172 lt_compile=`echo "$ac_compile" | $SED \ 10173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ --- 13 unchanged lines hidden (view full) --- 10188 fi 10189 fi 10190 $RM conftest* 10191 10192fi 10193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 10194$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 10195 | 10255 # Insert the option either (1) after the last *FLAGS variable, or 10256 # (2) before a word containing "conftest.", or (3) at the end. 10257 # Note that $ac_compile itself does not contain backslashes and begins 10258 # with a dollar sign (not a hyphen), so the echo should work correctly. 10259 # The option is referenced via a variable to avoid confusing sed. 10260 lt_compile=`echo "$ac_compile" | $SED \ 10261 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ --- 13 unchanged lines hidden (view full) --- 10276 fi 10277 fi 10278 $RM conftest* 10279 10280fi 10281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 10282$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 10283 |
10196if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 10284if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
10197 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 10198else 10199 : 10200fi 10201 10202fi 10203 10204 10205 10206 10207 10208 10209 lt_prog_compiler_wl= 10210lt_prog_compiler_pic= 10211lt_prog_compiler_static= 10212 10213 | 10285 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 10286else 10287 : 10288fi 10289 10290fi 10291 10292 10293 10294 10295 10296 10297 lt_prog_compiler_wl= 10298lt_prog_compiler_pic= 10299lt_prog_compiler_static= 10300 10301 |
10214 if test "$GCC" = yes; then | 10302 if test yes = "$GCC"; then |
10215 lt_prog_compiler_wl='-Wl,' 10216 lt_prog_compiler_static='-static' 10217 10218 case $host_os in 10219 aix*) 10220 # All AIX code is PIC. | 10303 lt_prog_compiler_wl='-Wl,' 10304 lt_prog_compiler_static='-static' 10305 10306 case $host_os in 10307 aix*) 10308 # All AIX code is PIC. |
10221 if test "$host_cpu" = ia64; then | 10309 if test ia64 = "$host_cpu"; then |
10222 # AIX 5 now supports IA64 processor 10223 lt_prog_compiler_static='-Bstatic' 10224 fi | 10310 # AIX 5 now supports IA64 processor 10311 lt_prog_compiler_static='-Bstatic' 10312 fi |
10313 lt_prog_compiler_pic='-fPIC' |
|
10225 ;; 10226 10227 amigaos*) 10228 case $host_cpu in 10229 powerpc) 10230 # see comment about AmigaOS4 .so support 10231 lt_prog_compiler_pic='-fPIC' 10232 ;; 10233 m68k) 10234 # FIXME: we need at least 68020 code to build shared libraries, but | 10314 ;; 10315 10316 amigaos*) 10317 case $host_cpu in 10318 powerpc) 10319 # see comment about AmigaOS4 .so support 10320 lt_prog_compiler_pic='-fPIC' 10321 ;; 10322 m68k) 10323 # FIXME: we need at least 68020 code to build shared libraries, but |
10235 # adding the `-m68020' flag to GCC prevents building anything better, 10236 # like `-m68040'. | 10324 # adding the '-m68020' flag to GCC prevents building anything better, 10325 # like '-m68040'. |
10237 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10238 ;; 10239 esac 10240 ;; 10241 10242 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10243 # PIC is the default for these OSes. 10244 ;; --- 69 unchanged lines hidden (view full) --- 10314 fi 10315 ;; 10316 esac 10317 else 10318 # PORTME Check for flag to pass linker flags through the system compiler. 10319 case $host_os in 10320 aix*) 10321 lt_prog_compiler_wl='-Wl,' | 10326 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10327 ;; 10328 esac 10329 ;; 10330 10331 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10332 # PIC is the default for these OSes. 10333 ;; --- 69 unchanged lines hidden (view full) --- 10403 fi 10404 ;; 10405 esac 10406 else 10407 # PORTME Check for flag to pass linker flags through the system compiler. 10408 case $host_os in 10409 aix*) 10410 lt_prog_compiler_wl='-Wl,' |
10322 if test "$host_cpu" = ia64; then | 10411 if test ia64 = "$host_cpu"; then |
10323 # AIX 5 now supports IA64 processor 10324 lt_prog_compiler_static='-Bstatic' 10325 else 10326 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10327 fi 10328 ;; 10329 | 10412 # AIX 5 now supports IA64 processor 10413 lt_prog_compiler_static='-Bstatic' 10414 else 10415 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10416 fi 10417 ;; 10418 |
10419 darwin* | rhapsody*) 10420 # PIC is the default on this platform 10421 # Common symbols not allowed in MH_DYLIB files 10422 lt_prog_compiler_pic='-fno-common' 10423 case $cc_basename in 10424 nagfor*) 10425 # NAG Fortran compiler 10426 lt_prog_compiler_wl='-Wl,-Wl,,' 10427 lt_prog_compiler_pic='-PIC' 10428 lt_prog_compiler_static='-Bstatic' 10429 ;; 10430 esac 10431 ;; 10432 |
|
10330 mingw* | cygwin* | pw32* | os2* | cegcc*) 10331 # This hack is so that the source file can tell whether it is being 10332 # built for inclusion in a dll (and should export symbols for example). 10333 lt_prog_compiler_pic='-DDLL_EXPORT' 10334 ;; 10335 10336 hpux9* | hpux10* | hpux11*) 10337 lt_prog_compiler_wl='-Wl,' 10338 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10339 # not for PA HP-UX. 10340 case $host_cpu in 10341 hppa*64*|ia64*) 10342 # +Z the default 10343 ;; 10344 *) 10345 lt_prog_compiler_pic='+Z' 10346 ;; 10347 esac 10348 # Is there a better lt_prog_compiler_static that works with the bundled CC? | 10433 mingw* | cygwin* | pw32* | os2* | cegcc*) 10434 # This hack is so that the source file can tell whether it is being 10435 # built for inclusion in a dll (and should export symbols for example). 10436 lt_prog_compiler_pic='-DDLL_EXPORT' 10437 ;; 10438 10439 hpux9* | hpux10* | hpux11*) 10440 lt_prog_compiler_wl='-Wl,' 10441 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10442 # not for PA HP-UX. 10443 case $host_cpu in 10444 hppa*64*|ia64*) 10445 # +Z the default 10446 ;; 10447 *) 10448 lt_prog_compiler_pic='+Z' 10449 ;; 10450 esac 10451 # Is there a better lt_prog_compiler_static that works with the bundled CC? |
10349 lt_prog_compiler_static='${wl}-a ${wl}archive' | 10452 lt_prog_compiler_static='$wl-a ${wl}archive' |
10350 ;; 10351 10352 irix5* | irix6* | nonstopux*) 10353 lt_prog_compiler_wl='-Wl,' 10354 # PIC (with -KPIC) is the default. 10355 lt_prog_compiler_static='-non_shared' 10356 ;; 10357 | 10453 ;; 10454 10455 irix5* | irix6* | nonstopux*) 10456 lt_prog_compiler_wl='-Wl,' 10457 # PIC (with -KPIC) is the default. 10458 lt_prog_compiler_static='-non_shared' 10459 ;; 10460 |
10358 linux* | k*bsd*-gnu | kopensolaris*-gnu) | 10461 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
10359 case $cc_basename in | 10462 case $cc_basename in |
10360 # old Intel for x86_64 which still supported -KPIC. | 10463 # old Intel for x86_64, which still supported -KPIC. |
10361 ecc*) 10362 lt_prog_compiler_wl='-Wl,' 10363 lt_prog_compiler_pic='-KPIC' 10364 lt_prog_compiler_static='-static' 10365 ;; 10366 # icc used to be incompatible with GCC. 10367 # ICC 10 doesn't accept -KPIC any more. 10368 icc* | ifort*) --- 8 unchanged lines hidden (view full) --- 10377 lt_prog_compiler_static='--static' 10378 ;; 10379 nagfor*) 10380 # NAG Fortran compiler 10381 lt_prog_compiler_wl='-Wl,-Wl,,' 10382 lt_prog_compiler_pic='-PIC' 10383 lt_prog_compiler_static='-Bstatic' 10384 ;; | 10464 ecc*) 10465 lt_prog_compiler_wl='-Wl,' 10466 lt_prog_compiler_pic='-KPIC' 10467 lt_prog_compiler_static='-static' 10468 ;; 10469 # icc used to be incompatible with GCC. 10470 # ICC 10 doesn't accept -KPIC any more. 10471 icc* | ifort*) --- 8 unchanged lines hidden (view full) --- 10480 lt_prog_compiler_static='--static' 10481 ;; 10482 nagfor*) 10483 # NAG Fortran compiler 10484 lt_prog_compiler_wl='-Wl,-Wl,,' 10485 lt_prog_compiler_pic='-PIC' 10486 lt_prog_compiler_static='-Bstatic' 10487 ;; |
10488 tcc*) 10489 # Fabrice Bellard et al's Tiny C Compiler 10490 lt_prog_compiler_wl='-Wl,' 10491 lt_prog_compiler_pic='-fPIC' 10492 lt_prog_compiler_static='-static' 10493 ;; |
|
10385 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10386 # Portland Group compilers (*not* the Pentium gcc compiler, 10387 # which looks to be a dead project) 10388 lt_prog_compiler_wl='-Wl,' 10389 lt_prog_compiler_pic='-fpic' 10390 lt_prog_compiler_static='-Bstatic' 10391 ;; 10392 ccc*) --- 81 unchanged lines hidden (view full) --- 10474 10475 sysv4 | sysv4.2uw2* | sysv4.3*) 10476 lt_prog_compiler_wl='-Wl,' 10477 lt_prog_compiler_pic='-KPIC' 10478 lt_prog_compiler_static='-Bstatic' 10479 ;; 10480 10481 sysv4*MP*) | 10494 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10495 # Portland Group compilers (*not* the Pentium gcc compiler, 10496 # which looks to be a dead project) 10497 lt_prog_compiler_wl='-Wl,' 10498 lt_prog_compiler_pic='-fpic' 10499 lt_prog_compiler_static='-Bstatic' 10500 ;; 10501 ccc*) --- 81 unchanged lines hidden (view full) --- 10583 10584 sysv4 | sysv4.2uw2* | sysv4.3*) 10585 lt_prog_compiler_wl='-Wl,' 10586 lt_prog_compiler_pic='-KPIC' 10587 lt_prog_compiler_static='-Bstatic' 10588 ;; 10589 10590 sysv4*MP*) |
10482 if test -d /usr/nec ;then | 10591 if test -d /usr/nec; then |
10483 lt_prog_compiler_pic='-Kconform_pic' 10484 lt_prog_compiler_static='-Bstatic' 10485 fi 10486 ;; 10487 10488 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10489 lt_prog_compiler_wl='-Wl,' 10490 lt_prog_compiler_pic='-KPIC' --- 12 unchanged lines hidden (view full) --- 10503 10504 *) 10505 lt_prog_compiler_can_build_shared=no 10506 ;; 10507 esac 10508 fi 10509 10510case $host_os in | 10592 lt_prog_compiler_pic='-Kconform_pic' 10593 lt_prog_compiler_static='-Bstatic' 10594 fi 10595 ;; 10596 10597 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10598 lt_prog_compiler_wl='-Wl,' 10599 lt_prog_compiler_pic='-KPIC' --- 12 unchanged lines hidden (view full) --- 10612 10613 *) 10614 lt_prog_compiler_can_build_shared=no 10615 ;; 10616 esac 10617 fi 10618 10619case $host_os in |
10511 # For platforms which do not support PIC, -DPIC is meaningless: | 10620 # For platforms that do not support PIC, -DPIC is meaningless: |
10512 *djgpp*) 10513 lt_prog_compiler_pic= 10514 ;; 10515 *) 10516 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10517 ;; 10518esac 10519 --- 15 unchanged lines hidden (view full) --- 10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10536$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10537if ${lt_cv_prog_compiler_pic_works+:} false; then : 10538 $as_echo_n "(cached) " >&6 10539else 10540 lt_cv_prog_compiler_pic_works=no 10541 ac_outfile=conftest.$ac_objext 10542 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 10621 *djgpp*) 10622 lt_prog_compiler_pic= 10623 ;; 10624 *) 10625 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10626 ;; 10627esac 10628 --- 15 unchanged lines hidden (view full) --- 10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10645$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10646if ${lt_cv_prog_compiler_pic_works+:} false; then : 10647 $as_echo_n "(cached) " >&6 10648else 10649 lt_cv_prog_compiler_pic_works=no 10650 ac_outfile=conftest.$ac_objext 10651 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10543 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | 10652 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
10544 # Insert the option either (1) after the last *FLAGS variable, or 10545 # (2) before a word containing "conftest.", or (3) at the end. 10546 # Note that $ac_compile itself does not contain backslashes and begins 10547 # with a dollar sign (not a hyphen), so the echo should work correctly. 10548 # The option is referenced via a variable to avoid confusing sed. 10549 lt_compile=`echo "$ac_compile" | $SED \ 10550 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ --- 13 unchanged lines hidden (view full) --- 10565 fi 10566 fi 10567 $RM conftest* 10568 10569fi 10570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10571$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10572 | 10653 # Insert the option either (1) after the last *FLAGS variable, or 10654 # (2) before a word containing "conftest.", or (3) at the end. 10655 # Note that $ac_compile itself does not contain backslashes and begins 10656 # with a dollar sign (not a hyphen), so the echo should work correctly. 10657 # The option is referenced via a variable to avoid confusing sed. 10658 lt_compile=`echo "$ac_compile" | $SED \ 10659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ --- 13 unchanged lines hidden (view full) --- 10674 fi 10675 fi 10676 $RM conftest* 10677 10678fi 10679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10680$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10681 |
10573if test x"$lt_cv_prog_compiler_pic_works" = xyes; then | 10682if test yes = "$lt_cv_prog_compiler_pic_works"; then |
10574 case $lt_prog_compiler_pic in 10575 "" | " "*) ;; 10576 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10577 esac 10578else 10579 lt_prog_compiler_pic= 10580 lt_prog_compiler_can_build_shared=no 10581fi --- 15 unchanged lines hidden (view full) --- 10597# 10598wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10600$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10601if ${lt_cv_prog_compiler_static_works+:} false; then : 10602 $as_echo_n "(cached) " >&6 10603else 10604 lt_cv_prog_compiler_static_works=no | 10683 case $lt_prog_compiler_pic in 10684 "" | " "*) ;; 10685 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10686 esac 10687else 10688 lt_prog_compiler_pic= 10689 lt_prog_compiler_can_build_shared=no 10690fi --- 15 unchanged lines hidden (view full) --- 10706# 10707wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10709$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10710if ${lt_cv_prog_compiler_static_works+:} false; then : 10711 $as_echo_n "(cached) " >&6 10712else 10713 lt_cv_prog_compiler_static_works=no |
10605 save_LDFLAGS="$LDFLAGS" | 10714 save_LDFLAGS=$LDFLAGS |
10606 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10607 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10608 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10609 # The linker can only warn and ignore the option if not recognized 10610 # So say no if there are warnings 10611 if test -s conftest.err; then 10612 # Append any errors to the config.log. 10613 cat conftest.err 1>&5 10614 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10615 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10616 if diff conftest.exp conftest.er2 >/dev/null; then 10617 lt_cv_prog_compiler_static_works=yes 10618 fi 10619 else 10620 lt_cv_prog_compiler_static_works=yes 10621 fi 10622 fi 10623 $RM -r conftest* | 10715 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10716 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10717 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10718 # The linker can only warn and ignore the option if not recognized 10719 # So say no if there are warnings 10720 if test -s conftest.err; then 10721 # Append any errors to the config.log. 10722 cat conftest.err 1>&5 10723 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10724 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10725 if diff conftest.exp conftest.er2 >/dev/null; then 10726 lt_cv_prog_compiler_static_works=yes 10727 fi 10728 else 10729 lt_cv_prog_compiler_static_works=yes 10730 fi 10731 fi 10732 $RM -r conftest* |
10624 LDFLAGS="$save_LDFLAGS" | 10733 LDFLAGS=$save_LDFLAGS |
10625 10626fi 10627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10628$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10629 | 10734 10735fi 10736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10737$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10738 |
10630if test x"$lt_cv_prog_compiler_static_works" = xyes; then | 10739if test yes = "$lt_cv_prog_compiler_static_works"; then |
10631 : 10632else 10633 lt_prog_compiler_static= 10634fi 10635 10636 10637 10638 --- 103 unchanged lines hidden (view full) --- 10742 10743fi 10744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10745$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10746 10747 10748 10749 | 10740 : 10741else 10742 lt_prog_compiler_static= 10743fi 10744 10745 10746 10747 --- 103 unchanged lines hidden (view full) --- 10851 10852fi 10853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10854$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10855 10856 10857 10858 |
10750hard_links="nottested" 10751if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | 10859hard_links=nottested 10860if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
10752 # do not overwrite the value of need_locks provided by the user 10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10754$as_echo_n "checking if we can lock with hard links... " >&6; } 10755 hard_links=yes 10756 $RM conftest* 10757 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10758 touch conftest.a 10759 ln conftest.a conftest.b 2>&5 || hard_links=no 10760 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10762$as_echo "$hard_links" >&6; } | 10861 # do not overwrite the value of need_locks provided by the user 10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10863$as_echo_n "checking if we can lock with hard links... " >&6; } 10864 hard_links=yes 10865 $RM conftest* 10866 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10867 touch conftest.a 10868 ln conftest.a conftest.b 2>&5 || hard_links=no 10869 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10871$as_echo "$hard_links" >&6; } |
10763 if test "$hard_links" = no; then 10764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 10765$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 10872 if test no = "$hard_links"; then 10873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10874$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
10766 need_locks=warn 10767 fi 10768else 10769 need_locks=no 10770fi 10771 10772 10773 --- 26 unchanged lines hidden (view full) --- 10800 old_archive_from_new_cmds= 10801 old_archive_from_expsyms_cmds= 10802 thread_safe_flag_spec= 10803 whole_archive_flag_spec= 10804 # include_expsyms should be a list of space-separated symbols to be *always* 10805 # included in the symbol list 10806 include_expsyms= 10807 # exclude_expsyms can be an extended regexp of symbols to exclude | 10875 need_locks=warn 10876 fi 10877else 10878 need_locks=no 10879fi 10880 10881 10882 --- 26 unchanged lines hidden (view full) --- 10909 old_archive_from_new_cmds= 10910 old_archive_from_expsyms_cmds= 10911 thread_safe_flag_spec= 10912 whole_archive_flag_spec= 10913 # include_expsyms should be a list of space-separated symbols to be *always* 10914 # included in the symbol list 10915 include_expsyms= 10916 # exclude_expsyms can be an extended regexp of symbols to exclude |
10808 # it will be wrapped by ` (' and `)$', so one must not match beginning or 10809 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 10810 # as well as any symbol that contains `d'. | 10917 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10918 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10919 # as well as any symbol that contains 'd'. |
10811 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10812 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10813 # platforms (ab)use it in PIC code, but their linkers get confused if 10814 # the symbol is explicitly referenced. Since portable code cannot 10815 # rely on this symbol name, it's probably fine to never include it in 10816 # preloaded symbol tables. 10817 # Exclude shared library initialization/finalization symbols. 10818 extract_expsyms_cmds= 10819 10820 case $host_os in 10821 cygwin* | mingw* | pw32* | cegcc*) 10822 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10823 # When not using gcc, we currently assume that we are using 10824 # Microsoft Visual C++. | 10920 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10921 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10922 # platforms (ab)use it in PIC code, but their linkers get confused if 10923 # the symbol is explicitly referenced. Since portable code cannot 10924 # rely on this symbol name, it's probably fine to never include it in 10925 # preloaded symbol tables. 10926 # Exclude shared library initialization/finalization symbols. 10927 extract_expsyms_cmds= 10928 10929 case $host_os in 10930 cygwin* | mingw* | pw32* | cegcc*) 10931 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10932 # When not using gcc, we currently assume that we are using 10933 # Microsoft Visual C++. |
10825 if test "$GCC" != yes; then | 10934 if test yes != "$GCC"; then |
10826 with_gnu_ld=no 10827 fi 10828 ;; 10829 interix*) 10830 # we just hope/assume this is gcc and not c89 (= MSVC++) 10831 with_gnu_ld=yes 10832 ;; | 10935 with_gnu_ld=no 10936 fi 10937 ;; 10938 interix*) 10939 # we just hope/assume this is gcc and not c89 (= MSVC++) 10940 with_gnu_ld=yes 10941 ;; |
10833 openbsd*) | 10942 openbsd* | bitrig*) |
10834 with_gnu_ld=no 10835 ;; 10836 esac 10837 10838 ld_shlibs=yes 10839 10840 # On some targets, GNU ld is compatible enough with the native linker 10841 # that we're better off using the native interface for both. 10842 lt_use_gnu_ld_interface=no | 10943 with_gnu_ld=no 10944 ;; 10945 esac 10946 10947 ld_shlibs=yes 10948 10949 # On some targets, GNU ld is compatible enough with the native linker 10950 # that we're better off using the native interface for both. 10951 lt_use_gnu_ld_interface=no |
10843 if test "$with_gnu_ld" = yes; then | 10952 if test yes = "$with_gnu_ld"; then |
10844 case $host_os in 10845 aix*) 10846 # The AIX port of GNU ld has always aspired to compatibility 10847 # with the native linker. However, as the warning in the GNU ld 10848 # block says, versions before 2.19.5* couldn't really create working 10849 # shared libraries, regardless of the interface used. 10850 case `$LD -v 2>&1` in 10851 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; --- 5 unchanged lines hidden (view full) --- 10857 esac 10858 ;; 10859 *) 10860 lt_use_gnu_ld_interface=yes 10861 ;; 10862 esac 10863 fi 10864 | 10953 case $host_os in 10954 aix*) 10955 # The AIX port of GNU ld has always aspired to compatibility 10956 # with the native linker. However, as the warning in the GNU ld 10957 # block says, versions before 2.19.5* couldn't really create working 10958 # shared libraries, regardless of the interface used. 10959 case `$LD -v 2>&1` in 10960 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; --- 5 unchanged lines hidden (view full) --- 10966 esac 10967 ;; 10968 *) 10969 lt_use_gnu_ld_interface=yes 10970 ;; 10971 esac 10972 fi 10973 |
10865 if test "$lt_use_gnu_ld_interface" = yes; then | 10974 if test yes = "$lt_use_gnu_ld_interface"; then |
10866 # If archive_cmds runs LD, not CC, wlarc should be empty | 10975 # If archive_cmds runs LD, not CC, wlarc should be empty |
10867 wlarc='${wl}' | 10976 wlarc='$wl' |
10868 10869 # Set some defaults for GNU ld with shared library support. These 10870 # are reset later if shared libraries are not supported. Putting them 10871 # here allows them to be overridden if necessary. 10872 runpath_var=LD_RUN_PATH | 10977 10978 # Set some defaults for GNU ld with shared library support. These 10979 # are reset later if shared libraries are not supported. Putting them 10980 # here allows them to be overridden if necessary. 10981 runpath_var=LD_RUN_PATH |
10873 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10874 export_dynamic_flag_spec='${wl}--export-dynamic' | 10982 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10983 export_dynamic_flag_spec='$wl--export-dynamic' |
10875 # ancient GNU ld didn't support --whole-archive et. al. 10876 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | 10984 # ancient GNU ld didn't support --whole-archive et. al. 10985 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
10877 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 10986 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
10878 else 10879 whole_archive_flag_spec= 10880 fi 10881 supports_anon_versioning=no | 10987 else 10988 whole_archive_flag_spec= 10989 fi 10990 supports_anon_versioning=no |
10882 case `$LD -v 2>&1` in | 10991 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in |
10883 *GNU\ gold*) supports_anon_versioning=yes ;; 10884 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10885 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10886 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10887 *\ 2.11.*) ;; # other 2.11 versions 10888 *) supports_anon_versioning=yes ;; 10889 esac 10890 10891 # See if GNU ld supports shared libraries. 10892 case $host_os in 10893 aix[3-9]*) 10894 # On AIX/PPC, the GNU linker is very broken | 10992 *GNU\ gold*) supports_anon_versioning=yes ;; 10993 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10994 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10995 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10996 *\ 2.11.*) ;; # other 2.11 versions 10997 *) supports_anon_versioning=yes ;; 10998 esac 10999 11000 # See if GNU ld supports shared libraries. 11001 case $host_os in 11002 aix[3-9]*) 11003 # On AIX/PPC, the GNU linker is very broken |
10895 if test "$host_cpu" != ia64; then | 11004 if test ia64 != "$host_cpu"; then |
10896 ld_shlibs=no 10897 cat <<_LT_EOF 1>&2 10898 10899*** Warning: the GNU linker, at least up to release 2.19, is reported 10900*** to be unable to reliably create shared libraries on AIX. 10901*** Therefore, libtool is disabling shared libraries support. If you 10902*** really care for shared libraries, you may want to install binutils 10903*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10904*** You will then need to restart the configuration process. 10905 10906_LT_EOF 10907 fi 10908 ;; 10909 10910 amigaos*) 10911 case $host_cpu in 10912 powerpc) 10913 # see comment about AmigaOS4 .so support | 11005 ld_shlibs=no 11006 cat <<_LT_EOF 1>&2 11007 11008*** Warning: the GNU linker, at least up to release 2.19, is reported 11009*** to be unable to reliably create shared libraries on AIX. 11010*** Therefore, libtool is disabling shared libraries support. If you 11011*** really care for shared libraries, you may want to install binutils 11012*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 11013*** You will then need to restart the configuration process. 11014 11015_LT_EOF 11016 fi 11017 ;; 11018 11019 amigaos*) 11020 case $host_cpu in 11021 powerpc) 11022 # see comment about AmigaOS4 .so support |
10914 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 11023 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
10915 archive_expsym_cmds='' 10916 ;; 10917 m68k) 10918 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)' 10919 hardcode_libdir_flag_spec='-L$libdir' 10920 hardcode_minus_L=yes 10921 ;; 10922 esac 10923 ;; 10924 10925 beos*) 10926 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10927 allow_undefined_flag=unsupported 10928 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10929 # support --undefined. This deserves some investigation. FIXME | 11024 archive_expsym_cmds='' 11025 ;; 11026 m68k) 11027 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)' 11028 hardcode_libdir_flag_spec='-L$libdir' 11029 hardcode_minus_L=yes 11030 ;; 11031 esac 11032 ;; 11033 11034 beos*) 11035 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11036 allow_undefined_flag=unsupported 11037 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 11038 # support --undefined. This deserves some investigation. FIXME |
10930 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 11039 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
10931 else 10932 ld_shlibs=no 10933 fi 10934 ;; 10935 10936 cygwin* | mingw* | pw32* | cegcc*) 10937 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10938 # as there is no search path for DLLs. 10939 hardcode_libdir_flag_spec='-L$libdir' | 11040 else 11041 ld_shlibs=no 11042 fi 11043 ;; 11044 11045 cygwin* | mingw* | pw32* | cegcc*) 11046 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 11047 # as there is no search path for DLLs. 11048 hardcode_libdir_flag_spec='-L$libdir' |
10940 export_dynamic_flag_spec='${wl}--export-all-symbols' | 11049 export_dynamic_flag_spec='$wl--export-all-symbols' |
10941 allow_undefined_flag=unsupported 10942 always_export_symbols=no 10943 enable_shared_with_static_runtimes=yes 10944 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' 10945 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10946 10947 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | 11050 allow_undefined_flag=unsupported 11051 always_export_symbols=no 11052 enable_shared_with_static_runtimes=yes 11053 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' 11054 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 11055 11056 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
10948 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10949 # If the export-symbols file already is a .def file (1st line 10950 # is EXPORTS), use it as is; otherwise, prepend... 10951 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10952 cp $export_symbols $output_objdir/$soname.def; 10953 else 10954 echo EXPORTS > $output_objdir/$soname.def; 10955 cat $export_symbols >> $output_objdir/$soname.def; 10956 fi~ 10957 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 11057 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11058 # If the export-symbols file already is a .def file, use it as 11059 # is; otherwise, prepend EXPORTS... 11060 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11061 cp $export_symbols $output_objdir/$soname.def; 11062 else 11063 echo EXPORTS > $output_objdir/$soname.def; 11064 cat $export_symbols >> $output_objdir/$soname.def; 11065 fi~ 11066 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
10958 else 10959 ld_shlibs=no 10960 fi 10961 ;; 10962 10963 haiku*) | 11067 else 11068 ld_shlibs=no 11069 fi 11070 ;; 11071 11072 haiku*) |
10964 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 11073 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
10965 link_all_deplibs=yes 10966 ;; 10967 10968 interix[3-9]*) 10969 hardcode_direct=no 10970 hardcode_shlibpath_var=no | 11074 link_all_deplibs=yes 11075 ;; 11076 11077 interix[3-9]*) 11078 hardcode_direct=no 11079 hardcode_shlibpath_var=no |
10971 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10972 export_dynamic_flag_spec='${wl}-E' | 11080 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11081 export_dynamic_flag_spec='$wl-E' |
10973 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10974 # Instead, shared libraries are loaded at an image base (0x10000000 by 10975 # default) and relocated if they conflict, which is a slow very memory 10976 # consuming and fragmenting process. To avoid this, we pick a random, 10977 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10978 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | 11082 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 11083 # Instead, shared libraries are loaded at an image base (0x10000000 by 11084 # default) and relocated if they conflict, which is a slow very memory 11085 # consuming and fragmenting process. To avoid this, we pick a random, 11086 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 11087 # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
10979 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10980 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' | 11088 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 11089 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' |
10981 ;; 10982 10983 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10984 tmp_diet=no | 11090 ;; 11091 11092 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 11093 tmp_diet=no |
10985 if test "$host_os" = linux-dietlibc; then | 11094 if test linux-dietlibc = "$host_os"; then |
10986 case $cc_basename in 10987 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10988 esac 10989 fi 10990 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | 11095 case $cc_basename in 11096 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 11097 esac 11098 fi 11099 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
10991 && test "$tmp_diet" = no | 11100 && test no = "$tmp_diet" |
10992 then 10993 tmp_addflag=' $pic_flag' 10994 tmp_sharedflag='-shared' 10995 case $cc_basename,$host_cpu in 10996 pgcc*) # Portland Group C compiler | 11101 then 11102 tmp_addflag=' $pic_flag' 11103 tmp_sharedflag='-shared' 11104 case $cc_basename,$host_cpu in 11105 pgcc*) # Portland Group C compiler |
10997 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' | 11106 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' |
10998 tmp_addflag=' $pic_flag' 10999 ;; 11000 pgf77* | pgf90* | pgf95* | pgfortran*) 11001 # Portland Group f77 and f90 compilers | 11107 tmp_addflag=' $pic_flag' 11108 ;; 11109 pgf77* | pgf90* | pgf95* | pgfortran*) 11110 # Portland Group f77 and f90 compilers |
11002 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' | 11111 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' |
11003 tmp_addflag=' $pic_flag -Mnomain' ;; 11004 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 11005 tmp_addflag=' -i_dynamic' ;; 11006 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 11007 tmp_addflag=' -i_dynamic -nofor_main' ;; 11008 ifc* | ifort*) # Intel Fortran compiler 11009 tmp_addflag=' -nofor_main' ;; 11010 lf95*) # Lahey Fortran 8.1 11011 whole_archive_flag_spec= 11012 tmp_sharedflag='--shared' ;; | 11112 tmp_addflag=' $pic_flag -Mnomain' ;; 11113 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 11114 tmp_addflag=' -i_dynamic' ;; 11115 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 11116 tmp_addflag=' -i_dynamic -nofor_main' ;; 11117 ifc* | ifort*) # Intel Fortran compiler 11118 tmp_addflag=' -nofor_main' ;; 11119 lf95*) # Lahey Fortran 8.1 11120 whole_archive_flag_spec= 11121 tmp_sharedflag='--shared' ;; |
11122 nagfor*) # NAGFOR 5.3 11123 tmp_sharedflag='-Wl,-shared' ;; |
|
11013 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 11014 tmp_sharedflag='-qmkshrobj' 11015 tmp_addflag= ;; 11016 nvcc*) # Cuda Compiler Driver 2.2 | 11124 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 11125 tmp_sharedflag='-qmkshrobj' 11126 tmp_addflag= ;; 11127 nvcc*) # Cuda Compiler Driver 2.2 |
11017 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' | 11128 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' |
11018 compiler_needs_object=yes 11019 ;; 11020 esac 11021 case `$CC -V 2>&1 | sed 5q` in 11022 *Sun\ C*) # Sun C 5.9 | 11129 compiler_needs_object=yes 11130 ;; 11131 esac 11132 case `$CC -V 2>&1 | sed 5q` in 11133 *Sun\ C*) # Sun C 5.9 |
11023 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' | 11134 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' |
11024 compiler_needs_object=yes 11025 tmp_sharedflag='-G' ;; 11026 *Sun\ F*) # Sun Fortran 8.3 11027 tmp_sharedflag='-G' ;; 11028 esac | 11135 compiler_needs_object=yes 11136 tmp_sharedflag='-G' ;; 11137 *Sun\ F*) # Sun Fortran 8.3 11138 tmp_sharedflag='-G' ;; 11139 esac |
11029 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 11140 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
11030 | 11141 |
11031 if test "x$supports_anon_versioning" = xyes; then | 11142 if test yes = "$supports_anon_versioning"; then |
11032 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 11143 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
11033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11034 echo "local: *; };" >> $output_objdir/$libname.ver~ 11035 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 11144 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11145 echo "local: *; };" >> $output_objdir/$libname.ver~ 11146 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
11036 fi 11037 11038 case $cc_basename in 11039 xlf* | bgf* | bgxlf* | mpixlf*) 11040 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 11041 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' | 11147 fi 11148 11149 case $cc_basename in 11150 xlf* | bgf* | bgxlf* | mpixlf*) 11151 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 11152 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
11042 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11153 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
11043 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' | 11154 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
11044 if test "x$supports_anon_versioning" = xyes; then | 11155 if test yes = "$supports_anon_versioning"; then |
11045 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 11156 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
11046 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11047 echo "local: *; };" >> $output_objdir/$libname.ver~ 11048 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' | 11157 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 11158 echo "local: *; };" >> $output_objdir/$libname.ver~ 11159 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
11049 fi 11050 ;; 11051 esac 11052 else 11053 ld_shlibs=no 11054 fi 11055 ;; 11056 11057 netbsd*) 11058 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11059 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11060 wlarc= 11061 else | 11160 fi 11161 ;; 11162 esac 11163 else 11164 ld_shlibs=no 11165 fi 11166 ;; 11167 11168 netbsd*) 11169 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11170 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11171 wlarc= 11172 else |
11062 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11063 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 11173 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11174 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
11064 fi 11065 ;; 11066 11067 solaris*) 11068 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 11069 ld_shlibs=no 11070 cat <<_LT_EOF 1>&2 11071 11072*** Warning: The releases 2.8.* of the GNU linker cannot reliably 11073*** create shared libraries on Solaris systems. Therefore, libtool 11074*** is disabling shared libraries support. We urge you to upgrade GNU 11075*** binutils to release 2.9.1 or newer. Another option is to modify 11076*** your PATH or compiler configuration so that the native linker is 11077*** used, and then restart. 11078 11079_LT_EOF 11080 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 11175 fi 11176 ;; 11177 11178 solaris*) 11179 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 11180 ld_shlibs=no 11181 cat <<_LT_EOF 1>&2 11182 11183*** Warning: The releases 2.8.* of the GNU linker cannot reliably 11184*** create shared libraries on Solaris systems. Therefore, libtool 11185*** is disabling shared libraries support. We urge you to upgrade GNU 11186*** binutils to release 2.9.1 or newer. Another option is to modify 11187*** your PATH or compiler configuration so that the native linker is 11188*** used, and then restart. 11189 11190_LT_EOF 11191 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
11081 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11082 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 11192 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11193 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
11083 else 11084 ld_shlibs=no 11085 fi 11086 ;; 11087 11088 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 11089 case `$LD -v 2>&1` in 11090 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 11091 ld_shlibs=no 11092 cat <<_LT_EOF 1>&2 11093 | 11194 else 11195 ld_shlibs=no 11196 fi 11197 ;; 11198 11199 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 11200 case `$LD -v 2>&1` in 11201 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 11202 ld_shlibs=no 11203 cat <<_LT_EOF 1>&2 11204 |
11094*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | 11205*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
11095*** reliably create shared libraries on SCO systems. Therefore, libtool 11096*** is disabling shared libraries support. We urge you to upgrade GNU 11097*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 11098*** your PATH or compiler configuration so that the native linker is 11099*** used, and then restart. 11100 11101_LT_EOF 11102 ;; 11103 *) 11104 # For security reasons, it is highly recommended that you always 11105 # use absolute paths for naming shared libraries, and exclude the 11106 # DT_RUNPATH tag from executables and libraries. But doing so 11107 # requires that you compile everything twice, which is a pain. 11108 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 11206*** reliably create shared libraries on SCO systems. Therefore, libtool 11207*** is disabling shared libraries support. We urge you to upgrade GNU 11208*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 11209*** your PATH or compiler configuration so that the native linker is 11210*** used, and then restart. 11211 11212_LT_EOF 11213 ;; 11214 *) 11215 # For security reasons, it is highly recommended that you always 11216 # use absolute paths for naming shared libraries, and exclude the 11217 # DT_RUNPATH tag from executables and libraries. But doing so 11218 # requires that you compile everything twice, which is a pain. 11219 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
11109 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 11110 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11111 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 11220 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11221 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11222 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
11112 else 11113 ld_shlibs=no 11114 fi 11115 ;; 11116 esac 11117 ;; 11118 11119 sunos4*) 11120 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11121 wlarc= 11122 hardcode_direct=yes 11123 hardcode_shlibpath_var=no 11124 ;; 11125 11126 *) 11127 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 11223 else 11224 ld_shlibs=no 11225 fi 11226 ;; 11227 esac 11228 ;; 11229 11230 sunos4*) 11231 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11232 wlarc= 11233 hardcode_direct=yes 11234 hardcode_shlibpath_var=no 11235 ;; 11236 11237 *) 11238 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
11128 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 11129 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 11239 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11240 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
11130 else 11131 ld_shlibs=no 11132 fi 11133 ;; 11134 esac 11135 | 11241 else 11242 ld_shlibs=no 11243 fi 11244 ;; 11245 esac 11246 |
11136 if test "$ld_shlibs" = no; then | 11247 if test no = "$ld_shlibs"; then |
11137 runpath_var= 11138 hardcode_libdir_flag_spec= 11139 export_dynamic_flag_spec= 11140 whole_archive_flag_spec= 11141 fi 11142 else 11143 # PORTME fill in a description of your system's linker (not GNU ld) 11144 case $host_os in 11145 aix3*) 11146 allow_undefined_flag=unsupported 11147 always_export_symbols=yes 11148 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' 11149 # Note: this linker hardcodes the directories in LIBPATH if there 11150 # are no directories specified by -L. 11151 hardcode_minus_L=yes | 11248 runpath_var= 11249 hardcode_libdir_flag_spec= 11250 export_dynamic_flag_spec= 11251 whole_archive_flag_spec= 11252 fi 11253 else 11254 # PORTME fill in a description of your system's linker (not GNU ld) 11255 case $host_os in 11256 aix3*) 11257 allow_undefined_flag=unsupported 11258 always_export_symbols=yes 11259 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' 11260 # Note: this linker hardcodes the directories in LIBPATH if there 11261 # are no directories specified by -L. 11262 hardcode_minus_L=yes |
11152 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | 11263 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
11153 # Neither direct hardcoding nor static linking is supported with a 11154 # broken collect2. 11155 hardcode_direct=unsupported 11156 fi 11157 ;; 11158 11159 aix[4-9]*) | 11264 # Neither direct hardcoding nor static linking is supported with a 11265 # broken collect2. 11266 hardcode_direct=unsupported 11267 fi 11268 ;; 11269 11270 aix[4-9]*) |
11160 if test "$host_cpu" = ia64; then | 11271 if test ia64 = "$host_cpu"; then |
11161 # On IA64, the linker does run time linking by default, so we don't 11162 # have to do anything special. 11163 aix_use_runtimelinking=no 11164 exp_sym_flag='-Bexport' | 11272 # On IA64, the linker does run time linking by default, so we don't 11273 # have to do anything special. 11274 aix_use_runtimelinking=no 11275 exp_sym_flag='-Bexport' |
11165 no_entry_flag="" | 11276 no_entry_flag= |
11166 else 11167 # If we're using GNU nm, then we don't want the "-C" option. 11168 # -C means demangle to AIX nm, but means don't demangle with GNU nm 11169 # Also, AIX nm treats weak defined symbols like other global 11170 # defined symbols, whereas GNU nm marks them as "W". 11171 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11172 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 11173 else 11174 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 11175 fi 11176 aix_use_runtimelinking=no 11177 11178 # Test if we are trying to use run time linking or normal 11179 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11180 # need to do runtime linking. 11181 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11182 for ld_flag in $LDFLAGS; do | 11277 else 11278 # If we're using GNU nm, then we don't want the "-C" option. 11279 # -C means demangle to AIX nm, but means don't demangle with GNU nm 11280 # Also, AIX nm treats weak defined symbols like other global 11281 # defined symbols, whereas GNU nm marks them as "W". 11282 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11283 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 11284 else 11285 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 11286 fi 11287 aix_use_runtimelinking=no 11288 11289 # Test if we are trying to use run time linking or normal 11290 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11291 # need to do runtime linking. 11292 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11293 for ld_flag in $LDFLAGS; do |
11183 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 11294 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
11184 aix_use_runtimelinking=yes 11185 break 11186 fi 11187 done 11188 ;; 11189 esac 11190 11191 exp_sym_flag='-bexport' --- 6 unchanged lines hidden (view full) --- 11198 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11199 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11200 11201 archive_cmds='' 11202 hardcode_direct=yes 11203 hardcode_direct_absolute=yes 11204 hardcode_libdir_separator=':' 11205 link_all_deplibs=yes | 11295 aix_use_runtimelinking=yes 11296 break 11297 fi 11298 done 11299 ;; 11300 esac 11301 11302 exp_sym_flag='-bexport' --- 6 unchanged lines hidden (view full) --- 11309 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11310 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11311 11312 archive_cmds='' 11313 hardcode_direct=yes 11314 hardcode_direct_absolute=yes 11315 hardcode_libdir_separator=':' 11316 link_all_deplibs=yes |
11206 file_list_spec='${wl}-f,' | 11317 file_list_spec='$wl-f,' |
11207 | 11318 |
11208 if test "$GCC" = yes; then | 11319 if test yes = "$GCC"; then |
11209 case $host_os in aix4.[012]|aix4.[012].*) 11210 # We only want to do this on AIX 4.2 and lower, the check 11211 # below for broken collect2 doesn't work under 4.3+ | 11320 case $host_os in aix4.[012]|aix4.[012].*) 11321 # We only want to do this on AIX 4.2 and lower, the check 11322 # below for broken collect2 doesn't work under 4.3+ |
11212 collect2name=`${CC} -print-prog-name=collect2` | 11323 collect2name=`$CC -print-prog-name=collect2` |
11213 if test -f "$collect2name" && 11214 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11215 then 11216 # We have reworked collect2 11217 : 11218 else 11219 # We have old collect2 11220 hardcode_direct=unsupported 11221 # It fails to find uninstalled libraries when the uninstalled 11222 # path is not listed in the libpath. Setting hardcode_minus_L 11223 # to unsupported forces relinking 11224 hardcode_minus_L=yes 11225 hardcode_libdir_flag_spec='-L$libdir' 11226 hardcode_libdir_separator= 11227 fi 11228 ;; 11229 esac 11230 shared_flag='-shared' | 11324 if test -f "$collect2name" && 11325 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11326 then 11327 # We have reworked collect2 11328 : 11329 else 11330 # We have old collect2 11331 hardcode_direct=unsupported 11332 # It fails to find uninstalled libraries when the uninstalled 11333 # path is not listed in the libpath. Setting hardcode_minus_L 11334 # to unsupported forces relinking 11335 hardcode_minus_L=yes 11336 hardcode_libdir_flag_spec='-L$libdir' 11337 hardcode_libdir_separator= 11338 fi 11339 ;; 11340 esac 11341 shared_flag='-shared' |
11231 if test "$aix_use_runtimelinking" = yes; then 11232 shared_flag="$shared_flag "'${wl}-G' | 11342 if test yes = "$aix_use_runtimelinking"; then 11343 shared_flag="$shared_flag "'$wl-G' |
11233 fi 11234 else 11235 # not using gcc | 11344 fi 11345 else 11346 # not using gcc |
11236 if test "$host_cpu" = ia64; then | 11347 if test ia64 = "$host_cpu"; then |
11237 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11238 # chokes on -Wl,-G. The following line is correct: 11239 shared_flag='-G' 11240 else | 11348 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11349 # chokes on -Wl,-G. The following line is correct: 11350 shared_flag='-G' 11351 else |
11241 if test "$aix_use_runtimelinking" = yes; then 11242 shared_flag='${wl}-G' | 11352 if test yes = "$aix_use_runtimelinking"; then 11353 shared_flag='$wl-G' |
11243 else | 11354 else |
11244 shared_flag='${wl}-bM:SRE' | 11355 shared_flag='$wl-bM:SRE' |
11245 fi 11246 fi 11247 fi 11248 | 11356 fi 11357 fi 11358 fi 11359 |
11249 export_dynamic_flag_spec='${wl}-bexpall' | 11360 export_dynamic_flag_spec='$wl-bexpall' |
11250 # It seems that -bexpall does not export symbols beginning with 11251 # underscore (_), so it is better to generate a list of symbols to export. 11252 always_export_symbols=yes | 11361 # It seems that -bexpall does not export symbols beginning with 11362 # underscore (_), so it is better to generate a list of symbols to export. 11363 always_export_symbols=yes |
11253 if test "$aix_use_runtimelinking" = yes; then | 11364 if test yes = "$aix_use_runtimelinking"; then |
11254 # Warning - without using the other runtime loading flags (-brtl), 11255 # -berok will link without error, but may produce a broken library. 11256 allow_undefined_flag='-berok' 11257 # Determine the default libpath from the value encoded in an 11258 # empty executable. | 11365 # Warning - without using the other runtime loading flags (-brtl), 11366 # -berok will link without error, but may produce a broken library. 11367 allow_undefined_flag='-berok' 11368 # Determine the default libpath from the value encoded in an 11369 # empty executable. |
11259 if test "${lt_cv_aix_libpath+set}" = set; then | 11370 if test set = "${lt_cv_aix_libpath+set}"; then |
11260 aix_libpath=$lt_cv_aix_libpath 11261else 11262 if ${lt_cv_aix_libpath_+:} false; then : 11263 $as_echo_n "(cached) " >&6 11264else 11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11266/* end confdefs.h. */ 11267 --- 18 unchanged lines hidden (view full) --- 11286 # Check for a 64-bit object if we didn't find anything. 11287 if test -z "$lt_cv_aix_libpath_"; then 11288 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11289 fi 11290fi 11291rm -f core conftest.err conftest.$ac_objext \ 11292 conftest$ac_exeext conftest.$ac_ext 11293 if test -z "$lt_cv_aix_libpath_"; then | 11371 aix_libpath=$lt_cv_aix_libpath 11372else 11373 if ${lt_cv_aix_libpath_+:} false; then : 11374 $as_echo_n "(cached) " >&6 11375else 11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11377/* end confdefs.h. */ 11378 --- 18 unchanged lines hidden (view full) --- 11397 # Check for a 64-bit object if we didn't find anything. 11398 if test -z "$lt_cv_aix_libpath_"; then 11399 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11400 fi 11401fi 11402rm -f core conftest.err conftest.$ac_objext \ 11403 conftest$ac_exeext conftest.$ac_ext 11404 if test -z "$lt_cv_aix_libpath_"; then |
11294 lt_cv_aix_libpath_="/usr/lib:/lib" | 11405 lt_cv_aix_libpath_=/usr/lib:/lib |
11295 fi 11296 11297fi 11298 11299 aix_libpath=$lt_cv_aix_libpath_ 11300fi 11301 | 11406 fi 11407 11408fi 11409 11410 aix_libpath=$lt_cv_aix_libpath_ 11411fi 11412 |
11302 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11303 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 11413 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11414 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_flag |
11304 else | 11415 else |
11305 if test "$host_cpu" = ia64; then 11306 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 11416 if test ia64 = "$host_cpu"; then 11417 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
11307 allow_undefined_flag="-z nodefs" | 11418 allow_undefined_flag="-z nodefs" |
11308 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" | 11419 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" |
11309 else 11310 # Determine the default libpath from the value encoded in an 11311 # empty executable. | 11420 else 11421 # Determine the default libpath from the value encoded in an 11422 # empty executable. |
11312 if test "${lt_cv_aix_libpath+set}" = set; then | 11423 if test set = "${lt_cv_aix_libpath+set}"; then |
11313 aix_libpath=$lt_cv_aix_libpath 11314else 11315 if ${lt_cv_aix_libpath_+:} false; then : 11316 $as_echo_n "(cached) " >&6 11317else 11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11319/* end confdefs.h. */ 11320 --- 18 unchanged lines hidden (view full) --- 11339 # Check for a 64-bit object if we didn't find anything. 11340 if test -z "$lt_cv_aix_libpath_"; then 11341 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11342 fi 11343fi 11344rm -f core conftest.err conftest.$ac_objext \ 11345 conftest$ac_exeext conftest.$ac_ext 11346 if test -z "$lt_cv_aix_libpath_"; then | 11424 aix_libpath=$lt_cv_aix_libpath 11425else 11426 if ${lt_cv_aix_libpath_+:} false; then : 11427 $as_echo_n "(cached) " >&6 11428else 11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11430/* end confdefs.h. */ 11431 --- 18 unchanged lines hidden (view full) --- 11450 # Check for a 64-bit object if we didn't find anything. 11451 if test -z "$lt_cv_aix_libpath_"; then 11452 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11453 fi 11454fi 11455rm -f core conftest.err conftest.$ac_objext \ 11456 conftest$ac_exeext conftest.$ac_ext 11457 if test -z "$lt_cv_aix_libpath_"; then |
11347 lt_cv_aix_libpath_="/usr/lib:/lib" | 11458 lt_cv_aix_libpath_=/usr/lib:/lib |
11348 fi 11349 11350fi 11351 11352 aix_libpath=$lt_cv_aix_libpath_ 11353fi 11354 | 11459 fi 11460 11461fi 11462 11463 aix_libpath=$lt_cv_aix_libpath_ 11464fi 11465 |
11355 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 11466 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
11356 # Warning - without using the other run time loading flags, 11357 # -berok will link without error, but may produce a broken library. | 11467 # Warning - without using the other run time loading flags, 11468 # -berok will link without error, but may produce a broken library. |
11358 no_undefined_flag=' ${wl}-bernotok' 11359 allow_undefined_flag=' ${wl}-berok' 11360 if test "$with_gnu_ld" = yes; then | 11469 no_undefined_flag=' $wl-bernotok' 11470 allow_undefined_flag=' $wl-berok' 11471 if test yes = "$with_gnu_ld"; then |
11361 # We only use this code for GNU lds that support --whole-archive. | 11472 # We only use this code for GNU lds that support --whole-archive. |
11362 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 11473 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
11363 else 11364 # Exported symbols can be pulled into shared objects from archives 11365 whole_archive_flag_spec='$convenience' 11366 fi 11367 archive_cmds_need_lc=yes 11368 # This is similar to how AIX traditionally builds its shared libraries. | 11474 else 11475 # Exported symbols can be pulled into shared objects from archives 11476 whole_archive_flag_spec='$convenience' 11477 fi 11478 archive_cmds_need_lc=yes 11479 # This is similar to how AIX traditionally builds its shared libraries. |
11369 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 11480 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
11370 fi 11371 fi 11372 ;; 11373 11374 amigaos*) 11375 case $host_cpu in 11376 powerpc) 11377 # see comment about AmigaOS4 .so support | 11481 fi 11482 fi 11483 ;; 11484 11485 amigaos*) 11486 case $host_cpu in 11487 powerpc) 11488 # see comment about AmigaOS4 .so support |
11378 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 11489 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
11379 archive_expsym_cmds='' 11380 ;; 11381 m68k) 11382 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)' 11383 hardcode_libdir_flag_spec='-L$libdir' 11384 hardcode_minus_L=yes 11385 ;; 11386 esac --- 13 unchanged lines hidden (view full) --- 11400 # Native MSVC 11401 hardcode_libdir_flag_spec=' ' 11402 allow_undefined_flag=unsupported 11403 always_export_symbols=yes 11404 file_list_spec='@' 11405 # Tell ltmain to make .lib files, not .a files. 11406 libext=lib 11407 # Tell ltmain to make .dll files, not .so files. | 11490 archive_expsym_cmds='' 11491 ;; 11492 m68k) 11493 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)' 11494 hardcode_libdir_flag_spec='-L$libdir' 11495 hardcode_minus_L=yes 11496 ;; 11497 esac --- 13 unchanged lines hidden (view full) --- 11511 # Native MSVC 11512 hardcode_libdir_flag_spec=' ' 11513 allow_undefined_flag=unsupported 11514 always_export_symbols=yes 11515 file_list_spec='@' 11516 # Tell ltmain to make .lib files, not .a files. 11517 libext=lib 11518 # Tell ltmain to make .dll files, not .so files. |
11408 shrext_cmds=".dll" | 11519 shrext_cmds=.dll |
11409 # FIXME: Setting linknames here is a bad hack. | 11520 # FIXME: Setting linknames here is a bad hack. |
11410 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 11411 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 11412 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 11413 else 11414 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 11415 fi~ 11416 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11417 linknames=' | 11521 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11522 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11523 cp "$export_symbols" "$output_objdir/$soname.def"; 11524 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11525 else 11526 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11527 fi~ 11528 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11529 linknames=' |
11418 # The linker will not automatically build a static lib if we build a DLL. 11419 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11420 enable_shared_with_static_runtimes=yes 11421 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11422 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11423 # Don't use ranlib 11424 old_postinstall_cmds='chmod 644 $oldlib' 11425 postlink_cmds='lt_outputfile="@OUTPUT@"~ | 11530 # The linker will not automatically build a static lib if we build a DLL. 11531 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11532 enable_shared_with_static_runtimes=yes 11533 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11534 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11535 # Don't use ranlib 11536 old_postinstall_cmds='chmod 644 $oldlib' 11537 postlink_cmds='lt_outputfile="@OUTPUT@"~ |
11426 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11427 case $lt_outputfile in 11428 *.exe|*.EXE) ;; 11429 *) 11430 lt_outputfile="$lt_outputfile.exe" 11431 lt_tool_outputfile="$lt_tool_outputfile.exe" 11432 ;; 11433 esac~ 11434 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 11435 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11436 $RM "$lt_outputfile.manifest"; 11437 fi' | 11538 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11539 case $lt_outputfile in 11540 *.exe|*.EXE) ;; 11541 *) 11542 lt_outputfile=$lt_outputfile.exe 11543 lt_tool_outputfile=$lt_tool_outputfile.exe 11544 ;; 11545 esac~ 11546 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11547 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11548 $RM "$lt_outputfile.manifest"; 11549 fi' |
11438 ;; 11439 *) 11440 # Assume MSVC wrapper 11441 hardcode_libdir_flag_spec=' ' 11442 allow_undefined_flag=unsupported 11443 # Tell ltmain to make .lib files, not .a files. 11444 libext=lib 11445 # Tell ltmain to make .dll files, not .so files. | 11550 ;; 11551 *) 11552 # Assume MSVC wrapper 11553 hardcode_libdir_flag_spec=' ' 11554 allow_undefined_flag=unsupported 11555 # Tell ltmain to make .lib files, not .a files. 11556 libext=lib 11557 # Tell ltmain to make .dll files, not .so files. |
11446 shrext_cmds=".dll" | 11558 shrext_cmds=.dll |
11447 # FIXME: Setting linknames here is a bad hack. 11448 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11449 # The linker will automatically build a .lib file if we build a DLL. 11450 old_archive_from_new_cmds='true' 11451 # FIXME: Should let the user specify the lib program. 11452 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11453 enable_shared_with_static_runtimes=yes 11454 ;; 11455 esac 11456 ;; 11457 11458 darwin* | rhapsody*) 11459 11460 11461 archive_cmds_need_lc=no 11462 hardcode_direct=no 11463 hardcode_automatic=yes 11464 hardcode_shlibpath_var=unsupported | 11559 # FIXME: Setting linknames here is a bad hack. 11560 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11561 # The linker will automatically build a .lib file if we build a DLL. 11562 old_archive_from_new_cmds='true' 11563 # FIXME: Should let the user specify the lib program. 11564 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11565 enable_shared_with_static_runtimes=yes 11566 ;; 11567 esac 11568 ;; 11569 11570 darwin* | rhapsody*) 11571 11572 11573 archive_cmds_need_lc=no 11574 hardcode_direct=no 11575 hardcode_automatic=yes 11576 hardcode_shlibpath_var=unsupported |
11465 if test "$lt_cv_ld_force_load" = "yes"; then 11466 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\"`' | 11577 if test yes = "$lt_cv_ld_force_load"; then 11578 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\"`' |
11467 11468 else 11469 whole_archive_flag_spec='' 11470 fi 11471 link_all_deplibs=yes | 11579 11580 else 11581 whole_archive_flag_spec='' 11582 fi 11583 link_all_deplibs=yes |
11472 allow_undefined_flag="$_lt_dar_allow_undefined" | 11584 allow_undefined_flag=$_lt_dar_allow_undefined |
11473 case $cc_basename in | 11585 case $cc_basename in |
11474 ifort*) _lt_dar_can_shared=yes ;; | 11586 ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
11475 *) _lt_dar_can_shared=$GCC ;; 11476 esac | 11587 *) _lt_dar_can_shared=$GCC ;; 11588 esac |
11477 if test "$_lt_dar_can_shared" = "yes"; then | 11589 if test yes = "$_lt_dar_can_shared"; then |
11478 output_verbose_link_cmd=func_echo_all | 11590 output_verbose_link_cmd=func_echo_all |
11479 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 11480 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 11481 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}" 11482 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}" | 11591 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11592 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11593 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" 11594 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" |
11483 11484 else 11485 ld_shlibs=no 11486 fi 11487 11488 ;; 11489 11490 dgux*) --- 25 unchanged lines hidden (view full) --- 11516 freebsd* | dragonfly*) 11517 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11518 hardcode_libdir_flag_spec='-R$libdir' 11519 hardcode_direct=yes 11520 hardcode_shlibpath_var=no 11521 ;; 11522 11523 hpux9*) | 11595 11596 else 11597 ld_shlibs=no 11598 fi 11599 11600 ;; 11601 11602 dgux*) --- 25 unchanged lines hidden (view full) --- 11628 freebsd* | dragonfly*) 11629 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11630 hardcode_libdir_flag_spec='-R$libdir' 11631 hardcode_direct=yes 11632 hardcode_shlibpath_var=no 11633 ;; 11634 11635 hpux9*) |
11524 if test "$GCC" = yes; then 11525 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 11636 if test yes = "$GCC"; then 11637 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' |
11526 else | 11638 else |
11527 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 11639 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' |
11528 fi | 11640 fi |
11529 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 11641 hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
11530 hardcode_libdir_separator=: 11531 hardcode_direct=yes 11532 11533 # hardcode_minus_L: Not really in the search PATH, 11534 # but as the default location of the library. 11535 hardcode_minus_L=yes | 11642 hardcode_libdir_separator=: 11643 hardcode_direct=yes 11644 11645 # hardcode_minus_L: Not really in the search PATH, 11646 # but as the default location of the library. 11647 hardcode_minus_L=yes |
11536 export_dynamic_flag_spec='${wl}-E' | 11648 export_dynamic_flag_spec='$wl-E' |
11537 ;; 11538 11539 hpux10*) | 11649 ;; 11650 11651 hpux10*) |
11540 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 11541 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 11652 if test yes,no = "$GCC,$with_gnu_ld"; then 11653 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
11542 else 11543 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11544 fi | 11654 else 11655 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11656 fi |
11545 if test "$with_gnu_ld" = no; then 11546 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 11657 if test no = "$with_gnu_ld"; then 11658 hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
11547 hardcode_libdir_separator=: 11548 hardcode_direct=yes 11549 hardcode_direct_absolute=yes | 11659 hardcode_libdir_separator=: 11660 hardcode_direct=yes 11661 hardcode_direct_absolute=yes |
11550 export_dynamic_flag_spec='${wl}-E' | 11662 export_dynamic_flag_spec='$wl-E' |
11551 # hardcode_minus_L: Not really in the search PATH, 11552 # but as the default location of the library. 11553 hardcode_minus_L=yes 11554 fi 11555 ;; 11556 11557 hpux11*) | 11663 # hardcode_minus_L: Not really in the search PATH, 11664 # but as the default location of the library. 11665 hardcode_minus_L=yes 11666 fi 11667 ;; 11668 11669 hpux11*) |
11558 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | 11670 if test yes,no = "$GCC,$with_gnu_ld"; then |
11559 case $host_cpu in 11560 hppa*64*) | 11671 case $host_cpu in 11672 hppa*64*) |
11561 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 11673 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
11562 ;; 11563 ia64*) | 11674 ;; 11675 ia64*) |
11564 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | 11676 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
11565 ;; 11566 *) | 11677 ;; 11678 *) |
11567 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 11679 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
11568 ;; 11569 esac 11570 else 11571 case $host_cpu in 11572 hppa*64*) | 11680 ;; 11681 esac 11682 else 11683 case $host_cpu in 11684 hppa*64*) |
11573 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 11685 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
11574 ;; 11575 ia64*) | 11686 ;; 11687 ia64*) |
11576 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | 11688 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
11577 ;; 11578 *) 11579 11580 # Older versions of the 11.00 compiler do not understand -b yet 11581 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11583$as_echo_n "checking if $CC understands -b... " >&6; } 11584if ${lt_cv_prog_compiler__b+:} false; then : 11585 $as_echo_n "(cached) " >&6 11586else 11587 lt_cv_prog_compiler__b=no | 11689 ;; 11690 *) 11691 11692 # Older versions of the 11.00 compiler do not understand -b yet 11693 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11695$as_echo_n "checking if $CC understands -b... " >&6; } 11696if ${lt_cv_prog_compiler__b+:} false; then : 11697 $as_echo_n "(cached) " >&6 11698else 11699 lt_cv_prog_compiler__b=no |
11588 save_LDFLAGS="$LDFLAGS" | 11700 save_LDFLAGS=$LDFLAGS |
11589 LDFLAGS="$LDFLAGS -b" 11590 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11591 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11592 # The linker can only warn and ignore the option if not recognized 11593 # So say no if there are warnings 11594 if test -s conftest.err; then 11595 # Append any errors to the config.log. 11596 cat conftest.err 1>&5 11597 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11598 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11599 if diff conftest.exp conftest.er2 >/dev/null; then 11600 lt_cv_prog_compiler__b=yes 11601 fi 11602 else 11603 lt_cv_prog_compiler__b=yes 11604 fi 11605 fi 11606 $RM -r conftest* | 11701 LDFLAGS="$LDFLAGS -b" 11702 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11703 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11704 # The linker can only warn and ignore the option if not recognized 11705 # So say no if there are warnings 11706 if test -s conftest.err; then 11707 # Append any errors to the config.log. 11708 cat conftest.err 1>&5 11709 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11710 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11711 if diff conftest.exp conftest.er2 >/dev/null; then 11712 lt_cv_prog_compiler__b=yes 11713 fi 11714 else 11715 lt_cv_prog_compiler__b=yes 11716 fi 11717 fi 11718 $RM -r conftest* |
11607 LDFLAGS="$save_LDFLAGS" | 11719 LDFLAGS=$save_LDFLAGS |
11608 11609fi 11610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11611$as_echo "$lt_cv_prog_compiler__b" >&6; } 11612 | 11720 11721fi 11722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11723$as_echo "$lt_cv_prog_compiler__b" >&6; } 11724 |
11613if test x"$lt_cv_prog_compiler__b" = xyes; then 11614 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 11725if test yes = "$lt_cv_prog_compiler__b"; then 11726 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
11615else 11616 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11617fi 11618 11619 ;; 11620 esac 11621 fi | 11727else 11728 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11729fi 11730 11731 ;; 11732 esac 11733 fi |
11622 if test "$with_gnu_ld" = no; then 11623 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 11734 if test no = "$with_gnu_ld"; then 11735 hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
11624 hardcode_libdir_separator=: 11625 11626 case $host_cpu in 11627 hppa*64*|ia64*) 11628 hardcode_direct=no 11629 hardcode_shlibpath_var=no 11630 ;; 11631 *) 11632 hardcode_direct=yes 11633 hardcode_direct_absolute=yes | 11736 hardcode_libdir_separator=: 11737 11738 case $host_cpu in 11739 hppa*64*|ia64*) 11740 hardcode_direct=no 11741 hardcode_shlibpath_var=no 11742 ;; 11743 *) 11744 hardcode_direct=yes 11745 hardcode_direct_absolute=yes |
11634 export_dynamic_flag_spec='${wl}-E' | 11746 export_dynamic_flag_spec='$wl-E' |
11635 11636 # hardcode_minus_L: Not really in the search PATH, 11637 # but as the default location of the library. 11638 hardcode_minus_L=yes 11639 ;; 11640 esac 11641 fi 11642 ;; 11643 11644 irix5* | irix6* | nonstopux*) | 11747 11748 # hardcode_minus_L: Not really in the search PATH, 11749 # but as the default location of the library. 11750 hardcode_minus_L=yes 11751 ;; 11752 esac 11753 fi 11754 ;; 11755 11756 irix5* | irix6* | nonstopux*) |
11645 if test "$GCC" = yes; then 11646 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' | 11757 if test yes = "$GCC"; then 11758 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' |
11647 # Try to use the -exported_symbol ld option, if it does not 11648 # work, assume that -exports_file does not work either and 11649 # implicitly export all symbols. 11650 # This should be the same for all languages, so no per-tag cache variable. 11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11652$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11653if ${lt_cv_irix_exported_symbol+:} false; then : 11654 $as_echo_n "(cached) " >&6 11655else | 11759 # Try to use the -exported_symbol ld option, if it does not 11760 # work, assume that -exports_file does not work either and 11761 # implicitly export all symbols. 11762 # This should be the same for all languages, so no per-tag cache variable. 11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11764$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11765if ${lt_cv_irix_exported_symbol+:} false; then : 11766 $as_echo_n "(cached) " >&6 11767else |
11656 save_LDFLAGS="$LDFLAGS" 11657 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" | 11768 save_LDFLAGS=$LDFLAGS 11769 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11659/* end confdefs.h. */ 11660int foo (void) { return 0; } 11661_ACEOF 11662if ac_fn_c_try_link "$LINENO"; then : 11663 lt_cv_irix_exported_symbol=yes 11664else 11665 lt_cv_irix_exported_symbol=no 11666fi 11667rm -f core conftest.err conftest.$ac_objext \ 11668 conftest$ac_exeext conftest.$ac_ext | 11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11771/* end confdefs.h. */ 11772int foo (void) { return 0; } 11773_ACEOF 11774if ac_fn_c_try_link "$LINENO"; then : 11775 lt_cv_irix_exported_symbol=yes 11776else 11777 lt_cv_irix_exported_symbol=no 11778fi 11779rm -f core conftest.err conftest.$ac_objext \ 11780 conftest$ac_exeext conftest.$ac_ext |
11669 LDFLAGS="$save_LDFLAGS" | 11781 LDFLAGS=$save_LDFLAGS |
11670fi 11671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11672$as_echo "$lt_cv_irix_exported_symbol" >&6; } | 11782fi 11783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11784$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
11673 if test "$lt_cv_irix_exported_symbol" = yes; then 11674 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' | 11785 if test yes = "$lt_cv_irix_exported_symbol"; then 11786 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' |
11675 fi 11676 else | 11787 fi 11788 else |
11677 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' 11678 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' | 11789 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' 11790 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' |
11679 fi 11680 archive_cmds_need_lc='no' | 11791 fi 11792 archive_cmds_need_lc='no' |
11681 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11793 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
11682 hardcode_libdir_separator=: 11683 inherit_rpath=yes 11684 link_all_deplibs=yes 11685 ;; 11686 11687 netbsd*) 11688 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11689 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11690 else 11691 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11692 fi 11693 hardcode_libdir_flag_spec='-R$libdir' 11694 hardcode_direct=yes 11695 hardcode_shlibpath_var=no 11696 ;; 11697 11698 newsos6) 11699 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11700 hardcode_direct=yes | 11794 hardcode_libdir_separator=: 11795 inherit_rpath=yes 11796 link_all_deplibs=yes 11797 ;; 11798 11799 netbsd*) 11800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11801 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11802 else 11803 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11804 fi 11805 hardcode_libdir_flag_spec='-R$libdir' 11806 hardcode_direct=yes 11807 hardcode_shlibpath_var=no 11808 ;; 11809 11810 newsos6) 11811 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11812 hardcode_direct=yes |
11701 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11813 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
11702 hardcode_libdir_separator=: 11703 hardcode_shlibpath_var=no 11704 ;; 11705 11706 *nto* | *qnx*) 11707 ;; 11708 | 11814 hardcode_libdir_separator=: 11815 hardcode_shlibpath_var=no 11816 ;; 11817 11818 *nto* | *qnx*) 11819 ;; 11820 |
11709 openbsd*) | 11821 openbsd* | bitrig*) |
11710 if test -f /usr/libexec/ld.so; then 11711 hardcode_direct=yes 11712 hardcode_shlibpath_var=no 11713 hardcode_direct_absolute=yes | 11822 if test -f /usr/libexec/ld.so; then 11823 hardcode_direct=yes 11824 hardcode_shlibpath_var=no 11825 hardcode_direct_absolute=yes |
11714 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 11826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
11715 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 11827 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
11716 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 11717 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11718 export_dynamic_flag_spec='${wl}-E' | 11828 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11829 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11830 export_dynamic_flag_spec='$wl-E' |
11719 else | 11831 else |
11720 case $host_os in 11721 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 11722 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11723 hardcode_libdir_flag_spec='-R$libdir' 11724 ;; 11725 *) 11726 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11727 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 11728 ;; 11729 esac | 11832 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11833 hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
11730 fi 11731 else 11732 ld_shlibs=no 11733 fi 11734 ;; 11735 11736 os2*) 11737 hardcode_libdir_flag_spec='-L$libdir' 11738 hardcode_minus_L=yes 11739 allow_undefined_flag=unsupported 11740 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 11741 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 11742 ;; 11743 11744 osf3*) | 11834 fi 11835 else 11836 ld_shlibs=no 11837 fi 11838 ;; 11839 11840 os2*) 11841 hardcode_libdir_flag_spec='-L$libdir' 11842 hardcode_minus_L=yes 11843 allow_undefined_flag=unsupported 11844 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 11845 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 11846 ;; 11847 11848 osf3*) |
11745 if test "$GCC" = yes; then 11746 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11747 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' | 11849 if test yes = "$GCC"; then 11850 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11851 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' |
11748 else 11749 allow_undefined_flag=' -expect_unresolved \*' | 11852 else 11853 allow_undefined_flag=' -expect_unresolved \*' |
11750 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' | 11854 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' |
11751 fi 11752 archive_cmds_need_lc='no' | 11855 fi 11856 archive_cmds_need_lc='no' |
11753 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11857 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
11754 hardcode_libdir_separator=: 11755 ;; 11756 11757 osf4* | osf5*) # as osf3* with the addition of -msym flag | 11858 hardcode_libdir_separator=: 11859 ;; 11860 11861 osf4* | osf5*) # as osf3* with the addition of -msym flag |
11758 if test "$GCC" = yes; then 11759 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 11760 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' 11761 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11862 if test yes = "$GCC"; then 11863 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11864 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' 11865 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
11762 else 11763 allow_undefined_flag=' -expect_unresolved \*' | 11866 else 11867 allow_undefined_flag=' -expect_unresolved \*' |
11764 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' | 11868 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' |
11765 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~ | 11869 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~ |
11766 $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' | 11870 $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' |
11767 11768 # Both c and cxx compiler support -rpath directly 11769 hardcode_libdir_flag_spec='-rpath $libdir' 11770 fi 11771 archive_cmds_need_lc='no' 11772 hardcode_libdir_separator=: 11773 ;; 11774 11775 solaris*) 11776 no_undefined_flag=' -z defs' | 11871 11872 # Both c and cxx compiler support -rpath directly 11873 hardcode_libdir_flag_spec='-rpath $libdir' 11874 fi 11875 archive_cmds_need_lc='no' 11876 hardcode_libdir_separator=: 11877 ;; 11878 11879 solaris*) 11880 no_undefined_flag=' -z defs' |
11777 if test "$GCC" = yes; then 11778 wlarc='${wl}' 11779 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 11881 if test yes = "$GCC"; then 11882 wlarc='$wl' 11883 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
11780 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 11884 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
11781 $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' | 11885 $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' |
11782 else 11783 case `$CC -V 2>&1` in 11784 *"Compilers 5.0"*) 11785 wlarc='' | 11886 else 11887 case `$CC -V 2>&1` in 11888 *"Compilers 5.0"*) 11889 wlarc='' |
11786 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11890 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11787 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 11891 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
11788 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' | 11892 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
11789 ;; 11790 *) | 11893 ;; 11894 *) |
11791 wlarc='${wl}' 11792 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' | 11895 wlarc='$wl' 11896 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
11793 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 11897 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
11794 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | 11898 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
11795 ;; 11796 esac 11797 fi 11798 hardcode_libdir_flag_spec='-R$libdir' 11799 hardcode_shlibpath_var=no 11800 case $host_os in 11801 solaris2.[0-5] | solaris2.[0-5].*) ;; 11802 *) 11803 # The compiler driver will combine and reorder linker options, | 11899 ;; 11900 esac 11901 fi 11902 hardcode_libdir_flag_spec='-R$libdir' 11903 hardcode_shlibpath_var=no 11904 case $host_os in 11905 solaris2.[0-5] | solaris2.[0-5].*) ;; 11906 *) 11907 # The compiler driver will combine and reorder linker options, |
11804 # but understands `-z linker_flag'. GCC discards it without `$wl', | 11908 # but understands '-z linker_flag'. GCC discards it without '$wl', |
11805 # but is careful enough not to reorder. 11806 # Supported since Solaris 2.6 (maybe 2.5.1?) | 11909 # but is careful enough not to reorder. 11910 # Supported since Solaris 2.6 (maybe 2.5.1?) |
11807 if test "$GCC" = yes; then 11808 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 11911 if test yes = "$GCC"; then 11912 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
11809 else 11810 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11811 fi 11812 ;; 11813 esac 11814 link_all_deplibs=yes 11815 ;; 11816 11817 sunos4*) | 11913 else 11914 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11915 fi 11916 ;; 11917 esac 11918 link_all_deplibs=yes 11919 ;; 11920 11921 sunos4*) |
11818 if test "x$host_vendor" = xsequent; then | 11922 if test sequent = "$host_vendor"; then |
11819 # Use $CC to link under sequent, because it throws in some extra .o 11820 # files that make .init and .fini sections work. | 11923 # Use $CC to link under sequent, because it throws in some extra .o 11924 # files that make .init and .fini sections work. |
11821 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 11925 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
11822 else 11823 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11824 fi 11825 hardcode_libdir_flag_spec='-L$libdir' 11826 hardcode_direct=yes 11827 hardcode_minus_L=yes 11828 hardcode_shlibpath_var=no 11829 ;; --- 32 unchanged lines hidden (view full) --- 11862 hardcode_shlibpath_var=no 11863 runpath_var=LD_RUN_PATH 11864 hardcode_runpath_var=yes 11865 ld_shlibs=yes 11866 fi 11867 ;; 11868 11869 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | 11926 else 11927 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11928 fi 11929 hardcode_libdir_flag_spec='-L$libdir' 11930 hardcode_direct=yes 11931 hardcode_minus_L=yes 11932 hardcode_shlibpath_var=no 11933 ;; --- 32 unchanged lines hidden (view full) --- 11966 hardcode_shlibpath_var=no 11967 runpath_var=LD_RUN_PATH 11968 hardcode_runpath_var=yes 11969 ld_shlibs=yes 11970 fi 11971 ;; 11972 11973 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
11870 no_undefined_flag='${wl}-z,text' | 11974 no_undefined_flag='$wl-z,text' |
11871 archive_cmds_need_lc=no 11872 hardcode_shlibpath_var=no 11873 runpath_var='LD_RUN_PATH' 11874 | 11975 archive_cmds_need_lc=no 11976 hardcode_shlibpath_var=no 11977 runpath_var='LD_RUN_PATH' 11978 |
11875 if test "$GCC" = yes; then 11876 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11877 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11979 if test yes = "$GCC"; then 11980 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11981 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11878 else | 11982 else |
11879 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11880 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11983 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11984 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11881 fi 11882 ;; 11883 11884 sysv5* | sco3.2v5* | sco5v6*) | 11985 fi 11986 ;; 11987 11988 sysv5* | sco3.2v5* | sco5v6*) |
11885 # Note: We can NOT use -z defs as we might desire, because we do not | 11989 # Note: We CANNOT use -z defs as we might desire, because we do not |
11886 # link with -lc, and that would cause any symbols used from libc to 11887 # always be unresolved, which means just about no library would 11888 # ever link correctly. If we're not using GNU ld we use -z text 11889 # though, which does catch some bad symbols but isn't as heavy-handed 11890 # as -z defs. | 11990 # link with -lc, and that would cause any symbols used from libc to 11991 # always be unresolved, which means just about no library would 11992 # ever link correctly. If we're not using GNU ld we use -z text 11993 # though, which does catch some bad symbols but isn't as heavy-handed 11994 # as -z defs. |
11891 no_undefined_flag='${wl}-z,text' 11892 allow_undefined_flag='${wl}-z,nodefs' | 11995 no_undefined_flag='$wl-z,text' 11996 allow_undefined_flag='$wl-z,nodefs' |
11893 archive_cmds_need_lc=no 11894 hardcode_shlibpath_var=no | 11997 archive_cmds_need_lc=no 11998 hardcode_shlibpath_var=no |
11895 hardcode_libdir_flag_spec='${wl}-R,$libdir' | 11999 hardcode_libdir_flag_spec='$wl-R,$libdir' |
11896 hardcode_libdir_separator=':' 11897 link_all_deplibs=yes | 12000 hardcode_libdir_separator=':' 12001 link_all_deplibs=yes |
11898 export_dynamic_flag_spec='${wl}-Bexport' | 12002 export_dynamic_flag_spec='$wl-Bexport' |
11899 runpath_var='LD_RUN_PATH' 11900 | 12003 runpath_var='LD_RUN_PATH' 12004 |
11901 if test "$GCC" = yes; then 11902 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11903 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 12005 if test yes = "$GCC"; then 12006 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12007 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11904 else | 12008 else |
11905 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11906 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 12009 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 12010 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11907 fi 11908 ;; 11909 11910 uts4*) 11911 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11912 hardcode_libdir_flag_spec='-L$libdir' 11913 hardcode_shlibpath_var=no 11914 ;; 11915 11916 *) 11917 ld_shlibs=no 11918 ;; 11919 esac 11920 | 12011 fi 12012 ;; 12013 12014 uts4*) 12015 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 12016 hardcode_libdir_flag_spec='-L$libdir' 12017 hardcode_shlibpath_var=no 12018 ;; 12019 12020 *) 12021 ld_shlibs=no 12022 ;; 12023 esac 12024 |
11921 if test x$host_vendor = xsni; then | 12025 if test sni = "$host_vendor"; then |
11922 case $host in 11923 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 12026 case $host in 12027 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
11924 export_dynamic_flag_spec='${wl}-Blargedynsym' | 12028 export_dynamic_flag_spec='$wl-Blargedynsym' |
11925 ;; 11926 esac 11927 fi 11928 fi 11929 11930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11931$as_echo "$ld_shlibs" >&6; } | 12029 ;; 12030 esac 12031 fi 12032 fi 12033 12034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 12035$as_echo "$ld_shlibs" >&6; } |
11932test "$ld_shlibs" = no && can_build_shared=no | 12036test no = "$ld_shlibs" && can_build_shared=no |
11933 11934with_gnu_ld=$with_gnu_ld 11935 11936 11937 11938 11939 11940 --- 9 unchanged lines hidden (view full) --- 11950# 11951# Do we need to explicitly link libc? 11952# 11953case "x$archive_cmds_need_lc" in 11954x|xyes) 11955 # Assume -lc should be added 11956 archive_cmds_need_lc=yes 11957 | 12037 12038with_gnu_ld=$with_gnu_ld 12039 12040 12041 12042 12043 12044 --- 9 unchanged lines hidden (view full) --- 12054# 12055# Do we need to explicitly link libc? 12056# 12057case "x$archive_cmds_need_lc" in 12058x|xyes) 12059 # Assume -lc should be added 12060 archive_cmds_need_lc=yes 12061 |
11958 if test "$enable_shared" = yes && test "$GCC" = yes; then | 12062 if test yes,yes = "$GCC,$enable_shared"; then |
11959 case $archive_cmds in 11960 *'~'*) 11961 # FIXME: we may have to deal with multi-command sequences. 11962 ;; 11963 '$CC '*) 11964 # Test whether the compiler implicitly links with -lc since on some 11965 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11966 # to ld, don't add -lc before -lgcc. --- 198 unchanged lines hidden (view full) --- 12165 12166 12167 12168 12169 12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12171$as_echo_n "checking dynamic linker characteristics... " >&6; } 12172 | 12063 case $archive_cmds in 12064 *'~'*) 12065 # FIXME: we may have to deal with multi-command sequences. 12066 ;; 12067 '$CC '*) 12068 # Test whether the compiler implicitly links with -lc since on some 12069 # systems, -lgcc has to come before -lc. If gcc already passes -lc 12070 # to ld, don't add -lc before -lgcc. --- 198 unchanged lines hidden (view full) --- 12269 12270 12271 12272 12273 12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12275$as_echo_n "checking dynamic linker characteristics... " >&6; } 12276 |
12173if test "$GCC" = yes; then | 12277if test yes = "$GCC"; then |
12174 case $host_os in | 12278 case $host_os in |
12175 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 12176 *) lt_awk_arg="/^libraries:/" ;; | 12279 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12280 *) lt_awk_arg='/^libraries:/' ;; |
12177 esac 12178 case $host_os in | 12281 esac 12282 case $host_os in |
12179 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 12180 *) lt_sed_strip_eq="s,=/,/,g" ;; | 12283 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12284 *) lt_sed_strip_eq='s|=/|/|g' ;; |
12181 esac 12182 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12183 case $lt_search_path_spec in 12184 *\;*) 12185 # if the path contains ";" then we assume it to be the separator 12186 # otherwise default to the standard path separator (i.e. ":") - it is 12187 # assumed that no part of a normal pathname contains ";" but that should 12188 # okay in the real world where ";" in dirpaths is itself problematic. 12189 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12190 ;; 12191 *) 12192 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12193 ;; 12194 esac 12195 # Ok, now we have the path, separated by spaces, we can step through it | 12285 esac 12286 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12287 case $lt_search_path_spec in 12288 *\;*) 12289 # if the path contains ";" then we assume it to be the separator 12290 # otherwise default to the standard path separator (i.e. ":") - it is 12291 # assumed that no part of a normal pathname contains ";" but that should 12292 # okay in the real world where ";" in dirpaths is itself problematic. 12293 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12294 ;; 12295 *) 12296 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12297 ;; 12298 esac 12299 # Ok, now we have the path, separated by spaces, we can step through it |
12196 # and add multilib dir if necessary. | 12300 # and add multilib dir if necessary... |
12197 lt_tmp_lt_search_path_spec= | 12301 lt_tmp_lt_search_path_spec= |
12198 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` | 12302 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12303 # ...but if some path component already ends with the multilib dir we assume 12304 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12305 case "$lt_multi_os_dir; $lt_search_path_spec " in 12306 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12307 lt_multi_os_dir= 12308 ;; 12309 esac |
12199 for lt_sys_path in $lt_search_path_spec; do | 12310 for lt_sys_path in $lt_search_path_spec; do |
12200 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 12201 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 12202 else | 12311 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12312 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12313 elif test -n "$lt_multi_os_dir"; then |
12203 test -d "$lt_sys_path" && \ 12204 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12205 fi 12206 done 12207 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | 12314 test -d "$lt_sys_path" && \ 12315 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12316 fi 12317 done 12318 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
12208BEGIN {RS=" "; FS="/|\n";} { 12209 lt_foo=""; 12210 lt_count=0; | 12319BEGIN {RS = " "; FS = "/|\n";} { 12320 lt_foo = ""; 12321 lt_count = 0; |
12211 for (lt_i = NF; lt_i > 0; lt_i--) { 12212 if ($lt_i != "" && $lt_i != ".") { 12213 if ($lt_i == "..") { 12214 lt_count++; 12215 } else { 12216 if (lt_count == 0) { | 12322 for (lt_i = NF; lt_i > 0; lt_i--) { 12323 if ($lt_i != "" && $lt_i != ".") { 12324 if ($lt_i == "..") { 12325 lt_count++; 12326 } else { 12327 if (lt_count == 0) { |
12217 lt_foo="/" $lt_i lt_foo; | 12328 lt_foo = "/" $lt_i lt_foo; |
12218 } else { 12219 lt_count--; 12220 } 12221 } 12222 } 12223 } 12224 if (lt_foo != "") { lt_freq[lt_foo]++; } 12225 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12226}'` 12227 # AWK program above erroneously prepends '/' to C:/dos/paths 12228 # for these hosts. 12229 case $host_os in 12230 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | 12329 } else { 12330 lt_count--; 12331 } 12332 } 12333 } 12334 } 12335 if (lt_foo != "") { lt_freq[lt_foo]++; } 12336 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12337}'` 12338 # AWK program above erroneously prepends '/' to C:/dos/paths 12339 # for these hosts. 12340 case $host_os in 12341 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
12231 $SED 's,/\([A-Za-z]:\),\1,g'` ;; | 12342 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
12232 esac 12233 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12234else 12235 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12236fi 12237library_names_spec= 12238libname_spec='lib$name' 12239soname_spec= | 12343 esac 12344 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12345else 12346 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12347fi 12348library_names_spec= 12349libname_spec='lib$name' 12350soname_spec= |
12240shrext_cmds=".so" | 12351shrext_cmds=.so |
12241postinstall_cmds= 12242postuninstall_cmds= 12243finish_cmds= 12244finish_eval= 12245shlibpath_var= 12246shlibpath_overrides_runpath=unknown 12247version_type=none 12248dynamic_linker="$host_os ld.so" 12249sys_lib_dlsearch_path_spec="/lib /usr/lib" 12250need_lib_prefix=unknown 12251hardcode_into_libs=no 12252 12253# when you set need_version to no, make sure it does not cause -set_version 12254# flags to be left without arguments 12255need_version=unknown 12256 12257case $host_os in 12258aix3*) 12259 version_type=linux # correct to gnu/linux during the next big refactor | 12352postinstall_cmds= 12353postuninstall_cmds= 12354finish_cmds= 12355finish_eval= 12356shlibpath_var= 12357shlibpath_overrides_runpath=unknown 12358version_type=none 12359dynamic_linker="$host_os ld.so" 12360sys_lib_dlsearch_path_spec="/lib /usr/lib" 12361need_lib_prefix=unknown 12362hardcode_into_libs=no 12363 12364# when you set need_version to no, make sure it does not cause -set_version 12365# flags to be left without arguments 12366need_version=unknown 12367 12368case $host_os in 12369aix3*) 12370 version_type=linux # correct to gnu/linux during the next big refactor |
12260 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 12371 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
12261 shlibpath_var=LIBPATH 12262 12263 # AIX 3 has no versioning support, so we append a major version to the name. | 12372 shlibpath_var=LIBPATH 12373 12374 # AIX 3 has no versioning support, so we append a major version to the name. |
12264 soname_spec='${libname}${release}${shared_ext}$major' | 12375 soname_spec='$libname$release$shared_ext$major' |
12265 ;; 12266 12267aix[4-9]*) 12268 version_type=linux # correct to gnu/linux during the next big refactor 12269 need_lib_prefix=no 12270 need_version=no 12271 hardcode_into_libs=yes | 12376 ;; 12377 12378aix[4-9]*) 12379 version_type=linux # correct to gnu/linux during the next big refactor 12380 need_lib_prefix=no 12381 need_version=no 12382 hardcode_into_libs=yes |
12272 if test "$host_cpu" = ia64; then | 12383 if test ia64 = "$host_cpu"; then |
12273 # AIX 5 supports IA64 | 12384 # AIX 5 supports IA64 |
12274 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 12385 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
12275 shlibpath_var=LD_LIBRARY_PATH 12276 else 12277 # With GCC up to 2.95.x, collect2 would create an import file 12278 # for dependence libraries. The import file would start with | 12386 shlibpath_var=LD_LIBRARY_PATH 12387 else 12388 # With GCC up to 2.95.x, collect2 would create an import file 12389 # for dependence libraries. The import file would start with |
12279 # the line `#! .'. This would cause the generated library to 12280 # depend on `.', always an invalid library. This was fixed in | 12390 # the line '#! .'. This would cause the generated library to 12391 # depend on '.', always an invalid library. This was fixed in |
12281 # development snapshots of GCC prior to 3.0. 12282 case $host_os in 12283 aix4 | aix4.[01] | aix4.[01].*) 12284 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12285 echo ' yes ' | 12392 # development snapshots of GCC prior to 3.0. 12393 case $host_os in 12394 aix4 | aix4.[01] | aix4.[01].*) 12395 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12396 echo ' yes ' |
12286 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | 12397 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
12287 : 12288 else 12289 can_build_shared=no 12290 fi 12291 ;; 12292 esac | 12398 : 12399 else 12400 can_build_shared=no 12401 fi 12402 ;; 12403 esac |
12293 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 12404 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
12294 # soname into executable. Probably we can add versioning support to 12295 # collect2, so additional links can be useful in future. | 12405 # soname into executable. Probably we can add versioning support to 12406 # collect2, so additional links can be useful in future. |
12296 if test "$aix_use_runtimelinking" = yes; then | 12407 if test yes = "$aix_use_runtimelinking"; then |
12297 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12298 # instead of lib<name>.a to let people know that these are not 12299 # typical AIX shared libraries. | 12408 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12409 # instead of lib<name>.a to let people know that these are not 12410 # typical AIX shared libraries. |
12300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12411 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
12301 else 12302 # We preserve .a as extension for shared libraries through AIX4.2 12303 # and later when we are not doing run time linking. | 12412 else 12413 # We preserve .a as extension for shared libraries through AIX4.2 12414 # and later when we are not doing run time linking. |
12304 library_names_spec='${libname}${release}.a $libname.a' 12305 soname_spec='${libname}${release}${shared_ext}$major' | 12415 library_names_spec='$libname$release.a $libname.a' 12416 soname_spec='$libname$release$shared_ext$major' |
12306 fi 12307 shlibpath_var=LIBPATH 12308 fi 12309 ;; 12310 12311amigaos*) 12312 case $host_cpu in 12313 powerpc) 12314 # Since July 2007 AmigaOS4 officially supports .so libraries. 12315 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | 12417 fi 12418 shlibpath_var=LIBPATH 12419 fi 12420 ;; 12421 12422amigaos*) 12423 case $host_cpu in 12424 powerpc) 12425 # Since July 2007 AmigaOS4 officially supports .so libraries. 12426 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
12316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12427 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
12317 ;; 12318 m68k) 12319 library_names_spec='$libname.ixlibrary $libname.a' 12320 # Create ${libname}_ixlibrary.a entries in /sys/libs. | 12428 ;; 12429 m68k) 12430 library_names_spec='$libname.ixlibrary $libname.a' 12431 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
12321 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' | 12432 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' |
12322 ;; 12323 esac 12324 ;; 12325 12326beos*) | 12433 ;; 12434 esac 12435 ;; 12436 12437beos*) |
12327 library_names_spec='${libname}${shared_ext}' | 12438 library_names_spec='$libname$shared_ext' |
12328 dynamic_linker="$host_os ld.so" 12329 shlibpath_var=LIBRARY_PATH 12330 ;; 12331 12332bsdi[45]*) 12333 version_type=linux # correct to gnu/linux during the next big refactor 12334 need_version=no | 12439 dynamic_linker="$host_os ld.so" 12440 shlibpath_var=LIBRARY_PATH 12441 ;; 12442 12443bsdi[45]*) 12444 version_type=linux # correct to gnu/linux during the next big refactor 12445 need_version=no |
12335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12336 soname_spec='${libname}${release}${shared_ext}$major' | 12446 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12447 soname_spec='$libname$release$shared_ext$major' |
12337 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12338 shlibpath_var=LD_LIBRARY_PATH 12339 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12340 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12341 # the default ld.so.conf also contains /usr/contrib/lib and 12342 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12343 # libtool to hard-code these into programs 12344 ;; 12345 12346cygwin* | mingw* | pw32* | cegcc*) 12347 version_type=windows | 12448 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12449 shlibpath_var=LD_LIBRARY_PATH 12450 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12451 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12452 # the default ld.so.conf also contains /usr/contrib/lib and 12453 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12454 # libtool to hard-code these into programs 12455 ;; 12456 12457cygwin* | mingw* | pw32* | cegcc*) 12458 version_type=windows |
12348 shrext_cmds=".dll" | 12459 shrext_cmds=.dll |
12349 need_version=no 12350 need_lib_prefix=no 12351 12352 case $GCC,$cc_basename in 12353 yes,*) 12354 # gcc 12355 library_names_spec='$libname.dll.a' 12356 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 12460 need_version=no 12461 need_lib_prefix=no 12462 12463 case $GCC,$cc_basename in 12464 yes,*) 12465 # gcc 12466 library_names_spec='$libname.dll.a' 12467 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
12357 postinstall_cmds='base_file=`basename \${file}`~ 12358 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 12468 postinstall_cmds='base_file=`basename \$file`~ 12469 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
12359 dldir=$destdir/`dirname \$dlpath`~ 12360 test -d \$dldir || mkdir -p \$dldir~ 12361 $install_prog $dir/$dlname \$dldir/$dlname~ 12362 chmod a+x \$dldir/$dlname~ 12363 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12364 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12365 fi' 12366 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12367 dlpath=$dir/\$dldll~ 12368 $RM \$dlpath' 12369 shlibpath_overrides_runpath=yes 12370 12371 case $host_os in 12372 cygwin*) 12373 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 12470 dldir=$destdir/`dirname \$dlpath`~ 12471 test -d \$dldir || mkdir -p \$dldir~ 12472 $install_prog $dir/$dlname \$dldir/$dlname~ 12473 chmod a+x \$dldir/$dlname~ 12474 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12475 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12476 fi' 12477 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12478 dlpath=$dir/\$dldll~ 12479 $RM \$dlpath' 12480 shlibpath_overrides_runpath=yes 12481 12482 case $host_os in 12483 cygwin*) 12484 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
12374 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12485 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
12375 12376 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12377 ;; 12378 mingw* | cegcc*) 12379 # MinGW DLLs use traditional 'lib' prefix | 12486 12487 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12488 ;; 12489 mingw* | cegcc*) 12490 # MinGW DLLs use traditional 'lib' prefix |
12380 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12491 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
12381 ;; 12382 pw32*) 12383 # pw32 DLLs use 'pw' prefix rather than 'lib' | 12492 ;; 12493 pw32*) 12494 # pw32 DLLs use 'pw' prefix rather than 'lib' |
12384 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12495 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
12385 ;; 12386 esac 12387 dynamic_linker='Win32 ld.exe' 12388 ;; 12389 12390 *,cl*) 12391 # Native MSVC 12392 libname_spec='$name' | 12496 ;; 12497 esac 12498 dynamic_linker='Win32 ld.exe' 12499 ;; 12500 12501 *,cl*) 12502 # Native MSVC 12503 libname_spec='$name' |
12393 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12394 library_names_spec='${libname}.dll.lib' | 12504 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12505 library_names_spec='$libname.dll.lib' |
12395 12396 case $build_os in 12397 mingw*) 12398 sys_lib_search_path_spec= 12399 lt_save_ifs=$IFS 12400 IFS=';' 12401 for lt_path in $LIB 12402 do --- 10 unchanged lines hidden (view full) --- 12413 # Convert to unix form, then to dos form, then back to unix form 12414 # but this time dos style (no spaces!) so that the unix form looks 12415 # like /cygdrive/c/PROGRA~1:/cygdr... 12416 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12417 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12418 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12419 ;; 12420 *) | 12506 12507 case $build_os in 12508 mingw*) 12509 sys_lib_search_path_spec= 12510 lt_save_ifs=$IFS 12511 IFS=';' 12512 for lt_path in $LIB 12513 do --- 10 unchanged lines hidden (view full) --- 12524 # Convert to unix form, then to dos form, then back to unix form 12525 # but this time dos style (no spaces!) so that the unix form looks 12526 # like /cygdrive/c/PROGRA~1:/cygdr... 12527 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12528 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12529 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12530 ;; 12531 *) |
12421 sys_lib_search_path_spec="$LIB" | 12532 sys_lib_search_path_spec=$LIB |
12422 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12423 # It is most probably a Windows format PATH. 12424 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12425 else 12426 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12427 fi 12428 # FIXME: find the short name or the path components, as spaces are 12429 # common. (e.g. "Program Files" -> "PROGRA~1") 12430 ;; 12431 esac 12432 12433 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 12533 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12534 # It is most probably a Windows format PATH. 12535 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12536 else 12537 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12538 fi 12539 # FIXME: find the short name or the path components, as spaces are 12540 # common. (e.g. "Program Files" -> "PROGRA~1") 12541 ;; 12542 esac 12543 12544 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
12434 postinstall_cmds='base_file=`basename \${file}`~ 12435 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 12545 postinstall_cmds='base_file=`basename \$file`~ 12546 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
12436 dldir=$destdir/`dirname \$dlpath`~ 12437 test -d \$dldir || mkdir -p \$dldir~ 12438 $install_prog $dir/$dlname \$dldir/$dlname' 12439 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12440 dlpath=$dir/\$dldll~ 12441 $RM \$dlpath' 12442 shlibpath_overrides_runpath=yes 12443 dynamic_linker='Win32 link.exe' 12444 ;; 12445 12446 *) 12447 # Assume MSVC wrapper | 12547 dldir=$destdir/`dirname \$dlpath`~ 12548 test -d \$dldir || mkdir -p \$dldir~ 12549 $install_prog $dir/$dlname \$dldir/$dlname' 12550 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12551 dlpath=$dir/\$dldll~ 12552 $RM \$dlpath' 12553 shlibpath_overrides_runpath=yes 12554 dynamic_linker='Win32 link.exe' 12555 ;; 12556 12557 *) 12558 # Assume MSVC wrapper |
12448 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 12559 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
12449 dynamic_linker='Win32 ld.exe' 12450 ;; 12451 esac 12452 # FIXME: first we should search . and the directory the executable is in 12453 shlibpath_var=PATH 12454 ;; 12455 12456darwin* | rhapsody*) 12457 dynamic_linker="$host_os dyld" 12458 version_type=darwin 12459 need_lib_prefix=no 12460 need_version=no | 12560 dynamic_linker='Win32 ld.exe' 12561 ;; 12562 esac 12563 # FIXME: first we should search . and the directory the executable is in 12564 shlibpath_var=PATH 12565 ;; 12566 12567darwin* | rhapsody*) 12568 dynamic_linker="$host_os dyld" 12569 version_type=darwin 12570 need_lib_prefix=no 12571 need_version=no |
12461 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 12462 soname_spec='${libname}${release}${major}$shared_ext' | 12572 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12573 soname_spec='$libname$release$major$shared_ext' |
12463 shlibpath_overrides_runpath=yes 12464 shlibpath_var=DYLD_LIBRARY_PATH 12465 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12466 12467 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12468 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12469 ;; 12470 12471dgux*) 12472 version_type=linux # correct to gnu/linux during the next big refactor 12473 need_lib_prefix=no 12474 need_version=no | 12574 shlibpath_overrides_runpath=yes 12575 shlibpath_var=DYLD_LIBRARY_PATH 12576 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12577 12578 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12579 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12580 ;; 12581 12582dgux*) 12583 version_type=linux # correct to gnu/linux during the next big refactor 12584 need_lib_prefix=no 12585 need_version=no |
12475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 12476 soname_spec='${libname}${release}${shared_ext}$major' | 12586 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12587 soname_spec='$libname$release$shared_ext$major' |
12477 shlibpath_var=LD_LIBRARY_PATH 12478 ;; 12479 12480freebsd* | dragonfly*) 12481 # DragonFly does not have aout. When/if they implement a new 12482 # versioning mechanism, adjust this. 12483 if test -x /usr/bin/objformat; then 12484 objformat=`/usr/bin/objformat` 12485 else 12486 case $host_os in 12487 freebsd[23].*) objformat=aout ;; 12488 *) objformat=elf ;; 12489 esac 12490 fi 12491 version_type=freebsd-$objformat 12492 case $version_type in 12493 freebsd-elf*) | 12588 shlibpath_var=LD_LIBRARY_PATH 12589 ;; 12590 12591freebsd* | dragonfly*) 12592 # DragonFly does not have aout. When/if they implement a new 12593 # versioning mechanism, adjust this. 12594 if test -x /usr/bin/objformat; then 12595 objformat=`/usr/bin/objformat` 12596 else 12597 case $host_os in 12598 freebsd[23].*) objformat=aout ;; 12599 *) objformat=elf ;; 12600 esac 12601 fi 12602 version_type=freebsd-$objformat 12603 case $version_type in 12604 freebsd-elf*) |
12494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 12605 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12606 soname_spec='$libname$release$shared_ext$major' |
12495 need_version=no 12496 need_lib_prefix=no 12497 ;; 12498 freebsd-*) | 12607 need_version=no 12608 need_lib_prefix=no 12609 ;; 12610 freebsd-*) |
12499 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 12611 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
12500 need_version=yes 12501 ;; 12502 esac 12503 shlibpath_var=LD_LIBRARY_PATH 12504 case $host_os in 12505 freebsd2.*) 12506 shlibpath_overrides_runpath=yes 12507 ;; --- 8 unchanged lines hidden (view full) --- 12516 ;; 12517 *) # from 4.6 on, and DragonFly 12518 shlibpath_overrides_runpath=yes 12519 hardcode_into_libs=yes 12520 ;; 12521 esac 12522 ;; 12523 | 12612 need_version=yes 12613 ;; 12614 esac 12615 shlibpath_var=LD_LIBRARY_PATH 12616 case $host_os in 12617 freebsd2.*) 12618 shlibpath_overrides_runpath=yes 12619 ;; --- 8 unchanged lines hidden (view full) --- 12628 ;; 12629 *) # from 4.6 on, and DragonFly 12630 shlibpath_overrides_runpath=yes 12631 hardcode_into_libs=yes 12632 ;; 12633 esac 12634 ;; 12635 |
12524gnu*) 12525 version_type=linux # correct to gnu/linux during the next big refactor 12526 need_lib_prefix=no 12527 need_version=no 12528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12529 soname_spec='${libname}${release}${shared_ext}$major' 12530 shlibpath_var=LD_LIBRARY_PATH 12531 shlibpath_overrides_runpath=no 12532 hardcode_into_libs=yes 12533 ;; 12534 | |
12535haiku*) 12536 version_type=linux # correct to gnu/linux during the next big refactor 12537 need_lib_prefix=no 12538 need_version=no 12539 dynamic_linker="$host_os runtime_loader" | 12636haiku*) 12637 version_type=linux # correct to gnu/linux during the next big refactor 12638 need_lib_prefix=no 12639 need_version=no 12640 dynamic_linker="$host_os runtime_loader" |
12540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 12541 soname_spec='${libname}${release}${shared_ext}$major' | 12641 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12642 soname_spec='$libname$release$shared_ext$major' |
12542 shlibpath_var=LIBRARY_PATH | 12643 shlibpath_var=LIBRARY_PATH |
12543 shlibpath_overrides_runpath=yes | 12644 shlibpath_overrides_runpath=no |
12544 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12545 hardcode_into_libs=yes 12546 ;; 12547 12548hpux9* | hpux10* | hpux11*) 12549 # Give a soname corresponding to the major version so that dld.sl refuses to 12550 # link against other versions. 12551 version_type=sunos 12552 need_lib_prefix=no 12553 need_version=no 12554 case $host_cpu in 12555 ia64*) 12556 shrext_cmds='.so' 12557 hardcode_into_libs=yes 12558 dynamic_linker="$host_os dld.so" 12559 shlibpath_var=LD_LIBRARY_PATH 12560 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 12645 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12646 hardcode_into_libs=yes 12647 ;; 12648 12649hpux9* | hpux10* | hpux11*) 12650 # Give a soname corresponding to the major version so that dld.sl refuses to 12651 # link against other versions. 12652 version_type=sunos 12653 need_lib_prefix=no 12654 need_version=no 12655 case $host_cpu in 12656 ia64*) 12657 shrext_cmds='.so' 12658 hardcode_into_libs=yes 12659 dynamic_linker="$host_os dld.so" 12660 shlibpath_var=LD_LIBRARY_PATH 12661 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
12561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12562 soname_spec='${libname}${release}${shared_ext}$major' 12563 if test "X$HPUX_IA64_MODE" = X32; then | 12662 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12663 soname_spec='$libname$release$shared_ext$major' 12664 if test 32 = "$HPUX_IA64_MODE"; then |
12564 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12565 else 12566 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12567 fi 12568 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12569 ;; 12570 hppa*64*) 12571 shrext_cmds='.sl' 12572 hardcode_into_libs=yes 12573 dynamic_linker="$host_os dld.sl" 12574 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12575 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 12665 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12666 else 12667 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12668 fi 12669 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12670 ;; 12671 hppa*64*) 12672 shrext_cmds='.sl' 12673 hardcode_into_libs=yes 12674 dynamic_linker="$host_os dld.sl" 12675 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12676 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
12576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12577 soname_spec='${libname}${release}${shared_ext}$major' | 12677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12678 soname_spec='$libname$release$shared_ext$major' |
12578 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12579 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12580 ;; 12581 *) 12582 shrext_cmds='.sl' 12583 dynamic_linker="$host_os dld.sl" 12584 shlibpath_var=SHLIB_PATH 12585 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 12679 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12680 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12681 ;; 12682 *) 12683 shrext_cmds='.sl' 12684 dynamic_linker="$host_os dld.sl" 12685 shlibpath_var=SHLIB_PATH 12686 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
12586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12587 soname_spec='${libname}${release}${shared_ext}$major' | 12687 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12688 soname_spec='$libname$release$shared_ext$major' |
12588 ;; 12589 esac 12590 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12591 postinstall_cmds='chmod 555 $lib' 12592 # or fails outright, so override atomically: 12593 install_override_mode=555 12594 ;; 12595 12596interix[3-9]*) 12597 version_type=linux # correct to gnu/linux during the next big refactor 12598 need_lib_prefix=no 12599 need_version=no | 12689 ;; 12690 esac 12691 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12692 postinstall_cmds='chmod 555 $lib' 12693 # or fails outright, so override atomically: 12694 install_override_mode=555 12695 ;; 12696 12697interix[3-9]*) 12698 version_type=linux # correct to gnu/linux during the next big refactor 12699 need_lib_prefix=no 12700 need_version=no |
12600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12601 soname_spec='${libname}${release}${shared_ext}$major' | 12701 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12702 soname_spec='$libname$release$shared_ext$major' |
12602 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12603 shlibpath_var=LD_LIBRARY_PATH 12604 shlibpath_overrides_runpath=no 12605 hardcode_into_libs=yes 12606 ;; 12607 12608irix5* | irix6* | nonstopux*) 12609 case $host_os in 12610 nonstopux*) version_type=nonstopux ;; 12611 *) | 12703 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12704 shlibpath_var=LD_LIBRARY_PATH 12705 shlibpath_overrides_runpath=no 12706 hardcode_into_libs=yes 12707 ;; 12708 12709irix5* | irix6* | nonstopux*) 12710 case $host_os in 12711 nonstopux*) version_type=nonstopux ;; 12712 *) |
12612 if test "$lt_cv_prog_gnu_ld" = yes; then | 12713 if test yes = "$lt_cv_prog_gnu_ld"; then |
12613 version_type=linux # correct to gnu/linux during the next big refactor 12614 else 12615 version_type=irix 12616 fi ;; 12617 esac 12618 need_lib_prefix=no 12619 need_version=no | 12714 version_type=linux # correct to gnu/linux during the next big refactor 12715 else 12716 version_type=irix 12717 fi ;; 12718 esac 12719 need_lib_prefix=no 12720 need_version=no |
12620 soname_spec='${libname}${release}${shared_ext}$major' 12621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 12721 soname_spec='$libname$release$shared_ext$major' 12722 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
12622 case $host_os in 12623 irix5* | nonstopux*) 12624 libsuff= shlibsuff= 12625 ;; 12626 *) 12627 case $LD in # libtool.m4 will add one of these switches to LD 12628 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12629 libsuff= shlibsuff= libmagic=32-bit;; 12630 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12631 libsuff=32 shlibsuff=N32 libmagic=N32;; 12632 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12633 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12634 *) libsuff= shlibsuff= libmagic=never-match;; 12635 esac 12636 ;; 12637 esac 12638 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12639 shlibpath_overrides_runpath=no | 12723 case $host_os in 12724 irix5* | nonstopux*) 12725 libsuff= shlibsuff= 12726 ;; 12727 *) 12728 case $LD in # libtool.m4 will add one of these switches to LD 12729 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12730 libsuff= shlibsuff= libmagic=32-bit;; 12731 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12732 libsuff=32 shlibsuff=N32 libmagic=N32;; 12733 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12734 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12735 *) libsuff= shlibsuff= libmagic=never-match;; 12736 esac 12737 ;; 12738 esac 12739 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12740 shlibpath_overrides_runpath=no |
12640 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 12641 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 12741 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12742 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
12642 hardcode_into_libs=yes 12643 ;; 12644 12645# No shared lib support for Linux oldld, aout, or coff. 12646linux*oldld* | linux*aout* | linux*coff*) 12647 dynamic_linker=no 12648 ;; 12649 | 12743 hardcode_into_libs=yes 12744 ;; 12745 12746# No shared lib support for Linux oldld, aout, or coff. 12747linux*oldld* | linux*aout* | linux*coff*) 12748 dynamic_linker=no 12749 ;; 12750 |
12751linux*android*) 12752 version_type=none # Android doesn't support versioned libraries. 12753 need_lib_prefix=no 12754 need_version=no 12755 library_names_spec='$libname$release$shared_ext' 12756 soname_spec='$libname$release$shared_ext' 12757 finish_cmds= 12758 shlibpath_var=LD_LIBRARY_PATH 12759 shlibpath_overrides_runpath=yes 12760 12761 # This implies no fast_install, which is unacceptable. 12762 # Some rework will be needed to allow for fast_install 12763 # before this can be enabled. 12764 hardcode_into_libs=yes 12765 12766 dynamic_linker='Android linker' 12767 # Don't embed -rpath directories since the linker doesn't support them. 12768 hardcode_libdir_flag_spec='-L$libdir' 12769 ;; 12770 |
|
12650# This must be glibc/ELF. | 12771# This must be glibc/ELF. |
12651linux* | k*bsd*-gnu | kopensolaris*-gnu) | 12772linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
12652 version_type=linux # correct to gnu/linux during the next big refactor 12653 need_lib_prefix=no 12654 need_version=no | 12773 version_type=linux # correct to gnu/linux during the next big refactor 12774 need_lib_prefix=no 12775 need_version=no |
12655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12656 soname_spec='${libname}${release}${shared_ext}$major' | 12776 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12777 soname_spec='$libname$release$shared_ext$major' |
12657 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12658 shlibpath_var=LD_LIBRARY_PATH 12659 shlibpath_overrides_runpath=no 12660 12661 # Some binutils ld are patched to set DT_RUNPATH 12662 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12663 $as_echo_n "(cached) " >&6 12664else --- 27 unchanged lines hidden (view full) --- 12692 12693 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12694 12695 # This implies no fast_install, which is unacceptable. 12696 # Some rework will be needed to allow for fast_install 12697 # before this can be enabled. 12698 hardcode_into_libs=yes 12699 | 12778 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12779 shlibpath_var=LD_LIBRARY_PATH 12780 shlibpath_overrides_runpath=no 12781 12782 # Some binutils ld are patched to set DT_RUNPATH 12783 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12784 $as_echo_n "(cached) " >&6 12785else --- 27 unchanged lines hidden (view full) --- 12813 12814 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12815 12816 # This implies no fast_install, which is unacceptable. 12817 # Some rework will be needed to allow for fast_install 12818 # before this can be enabled. 12819 hardcode_into_libs=yes 12820 |
12700 # Add ABI-specific directories to the system library path. 12701 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12702 | |
12703 # Append ld.so.conf contents to the search path 12704 if test -f /etc/ld.so.conf; then 12705 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' ' '` | 12821 # Append ld.so.conf contents to the search path 12822 if test -f /etc/ld.so.conf; then 12823 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' ' '` |
12706 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12707 | 12824 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
12708 fi 12709 12710 # We used to test for /lib/ld.so.1 and disable shared libraries on 12711 # powerpc, because MkLinux only supported shared libraries with the 12712 # GNU dynamic linker. Since this was broken with cross compilers, 12713 # most powerpc-linux boxes support dynamic linking these days and 12714 # people can always --disable-shared, the test was removed, and we 12715 # assume the GNU/Linux dynamic linker is in use. 12716 dynamic_linker='GNU/Linux ld.so' 12717 ;; 12718 12719netbsd*) 12720 version_type=sunos 12721 need_lib_prefix=no 12722 need_version=no 12723 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 12825 fi 12826 12827 # We used to test for /lib/ld.so.1 and disable shared libraries on 12828 # powerpc, because MkLinux only supported shared libraries with the 12829 # GNU dynamic linker. Since this was broken with cross compilers, 12830 # most powerpc-linux boxes support dynamic linking these days and 12831 # people can always --disable-shared, the test was removed, and we 12832 # assume the GNU/Linux dynamic linker is in use. 12833 dynamic_linker='GNU/Linux ld.so' 12834 ;; 12835 12836netbsd*) 12837 version_type=sunos 12838 need_lib_prefix=no 12839 need_version=no 12840 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
12724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 12841 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
12725 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12726 dynamic_linker='NetBSD (a.out) ld.so' 12727 else | 12842 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12843 dynamic_linker='NetBSD (a.out) ld.so' 12844 else |
12728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12729 soname_spec='${libname}${release}${shared_ext}$major' | 12845 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12846 soname_spec='$libname$release$shared_ext$major' |
12730 dynamic_linker='NetBSD ld.elf_so' 12731 fi 12732 shlibpath_var=LD_LIBRARY_PATH 12733 shlibpath_overrides_runpath=yes 12734 hardcode_into_libs=yes 12735 ;; 12736 12737newsos6) 12738 version_type=linux # correct to gnu/linux during the next big refactor | 12847 dynamic_linker='NetBSD ld.elf_so' 12848 fi 12849 shlibpath_var=LD_LIBRARY_PATH 12850 shlibpath_overrides_runpath=yes 12851 hardcode_into_libs=yes 12852 ;; 12853 12854newsos6) 12855 version_type=linux # correct to gnu/linux during the next big refactor |
12739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12856 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
12740 shlibpath_var=LD_LIBRARY_PATH 12741 shlibpath_overrides_runpath=yes 12742 ;; 12743 12744*nto* | *qnx*) 12745 version_type=qnx 12746 need_lib_prefix=no 12747 need_version=no | 12857 shlibpath_var=LD_LIBRARY_PATH 12858 shlibpath_overrides_runpath=yes 12859 ;; 12860 12861*nto* | *qnx*) 12862 version_type=qnx 12863 need_lib_prefix=no 12864 need_version=no |
12748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12749 soname_spec='${libname}${release}${shared_ext}$major' | 12865 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12866 soname_spec='$libname$release$shared_ext$major' |
12750 shlibpath_var=LD_LIBRARY_PATH 12751 shlibpath_overrides_runpath=no 12752 hardcode_into_libs=yes 12753 dynamic_linker='ldqnx.so' 12754 ;; 12755 | 12867 shlibpath_var=LD_LIBRARY_PATH 12868 shlibpath_overrides_runpath=no 12869 hardcode_into_libs=yes 12870 dynamic_linker='ldqnx.so' 12871 ;; 12872 |
12756openbsd*) | 12873openbsd* | bitrig*) |
12757 version_type=sunos | 12874 version_type=sunos |
12758 sys_lib_dlsearch_path_spec="/usr/lib" | 12875 sys_lib_dlsearch_path_spec=/usr/lib |
12759 need_lib_prefix=no | 12876 need_lib_prefix=no |
12760 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 12761 case $host_os in 12762 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 12763 *) need_version=no ;; 12764 esac 12765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 12766 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12767 shlibpath_var=LD_LIBRARY_PATH 12768 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 12769 case $host_os in 12770 openbsd2.[89] | openbsd2.[89].*) 12771 shlibpath_overrides_runpath=no 12772 ;; 12773 *) 12774 shlibpath_overrides_runpath=yes 12775 ;; 12776 esac | 12877 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12878 need_version=no |
12777 else | 12879 else |
12778 shlibpath_overrides_runpath=yes | 12880 need_version=yes |
12779 fi | 12881 fi |
12882 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12883 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12884 shlibpath_var=LD_LIBRARY_PATH 12885 shlibpath_overrides_runpath=yes |
|
12780 ;; 12781 12782os2*) 12783 libname_spec='$name' | 12886 ;; 12887 12888os2*) 12889 libname_spec='$name' |
12784 shrext_cmds=".dll" | 12890 shrext_cmds=.dll |
12785 need_lib_prefix=no | 12891 need_lib_prefix=no |
12786 library_names_spec='$libname${shared_ext} $libname.a' | 12892 library_names_spec='$libname$shared_ext $libname.a' |
12787 dynamic_linker='OS/2 ld.exe' 12788 shlibpath_var=LIBPATH 12789 ;; 12790 12791osf3* | osf4* | osf5*) 12792 version_type=osf 12793 need_lib_prefix=no 12794 need_version=no | 12893 dynamic_linker='OS/2 ld.exe' 12894 shlibpath_var=LIBPATH 12895 ;; 12896 12897osf3* | osf4* | osf5*) 12898 version_type=osf 12899 need_lib_prefix=no 12900 need_version=no |
12795 soname_spec='${libname}${release}${shared_ext}$major' 12796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12901 soname_spec='$libname$release$shared_ext$major' 12902 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
12797 shlibpath_var=LD_LIBRARY_PATH 12798 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 12903 shlibpath_var=LD_LIBRARY_PATH 12904 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
12799 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 12905 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
12800 ;; 12801 12802rdos*) 12803 dynamic_linker=no 12804 ;; 12805 12806solaris*) 12807 version_type=linux # correct to gnu/linux during the next big refactor 12808 need_lib_prefix=no 12809 need_version=no | 12906 ;; 12907 12908rdos*) 12909 dynamic_linker=no 12910 ;; 12911 12912solaris*) 12913 version_type=linux # correct to gnu/linux during the next big refactor 12914 need_lib_prefix=no 12915 need_version=no |
12810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12811 soname_spec='${libname}${release}${shared_ext}$major' | 12916 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12917 soname_spec='$libname$release$shared_ext$major' |
12812 shlibpath_var=LD_LIBRARY_PATH 12813 shlibpath_overrides_runpath=yes 12814 hardcode_into_libs=yes 12815 # ldd complains unless libraries are executable 12816 postinstall_cmds='chmod +x $lib' 12817 ;; 12818 12819sunos4*) 12820 version_type=sunos | 12918 shlibpath_var=LD_LIBRARY_PATH 12919 shlibpath_overrides_runpath=yes 12920 hardcode_into_libs=yes 12921 # ldd complains unless libraries are executable 12922 postinstall_cmds='chmod +x $lib' 12923 ;; 12924 12925sunos4*) 12926 version_type=sunos |
12821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 12927 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
12822 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12823 shlibpath_var=LD_LIBRARY_PATH 12824 shlibpath_overrides_runpath=yes | 12928 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12929 shlibpath_var=LD_LIBRARY_PATH 12930 shlibpath_overrides_runpath=yes |
12825 if test "$with_gnu_ld" = yes; then | 12931 if test yes = "$with_gnu_ld"; then |
12826 need_lib_prefix=no 12827 fi 12828 need_version=yes 12829 ;; 12830 12831sysv4 | sysv4.3*) 12832 version_type=linux # correct to gnu/linux during the next big refactor | 12932 need_lib_prefix=no 12933 fi 12934 need_version=yes 12935 ;; 12936 12937sysv4 | sysv4.3*) 12938 version_type=linux # correct to gnu/linux during the next big refactor |
12833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12834 soname_spec='${libname}${release}${shared_ext}$major' | 12939 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12940 soname_spec='$libname$release$shared_ext$major' |
12835 shlibpath_var=LD_LIBRARY_PATH 12836 case $host_vendor in 12837 sni) 12838 shlibpath_overrides_runpath=no 12839 need_lib_prefix=no 12840 runpath_var=LD_RUN_PATH 12841 ;; 12842 siemens) --- 4 unchanged lines hidden (view full) --- 12847 need_version=no 12848 shlibpath_overrides_runpath=no 12849 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12850 ;; 12851 esac 12852 ;; 12853 12854sysv4*MP*) | 12941 shlibpath_var=LD_LIBRARY_PATH 12942 case $host_vendor in 12943 sni) 12944 shlibpath_overrides_runpath=no 12945 need_lib_prefix=no 12946 runpath_var=LD_RUN_PATH 12947 ;; 12948 siemens) --- 4 unchanged lines hidden (view full) --- 12953 need_version=no 12954 shlibpath_overrides_runpath=no 12955 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12956 ;; 12957 esac 12958 ;; 12959 12960sysv4*MP*) |
12855 if test -d /usr/nec ;then | 12961 if test -d /usr/nec; then |
12856 version_type=linux # correct to gnu/linux during the next big refactor | 12962 version_type=linux # correct to gnu/linux during the next big refactor |
12857 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 12858 soname_spec='$libname${shared_ext}.$major' | 12963 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12964 soname_spec='$libname$shared_ext.$major' |
12859 shlibpath_var=LD_LIBRARY_PATH 12860 fi 12861 ;; 12862 12863sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12864 version_type=freebsd-elf 12865 need_lib_prefix=no 12866 need_version=no | 12965 shlibpath_var=LD_LIBRARY_PATH 12966 fi 12967 ;; 12968 12969sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12970 version_type=freebsd-elf 12971 need_lib_prefix=no 12972 need_version=no |
12867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 12868 soname_spec='${libname}${release}${shared_ext}$major' | 12973 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12974 soname_spec='$libname$release$shared_ext$major' |
12869 shlibpath_var=LD_LIBRARY_PATH 12870 shlibpath_overrides_runpath=yes 12871 hardcode_into_libs=yes | 12975 shlibpath_var=LD_LIBRARY_PATH 12976 shlibpath_overrides_runpath=yes 12977 hardcode_into_libs=yes |
12872 if test "$with_gnu_ld" = yes; then | 12978 if test yes = "$with_gnu_ld"; then |
12873 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12874 else 12875 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12876 case $host_os in 12877 sco3.2v5*) 12878 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12879 ;; 12880 esac 12881 fi 12882 sys_lib_dlsearch_path_spec='/usr/lib' 12883 ;; 12884 12885tpf*) 12886 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12887 version_type=linux # correct to gnu/linux during the next big refactor 12888 need_lib_prefix=no 12889 need_version=no | 12979 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12980 else 12981 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12982 case $host_os in 12983 sco3.2v5*) 12984 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12985 ;; 12986 esac 12987 fi 12988 sys_lib_dlsearch_path_spec='/usr/lib' 12989 ;; 12990 12991tpf*) 12992 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12993 version_type=linux # correct to gnu/linux during the next big refactor 12994 need_lib_prefix=no 12995 need_version=no |
12890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12996 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
12891 shlibpath_var=LD_LIBRARY_PATH 12892 shlibpath_overrides_runpath=no 12893 hardcode_into_libs=yes 12894 ;; 12895 12896uts4*) 12897 version_type=linux # correct to gnu/linux during the next big refactor | 12997 shlibpath_var=LD_LIBRARY_PATH 12998 shlibpath_overrides_runpath=no 12999 hardcode_into_libs=yes 13000 ;; 13001 13002uts4*) 13003 version_type=linux # correct to gnu/linux during the next big refactor |
12898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 12899 soname_spec='${libname}${release}${shared_ext}$major' | 13004 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 13005 soname_spec='$libname$release$shared_ext$major' |
12900 shlibpath_var=LD_LIBRARY_PATH 12901 ;; 12902 12903*) 12904 dynamic_linker=no 12905 ;; 12906esac 12907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12908$as_echo "$dynamic_linker" >&6; } | 13006 shlibpath_var=LD_LIBRARY_PATH 13007 ;; 13008 13009*) 13010 dynamic_linker=no 13011 ;; 13012esac 13013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 13014$as_echo "$dynamic_linker" >&6; } |
12909test "$dynamic_linker" = no && can_build_shared=no | 13015test no = "$dynamic_linker" && can_build_shared=no |
12910 12911variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 13016 13017variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
12912if test "$GCC" = yes; then | 13018if test yes = "$GCC"; then |
12913 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12914fi 12915 | 13019 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 13020fi 13021 |
12916if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 12917 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | 13022if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 13023 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
12918fi | 13024fi |
12919if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 12920 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | 13025if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 13026 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
12921fi 12922 12923 12924 12925 12926 12927 12928 --- 82 unchanged lines hidden (view full) --- 13011 13012 13013 13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13015$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13016hardcode_action= 13017if test -n "$hardcode_libdir_flag_spec" || 13018 test -n "$runpath_var" || | 13027fi 13028 13029 13030 13031 13032 13033 13034 --- 82 unchanged lines hidden (view full) --- 13117 13118 13119 13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13121$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13122hardcode_action= 13123if test -n "$hardcode_libdir_flag_spec" || 13124 test -n "$runpath_var" || |
13019 test "X$hardcode_automatic" = "Xyes" ; then | 13125 test yes = "$hardcode_automatic"; then |
13020 13021 # We can hardcode non-existent directories. | 13126 13127 # We can hardcode non-existent directories. |
13022 if test "$hardcode_direct" != no && | 13128 if test no != "$hardcode_direct" && |
13023 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13024 # have to relink, otherwise we might link with an installed library 13025 # when we should be linking with a yet-to-be-installed one | 13129 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13130 # have to relink, otherwise we might link with an installed library 13131 # when we should be linking with a yet-to-be-installed one |
13026 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 13027 test "$hardcode_minus_L" != no; then | 13132 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13133 test no != "$hardcode_minus_L"; then |
13028 # Linking always hardcodes the temporary library directory. 13029 hardcode_action=relink 13030 else 13031 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13032 hardcode_action=immediate 13033 fi 13034else 13035 # We cannot hardcode anything, or else we can only hardcode existing 13036 # directories. 13037 hardcode_action=unsupported 13038fi 13039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13040$as_echo "$hardcode_action" >&6; } 13041 | 13134 # Linking always hardcodes the temporary library directory. 13135 hardcode_action=relink 13136 else 13137 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13138 hardcode_action=immediate 13139 fi 13140else 13141 # We cannot hardcode anything, or else we can only hardcode existing 13142 # directories. 13143 hardcode_action=unsupported 13144fi 13145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13146$as_echo "$hardcode_action" >&6; } 13147 |
13042if test "$hardcode_action" = relink || 13043 test "$inherit_rpath" = yes; then | 13148if test relink = "$hardcode_action" || 13149 test yes = "$inherit_rpath"; then |
13044 # Fast installation is not supported 13045 enable_fast_install=no | 13150 # Fast installation is not supported 13151 enable_fast_install=no |
13046elif test "$shlibpath_overrides_runpath" = yes || 13047 test "$enable_shared" = no; then | 13152elif test yes = "$shlibpath_overrides_runpath" || 13153 test no = "$enable_shared"; then |
13048 # Fast installation is not necessary 13049 enable_fast_install=needless 13050fi 13051 13052 13053 13054 13055 13056 | 13154 # Fast installation is not necessary 13155 enable_fast_install=needless 13156fi 13157 13158 13159 13160 13161 13162 |
13057 if test "x$enable_dlopen" != xyes; then | 13163 if test yes != "$enable_dlopen"; then |
13058 enable_dlopen=unknown 13059 enable_dlopen_self=unknown 13060 enable_dlopen_self_static=unknown 13061else 13062 lt_cv_dlopen=no 13063 lt_cv_dlopen_libs= 13064 13065 case $host_os in 13066 beos*) | 13164 enable_dlopen=unknown 13165 enable_dlopen_self=unknown 13166 enable_dlopen_self_static=unknown 13167else 13168 lt_cv_dlopen=no 13169 lt_cv_dlopen_libs= 13170 13171 case $host_os in 13172 beos*) |
13067 lt_cv_dlopen="load_add_on" | 13173 lt_cv_dlopen=load_add_on |
13068 lt_cv_dlopen_libs= 13069 lt_cv_dlopen_self=yes 13070 ;; 13071 13072 mingw* | pw32* | cegcc*) | 13174 lt_cv_dlopen_libs= 13175 lt_cv_dlopen_self=yes 13176 ;; 13177 13178 mingw* | pw32* | cegcc*) |
13073 lt_cv_dlopen="LoadLibrary" | 13179 lt_cv_dlopen=LoadLibrary |
13074 lt_cv_dlopen_libs= 13075 ;; 13076 13077 cygwin*) | 13180 lt_cv_dlopen_libs= 13181 ;; 13182 13183 cygwin*) |
13078 lt_cv_dlopen="dlopen" | 13184 lt_cv_dlopen=dlopen |
13079 lt_cv_dlopen_libs= 13080 ;; 13081 13082 darwin*) | 13185 lt_cv_dlopen_libs= 13186 ;; 13187 13188 darwin*) |
13083 # if libdl is installed we need to link against it | 13189 # if libdl is installed we need to link against it |
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13085$as_echo_n "checking for dlopen in -ldl... " >&6; } 13086if ${ac_cv_lib_dl_dlopen+:} false; then : 13087 $as_echo_n "(cached) " >&6 13088else 13089 ac_check_lib_save_LIBS=$LIBS 13090LIBS="-ldl $LIBS" 13091cat confdefs.h - <<_ACEOF >conftest.$ac_ext --- 21 unchanged lines hidden (view full) --- 13113fi 13114rm -f core conftest.err conftest.$ac_objext \ 13115 conftest$ac_exeext conftest.$ac_ext 13116LIBS=$ac_check_lib_save_LIBS 13117fi 13118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13119$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13120if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13191$as_echo_n "checking for dlopen in -ldl... " >&6; } 13192if ${ac_cv_lib_dl_dlopen+:} false; then : 13193 $as_echo_n "(cached) " >&6 13194else 13195 ac_check_lib_save_LIBS=$LIBS 13196LIBS="-ldl $LIBS" 13197cat confdefs.h - <<_ACEOF >conftest.$ac_ext --- 21 unchanged lines hidden (view full) --- 13219fi 13220rm -f core conftest.err conftest.$ac_objext \ 13221 conftest$ac_exeext conftest.$ac_ext 13222LIBS=$ac_check_lib_save_LIBS 13223fi 13224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13225$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13226if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
13121 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 13227 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
13122else 13123 | 13228else 13229 |
13124 lt_cv_dlopen="dyld" | 13230 lt_cv_dlopen=dyld |
13125 lt_cv_dlopen_libs= 13126 lt_cv_dlopen_self=yes 13127 13128fi 13129 13130 ;; 13131 | 13231 lt_cv_dlopen_libs= 13232 lt_cv_dlopen_self=yes 13233 13234fi 13235 13236 ;; 13237 |
13238 tpf*) 13239 # Don't try to run any link tests for TPF. We know it's impossible 13240 # because TPF is a cross-compiler, and we know how we open DSOs. 13241 lt_cv_dlopen=dlopen 13242 lt_cv_dlopen_libs= 13243 lt_cv_dlopen_self=no 13244 ;; 13245 |
|
13132 *) 13133 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13134if test "x$ac_cv_func_shl_load" = xyes; then : | 13246 *) 13247 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13248if test "x$ac_cv_func_shl_load" = xyes; then : |
13135 lt_cv_dlopen="shl_load" | 13249 lt_cv_dlopen=shl_load |
13136else 13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13138$as_echo_n "checking for shl_load in -ldld... " >&6; } 13139if ${ac_cv_lib_dld_shl_load+:} false; then : 13140 $as_echo_n "(cached) " >&6 13141else 13142 ac_check_lib_save_LIBS=$LIBS 13143LIBS="-ldld $LIBS" --- 22 unchanged lines hidden (view full) --- 13166fi 13167rm -f core conftest.err conftest.$ac_objext \ 13168 conftest$ac_exeext conftest.$ac_ext 13169LIBS=$ac_check_lib_save_LIBS 13170fi 13171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13172$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13173if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | 13250else 13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13252$as_echo_n "checking for shl_load in -ldld... " >&6; } 13253if ${ac_cv_lib_dld_shl_load+:} false; then : 13254 $as_echo_n "(cached) " >&6 13255else 13256 ac_check_lib_save_LIBS=$LIBS 13257LIBS="-ldld $LIBS" --- 22 unchanged lines hidden (view full) --- 13280fi 13281rm -f core conftest.err conftest.$ac_objext \ 13282 conftest$ac_exeext conftest.$ac_ext 13283LIBS=$ac_check_lib_save_LIBS 13284fi 13285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13286$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13287if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
13174 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" | 13288 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
13175else 13176 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13177if test "x$ac_cv_func_dlopen" = xyes; then : | 13289else 13290 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13291if test "x$ac_cv_func_dlopen" = xyes; then : |
13178 lt_cv_dlopen="dlopen" | 13292 lt_cv_dlopen=dlopen |
13179else 13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13181$as_echo_n "checking for dlopen in -ldl... " >&6; } 13182if ${ac_cv_lib_dl_dlopen+:} false; then : 13183 $as_echo_n "(cached) " >&6 13184else 13185 ac_check_lib_save_LIBS=$LIBS 13186LIBS="-ldl $LIBS" --- 22 unchanged lines hidden (view full) --- 13209fi 13210rm -f core conftest.err conftest.$ac_objext \ 13211 conftest$ac_exeext conftest.$ac_ext 13212LIBS=$ac_check_lib_save_LIBS 13213fi 13214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13215$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13216if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 13293else 13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13295$as_echo_n "checking for dlopen in -ldl... " >&6; } 13296if ${ac_cv_lib_dl_dlopen+:} false; then : 13297 $as_echo_n "(cached) " >&6 13298else 13299 ac_check_lib_save_LIBS=$LIBS 13300LIBS="-ldl $LIBS" --- 22 unchanged lines hidden (view full) --- 13323fi 13324rm -f core conftest.err conftest.$ac_objext \ 13325 conftest$ac_exeext conftest.$ac_ext 13326LIBS=$ac_check_lib_save_LIBS 13327fi 13328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13329$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13330if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
13217 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 13331 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
13218else 13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13220$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13221if ${ac_cv_lib_svld_dlopen+:} false; then : 13222 $as_echo_n "(cached) " >&6 13223else 13224 ac_check_lib_save_LIBS=$LIBS 13225LIBS="-lsvld $LIBS" --- 22 unchanged lines hidden (view full) --- 13248fi 13249rm -f core conftest.err conftest.$ac_objext \ 13250 conftest$ac_exeext conftest.$ac_ext 13251LIBS=$ac_check_lib_save_LIBS 13252fi 13253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13254$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13255if test "x$ac_cv_lib_svld_dlopen" = xyes; then : | 13332else 13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13334$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13335if ${ac_cv_lib_svld_dlopen+:} false; then : 13336 $as_echo_n "(cached) " >&6 13337else 13338 ac_check_lib_save_LIBS=$LIBS 13339LIBS="-lsvld $LIBS" --- 22 unchanged lines hidden (view full) --- 13362fi 13363rm -f core conftest.err conftest.$ac_objext \ 13364 conftest$ac_exeext conftest.$ac_ext 13365LIBS=$ac_check_lib_save_LIBS 13366fi 13367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13368$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13369if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
13256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 13370 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
13257else 13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13259$as_echo_n "checking for dld_link in -ldld... " >&6; } 13260if ${ac_cv_lib_dld_dld_link+:} false; then : 13261 $as_echo_n "(cached) " >&6 13262else 13263 ac_check_lib_save_LIBS=$LIBS 13264LIBS="-ldld $LIBS" --- 22 unchanged lines hidden (view full) --- 13287fi 13288rm -f core conftest.err conftest.$ac_objext \ 13289 conftest$ac_exeext conftest.$ac_ext 13290LIBS=$ac_check_lib_save_LIBS 13291fi 13292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13293$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13294if test "x$ac_cv_lib_dld_dld_link" = xyes; then : | 13371else 13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13373$as_echo_n "checking for dld_link in -ldld... " >&6; } 13374if ${ac_cv_lib_dld_dld_link+:} false; then : 13375 $as_echo_n "(cached) " >&6 13376else 13377 ac_check_lib_save_LIBS=$LIBS 13378LIBS="-ldld $LIBS" --- 22 unchanged lines hidden (view full) --- 13401fi 13402rm -f core conftest.err conftest.$ac_objext \ 13403 conftest$ac_exeext conftest.$ac_ext 13404LIBS=$ac_check_lib_save_LIBS 13405fi 13406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13407$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13408if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
13295 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" | 13409 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
13296fi 13297 13298 13299fi 13300 13301 13302fi 13303 --- 4 unchanged lines hidden (view full) --- 13308fi 13309 13310 13311fi 13312 13313 ;; 13314 esac 13315 | 13410fi 13411 13412 13413fi 13414 13415 13416fi 13417 --- 4 unchanged lines hidden (view full) --- 13422fi 13423 13424 13425fi 13426 13427 ;; 13428 esac 13429 |
13316 if test "x$lt_cv_dlopen" != xno; then 13317 enable_dlopen=yes 13318 else | 13430 if test no = "$lt_cv_dlopen"; then |
13319 enable_dlopen=no | 13431 enable_dlopen=no |
13432 else 13433 enable_dlopen=yes |
|
13320 fi 13321 13322 case $lt_cv_dlopen in 13323 dlopen) | 13434 fi 13435 13436 case $lt_cv_dlopen in 13437 dlopen) |
13324 save_CPPFLAGS="$CPPFLAGS" 13325 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 13438 save_CPPFLAGS=$CPPFLAGS 13439 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
13326 | 13440 |
13327 save_LDFLAGS="$LDFLAGS" | 13441 save_LDFLAGS=$LDFLAGS |
13328 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13329 | 13442 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13443 |
13330 save_LIBS="$LIBS" | 13444 save_LIBS=$LIBS |
13331 LIBS="$lt_cv_dlopen_libs $LIBS" 13332 13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13334$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13335if ${lt_cv_dlopen_self+:} false; then : 13336 $as_echo_n "(cached) " >&6 13337else | 13445 LIBS="$lt_cv_dlopen_libs $LIBS" 13446 13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13448$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13449if ${lt_cv_dlopen_self+:} false; then : 13450 $as_echo_n "(cached) " >&6 13451else |
13338 if test "$cross_compiling" = yes; then : | 13452 if test yes = "$cross_compiling"; then : |
13339 lt_cv_dlopen_self=cross 13340else 13341 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13342 lt_status=$lt_dlunknown 13343 cat > conftest.$ac_ext <<_LT_EOF 13344#line $LINENO "configure" 13345#include "confdefs.h" 13346 --- 32 unchanged lines hidden (view full) --- 13379# endif 13380# endif 13381# endif 13382# endif 13383#endif 13384 13385/* When -fvisbility=hidden is used, assume the code has been annotated 13386 correspondingly for the symbols needed. */ | 13453 lt_cv_dlopen_self=cross 13454else 13455 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13456 lt_status=$lt_dlunknown 13457 cat > conftest.$ac_ext <<_LT_EOF 13458#line $LINENO "configure" 13459#include "confdefs.h" 13460 --- 32 unchanged lines hidden (view full) --- 13493# endif 13494# endif 13495# endif 13496# endif 13497#endif 13498 13499/* When -fvisbility=hidden is used, assume the code has been annotated 13500 correspondingly for the symbols needed. */ |
13387#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | 13501#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
13388int fnord () __attribute__((visibility("default"))); 13389#endif 13390 13391int fnord () { return 42; } 13392int main () 13393{ 13394 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13395 int status = $lt_dlunknown; --- 13 unchanged lines hidden (view full) --- 13409 13410 return status; 13411} 13412_LT_EOF 13413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13414 (eval $ac_link) 2>&5 13415 ac_status=$? 13416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 13502int fnord () __attribute__((visibility("default"))); 13503#endif 13504 13505int fnord () { return 42; } 13506int main () 13507{ 13508 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13509 int status = $lt_dlunknown; --- 13 unchanged lines hidden (view full) --- 13523 13524 return status; 13525} 13526_LT_EOF 13527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13528 (eval $ac_link) 2>&5 13529 ac_status=$? 13530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13417 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | 13531 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
13418 (./conftest; exit; ) >&5 2>/dev/null 13419 lt_status=$? 13420 case x$lt_status in 13421 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13422 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13423 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13424 esac 13425 else : 13426 # compilation failed 13427 lt_cv_dlopen_self=no 13428 fi 13429fi 13430rm -fr conftest* 13431 13432 13433fi 13434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13435$as_echo "$lt_cv_dlopen_self" >&6; } 13436 | 13532 (./conftest; exit; ) >&5 2>/dev/null 13533 lt_status=$? 13534 case x$lt_status in 13535 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13536 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13537 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13538 esac 13539 else : 13540 # compilation failed 13541 lt_cv_dlopen_self=no 13542 fi 13543fi 13544rm -fr conftest* 13545 13546 13547fi 13548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13549$as_echo "$lt_cv_dlopen_self" >&6; } 13550 |
13437 if test "x$lt_cv_dlopen_self" = xyes; then | 13551 if test yes = "$lt_cv_dlopen_self"; then |
13438 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13440$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13441if ${lt_cv_dlopen_self_static+:} false; then : 13442 $as_echo_n "(cached) " >&6 13443else | 13552 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13554$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13555if ${lt_cv_dlopen_self_static+:} false; then : 13556 $as_echo_n "(cached) " >&6 13557else |
13444 if test "$cross_compiling" = yes; then : | 13558 if test yes = "$cross_compiling"; then : |
13445 lt_cv_dlopen_self_static=cross 13446else 13447 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13448 lt_status=$lt_dlunknown 13449 cat > conftest.$ac_ext <<_LT_EOF 13450#line $LINENO "configure" 13451#include "confdefs.h" 13452 --- 32 unchanged lines hidden (view full) --- 13485# endif 13486# endif 13487# endif 13488# endif 13489#endif 13490 13491/* When -fvisbility=hidden is used, assume the code has been annotated 13492 correspondingly for the symbols needed. */ | 13559 lt_cv_dlopen_self_static=cross 13560else 13561 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13562 lt_status=$lt_dlunknown 13563 cat > conftest.$ac_ext <<_LT_EOF 13564#line $LINENO "configure" 13565#include "confdefs.h" 13566 --- 32 unchanged lines hidden (view full) --- 13599# endif 13600# endif 13601# endif 13602# endif 13603#endif 13604 13605/* When -fvisbility=hidden is used, assume the code has been annotated 13606 correspondingly for the symbols needed. */ |
13493#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | 13607#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
13494int fnord () __attribute__((visibility("default"))); 13495#endif 13496 13497int fnord () { return 42; } 13498int main () 13499{ 13500 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13501 int status = $lt_dlunknown; --- 13 unchanged lines hidden (view full) --- 13515 13516 return status; 13517} 13518_LT_EOF 13519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13520 (eval $ac_link) 2>&5 13521 ac_status=$? 13522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 13608int fnord () __attribute__((visibility("default"))); 13609#endif 13610 13611int fnord () { return 42; } 13612int main () 13613{ 13614 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13615 int status = $lt_dlunknown; --- 13 unchanged lines hidden (view full) --- 13629 13630 return status; 13631} 13632_LT_EOF 13633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13634 (eval $ac_link) 2>&5 13635 ac_status=$? 13636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13523 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | 13637 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
13524 (./conftest; exit; ) >&5 2>/dev/null 13525 lt_status=$? 13526 case x$lt_status in 13527 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13528 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13529 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13530 esac 13531 else : --- 4 unchanged lines hidden (view full) --- 13536rm -fr conftest* 13537 13538 13539fi 13540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13541$as_echo "$lt_cv_dlopen_self_static" >&6; } 13542 fi 13543 | 13638 (./conftest; exit; ) >&5 2>/dev/null 13639 lt_status=$? 13640 case x$lt_status in 13641 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13642 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13643 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13644 esac 13645 else : --- 4 unchanged lines hidden (view full) --- 13650rm -fr conftest* 13651 13652 13653fi 13654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13655$as_echo "$lt_cv_dlopen_self_static" >&6; } 13656 fi 13657 |
13544 CPPFLAGS="$save_CPPFLAGS" 13545 LDFLAGS="$save_LDFLAGS" 13546 LIBS="$save_LIBS" | 13658 CPPFLAGS=$save_CPPFLAGS 13659 LDFLAGS=$save_LDFLAGS 13660 LIBS=$save_LIBS |
13547 ;; 13548 esac 13549 13550 case $lt_cv_dlopen_self in 13551 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13552 *) enable_dlopen_self=unknown ;; 13553 esac 13554 --- 27 unchanged lines hidden (view full) --- 13582 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13583 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13585$as_echo "yes" >&6; } 13586else 13587# FIXME - insert some real tests, host_os isn't really good enough 13588 case $host_os in 13589 darwin*) | 13661 ;; 13662 esac 13663 13664 case $lt_cv_dlopen_self in 13665 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13666 *) enable_dlopen_self=unknown ;; 13667 esac 13668 --- 27 unchanged lines hidden (view full) --- 13696 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13697 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13699$as_echo "yes" >&6; } 13700else 13701# FIXME - insert some real tests, host_os isn't really good enough 13702 case $host_os in 13703 darwin*) |
13590 if test -n "$STRIP" ; then | 13704 if test -n "$STRIP"; then |
13591 striplib="$STRIP -x" 13592 old_striplib="$STRIP -S" 13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13594$as_echo "yes" >&6; } 13595 else 13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13597$as_echo "no" >&6; } 13598 fi --- 11 unchanged lines hidden (view full) --- 13610 13611 13612 13613 13614 13615 13616 13617 | 13705 striplib="$STRIP -x" 13706 old_striplib="$STRIP -S" 13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13708$as_echo "yes" >&6; } 13709 else 13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13711$as_echo "no" >&6; } 13712 fi --- 11 unchanged lines hidden (view full) --- 13724 13725 13726 13727 13728 13729 13730 13731 |
13618 # Report which library types will actually be built | 13732 # Report what library types will actually be built |
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13620$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13622$as_echo "$can_build_shared" >&6; } 13623 13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13625$as_echo_n "checking whether to build shared libraries... " >&6; } | 13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13734$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13736$as_echo "$can_build_shared" >&6; } 13737 13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13739$as_echo_n "checking whether to build shared libraries... " >&6; } |
13626 test "$can_build_shared" = "no" && enable_shared=no | 13740 test no = "$can_build_shared" && enable_shared=no |
13627 13628 # On AIX, shared libraries and static libraries use the same namespace, and 13629 # are all built from PIC. 13630 case $host_os in 13631 aix3*) | 13741 13742 # On AIX, shared libraries and static libraries use the same namespace, and 13743 # are all built from PIC. 13744 case $host_os in 13745 aix3*) |
13632 test "$enable_shared" = yes && enable_static=no | 13746 test yes = "$enable_shared" && enable_static=no |
13633 if test -n "$RANLIB"; then 13634 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13635 postinstall_cmds='$RANLIB $lib' 13636 fi 13637 ;; 13638 13639 aix[4-9]*) | 13747 if test -n "$RANLIB"; then 13748 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13749 postinstall_cmds='$RANLIB $lib' 13750 fi 13751 ;; 13752 13753 aix[4-9]*) |
13640 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 13641 test "$enable_shared" = yes && enable_static=no | 13754 if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then 13755 test yes = "$enable_shared" && enable_static=no |
13642 fi 13643 ;; 13644 esac 13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13646$as_echo "$enable_shared" >&6; } 13647 13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13649$as_echo_n "checking whether to build static libraries... " >&6; } 13650 # Make sure either enable_shared or enable_static is yes. | 13756 fi 13757 ;; 13758 esac 13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13760$as_echo "$enable_shared" >&6; } 13761 13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13763$as_echo_n "checking whether to build static libraries... " >&6; } 13764 # Make sure either enable_shared or enable_static is yes. |
13651 test "$enable_shared" = yes || enable_static=yes | 13765 test yes = "$enable_shared" || enable_static=yes |
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13653$as_echo "$enable_static" >&6; } 13654 13655 13656 13657 13658fi 13659ac_ext=c 13660ac_cpp='$CPP $CPPFLAGS' 13661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13663ac_compiler_gnu=$ac_cv_c_compiler_gnu 13664 | 13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13767$as_echo "$enable_static" >&6; } 13768 13769 13770 13771 13772fi 13773ac_ext=c 13774ac_cpp='$CPP $CPPFLAGS' 13775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13777ac_compiler_gnu=$ac_cv_c_compiler_gnu 13778 |
13665CC="$lt_save_CC" | 13779CC=$lt_save_CC |
13666 13667 13668 13669 13670 13671 13672 13673 --- 10 unchanged lines hidden (view full) --- 13684 13685 13686# Only expand once: 13687 13688 13689 13690 13691# Checks for header files. | 13780 13781 13782 13783 13784 13785 13786 13787 --- 10 unchanged lines hidden (view full) --- 13798 13799 13800# Only expand once: 13801 13802 13803 13804 13805# Checks for header files. |
13692for ac_header in stdarg.h stdbool.h netinet/in.h sys/param.h sys/socket.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h | 13806for ac_header in stdarg.h stdbool.h netinet/in.h sys/param.h sys/socket.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h |
13693do : 13694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13695ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 13696" 13697if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13698 cat >>confdefs.h <<_ACEOF 13699#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13700_ACEOF --- 1344 unchanged lines hidden (view full) --- 15045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15046$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15047as_fn_error $? "cannot run test program while cross compiling 15048See \`config.log' for more details" "$LINENO" 5; } 15049else 15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15051/* end confdefs.h. */ 15052 | 13807do : 13808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13809ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 13810" 13811if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13812 cat >>confdefs.h <<_ACEOF 13813#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13814_ACEOF --- 1344 unchanged lines hidden (view full) --- 15159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15161as_fn_error $? "cannot run test program while cross compiling 15162See \`config.log' for more details" "$LINENO" 5; } 15163else 15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15165/* end confdefs.h. */ 15166 |
15053#define _XOPEN_SOURCE | 15167#define _XOPEN_SOURCE 600 |
15054#include <time.h> 15055int main(void) { struct tm tm; char *res; 15056res = strptime("2010-07-15T00:00:00+00:00", "%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t", &tm); 15057if (!res) return 2; 15058res = strptime("20070207111842", "%Y%m%d%H%M%S", &tm); 15059if (!res) return 1; return 0; } 15060 15061_ACEOF --- 840 unchanged lines hidden (view full) --- 15902 15903 15904 if test -z "$PYTHON"; then 15905 as_fn_error $? "Cannot find python$PYTHON_VERSION in your system path" "$LINENO" 5 15906 PYTHON_VERSION="" 15907 fi 15908 15909 if test -z "$PYTHON_VERSION"; then | 15168#include <time.h> 15169int main(void) { struct tm tm; char *res; 15170res = strptime("2010-07-15T00:00:00+00:00", "%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t", &tm); 15171if (!res) return 2; 15172res = strptime("20070207111842", "%Y%m%d%H%M%S", &tm); 15173if (!res) return 1; return 0; } 15174 15175_ACEOF --- 840 unchanged lines hidden (view full) --- 16016 16017 16018 if test -z "$PYTHON"; then 16019 as_fn_error $? "Cannot find python$PYTHON_VERSION in your system path" "$LINENO" 5 16020 PYTHON_VERSION="" 16021 fi 16022 16023 if test -z "$PYTHON_VERSION"; then |
15910 PYTHON_VERSION=`$PYTHON -c "import sys, string; \ 15911 print string.split(sys.version)[0]"` | 16024 PYTHON_VERSION=`$PYTHON -c "import sys; \ 16025 print(sys.version.split()[0])"` |
15912 fi 15913 15914 # | 16026 fi 16027 16028 # |
15915 # Check for a version of Python >= 2.1.0 15916 # 15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.1.0'" >&5 15918$as_echo_n "checking for a version of Python >= '2.1.0'... " >&6; } 15919 ac_supports_python_ver=`$PYTHON -c "import sys, string; \ 15920 ver = string.split(sys.version)[0]; \ 15921 print ver >= '2.1.0'"` 15922 if test "$ac_supports_python_ver" != "True"; then 15923 if test -z "$PYTHON_NOVERSIONCHECK"; then 15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15925$as_echo "no" >&6; } 15926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15927$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15928as_fn_error $? " 15929This version of the AC_PYTHON_DEVEL macro 15930doesn't work properly with versions of Python before 159312.1.0. You may need to re-run configure, setting the 15932variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG, 15933PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. 15934Moreover, to disable this check, set PYTHON_NOVERSIONCHECK 15935to something else than an empty string. 15936 15937See \`config.log' for more details" "$LINENO" 5; } 15938 else 15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&5 15940$as_echo "skip at user request" >&6; } 15941 fi 15942 else 15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15944$as_echo "yes" >&6; } 15945 fi 15946 15947 # 15948 # if the macro parameter ``version'' is set, honour it 15949 # 15950 if test -n ""; then 15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python " >&5 15952$as_echo_n "checking for a version of Python ... " >&6; } 15953 ac_supports_python_ver=`$PYTHON -c "import sys, string; \ 15954 ver = string.split(sys.version)[0]; \ 15955 print ver "` 15956 if test "$ac_supports_python_ver" = "True"; then 15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15958$as_echo "yes" >&6; } 15959 else 15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15961$as_echo "no" >&6; } 15962 as_fn_error $? "this package requires Python . 15963If you have it installed, but it isn't the default Python 15964interpreter in your system path, please pass the PYTHON_VERSION 15965variable to configure. See \`\`configure --help'' for reference. 15966" "$LINENO" 5 15967 PYTHON_VERSION="" 15968 fi 15969 fi 15970 15971 # | |
15972 # Check if you have distutils, else fail 15973 # 15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 15975$as_echo_n "checking for the distutils Python package... " >&6; } 15976 ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` 15977 if test -z "$ac_distutils_result"; then 15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15979$as_echo "yes" >&6; } --- 8 unchanged lines hidden (view full) --- 15988 15989 # 15990 # Check for Python include path 15991 # 15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 15993$as_echo_n "checking for Python include path... " >&6; } 15994 if test -z "$PYTHON_CPPFLAGS"; then 15995 python_path=`$PYTHON -c "import distutils.sysconfig; \ | 16029 # Check if you have distutils, else fail 16030 # 16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 16032$as_echo_n "checking for the distutils Python package... " >&6; } 16033 ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` 16034 if test -z "$ac_distutils_result"; then 16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16036$as_echo "yes" >&6; } --- 8 unchanged lines hidden (view full) --- 16045 16046 # 16047 # Check for Python include path 16048 # 16049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5 16050$as_echo_n "checking for Python include path... " >&6; } 16051 if test -z "$PYTHON_CPPFLAGS"; then 16052 python_path=`$PYTHON -c "import distutils.sysconfig; \ |
15996 print distutils.sysconfig.get_python_inc();"` | 16053 print(distutils.sysconfig.get_python_inc());"` |
15997 if test -n "${python_path}"; then 15998 python_path="-I$python_path" 15999 fi 16000 PYTHON_CPPFLAGS=$python_path 16001 fi 16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5 16003$as_echo "$PYTHON_CPPFLAGS" >&6; } 16004 16005 16006 # 16007 # Check for Python library path 16008 # 16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5 16010$as_echo_n "checking for Python library path... " >&6; } 16011 if test -z "$PYTHON_LDFLAGS"; then | 16054 if test -n "${python_path}"; then 16055 python_path="-I$python_path" 16056 fi 16057 PYTHON_CPPFLAGS=$python_path 16058 fi 16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5 16060$as_echo "$PYTHON_CPPFLAGS" >&6; } 16061 16062 16063 # 16064 # Check for Python library path 16065 # 16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5 16067$as_echo_n "checking for Python library path... " >&6; } 16068 if test -z "$PYTHON_LDFLAGS"; then |
16012 # (makes two attempts to ensure we've got a version number 16013 # from the interpreter) 16014 py_version=`$PYTHON -c "from distutils.sysconfig import *; \ 16015 from string import join; \ 16016 print join(get_config_vars('VERSION'))"` 16017 if test "$py_version" = "None"; then 16018 if test -n "$PYTHON_VERSION"; then 16019 py_version=$PYTHON_VERSION 16020 else 16021 py_version=`$PYTHON -c "import sys; \ 16022 print sys.version[:3]"` 16023 fi 16024 fi 16025 | |
16026 PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \ | 16069 PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \ |
16027 from string import join; \ 16028 print '-L' + get_python_lib(0,1), \ 16029 '-L' + os.path.dirname(get_python_lib(0,1)), \ 16030 '-lpython';"`$py_version | 16070 print(get_config_var('BLDLIBRARY'));"` |
16031 fi 16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 16033$as_echo "$PYTHON_LDFLAGS" >&6; } 16034 16035 16036 # 16037 # Check for site packages 16038 # 16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5 16040$as_echo_n "checking for Python site-packages path... " >&6; } 16041 if test -z "$PYTHON_SITE_PKG"; then 16042 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \ | 16071 fi 16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 16073$as_echo "$PYTHON_LDFLAGS" >&6; } 16074 16075 16076 # 16077 # Check for site packages 16078 # 16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5 16080$as_echo_n "checking for Python site-packages path... " >&6; } 16081 if test -z "$PYTHON_SITE_PKG"; then 16082 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \ |
16043 print distutils.sysconfig.get_python_lib(1,0);"` | 16083 print(distutils.sysconfig.get_python_lib(1,0));"` |
16044 fi 16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5 16046$as_echo "$PYTHON_SITE_PKG" >&6; } 16047 16048 16049 # | 16084 fi 16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5 16086$as_echo "$PYTHON_SITE_PKG" >&6; } 16087 16088 16089 # |
16050 # libraries which must be linked in when embedding 16051 # 16052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5 16053$as_echo_n "checking python extra libraries... " >&6; } 16054 if test -z "$PYTHON_EXTRA_LIBS"; then 16055 PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \ 16056 conf = distutils.sysconfig.get_config_var; \ 16057 print conf('LOCALMODLIBS'), conf('LIBS')"` 16058 fi 16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5 16060$as_echo "$PYTHON_EXTRA_LIBS" >&6; } 16061 16062 16063 # 16064 # linking flags needed when embedding 16065 # 16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5 16067$as_echo_n "checking python extra linking flags... " >&6; } 16068 if test -z "$PYTHON_EXTRA_LDFLAGS"; then 16069 PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ 16070 conf = distutils.sysconfig.get_config_var; \ 16071 print conf('LINKFORSHARED')"` 16072 fi 16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5 16074$as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; } 16075 16076 16077 # | |
16078 # final check to see if everything compiles alright 16079 # 16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5 16081$as_echo_n "checking consistency of all components of python development environment... " >&6; } 16082 ac_ext=c 16083ac_cpp='$CPP $CPPFLAGS' 16084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --- 55 unchanged lines hidden (view full) --- 16141 CPPFLAGS="$ac_save_CPPFLAGS" 16142 LIBS="$ac_save_LIBS" 16143 16144 # 16145 # all done! 16146 # 16147 16148 if test ! -z "$PYTHON_VERSION"; then | 16090 # final check to see if everything compiles alright 16091 # 16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5 16093$as_echo_n "checking consistency of all components of python development environment... " >&6; } 16094 ac_ext=c 16095ac_cpp='$CPP $CPPFLAGS' 16096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' --- 55 unchanged lines hidden (view full) --- 16153 CPPFLAGS="$ac_save_CPPFLAGS" 16154 LIBS="$ac_save_LIBS" 16155 16156 # 16157 # all done! 16158 # 16159 16160 if test ! -z "$PYTHON_VERSION"; then |
16149 if test `$PYTHON -c "print '$PYTHON_VERSION' >= '2.4.0'"` = "False"; then | 16161 if test `$PYTHON -c "print('$PYTHON_VERSION' >= '2.4.0')"` = "False"; then |
16150 as_fn_error $? "Python version >= 2.4.0 is required" "$LINENO" 5 16151 fi 16152 16153 # Have Python 16154 16155$as_echo "#define HAVE_PYTHON 1" >>confdefs.h 16156 16157 LIBS="$PYTHON_LDFLAGS $LIBS" --- 566 unchanged lines hidden (view full) --- 16724 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16725 16726fi 16727 16728 16729fi 16730rm -f core conftest.err conftest.$ac_objext \ 16731 conftest$ac_exeext conftest.$ac_ext | 16162 as_fn_error $? "Python version >= 2.4.0 is required" "$LINENO" 5 16163 fi 16164 16165 # Have Python 16166 16167$as_echo "#define HAVE_PYTHON 1" >>confdefs.h 16168 16169 LIBS="$PYTHON_LDFLAGS $LIBS" --- 566 unchanged lines hidden (view full) --- 16736 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 16737 16738fi 16739 16740 16741fi 16742rm -f core conftest.err conftest.$ac_objext \ 16743 conftest$ac_exeext conftest.$ac_ext |
16744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL" >&5 16745$as_echo_n "checking for LibreSSL... " >&6; } 16746if grep OPENSSL_VERSION_TEXT $ssldir/include/openssl/opensslv.h | grep "LibreSSL" >/dev/null; then 16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16748$as_echo "yes" >&6; } 16749 16750$as_echo "#define HAVE_LIBRESSL 1" >>confdefs.h 16751 16752 # libressl provides these compat functions, but they may also be 16753 # declared by the OS in libc. See if they have been declared. 16754 ac_fn_c_check_decl "$LINENO" "strlcpy" "ac_cv_have_decl_strlcpy" "$ac_includes_default" 16755if test "x$ac_cv_have_decl_strlcpy" = xyes; then : 16756 ac_have_decl=1 16757else 16758 ac_have_decl=0 16759fi 16760 16761cat >>confdefs.h <<_ACEOF 16762#define HAVE_DECL_STRLCPY $ac_have_decl 16763_ACEOF 16764ac_fn_c_check_decl "$LINENO" "strlcat" "ac_cv_have_decl_strlcat" "$ac_includes_default" 16765if test "x$ac_cv_have_decl_strlcat" = xyes; then : 16766 ac_have_decl=1 16767else 16768 ac_have_decl=0 16769fi 16770 16771cat >>confdefs.h <<_ACEOF 16772#define HAVE_DECL_STRLCAT $ac_have_decl 16773_ACEOF 16774ac_fn_c_check_decl "$LINENO" "arc4random" "ac_cv_have_decl_arc4random" "$ac_includes_default" 16775if test "x$ac_cv_have_decl_arc4random" = xyes; then : 16776 ac_have_decl=1 16777else 16778 ac_have_decl=0 16779fi 16780 16781cat >>confdefs.h <<_ACEOF 16782#define HAVE_DECL_ARC4RANDOM $ac_have_decl 16783_ACEOF 16784ac_fn_c_check_decl "$LINENO" "arc4random_uniform" "ac_cv_have_decl_arc4random_uniform" "$ac_includes_default" 16785if test "x$ac_cv_have_decl_arc4random_uniform" = xyes; then : 16786 ac_have_decl=1 16787else 16788 ac_have_decl=0 16789fi 16790 16791cat >>confdefs.h <<_ACEOF 16792#define HAVE_DECL_ARC4RANDOM_UNIFORM $ac_have_decl 16793_ACEOF 16794 16795else 16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16797$as_echo "no" >&6; } 16798fi |
|
16732for ac_header in openssl/conf.h 16733do : 16734 ac_fn_c_check_header_compile "$LINENO" "openssl/conf.h" "ac_cv_header_openssl_conf_h" "$ac_includes_default 16735" 16736if test "x$ac_cv_header_openssl_conf_h" = xyes; then : 16737 cat >>confdefs.h <<_ACEOF 16738#define HAVE_OPENSSL_CONF_H 1 16739_ACEOF --- 317 unchanged lines hidden (view full) --- 17057 17058else 17059 as_fn_error $? "OpenSSL does not support the ECDSA curves: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5 17060fi 17061 17062 # see if OPENSSL 1.0.0 or later (has EVP MD and Verify independency) 17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl supports SHA2 and ECDSA with EVP" >&5 17064$as_echo_n "checking if openssl supports SHA2 and ECDSA with EVP... " >&6; } | 16799for ac_header in openssl/conf.h 16800do : 16801 ac_fn_c_check_header_compile "$LINENO" "openssl/conf.h" "ac_cv_header_openssl_conf_h" "$ac_includes_default 16802" 16803if test "x$ac_cv_header_openssl_conf_h" = xyes; then : 16804 cat >>confdefs.h <<_ACEOF 16805#define HAVE_OPENSSL_CONF_H 1 16806_ACEOF --- 317 unchanged lines hidden (view full) --- 17124 17125else 17126 as_fn_error $? "OpenSSL does not support the ECDSA curves: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5 17127fi 17128 17129 # see if OPENSSL 1.0.0 or later (has EVP MD and Verify independency) 17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl supports SHA2 and ECDSA with EVP" >&5 17131$as_echo_n "checking if openssl supports SHA2 and ECDSA with EVP... " >&6; } |
17065 if grep OPENSSL_VERSION_NUMBER $ssldir/include/openssl/opensslv.h | grep 0x0 >/dev/null; then 17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 17132 if grep OPENSSL_VERSION_TEXT $ssldir/include/openssl/opensslv.h | grep "OpenSSL" >/dev/null; then 17133 if grep OPENSSL_VERSION_NUMBER $ssldir/include/openssl/opensslv.h | grep 0x0 >/dev/null; then 17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
17067$as_echo "no" >&6; } 17068 17069cat >>confdefs.h <<_ACEOF 17070#define USE_ECDSA_EVP_WORKAROUND 1 17071_ACEOF 17072 | 17135$as_echo "no" >&6; } 17136 17137cat >>confdefs.h <<_ACEOF 17138#define USE_ECDSA_EVP_WORKAROUND 1 17139_ACEOF 17140 |
17141 else 17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17143$as_echo "yes" >&6; } 17144 fi |
|
17073 else | 17145 else |
17146 # not OpenSSL, thus likely LibreSSL, which supports it |
|
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17075$as_echo "yes" >&6; } 17076 fi 17077 fi 17078 # we now know we have ECDSA and the required curves. 17079 17080cat >>confdefs.h <<_ACEOF 17081#define USE_ECDSA 1 --- 1023 unchanged lines hidden (view full) --- 18105 *" gmtime_r.$ac_objext "* ) ;; 18106 *) LIBOBJS="$LIBOBJS gmtime_r.$ac_objext" 18107 ;; 18108esac 18109 18110fi 18111 18112 | 17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17148$as_echo "yes" >&6; } 17149 fi 17150 fi 17151 # we now know we have ECDSA and the required curves. 17152 17153cat >>confdefs.h <<_ACEOF 17154#define USE_ECDSA 1 --- 1023 unchanged lines hidden (view full) --- 18178 *" gmtime_r.$ac_objext "* ) ;; 18179 *) LIBOBJS="$LIBOBJS gmtime_r.$ac_objext" 18180 ;; 18181esac 18182 18183fi 18184 18185 |
18186LIBOBJ_WITHOUT_CTIMEARC4="$LIBOBJS" 18187 18188if test "$USE_NSS" = "no"; then 18189 ac_fn_c_check_func "$LINENO" "arc4random" "ac_cv_func_arc4random" 18190if test "x$ac_cv_func_arc4random" = xyes; then : 18191 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h 18192 18193else 18194 case " $LIBOBJS " in 18195 *" arc4random.$ac_objext "* ) ;; 18196 *) LIBOBJS="$LIBOBJS arc4random.$ac_objext" 18197 ;; 18198esac 18199 18200fi 18201 18202 18203 ac_fn_c_check_func "$LINENO" "arc4random_uniform" "ac_cv_func_arc4random_uniform" 18204if test "x$ac_cv_func_arc4random_uniform" = xyes; then : 18205 $as_echo "#define HAVE_ARC4RANDOM_UNIFORM 1" >>confdefs.h 18206 18207else 18208 case " $LIBOBJS " in 18209 *" arc4random_uniform.$ac_objext "* ) ;; 18210 *) LIBOBJS="$LIBOBJS arc4random_uniform.$ac_objext" 18211 ;; 18212esac 18213 18214fi 18215 18216 18217 if test "$ac_cv_func_arc4random" = "no"; then 18218 case " $LIBOBJS " in 18219 *" explicit_bzero.$ac_objext "* ) ;; 18220 *) LIBOBJS="$LIBOBJS explicit_bzero.$ac_objext" 18221 ;; 18222esac 18223 18224 case " $LIBOBJS " in 18225 *" arc4_lock.$ac_objext "* ) ;; 18226 *) LIBOBJS="$LIBOBJS arc4_lock.$ac_objext" 18227 ;; 18228esac 18229 18230 for ac_func in getentropy 18231do : 18232 ac_fn_c_check_func "$LINENO" "getentropy" "ac_cv_func_getentropy" 18233if test "x$ac_cv_func_getentropy" = xyes; then : 18234 cat >>confdefs.h <<_ACEOF 18235#define HAVE_GETENTROPY 1 18236_ACEOF 18237 18238else 18239 18240 if test "$USE_WINSOCK" = 1; then 18241 case " $LIBOBJS " in 18242 *" getentropy_win.$ac_objext "* ) ;; 18243 *) LIBOBJS="$LIBOBJS getentropy_win.$ac_objext" 18244 ;; 18245esac 18246 18247 else 18248 case `uname` in 18249 Darwin) 18250 case " $LIBOBJS " in 18251 *" getentropy_osx.$ac_objext "* ) ;; 18252 *) LIBOBJS="$LIBOBJS getentropy_osx.$ac_objext" 18253 ;; 18254esac 18255 18256 ;; 18257 SunOS) 18258 case " $LIBOBJS " in 18259 *" getentropy_solaris.$ac_objext "* ) ;; 18260 *) LIBOBJS="$LIBOBJS getentropy_solaris.$ac_objext" 18261 ;; 18262esac 18263 18264 for ac_header in sys/sha2.h 18265do : 18266 ac_fn_c_check_header_compile "$LINENO" "sys/sha2.h" "ac_cv_header_sys_sha2_h" "$ac_includes_default 18267" 18268if test "x$ac_cv_header_sys_sha2_h" = xyes; then : 18269 cat >>confdefs.h <<_ACEOF 18270#define HAVE_SYS_SHA2_H 1 18271_ACEOF 18272 18273else 18274 18275 for ac_func in SHA512_Update 18276do : 18277 ac_fn_c_check_func "$LINENO" "SHA512_Update" "ac_cv_func_SHA512_Update" 18278if test "x$ac_cv_func_SHA512_Update" = xyes; then : 18279 cat >>confdefs.h <<_ACEOF 18280#define HAVE_SHA512_UPDATE 1 18281_ACEOF 18282 18283else 18284 18285 case " $LIBOBJS " in 18286 *" sha512.$ac_objext "* ) ;; 18287 *) LIBOBJS="$LIBOBJS sha512.$ac_objext" 18288 ;; 18289esac 18290 18291 18292fi 18293done 18294 18295 18296fi 18297 18298done 18299 18300 if test "$ac_cv_header_sys_sha2_h" = "yes"; then 18301 # this lib needed for sha2 on solaris 18302 LIBS="$LIBS -lmd" 18303 fi 18304 ;; 18305 Linux|*) 18306 case " $LIBOBJS " in 18307 *" getentropy_linux.$ac_objext "* ) ;; 18308 *) LIBOBJS="$LIBOBJS getentropy_linux.$ac_objext" 18309 ;; 18310esac 18311 18312 for ac_func in SHA512_Update 18313do : 18314 ac_fn_c_check_func "$LINENO" "SHA512_Update" "ac_cv_func_SHA512_Update" 18315if test "x$ac_cv_func_SHA512_Update" = xyes; then : 18316 cat >>confdefs.h <<_ACEOF 18317#define HAVE_SHA512_UPDATE 1 18318_ACEOF 18319 18320else 18321 18322 18323$as_echo "#define COMPAT_SHA512 1" >>confdefs.h 18324 18325 case " $LIBOBJS " in 18326 *" sha512.$ac_objext "* ) ;; 18327 *) LIBOBJS="$LIBOBJS sha512.$ac_objext" 18328 ;; 18329esac 18330 18331 18332fi 18333done 18334 18335 for ac_header in sys/sysctl.h 18336do : 18337 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default 18338" 18339if test "x$ac_cv_header_sys_sysctl_h" = xyes; then : 18340 cat >>confdefs.h <<_ACEOF 18341#define HAVE_SYS_SYSCTL_H 1 18342_ACEOF 18343 18344fi 18345 18346done 18347 18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 18349$as_echo_n "checking for library containing clock_gettime... " >&6; } 18350if ${ac_cv_search_clock_gettime+:} false; then : 18351 $as_echo_n "(cached) " >&6 18352else 18353 ac_func_search_save_LIBS=$LIBS 18354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18355/* end confdefs.h. */ 18356 18357/* Override any GCC internal prototype to avoid an error. 18358 Use char because int might match the return type of a GCC 18359 builtin and then its argument prototype would still apply. */ 18360#ifdef __cplusplus 18361extern "C" 18362#endif 18363char clock_gettime (); 18364int 18365main () 18366{ 18367return clock_gettime (); 18368 ; 18369 return 0; 18370} 18371_ACEOF 18372for ac_lib in '' rt; do 18373 if test -z "$ac_lib"; then 18374 ac_res="none required" 18375 else 18376 ac_res=-l$ac_lib 18377 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 18378 fi 18379 if ac_fn_c_try_link "$LINENO"; then : 18380 ac_cv_search_clock_gettime=$ac_res 18381fi 18382rm -f core conftest.err conftest.$ac_objext \ 18383 conftest$ac_exeext 18384 if ${ac_cv_search_clock_gettime+:} false; then : 18385 break 18386fi 18387done 18388if ${ac_cv_search_clock_gettime+:} false; then : 18389 18390else 18391 ac_cv_search_clock_gettime=no 18392fi 18393rm conftest.$ac_ext 18394LIBS=$ac_func_search_save_LIBS 18395fi 18396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 18397$as_echo "$ac_cv_search_clock_gettime" >&6; } 18398ac_res=$ac_cv_search_clock_gettime 18399if test "$ac_res" != no; then : 18400 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 18401 18402fi 18403 18404 ;; 18405 esac 18406 fi 18407 18408fi 18409done 18410 18411 fi 18412fi |
|
18113LIBOBJ_WITHOUT_CTIME="$LIBOBJS" 18114 18115ac_fn_c_check_func "$LINENO" "ctime_r" "ac_cv_func_ctime_r" 18116if test "x$ac_cv_func_ctime_r" = xyes; then : 18117 $as_echo "#define HAVE_CTIME_R 1" >>confdefs.h 18118 18119else 18120 case " $LIBOBJS " in --- 39 unchanged lines hidden (view full) --- 18160 echo checklock_stop >> clubsyms.def 18161 echo checklock_lock >> clubsyms.def 18162 echo checklock_unlock >> clubsyms.def 18163 echo checklock_init >> clubsyms.def 18164 echo checklock_thrcreate >> clubsyms.def 18165 echo checklock_thrjoin >> clubsyms.def 18166fi 18167 | 18413LIBOBJ_WITHOUT_CTIME="$LIBOBJS" 18414 18415ac_fn_c_check_func "$LINENO" "ctime_r" "ac_cv_func_ctime_r" 18416if test "x$ac_cv_func_ctime_r" = xyes; then : 18417 $as_echo "#define HAVE_CTIME_R 1" >>confdefs.h 18418 18419else 18420 case " $LIBOBJS " in --- 39 unchanged lines hidden (view full) --- 18460 echo checklock_stop >> clubsyms.def 18461 echo checklock_lock >> clubsyms.def 18462 echo checklock_unlock >> clubsyms.def 18463 echo checklock_init >> clubsyms.def 18464 echo checklock_thrcreate >> clubsyms.def 18465 echo checklock_thrjoin >> clubsyms.def 18466fi 18467 |
18468# check for dnstap if requested 18469 18470 # Check whether --enable-dnstap was given. 18471if test "${enable_dnstap+set}" = set; then : 18472 enableval=$enable_dnstap; opt_dnstap=$enableval 18473else 18474 opt_dnstap=no 18475fi 18476 18477 18478 18479# Check whether --with-dnstap-socket-path was given. 18480if test "${with_dnstap_socket_path+set}" = set; then : 18481 withval=$with_dnstap_socket_path; opt_dnstap_socket_path=$withval 18482else 18483 opt_dnstap_socket_path="$UNBOUND_RUN_DIR/dnstap.sock" 18484fi 18485 18486 18487 if test "x$opt_dnstap" != "xno"; then 18488 # Extract the first word of "protoc-c", so it can be a program name with args. 18489set dummy protoc-c; ac_word=$2 18490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 18491$as_echo_n "checking for $ac_word... " >&6; } 18492if ${ac_cv_path_PROTOC_C+:} false; then : 18493 $as_echo_n "(cached) " >&6 18494else 18495 case $PROTOC_C in 18496 [\\/]* | ?:[\\/]*) 18497 ac_cv_path_PROTOC_C="$PROTOC_C" # Let the user override the test with a path. 18498 ;; 18499 *) 18500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18501for as_dir in $PATH 18502do 18503 IFS=$as_save_IFS 18504 test -z "$as_dir" && as_dir=. 18505 for ac_exec_ext in '' $ac_executable_extensions; do 18506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18507 ac_cv_path_PROTOC_C="$as_dir/$ac_word$ac_exec_ext" 18508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 18509 break 2 18510 fi 18511done 18512 done 18513IFS=$as_save_IFS 18514 18515 ;; 18516esac 18517fi 18518PROTOC_C=$ac_cv_path_PROTOC_C 18519if test -n "$PROTOC_C"; then 18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROTOC_C" >&5 18521$as_echo "$PROTOC_C" >&6; } 18522else 18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 18524$as_echo "no" >&6; } 18525fi 18526 18527 18528 if test -z "$PROTOC_C"; then 18529 as_fn_error $? "The protoc-c program was not found. Please install protobuf-c!" "$LINENO" 5 18530 fi 18531 18532# Check whether --with-protobuf-c was given. 18533if test "${with_protobuf_c+set}" = set; then : 18534 withval=$with_protobuf_c; 18535 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0 18536 if test -f $withval/include/google/protobuf-c/protobuf-c.h; then 18537 CFLAGS="$CFLAGS -I$withval/include/google" 18538 else 18539 CFLAGS="$CFLAGS -I$withval/include" 18540 fi 18541 LDFLAGS="$LDFLAGS -L$withval/lib" 18542 18543else 18544 18545 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0 18546 if test -f /usr/include/google/protobuf-c/protobuf-c.h; then 18547 CFLAGS="$CFLAGS -I/usr/include/google" 18548 else 18549 if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then 18550 CFLAGS="$CFLAGS -I/usr/local/include/google" 18551 LDFLAGS="$LDFLAGS -L/usr/local/lib" 18552 fi 18553 fi 18554 18555fi 18556 18557 18558# Check whether --with-libfstrm was given. 18559if test "${with_libfstrm+set}" = set; then : 18560 withval=$with_libfstrm; 18561 CFLAGS="$CFLAGS -I$withval/include" 18562 LDFLAGS="$LDFLAGS -L$withval/lib" 18563 18564fi 18565 18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fstrm_iothr_init" >&5 18567$as_echo_n "checking for library containing fstrm_iothr_init... " >&6; } 18568if ${ac_cv_search_fstrm_iothr_init+:} false; then : 18569 $as_echo_n "(cached) " >&6 18570else 18571 ac_func_search_save_LIBS=$LIBS 18572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18573/* end confdefs.h. */ 18574 18575/* Override any GCC internal prototype to avoid an error. 18576 Use char because int might match the return type of a GCC 18577 builtin and then its argument prototype would still apply. */ 18578#ifdef __cplusplus 18579extern "C" 18580#endif 18581char fstrm_iothr_init (); 18582int 18583main () 18584{ 18585return fstrm_iothr_init (); 18586 ; 18587 return 0; 18588} 18589_ACEOF 18590for ac_lib in '' fstrm; do 18591 if test -z "$ac_lib"; then 18592 ac_res="none required" 18593 else 18594 ac_res=-l$ac_lib 18595 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 18596 fi 18597 if ac_fn_c_try_link "$LINENO"; then : 18598 ac_cv_search_fstrm_iothr_init=$ac_res 18599fi 18600rm -f core conftest.err conftest.$ac_objext \ 18601 conftest$ac_exeext 18602 if ${ac_cv_search_fstrm_iothr_init+:} false; then : 18603 break 18604fi 18605done 18606if ${ac_cv_search_fstrm_iothr_init+:} false; then : 18607 18608else 18609 ac_cv_search_fstrm_iothr_init=no 18610fi 18611rm conftest.$ac_ext 18612LIBS=$ac_func_search_save_LIBS 18613fi 18614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fstrm_iothr_init" >&5 18615$as_echo "$ac_cv_search_fstrm_iothr_init" >&6; } 18616ac_res=$ac_cv_search_fstrm_iothr_init 18617if test "$ac_res" != no; then : 18618 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 18619 18620else 18621 as_fn_error $? "The fstrm library was not found. Please install fstrm!" "$LINENO" 5 18622fi 18623 18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing protobuf_c_message_pack" >&5 18625$as_echo_n "checking for library containing protobuf_c_message_pack... " >&6; } 18626if ${ac_cv_search_protobuf_c_message_pack+:} false; then : 18627 $as_echo_n "(cached) " >&6 18628else 18629 ac_func_search_save_LIBS=$LIBS 18630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18631/* end confdefs.h. */ 18632 18633/* Override any GCC internal prototype to avoid an error. 18634 Use char because int might match the return type of a GCC 18635 builtin and then its argument prototype would still apply. */ 18636#ifdef __cplusplus 18637extern "C" 18638#endif 18639char protobuf_c_message_pack (); 18640int 18641main () 18642{ 18643return protobuf_c_message_pack (); 18644 ; 18645 return 0; 18646} 18647_ACEOF 18648for ac_lib in '' protobuf-c; do 18649 if test -z "$ac_lib"; then 18650 ac_res="none required" 18651 else 18652 ac_res=-l$ac_lib 18653 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 18654 fi 18655 if ac_fn_c_try_link "$LINENO"; then : 18656 ac_cv_search_protobuf_c_message_pack=$ac_res 18657fi 18658rm -f core conftest.err conftest.$ac_objext \ 18659 conftest$ac_exeext 18660 if ${ac_cv_search_protobuf_c_message_pack+:} false; then : 18661 break 18662fi 18663done 18664if ${ac_cv_search_protobuf_c_message_pack+:} false; then : 18665 18666else 18667 ac_cv_search_protobuf_c_message_pack=no 18668fi 18669rm conftest.$ac_ext 18670LIBS=$ac_func_search_save_LIBS 18671fi 18672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_protobuf_c_message_pack" >&5 18673$as_echo "$ac_cv_search_protobuf_c_message_pack" >&6; } 18674ac_res=$ac_cv_search_protobuf_c_message_pack 18675if test "$ac_res" != no; then : 18676 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 18677 18678else 18679 as_fn_error $? "The protobuf-c library was not found. Please install protobuf-c!" "$LINENO" 5 18680fi 18681 18682 18683 18684$as_echo "#define USE_DNSTAP 1" >>confdefs.h 18685 18686 ENABLE_DNSTAP=1 18687 18688 18689 18690 hdr_dnstap_socket_path="`echo $opt_dnstap_socket_path | sed -e 's/\\\\/\\\\\\\\/g'`" 18691 18692 18693cat >>confdefs.h <<_ACEOF 18694#define DNSTAP_SOCKET_PATH "$hdr_dnstap_socket_path" 18695_ACEOF 18696 18697 18698 DNSTAP_SRC="dnstap/dnstap.c dnstap/dnstap.pb-c.c" 18699 18700 DNSTAP_OBJ="dnstap.lo dnstap.pb-c.lo" 18701 18702 18703 else 18704 18705 ENABLE_DNSTAP=0 18706 18707 18708 18709 fi 18710 18711 |
|
18168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${MAKE:-make} supports $< with implicit rule in scope" >&5 18169$as_echo_n "checking if ${MAKE:-make} supports $< with implicit rule in scope... " >&6; } 18170# on openBSD, the implicit rule make $< work. 18171# on Solaris, it does not work ($? is changed sources, $^ lists dependencies). 18172# gmake works. 18173cat >conftest.make <<EOF 18174all: conftest.lo 18175 --- 117 unchanged lines hidden (view full) --- 18293 18294cat >>confdefs.h <<_ACEOF 18295#define MAXSYSLOGMSGLEN 10240 18296_ACEOF 18297 18298 18299 18300 | 18712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${MAKE:-make} supports $< with implicit rule in scope" >&5 18713$as_echo_n "checking if ${MAKE:-make} supports $< with implicit rule in scope... " >&6; } 18714# on openBSD, the implicit rule make $< work. 18715# on Solaris, it does not work ($? is changed sources, $^ lists dependencies). 18716# gmake works. 18717cat >conftest.make <<EOF 18718all: conftest.lo 18719 --- 117 unchanged lines hidden (view full) --- 18837 18838cat >>confdefs.h <<_ACEOF 18839#define MAXSYSLOGMSGLEN 10240 18840_ACEOF 18841 18842 18843 18844 |
18301ac_config_files="$ac_config_files Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 smallapp/unbound-control-setup.sh" | 18845version=1.5.1 |
18302 | 18846 |
18847date=`date +'%b %e, %Y'` 18848 18849 18850ac_config_files="$ac_config_files Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h" 18851 |
|
18303ac_config_headers="$ac_config_headers config.h" 18304 18305cat >confcache <<\_ACEOF 18306# This file is a shell script that caches the results of configure 18307# tests run on this system so they can be shared between configure 18308# scripts and configure runs, see configure's option --config-cache. 18309# It is not useful on other systems. If it contains results you don't 18310# want to keep, you may remove or edit it. --- 492 unchanged lines hidden (view full) --- 18803_ASEOF 18804test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 18805 18806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18807# Save the log message, to keep $0 and so on meaningful, and to 18808# report actual input values of CONFIG_FILES etc. instead of their 18809# values after options handling. 18810ac_log=" | 18852ac_config_headers="$ac_config_headers config.h" 18853 18854cat >confcache <<\_ACEOF 18855# This file is a shell script that caches the results of configure 18856# tests run on this system so they can be shared between configure 18857# scripts and configure runs, see configure's option --config-cache. 18858# It is not useful on other systems. If it contains results you don't 18859# want to keep, you may remove or edit it. --- 492 unchanged lines hidden (view full) --- 19352_ASEOF 19353test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 19354 19355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19356# Save the log message, to keep $0 and so on meaningful, and to 19357# report actual input values of CONFIG_FILES etc. instead of their 19358# values after options handling. 19359ac_log=" |
18811This file was extended by unbound $as_me 1.4.22, which was | 19360This file was extended by unbound $as_me 1.5.1, which was |
18812generated by GNU Autoconf 2.69. Invocation command line was 18813 18814 CONFIG_FILES = $CONFIG_FILES 18815 CONFIG_HEADERS = $CONFIG_HEADERS 18816 CONFIG_LINKS = $CONFIG_LINKS 18817 CONFIG_COMMANDS = $CONFIG_COMMANDS 18818 $ $0 $@ 18819 --- 49 unchanged lines hidden (view full) --- 18869$config_commands 18870 18871Report bugs to <unbound-bugs@nlnetlabs.nl>." 18872 18873_ACEOF 18874cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18875ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18876ac_cs_version="\\ | 19361generated by GNU Autoconf 2.69. Invocation command line was 19362 19363 CONFIG_FILES = $CONFIG_FILES 19364 CONFIG_HEADERS = $CONFIG_HEADERS 19365 CONFIG_LINKS = $CONFIG_LINKS 19366 CONFIG_COMMANDS = $CONFIG_COMMANDS 19367 $ $0 $@ 19368 --- 49 unchanged lines hidden (view full) --- 19418$config_commands 19419 19420Report bugs to <unbound-bugs@nlnetlabs.nl>." 19421 19422_ACEOF 19423cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19424ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 19425ac_cs_version="\\ |
18877unbound config.status 1.4.22 | 19426unbound config.status 1.5.1 |
18878configured by $0, generated by GNU Autoconf 2.69, 18879 with options \\"\$ac_cs_config\\" 18880 18881Copyright (C) 2012 Free Software Foundation, Inc. 18882This config.status script is free software; the Free Software Foundation 18883gives unlimited permission to copy, distribute and modify it." 18884 18885ac_pwd='$ac_pwd' --- 164 unchanged lines hidden (view full) --- 19050old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 19051lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 19052CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 19053CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 19054compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 19055GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 19056lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 19057lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' | 19427configured by $0, generated by GNU Autoconf 2.69, 19428 with options \\"\$ac_cs_config\\" 19429 19430Copyright (C) 2012 Free Software Foundation, Inc. 19431This config.status script is free software; the Free Software Foundation 19432gives unlimited permission to copy, distribute and modify it." 19433 19434ac_pwd='$ac_pwd' --- 164 unchanged lines hidden (view full) --- 19599old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 19600lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 19601CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 19602CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 19603compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 19604GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 19605lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 19606lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
19607lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
|
19058lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 19059lt_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"`' | 19608lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 19609lt_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"`' |
19610lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
|
19060nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 19061lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 19062objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 19063MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 19064lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 19065lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 19066lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 19067lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' --- 101 unchanged lines hidden (view full) --- 19169archiver_list_spec \ 19170STRIP \ 19171RANLIB \ 19172CC \ 19173CFLAGS \ 19174compiler \ 19175lt_cv_sys_global_symbol_pipe \ 19176lt_cv_sys_global_symbol_to_cdecl \ | 19611nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 19612lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 19613objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 19614MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 19615lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 19616lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 19617lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 19618lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' --- 101 unchanged lines hidden (view full) --- 19720archiver_list_spec \ 19721STRIP \ 19722RANLIB \ 19723CC \ 19724CFLAGS \ 19725compiler \ 19726lt_cv_sys_global_symbol_pipe \ 19727lt_cv_sys_global_symbol_to_cdecl \ |
19728lt_cv_sys_global_symbol_to_import \ |
|
19177lt_cv_sys_global_symbol_to_c_name_address \ 19178lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | 19729lt_cv_sys_global_symbol_to_c_name_address \ 19730lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
19731lt_cv_nm_interface \ |
|
19179nm_file_list_spec \ 19180lt_prog_compiler_no_builtin_flag \ 19181lt_prog_compiler_pic \ 19182lt_prog_compiler_wl \ 19183lt_prog_compiler_static \ 19184lt_cv_prog_compiler_c_o \ 19185need_locks \ 19186MANIFEST_TOOL \ --- 19 unchanged lines hidden (view full) --- 19206library_names_spec \ 19207soname_spec \ 19208install_override_mode \ 19209finish_eval \ 19210old_striplib \ 19211striplib; do 19212 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19213 *[\\\\\\\`\\"\\\$]*) | 19732nm_file_list_spec \ 19733lt_prog_compiler_no_builtin_flag \ 19734lt_prog_compiler_pic \ 19735lt_prog_compiler_wl \ 19736lt_prog_compiler_static \ 19737lt_cv_prog_compiler_c_o \ 19738need_locks \ 19739MANIFEST_TOOL \ --- 19 unchanged lines hidden (view full) --- 19759library_names_spec \ 19760soname_spec \ 19761install_override_mode \ 19762finish_eval \ 19763old_striplib \ 19764striplib; do 19765 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19766 *[\\\\\\\`\\"\\\$]*) |
19214 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | 19767 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
19215 ;; 19216 *) 19217 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19218 ;; 19219 esac 19220done 19221 19222# Double-quote double-evaled strings. --- 13 unchanged lines hidden (view full) --- 19236postlink_cmds \ 19237postinstall_cmds \ 19238postuninstall_cmds \ 19239finish_cmds \ 19240sys_lib_search_path_spec \ 19241sys_lib_dlsearch_path_spec; do 19242 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19243 *[\\\\\\\`\\"\\\$]*) | 19768 ;; 19769 *) 19770 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19771 ;; 19772 esac 19773done 19774 19775# Double-quote double-evaled strings. --- 13 unchanged lines hidden (view full) --- 19789postlink_cmds \ 19790postinstall_cmds \ 19791postuninstall_cmds \ 19792finish_cmds \ 19793sys_lib_search_path_spec \ 19794sys_lib_dlsearch_path_spec; do 19795 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19796 *[\\\\\\\`\\"\\\$]*) |
19244 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" | 19797 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
19245 ;; 19246 *) 19247 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19248 ;; 19249 esac 19250done 19251 19252ac_aux_dir='$ac_aux_dir' | 19798 ;; 19799 *) 19800 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19801 ;; 19802 esac 19803done 19804 19805ac_aux_dir='$ac_aux_dir' |
19253xsi_shell='$xsi_shell' 19254lt_shell_append='$lt_shell_append' | |
19255 | 19806 |
19256# See if we are running on zsh, and set the options which allow our | 19807# See if we are running on zsh, and set the options that allow our |
19257# commands through without removal of \ escapes INIT. | 19808# commands through without removal of \ escapes INIT. |
19258if test -n "\${ZSH_VERSION+set}" ; then | 19809if test -n "\${ZSH_VERSION+set}"; then |
19259 setopt NO_GLOB_SUBST 19260fi 19261 19262 19263 PACKAGE='$PACKAGE' 19264 VERSION='$VERSION' | 19810 setopt NO_GLOB_SUBST 19811fi 19812 19813 19814 PACKAGE='$PACKAGE' 19815 VERSION='$VERSION' |
19265 TIMESTAMP='$TIMESTAMP' | |
19266 RM='$RM' 19267 ofile='$ofile' 19268 19269 19270 19271 19272_ACEOF 19273 --- 8 unchanged lines hidden (view full) --- 19282 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19283 "doc/example.conf") CONFIG_FILES="$CONFIG_FILES doc/example.conf" ;; 19284 "doc/libunbound.3") CONFIG_FILES="$CONFIG_FILES doc/libunbound.3" ;; 19285 "doc/unbound.8") CONFIG_FILES="$CONFIG_FILES doc/unbound.8" ;; 19286 "doc/unbound-anchor.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-anchor.8" ;; 19287 "doc/unbound-checkconf.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-checkconf.8" ;; 19288 "doc/unbound.conf.5") CONFIG_FILES="$CONFIG_FILES doc/unbound.conf.5" ;; 19289 "doc/unbound-control.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-control.8" ;; | 19816 RM='$RM' 19817 ofile='$ofile' 19818 19819 19820 19821 19822_ACEOF 19823 --- 8 unchanged lines hidden (view full) --- 19832 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19833 "doc/example.conf") CONFIG_FILES="$CONFIG_FILES doc/example.conf" ;; 19834 "doc/libunbound.3") CONFIG_FILES="$CONFIG_FILES doc/libunbound.3" ;; 19835 "doc/unbound.8") CONFIG_FILES="$CONFIG_FILES doc/unbound.8" ;; 19836 "doc/unbound-anchor.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-anchor.8" ;; 19837 "doc/unbound-checkconf.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-checkconf.8" ;; 19838 "doc/unbound.conf.5") CONFIG_FILES="$CONFIG_FILES doc/unbound.conf.5" ;; 19839 "doc/unbound-control.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-control.8" ;; |
19840 "doc/unbound-host.1") CONFIG_FILES="$CONFIG_FILES doc/unbound-host.1" ;; |
|
19290 "smallapp/unbound-control-setup.sh") CONFIG_FILES="$CONFIG_FILES smallapp/unbound-control-setup.sh" ;; | 19841 "smallapp/unbound-control-setup.sh") CONFIG_FILES="$CONFIG_FILES smallapp/unbound-control-setup.sh" ;; |
19842 "dnstap/dnstap_config.h") CONFIG_FILES="$CONFIG_FILES dnstap/dnstap_config.h" ;; |
|
19291 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19292 19293 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19294 esac 19295done 19296 19297 19298# If the user did not use the arguments to specify the items to instantiate, --- 537 unchanged lines hidden (view full) --- 19836$as_echo "$as_me: executing $ac_file commands" >&6;} 19837 ;; 19838 esac 19839 19840 19841 case $ac_file$ac_mode in 19842 "libtool":C) 19843 | 19843 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19844 19845 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19846 esac 19847done 19848 19849 19850# If the user did not use the arguments to specify the items to instantiate, --- 537 unchanged lines hidden (view full) --- 20388$as_echo "$as_me: executing $ac_file commands" >&6;} 20389 ;; 20390 esac 20391 20392 20393 case $ac_file$ac_mode in 20394 "libtool":C) 20395 |
19844 # See if we are running on zsh, and set the options which allow our | 20396 # See if we are running on zsh, and set the options that allow our |
19845 # commands through without removal of \ escapes. | 20397 # commands through without removal of \ escapes. |
19846 if test -n "${ZSH_VERSION+set}" ; then | 20398 if test -n "${ZSH_VERSION+set}"; then |
19847 setopt NO_GLOB_SUBST 19848 fi 19849 | 20399 setopt NO_GLOB_SUBST 20400 fi 20401 |
19850 cfgfile="${ofile}T" | 20402 cfgfile=${ofile}T |
19851 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19852 $RM "$cfgfile" 19853 19854 cat <<_LT_EOF >> "$cfgfile" 19855#! $SHELL 19856 19857# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 20403 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 20404 $RM "$cfgfile" 20405 20406 cat <<_LT_EOF >> "$cfgfile" 20407#! $SHELL 20408 20409# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
19858# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | 20410# Generated automatically by $as_me ($PACKAGE) $VERSION |
19859# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19860# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19861# 19862# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 19863# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 19864# Foundation, Inc. 19865# Written by Gordon Matzigkeit, 1996 19866# --- 17 unchanged lines hidden (view full) --- 19884# You should have received a copy of the GNU General Public License 19885# along with GNU Libtool; see the file COPYING. If not, a copy 19886# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 19887# obtained by writing to the Free Software Foundation, Inc., 19888# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19889 19890 19891# The names of the tagged configurations supported by this script. | 20411# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 20412# NOTE: Changes made to this file will be lost: look at ltmain.sh. 20413# 20414# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 20415# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 20416# Foundation, Inc. 20417# Written by Gordon Matzigkeit, 1996 20418# --- 17 unchanged lines hidden (view full) --- 20436# You should have received a copy of the GNU General Public License 20437# along with GNU Libtool; see the file COPYING. If not, a copy 20438# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 20439# obtained by writing to the Free Software Foundation, Inc., 20440# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20441 20442 20443# The names of the tagged configurations supported by this script. |
19892available_tags="" | 20444available_tags='' |
19893 19894# ### BEGIN LIBTOOL CONFIG 19895 19896# Which release of libtool.m4 was used? 19897macro_version=$macro_version 19898macro_revision=$macro_revision 19899 19900# Whether or not to build shared libraries. --- 120 unchanged lines hidden (view full) --- 20021LTCFLAGS=$lt_CFLAGS 20022 20023# Take the output of nm and produce a listing of raw symbols and C names. 20024global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20025 20026# Transform the output of nm in a proper C declaration. 20027global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20028 | 20445 20446# ### BEGIN LIBTOOL CONFIG 20447 20448# Which release of libtool.m4 was used? 20449macro_version=$macro_version 20450macro_revision=$macro_revision 20451 20452# Whether or not to build shared libraries. --- 120 unchanged lines hidden (view full) --- 20573LTCFLAGS=$lt_CFLAGS 20574 20575# Take the output of nm and produce a listing of raw symbols and C names. 20576global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20577 20578# Transform the output of nm in a proper C declaration. 20579global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20580 |
20581# Transform the output of nm into a list of symbols to manually relocate. 20582global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 20583 |
|
20029# Transform the output of nm in a C name address pair. 20030global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20031 20032# Transform the output of nm in a C name address pair when lib prefix is needed. 20033global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20034 | 20584# Transform the output of nm in a C name address pair. 20585global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20586 20587# Transform the output of nm in a C name address pair when lib prefix is needed. 20588global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20589 |
20590# The name lister interface. 20591nm_interface=$lt_lt_cv_nm_interface 20592 |
|
20035# Specify filename containing input files for \$NM. 20036nm_file_list_spec=$lt_nm_file_list_spec 20037 | 20593# Specify filename containing input files for \$NM. 20594nm_file_list_spec=$lt_nm_file_list_spec 20595 |
20038# The root where to search for dependent libraries,and in which our libraries should be installed. | 20596# The root where to search for dependent libraries,and where our libraries should be installed. |
20039lt_sysroot=$lt_sysroot 20040 20041# The name of the directory that contains temporary libtool files. 20042objdir=$objdir 20043 20044# Used to examine libraries when file_magic_cmd begins with "file". 20045MAGIC_CMD=$MAGIC_CMD 20046 --- 170 unchanged lines hidden (view full) --- 20217 20218# Flag to hardcode \$libdir into a binary during linking. 20219# This must work even if \$libdir does not exist 20220hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20221 20222# Whether we need a single "-rpath" flag with a separated argument. 20223hardcode_libdir_separator=$lt_hardcode_libdir_separator 20224 | 20597lt_sysroot=$lt_sysroot 20598 20599# The name of the directory that contains temporary libtool files. 20600objdir=$objdir 20601 20602# Used to examine libraries when file_magic_cmd begins with "file". 20603MAGIC_CMD=$MAGIC_CMD 20604 --- 170 unchanged lines hidden (view full) --- 20775 20776# Flag to hardcode \$libdir into a binary during linking. 20777# This must work even if \$libdir does not exist 20778hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20779 20780# Whether we need a single "-rpath" flag with a separated argument. 20781hardcode_libdir_separator=$lt_hardcode_libdir_separator 20782 |
20225# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 20783# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
20226# DIR into the resulting binary. 20227hardcode_direct=$hardcode_direct 20228 | 20784# DIR into the resulting binary. 20785hardcode_direct=$hardcode_direct 20786 |
20229# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 20787# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
20230# DIR into the resulting binary and the resulting library dependency is | 20788# DIR into the resulting binary and the resulting library dependency is |
20231# "absolute",i.e impossible to change by setting \${shlibpath_var} if the | 20789# "absolute",i.e impossible to change by setting \$shlibpath_var if the |
20232# library is relocated. 20233hardcode_direct_absolute=$hardcode_direct_absolute 20234 20235# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20236# into the resulting binary. 20237hardcode_minus_L=$hardcode_minus_L 20238 20239# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR --- 41 unchanged lines hidden (view full) --- 20281_LT_EOF 20282 20283 case $host_os in 20284 aix3*) 20285 cat <<\_LT_EOF >> "$cfgfile" 20286# AIX sometimes has problems with the GCC collect2 program. For some 20287# reason, if we set the COLLECT_NAMES environment variable, the problems 20288# vanish in a puff of smoke. | 20790# library is relocated. 20791hardcode_direct_absolute=$hardcode_direct_absolute 20792 20793# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20794# into the resulting binary. 20795hardcode_minus_L=$hardcode_minus_L 20796 20797# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR --- 41 unchanged lines hidden (view full) --- 20839_LT_EOF 20840 20841 case $host_os in 20842 aix3*) 20843 cat <<\_LT_EOF >> "$cfgfile" 20844# AIX sometimes has problems with the GCC collect2 program. For some 20845# reason, if we set the COLLECT_NAMES environment variable, the problems 20846# vanish in a puff of smoke. |
20289if test "X${COLLECT_NAMES+set}" != Xset; then | 20847if test set != "${COLLECT_NAMES+set}"; then |
20290 COLLECT_NAMES= 20291 export COLLECT_NAMES 20292fi 20293_LT_EOF 20294 ;; 20295 esac 20296 20297 | 20848 COLLECT_NAMES= 20849 export COLLECT_NAMES 20850fi 20851_LT_EOF 20852 ;; 20853 esac 20854 20855 |
20298ltmain="$ac_aux_dir/ltmain.sh" | 20856ltmain=$ac_aux_dir/ltmain.sh |
20299 20300 20301 # We use sed instead of cat because bash on DJGPP gets confused if 20302 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20303 # text mode, it properly converts lines to CR/LF. This bash problem 20304 # is reportedly fixed, but why not run on old versions too? 20305 sed '$q' "$ltmain" >> "$cfgfile" \ 20306 || (rm -f "$cfgfile"; exit 1) 20307 | 20857 20858 20859 # We use sed instead of cat because bash on DJGPP gets confused if 20860 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20861 # text mode, it properly converts lines to CR/LF. This bash problem 20862 # is reportedly fixed, but why not run on old versions too? 20863 sed '$q' "$ltmain" >> "$cfgfile" \ 20864 || (rm -f "$cfgfile"; exit 1) 20865 |
20308 if test x"$xsi_shell" = xyes; then 20309 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 20310func_dirname ()\ 20311{\ 20312\ case ${1} in\ 20313\ */*) func_dirname_result="${1%/*}${2}" ;;\ 20314\ * ) func_dirname_result="${3}" ;;\ 20315\ esac\ 20316} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 20317 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20318 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20319test 0 -eq $? || _lt_function_replace_fail=: 20320 20321 20322 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 20323func_basename ()\ 20324{\ 20325\ func_basename_result="${1##*/}"\ 20326} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 20327 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20328 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20329test 0 -eq $? || _lt_function_replace_fail=: 20330 20331 20332 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 20333func_dirname_and_basename ()\ 20334{\ 20335\ case ${1} in\ 20336\ */*) func_dirname_result="${1%/*}${2}" ;;\ 20337\ * ) func_dirname_result="${3}" ;;\ 20338\ esac\ 20339\ func_basename_result="${1##*/}"\ 20340} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 20341 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20342 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20343test 0 -eq $? || _lt_function_replace_fail=: 20344 20345 20346 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 20347func_stripname ()\ 20348{\ 20349\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 20350\ # positional parameters, so assign one to ordinary parameter first.\ 20351\ func_stripname_result=${3}\ 20352\ func_stripname_result=${func_stripname_result#"${1}"}\ 20353\ func_stripname_result=${func_stripname_result%"${2}"}\ 20354} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 20355 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20356 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20357test 0 -eq $? || _lt_function_replace_fail=: 20358 20359 20360 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 20361func_split_long_opt ()\ 20362{\ 20363\ func_split_long_opt_name=${1%%=*}\ 20364\ func_split_long_opt_arg=${1#*=}\ 20365} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 20366 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20367 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20368test 0 -eq $? || _lt_function_replace_fail=: 20369 20370 20371 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 20372func_split_short_opt ()\ 20373{\ 20374\ func_split_short_opt_arg=${1#??}\ 20375\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 20376} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 20377 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20378 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20379test 0 -eq $? || _lt_function_replace_fail=: 20380 20381 20382 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 20383func_lo2o ()\ 20384{\ 20385\ case ${1} in\ 20386\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 20387\ *) func_lo2o_result=${1} ;;\ 20388\ esac\ 20389} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 20390 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20391 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20392test 0 -eq $? || _lt_function_replace_fail=: 20393 20394 20395 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 20396func_xform ()\ 20397{\ 20398 func_xform_result=${1%.*}.lo\ 20399} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 20400 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20401 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20402test 0 -eq $? || _lt_function_replace_fail=: 20403 20404 20405 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 20406func_arith ()\ 20407{\ 20408 func_arith_result=$(( $* ))\ 20409} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 20410 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20411 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20412test 0 -eq $? || _lt_function_replace_fail=: 20413 20414 20415 sed -e '/^func_len ()$/,/^} # func_len /c\ 20416func_len ()\ 20417{\ 20418 func_len_result=${#1}\ 20419} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 20420 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20421 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20422test 0 -eq $? || _lt_function_replace_fail=: 20423 20424fi 20425 20426if test x"$lt_shell_append" = xyes; then 20427 sed -e '/^func_append ()$/,/^} # func_append /c\ 20428func_append ()\ 20429{\ 20430 eval "${1}+=\\${2}"\ 20431} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 20432 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20433 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20434test 0 -eq $? || _lt_function_replace_fail=: 20435 20436 20437 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 20438func_append_quoted ()\ 20439{\ 20440\ func_quote_for_eval "${2}"\ 20441\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 20442} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 20443 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20444 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20445test 0 -eq $? || _lt_function_replace_fail=: 20446 20447 20448 # Save a `func_append' function call where possible by direct use of '+=' 20449 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 20450 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20452 test 0 -eq $? || _lt_function_replace_fail=: 20453else 20454 # Save a `func_append' function call even when '+=' is not available 20455 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 20456 && mv -f "$cfgfile.tmp" "$cfgfile" \ 20457 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 20458 test 0 -eq $? || _lt_function_replace_fail=: 20459fi 20460 20461if test x"$_lt_function_replace_fail" = x":"; then 20462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 20463$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 20464fi 20465 20466 | |
20467 mv -f "$cfgfile" "$ofile" || 20468 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20469 chmod +x "$ofile" 20470 20471 ;; 20472 "disable-rpath":C) 20473 sed < libtool > libtool-2 \ 20474 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_SED__ "/' --- 42 unchanged lines hidden --- | 20866 mv -f "$cfgfile" "$ofile" || 20867 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20868 chmod +x "$ofile" 20869 20870 ;; 20871 "disable-rpath":C) 20872 sed < libtool > libtool-2 \ 20873 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_SED__ "/' --- 42 unchanged lines hidden --- |