Changeset 18603 for trunk/FACT++/configure
- Timestamp:
- 09/17/16 18:59:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r18507 r18603 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for FACT++ 1.0.3 # Generated by GNU Autoconf 2.69 for FACT++ 1.0. 4 4 # 5 5 # Report bugs to <thomas.bretz@phys.ethz.ch>. 6 6 # 7 7 # 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 11 9 # 12 10 # … … 137 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 139 162 if test "x$CONFIG_SHELL" = x; then 140 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : … … 170 193 exitcode=1; echo positional parameters were not saved. 171 194 fi 172 test x\$exitcode = x0 || exit 1" 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 173 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO … … 223 247 224 248 if test "x$CONFIG_SHELL" != x; then : 225 # We cannot yet assume a decent shell, so we have to provide a 226 # neutralization value for shells without unset; and this also 227 # works around shells that cannot unset nonexistent variables. 228 # Preserve -v and -x to the replacement shell. 229 BASH_ENV=/dev/null 230 ENV=/dev/null 231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 232 export CONFIG_SHELL 233 case $- in # (((( 234 *v*x* | *x*v* ) as_opts=-vx ;; 235 *v* ) as_opts=-v ;; 236 *x* ) as_opts=-x ;; 237 * ) as_opts= ;; 238 esac 239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251 # neutralization value for shells without unset; and this also 252 # works around shells that cannot unset nonexistent variables. 253 # Preserve -v and -x to the replacement shell. 254 BASH_ENV=/dev/null 255 ENV=/dev/null 256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257 case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262 esac 263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264 # Admittedly, this is quite paranoid, since all the known shells bail 265 # out after a failed `exec'. 266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267 exit 255 240 268 fi 241 269 … … 340 368 341 369 } # as_fn_mkdir_p 370 371 # as_fn_executable_p FILE 372 # ----------------------- 373 # Test if FILE is an executable regular file. 374 as_fn_executable_p () 375 { 376 test -f "$1" && test -x "$1" 377 } # as_fn_executable_p 342 378 # as_fn_append VAR VALUE 343 379 # ---------------------- … … 461 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 462 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 463 503 # Don't try to exec as it changes $[0], causing all sort of problems 464 504 # (the dirname of $[0] is not the place where we might find the … … 495 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 496 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 497 # In both cases, we have to default to `cp -p '.537 # In both cases, we have to default to `cp -pR'. 498 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 499 as_ln_s='cp -p '539 as_ln_s='cp -pR' 500 540 elif ln conf$$.file conf$$ 2>/dev/null; then 501 541 as_ln_s=ln 502 542 else 503 as_ln_s='cp -p '543 as_ln_s='cp -pR' 504 544 fi 505 545 else 506 as_ln_s='cp -p '546 as_ln_s='cp -pR' 507 547 fi 508 548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 516 556 fi 517 557 518 if test -x / >/dev/null 2>&1; then 519 as_test_x='test -x' 520 else 521 if ls -dL / >/dev/null 2>&1; then 522 as_ls_L_option=L 523 else 524 as_ls_L_option= 525 fi 526 as_test_x=' 527 eval sh -c '\'' 528 if test -d "$1"; then 529 test -d "$1/."; 530 else 531 case $1 in #( 532 -*)set "./$1";; 533 esac; 534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 535 ???[sx]*):;;*)false;;esac;fi 536 '\'' sh 537 ' 538 fi 539 as_executable_p=$as_test_x 558 as_test_x='test -x' 559 as_executable_p=as_fn_executable_p 540 560 541 561 # Sed expression to map a string onto a valid CPP name. … … 682 702 COLORDIFF 683 703 ROOTLDFLAGS 704 ROOTCXXFLAGS 684 705 ROOTCPPFLAGS 685 706 ROOTSOVERSION … … 826 847 INSTALL_PROGRAM 827 848 CXXCPP 849 LT_SYS_LIBRARY_PATH 828 850 OTOOL64 829 851 OTOOL … … 892 914 oldincludedir 893 915 includedir 916 runstatedir 894 917 localstatedir 895 918 sharedstatedir … … 920 943 with_pic 921 944 enable_fast_install 945 with_aix_soname 922 946 with_gnu_ld 923 947 with_sysroot … … 1003 1027 DBUS_CFLAGS 1004 1028 DBUS_LIBS 1029 LT_SYS_LIBRARY_PATH 1005 1030 CXXCPP 1006 1031 DOXYGEN_PAPER_SIZE … … 1049 1074 sharedstatedir='${prefix}/com' 1050 1075 localstatedir='${prefix}/var' 1076 runstatedir='${localstatedir}/run' 1051 1077 includedir='${prefix}/include' 1052 1078 oldincludedir='/usr/include' … … 1301 1327 silent=yes ;; 1302 1328 1329 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1330 | --runstate | --runstat | --runsta | --runst | --runs \ 1331 | --run | --ru | --r) 1332 ac_prev=runstatedir ;; 1333 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1334 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1335 | --run=* | --ru=* | --r=*) 1336 runstatedir=$ac_optarg ;; 1337 1303 1338 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1304 1339 ac_prev=sbindir ;; … … 1438 1473 datadir sysconfdir sharedstatedir localstatedir includedir \ 1439 1474 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1440 libdir localedir mandir 1475 libdir localedir mandir runstatedir 1441 1476 do 1442 1477 eval ac_val=\$$ac_var … … 1466 1501 if test "x$build_alias" = x; then 1467 1502 cross_compiling=maybe 1468 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1469 If a cross compiler is detected then cross compile mode will be used" >&21470 1503 elif test "x$build_alias" != "x$host_alias"; then 1471 1504 cross_compiling=yes … … 1593 1626 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1594 1627 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1628 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1595 1629 --libdir=DIR object code libraries [EPREFIX/lib] 1596 1630 --includedir=DIR C header files [PREFIX/include] … … 1644 1678 optimize for fast installation [default=yes] 1645 1679 --disable-libtool-lock avoid locking (might break parallel builds) 1646 --disable-dependency-tracking speeds up one-time build 1647 --enable-dependency-tracking do not reject slow dependency extractors 1648 --enable-silent-rules less verbose build output (undo: `make V=1') 1649 --disable-silent-rules verbose build output (undo: `make V=0') 1680 --enable-dependency-tracking 1681 do not reject slow dependency extractors 1682 --disable-dependency-tracking 1683 speeds up one-time build 1684 --enable-silent-rules less verbose build output (undo: "make V=1") 1685 --disable-silent-rules verbose build output (undo: "make V=0") 1650 1686 --disable-doxygen-doc don't generate any doxygen documentation 1651 1687 --disable-doxygen-dot don't generate graphics for doxygen documentation … … 1663 1699 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1664 1700 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1665 --with-pic 1701 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1666 1702 both] 1703 --with-aix-soname=aix|svr4|both 1704 shared library versioning (aka "SONAME") variant to 1705 provide on AIX, [default=aix]. 1667 1706 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1668 --with-sysroot =DIR Search for dependent libraries within DIR1669 (or thecompiler's sysroot if not specified).1707 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1708 compiler's sysroot if not specified). 1670 1709 --with-readline[=dir] Compile with readline/locate base dir 1671 1710 --with-x use the X Window System … … 1777 1816 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config 1778 1817 DBUS_LIBS linker flags for DBUS, overriding pkg-config 1818 LT_SYS_LIBRARY_PATH 1819 User-defined run-time library search path. 1779 1820 CXXCPP C++ preprocessor 1780 1821 DOXYGEN_PAPER_SIZE … … 1859 1900 cat <<\_ACEOF 1860 1901 FACT++ configure 1.0 1861 generated by GNU Autoconf 2.6 81862 1863 Copyright (C) 201 0Free Software Foundation, Inc.1902 generated by GNU Autoconf 2.69 1903 1904 Copyright (C) 2012 Free Software Foundation, Inc. 1864 1905 This configure script is free software; the Free Software Foundation 1865 1906 gives unlimited permission to copy, distribute and modify it. … … 2176 2217 } && test -s conftest$ac_exeext && { 2177 2218 test "$cross_compiling" = yes || 2178 $as_test_x conftest$ac_exeext2219 test -x conftest$ac_exeext 2179 2220 }; then : 2180 2221 ac_retval=0 … … 2326 2367 } && test -s conftest$ac_exeext && { 2327 2368 test "$cross_compiling" = yes || 2328 $as_test_x conftest$ac_exeext2369 test -x conftest$ac_exeext 2329 2370 }; then : 2330 2371 ac_retval=0 … … 2507 2548 2508 2549 It was created by FACT++ $as_me 1.0, which was 2509 generated by GNU Autoconf 2.6 8. Invocation command line was2550 generated by GNU Autoconf 2.69. Invocation command line was 2510 2551 2511 2552 $ $0 $@ … … 2937 2978 test -z "$as_dir" && as_dir=. 2938 2979 for ac_exec_ext in '' $ac_executable_extensions; do 2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2940 2981 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2941 2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2981 3022 test -z "$as_dir" && as_dir=. 2982 3023 for ac_exec_ext in '' $ac_executable_extensions; do 2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2984 3025 ac_cv_prog_ac_ct_CC="$ac_prog" 2985 3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3425 3466 #include <stdarg.h> 3426 3467 #include <stdio.h> 3427 #include <sys/types.h> 3428 #include <sys/stat.h> 3468 struct stat; 3429 3469 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3430 3470 struct buf { int x; }; … … 3511 3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3512 3552 3553 # Expand $ac_aux_dir to an absolute path. 3554 am_aux_dir=`cd "$ac_aux_dir" && pwd` 3555 3556 ac_ext=c 3557 ac_cpp='$CPP $CPPFLAGS' 3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3562 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3563 if ${am_cv_prog_cc_c_o+:} false; then : 3564 $as_echo_n "(cached) " >&6 3565 else 3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3567 /* end confdefs.h. */ 3568 3569 int 3570 main () 3571 { 3572 3573 ; 3574 return 0; 3575 } 3576 _ACEOF 3577 # Make sure it works both with $CC and with simple cc. 3578 # Following AC_PROG_CC_C_O, we do the test twice because some 3579 # compilers refuse to overwrite an existing .o file with -o, 3580 # though they will create one. 3581 am_cv_prog_cc_c_o=yes 3582 for am_i in 1 2; do 3583 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3584 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3585 ac_status=$? 3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3587 (exit $ac_status); } \ 3588 && test -f conftest2.$ac_objext; then 3589 : OK 3590 else 3591 am_cv_prog_cc_c_o=no 3592 break 3593 fi 3594 done 3595 rm -f core conftest* 3596 unset am_i 3597 fi 3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3599 $as_echo "$am_cv_prog_cc_c_o" >&6; } 3600 if test "$am_cv_prog_cc_c_o" != yes; then 3601 # Losing compiler, so override with the script. 3602 # FIXME: It is wrong to rewrite CC. 3603 # But if we don't then we get into trouble of one sort or another. 3604 # A longer-term fix would be to have automake use am__CC in this case, 3605 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3606 CC="$am_aux_dir/compile $CC" 3607 fi 3608 ac_ext=c 3609 ac_cpp='$CPP $CPPFLAGS' 3610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3613 3614 3513 3615 ac_ext=cpp 3514 3616 ac_cpp='$CXXCPP $CPPFLAGS' … … 3539 3641 test -z "$as_dir" && as_dir=. 3540 3642 for ac_exec_ext in '' $ac_executable_extensions; do 3541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3542 3644 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3543 3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3583 3685 test -z "$as_dir" && as_dir=. 3584 3686 for ac_exec_ext in '' $ac_executable_extensions; do 3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3586 3688 ac_cv_prog_ac_ct_CXX="$ac_prog" 3587 3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3929 4031 } 3930 4032 _ACEOF 3931 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 - xc99=all-qlanglvl=extc994033 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 3932 4034 do 3933 4035 CC="$ac_save_CC $ac_arg" … … 3969 4071 #include <stdarg.h> 3970 4072 #include <stdio.h> 3971 #include <sys/types.h> 3972 #include <sys/stat.h> 4073 struct stat; 3973 4074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3974 4075 struct buf { int x; }; … … 4232 4333 for ac_exec_ext in '' $ac_executable_extensions; do 4233 4334 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4234 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4335 as_fn_executable_p "$ac_path_GREP" || continue 4235 4336 # Check for GNU ac_path_GREP and select it if it is found. 4236 4337 # Check for GNU $ac_path_GREP … … 4298 4399 for ac_exec_ext in '' $ac_executable_extensions; do 4299 4400 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4300 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4401 as_fn_executable_p "$ac_path_EGREP" || continue 4301 4402 # Check for GNU ac_path_EGREP and select it if it is found. 4302 4403 # Check for GNU $ac_path_EGREP … … 4505 4606 /* end confdefs.h. */ 4506 4607 4507 # 4508 4608 # define __EXTENSIONS__ 1 4609 $ac_includes_default 4509 4610 int 4510 4611 main () … … 4754 4855 test -z "$as_dir" && as_dir=. 4755 4856 for ac_exec_ext in '' $ac_executable_extensions; do 4756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4757 4858 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4758 4859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4797 4898 test -z "$as_dir" && as_dir=. 4798 4899 for ac_exec_ext in '' $ac_executable_extensions; do 4799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4800 4901 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4801 4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4933 5034 ###################################################################### 4934 5035 4935 # expand $ac_aux_dir to an absolute path4936 am_aux_dir=`cd $ac_aux_dir && pwd`4937 4938 5036 if test -n "$ac_tool_prefix"; then 4939 5037 for ac_prog in ar lib "link -lib" … … 4955 5053 test -z "$as_dir" && as_dir=. 4956 5054 for ac_exec_ext in '' $ac_executable_extensions; do 4957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4958 5056 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4959 5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4999 5097 test -z "$as_dir" && as_dir=. 5000 5098 for ac_exec_ext in '' $ac_executable_extensions; do 5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5002 5100 ac_cv_prog_ac_ct_AR="$ac_prog" 5003 5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5043 5141 $as_echo_n "(cached) " >&6 5044 5142 else 5045 am_cv_ar_interface=ar 5143 ac_ext=c 5144 ac_cpp='$CPP $CPPFLAGS' 5145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5147 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5148 5149 am_cv_ar_interface=ar 5046 5150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5047 5151 /* end confdefs.h. */ … … 5074 5178 fi 5075 5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5180 ac_ext=c 5181 ac_cpp='$CPP $CPPFLAGS' 5182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5184 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5076 5185 5077 5186 fi … … 5104 5213 5105 5214 5106 macro_version='2.4. 2'5107 macro_revision=' 1.3337'5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 ltmain= "$ac_aux_dir/ltmain.sh"5215 macro_version='2.4.6' 5216 macro_revision='2.4.6' 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 ltmain=$ac_aux_dir/ltmain.sh 5122 5231 5123 5232 # Make sure we can run config.sub. … … 5239 5348 } 5240 5349 5241 case "$ECHO"in5350 case $ECHO in 5242 5351 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5243 5352 $as_echo "printf" >&6; } ;; … … 5283 5392 for ac_exec_ext in '' $ac_executable_extensions; do 5284 5393 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5285 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; }|| continue5394 as_fn_executable_p "$ac_path_SED" || continue 5286 5395 # Check for GNU ac_path_SED and select it if it is found. 5287 5396 # Check for GNU $ac_path_SED … … 5362 5471 for ac_exec_ext in '' $ac_executable_extensions; do 5363 5472 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5364 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; }|| continue5473 as_fn_executable_p "$ac_path_FGREP" || continue 5365 5474 # Check for GNU ac_path_FGREP and select it if it is found. 5366 5475 # Check for GNU $ac_path_FGREP … … 5432 5541 # Check whether --with-gnu-ld was given. 5433 5542 if test "${with_gnu_ld+set}" = set; then : 5434 withval=$with_gnu_ld; test "$withval" = no|| with_gnu_ld=yes5543 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5435 5544 else 5436 5545 with_gnu_ld=no … … 5438 5547 5439 5548 ac_prog=ld 5440 if test "$GCC" = yes; then5549 if test yes = "$GCC"; then 5441 5550 # Check if gcc -print-prog-name=ld gives a path. 5442 5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 … … 5444 5553 case $host in 5445 5554 *-*-mingw*) 5446 # gcc leaves a trailing carriage return which upsets mingw5555 # gcc leaves a trailing carriage return, which upsets mingw 5447 5556 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5448 5557 *) … … 5458 5567 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5459 5568 done 5460 test -z "$LD" && LD= "$ac_prog"5569 test -z "$LD" && LD=$ac_prog 5461 5570 ;; 5462 5571 "") … … 5469 5578 ;; 5470 5579 esac 5471 elif test "$with_gnu_ld" = yes; then5580 elif test yes = "$with_gnu_ld"; then 5472 5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5473 5582 $as_echo_n "checking for GNU ld... " >&6; } … … 5480 5589 else 5481 5590 if test -z "$LD"; then 5482 lt_save_ifs= "$IFS"; IFS=$PATH_SEPARATOR5591 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5483 5592 for ac_dir in $PATH; do 5484 IFS= "$lt_save_ifs"5593 IFS=$lt_save_ifs 5485 5594 test -z "$ac_dir" && ac_dir=. 5486 5595 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5487 lt_cv_path_LD= "$ac_dir/$ac_prog"5596 lt_cv_path_LD=$ac_dir/$ac_prog 5488 5597 # Check to see if the program is GNU ld. I'd rather use --version, 5489 5598 # but apparently some variants of GNU ld only accept -v. … … 5491 5600 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5492 5601 *GNU* | *'with BFD'*) 5493 test "$with_gnu_ld" != no&& break5602 test no != "$with_gnu_ld" && break 5494 5603 ;; 5495 5604 *) 5496 test "$with_gnu_ld" != yes&& break5605 test yes != "$with_gnu_ld" && break 5497 5606 ;; 5498 5607 esac 5499 5608 fi 5500 5609 done 5501 IFS= "$lt_save_ifs"5502 else 5503 lt_cv_path_LD= "$LD"# Let the user override the test with a path.5504 fi 5505 fi 5506 5507 LD= "$lt_cv_path_LD"5610 IFS=$lt_save_ifs 5611 else 5612 lt_cv_path_LD=$LD # Let the user override the test with a path. 5613 fi 5614 fi 5615 5616 LD=$lt_cv_path_LD 5508 5617 if test -n "$LD"; then 5509 5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 … … 5548 5657 if test -n "$NM"; then 5549 5658 # Let the user override the test. 5550 lt_cv_path_NM= "$NM"5551 else 5552 lt_nm_to_check= "${ac_tool_prefix}nm"5659 lt_cv_path_NM=$NM 5660 else 5661 lt_nm_to_check=${ac_tool_prefix}nm 5553 5662 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5554 5663 lt_nm_to_check="$lt_nm_to_check nm" 5555 5664 fi 5556 5665 for lt_tmp_nm in $lt_nm_to_check; do 5557 lt_save_ifs= "$IFS"; IFS=$PATH_SEPARATOR5666 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5558 5667 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5559 IFS= "$lt_save_ifs"5668 IFS=$lt_save_ifs 5560 5669 test -z "$ac_dir" && ac_dir=. 5561 tmp_nm= "$ac_dir/$lt_tmp_nm"5562 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" 5670 tmp_nm=$ac_dir/$lt_tmp_nm 5671 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5563 5672 # Check to see if the nm accepts a BSD-compat flag. 5564 # Adding the `sed 1q' prevents false positives on HP-UX, which says:5673 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5565 5674 # nm: unknown option "B" ignored 5566 5675 # Tru64's nm complains that /dev/null is an invalid object file 5567 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5568 */dev/null* | *'Invalid file or object type'*) 5676 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5677 case $build_os in 5678 mingw*) lt_bad_file=conftest.nm/nofile ;; 5679 *) lt_bad_file=/dev/null ;; 5680 esac 5681 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5682 *$lt_bad_file* | *'Invalid file or object type'*) 5569 5683 lt_cv_path_NM="$tmp_nm -B" 5570 break 5684 break 2 5571 5685 ;; 5572 5686 *) … … 5574 5688 */dev/null*) 5575 5689 lt_cv_path_NM="$tmp_nm -p" 5576 break 5690 break 2 5577 5691 ;; 5578 5692 *) … … 5585 5699 fi 5586 5700 done 5587 IFS= "$lt_save_ifs"5701 IFS=$lt_save_ifs 5588 5702 done 5589 5703 : ${lt_cv_path_NM=no} … … 5592 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5593 5707 $as_echo "$lt_cv_path_NM" >&6; } 5594 if test "$lt_cv_path_NM" != "no"; then5595 NM= "$lt_cv_path_NM"5708 if test no != "$lt_cv_path_NM"; then 5709 NM=$lt_cv_path_NM 5596 5710 else 5597 5711 # Didn't find any BSD compatible name lister, look for dumpbin. … … 5618 5732 test -z "$as_dir" && as_dir=. 5619 5733 for ac_exec_ext in '' $ac_executable_extensions; do 5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5621 5735 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5622 5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5662 5776 test -z "$as_dir" && as_dir=. 5663 5777 for ac_exec_ext in '' $ac_executable_extensions; do 5664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5665 5779 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5666 5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5699 5813 fi 5700 5814 5701 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in5815 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5702 5816 *COFF*) 5703 DUMPBIN="$DUMPBIN -symbols "5817 DUMPBIN="$DUMPBIN -symbols -headers" 5704 5818 ;; 5705 5819 *) … … 5709 5823 fi 5710 5824 5711 if test "$DUMPBIN" != ":"; then5712 NM= "$DUMPBIN"5825 if test : != "$DUMPBIN"; then 5826 NM=$DUMPBIN 5713 5827 fi 5714 5828 fi … … 5761 5875 else 5762 5876 i=0 5763 teststring= "ABCD"5877 teststring=ABCD 5764 5878 5765 5879 case $build_os in … … 5801 5915 ;; 5802 5916 5803 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)5917 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5804 5918 # This has been around since 386BSD, at least. Likely further. 5805 5919 if test -x /sbin/sysctl; then … … 5818 5932 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5819 5933 lt_cv_sys_max_cmd_len=196608 5934 ;; 5935 5936 os2*) 5937 # The test takes a long time on OS/2. 5938 lt_cv_sys_max_cmd_len=8192 5820 5939 ;; 5821 5940 … … 5846 5965 *) 5847 5966 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5848 if test -n "$lt_cv_sys_max_cmd_len"; then 5967 if test -n "$lt_cv_sys_max_cmd_len" && \ 5968 test undefined != "$lt_cv_sys_max_cmd_len"; then 5849 5969 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5850 5970 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` … … 5852 5972 # Make teststring a little bigger before we do anything with it. 5853 5973 # a 1K string should be a reasonable start. 5854 for i in 1 2 3 4 5 6 7 8 5974 for i in 1 2 3 4 5 6 7 8; do 5855 5975 teststring=$teststring$teststring 5856 5976 done … … 5859 5979 # maximum length that is only half of the actual maximum length, but 5860 5980 # we can't tell. 5861 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \5981 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5862 5982 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5863 test $i != 17# 1/2 MB should be enough5983 test 17 != "$i" # 1/2 MB should be enough 5864 5984 do 5865 5985 i=`expr $i + 1` … … 5879 5999 fi 5880 6000 5881 if test -n $lt_cv_sys_max_cmd_len; then6001 if test -n "$lt_cv_sys_max_cmd_len"; then 5882 6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5883 6003 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } … … 5896 6016 : ${MV="mv -f"} 5897 6017 : ${RM="rm -f"} 5898 5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&55900 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }5901 # Try some XSI features5902 xsi_shell=no5903 ( _lt_dummy="a/b/c"5904 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \5905 = c,a/b,b/c, \5906 && eval 'test $(( 1 + 1 )) -eq 2 \5907 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \5908 && xsi_shell=yes5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&55910 $as_echo "$xsi_shell" >&6; }5911 5912 5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&55914 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }5915 lt_shell_append=no5916 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \5917 >/dev/null 2>&1 \5918 && lt_shell_append=yes5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&55920 $as_echo "$lt_shell_append" >&6; }5921 5922 6018 5923 6019 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then … … 6043 6139 case $host_os in 6044 6140 cygwin* | mingw* | pw32* | cegcc*) 6045 if test "$GCC" != yes; then6141 if test yes != "$GCC"; then 6046 6142 reload_cmds=false 6047 6143 fi 6048 6144 ;; 6049 6145 darwin*) 6050 if test "$GCC" = yes; then6051 reload_cmds='$LTCC $LTCFLAGS -nostdlib $ {wl}-r -o $output$reload_objs'6146 if test yes = "$GCC"; then 6147 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6052 6148 else 6053 6149 reload_cmds='$LD$reload_flag -o $output$reload_objs' … … 6081 6177 test -z "$as_dir" && as_dir=. 6082 6178 for ac_exec_ext in '' $ac_executable_extensions; do 6083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6084 6180 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6085 6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6121 6217 test -z "$as_dir" && as_dir=. 6122 6218 for ac_exec_ext in '' $ac_executable_extensions; do 6123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6124 6220 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6125 6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6177 6273 # interlibrary dependencies. 6178 6274 # 'none' -- dependencies not supported. 6179 # `unknown' -- same as none, but documents that we really don't know.6275 # 'unknown' -- same as none, but documents that we really don't know. 6180 6276 # 'pass_all' -- all dependencies passed with no checks. 6181 6277 # 'test_compile' -- check by making test program. 6182 6278 # 'file_magic [[regex]]' -- check by looking for files in library path 6183 # whichresponds to the $file_magic_cmd with a given extended regex.6184 # If you have `file' or equivalent on your system and you're not sure6185 # whether `pass_all' will *always* work, you probably want this one.6279 # that responds to the $file_magic_cmd with a given extended regex. 6280 # If you have 'file' or equivalent on your system and you're not sure 6281 # whether 'pass_all' will *always* work, you probably want this one. 6186 6282 6187 6283 case $host_os in … … 6210 6306 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6211 6307 # unless we find 'file', for example because we are cross-compiling. 6212 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 6213 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 6308 if ( file / ) >/dev/null 2>&1; then 6214 6309 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6215 6310 lt_cv_file_magic_cmd='func_win32_libid' … … 6245 6340 lt_cv_deplibs_check_method=pass_all 6246 6341 fi 6247 ;;6248 6249 gnu*)6250 lt_cv_deplibs_check_method=pass_all6251 6342 ;; 6252 6343 … … 6288 6379 ;; 6289 6380 6290 # This must be LinuxELF.6291 linux* | k*bsd*-gnu | kopensolaris*-gnu )6381 # This must be glibc/ELF. 6382 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6292 6383 lt_cv_deplibs_check_method=pass_all 6293 6384 ;; … … 6311 6402 ;; 6312 6403 6313 openbsd* )6314 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then6404 openbsd* | bitrig*) 6405 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6315 6406 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6316 6407 else … … 6365 6456 lt_cv_deplibs_check_method=pass_all 6366 6457 ;; 6458 os2*) 6459 lt_cv_deplibs_check_method=pass_all 6460 ;; 6367 6461 esac 6368 6462 … … 6427 6521 test -z "$as_dir" && as_dir=. 6428 6522 for ac_exec_ext in '' $ac_executable_extensions; do 6429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6430 6524 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6431 6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6467 6561 test -z "$as_dir" && as_dir=. 6468 6562 for ac_exec_ext in '' $ac_executable_extensions; do 6469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6470 6564 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6471 6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6522 6616 case $host_os in 6523 6617 cygwin* | mingw* | pw32* | cegcc*) 6524 # two different shell functions defined in ltmain.sh 6525 # decide which to use based on capabilities of $DLLTOOL6618 # two different shell functions defined in ltmain.sh; 6619 # decide which one to use based on capabilities of $DLLTOOL 6526 6620 case `$DLLTOOL --help 2>&1` in 6527 6621 *--identify-strict*) … … 6535 6629 *) 6536 6630 # fallback: assume linklib IS sharedlib 6537 lt_cv_sharedlib_from_linklib_cmd= "$ECHO"6631 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6538 6632 ;; 6539 6633 esac … … 6570 6664 test -z "$as_dir" && as_dir=. 6571 6665 for ac_exec_ext in '' $ac_executable_extensions; do 6572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6573 6667 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6574 6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6614 6708 test -z "$as_dir" && as_dir=. 6615 6709 for ac_exec_ext in '' $ac_executable_extensions; do 6616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6617 6711 ac_cv_prog_ac_ct_AR="$ac_prog" 6618 6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6689 6783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6690 6784 test $ac_status = 0; } 6691 if test "$ac_status" -eq 0; then6785 if test 0 -eq "$ac_status"; then 6692 6786 # Ensure the archiver fails upon bogus file names. 6693 6787 rm -f conftest.$ac_objext libconftest.a … … 6697 6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6698 6792 test $ac_status = 0; } 6699 if test "$ac_status" -ne 0; then6793 if test 0 -ne "$ac_status"; then 6700 6794 lt_cv_ar_at_file=@ 6701 6795 fi … … 6710 6804 $as_echo "$lt_cv_ar_at_file" >&6; } 6711 6805 6712 if test "x$lt_cv_ar_at_file" = xno; then6806 if test no = "$lt_cv_ar_at_file"; then 6713 6807 archiver_list_spec= 6714 6808 else … … 6739 6833 test -z "$as_dir" && as_dir=. 6740 6834 for ac_exec_ext in '' $ac_executable_extensions; do 6741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6742 6836 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6743 6837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6779 6873 test -z "$as_dir" && as_dir=. 6780 6874 for ac_exec_ext in '' $ac_executable_extensions; do 6781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6782 6876 ac_cv_prog_ac_ct_STRIP="strip" 6783 6877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6838 6932 test -z "$as_dir" && as_dir=. 6839 6933 for ac_exec_ext in '' $ac_executable_extensions; do 6840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6841 6935 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6842 6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6878 6972 test -z "$as_dir" && as_dir=. 6879 6973 for ac_exec_ext in '' $ac_executable_extensions; do 6880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then6974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6881 6975 ac_cv_prog_ac_ct_RANLIB="ranlib" 6882 6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 6927 7021 if test -n "$RANLIB"; then 6928 7022 case $host_os in 6929 openbsd*)6930 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$ oldlib"7023 bitrig* | openbsd*) 7024 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6931 7025 ;; 6932 7026 *) 6933 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$ oldlib"7027 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6934 7028 ;; 6935 7029 esac 6936 old_archive_cmds="$old_archive_cmds~\$RANLIB \$ oldlib"7030 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6937 7031 fi 6938 7032 … … 6982 7076 test -z "$as_dir" && as_dir=. 6983 7077 for ac_exec_ext in '' $ac_executable_extensions; do 6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6985 7079 ac_cv_prog_AWK="$ac_prog" 6986 7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7059 7153 ;; 7060 7154 hpux*) 7061 if test "$host_cpu" = ia64; then7155 if test ia64 = "$host_cpu"; then 7062 7156 symcode='[ABCDEGRST]' 7063 7157 fi … … 7092 7186 esac 7093 7187 7188 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7189 # Gets list of data symbols to import. 7190 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7191 # Adjust the below global symbol transforms to fixup imported variables. 7192 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7193 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7194 lt_c_name_lib_hook="\ 7195 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7196 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7197 else 7198 # Disable hooks by default. 7199 lt_cv_sys_global_symbol_to_import= 7200 lt_cdecl_hook= 7201 lt_c_name_hook= 7202 lt_c_name_lib_hook= 7203 fi 7204 7094 7205 # Transform an extracted symbol line into a proper C declaration. 7095 7206 # Some systems (esp. on ia64) link data and code symbols differently, 7096 7207 # so use this general approach. 7097 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7208 lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7209 $lt_cdecl_hook\ 7210 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7211 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7098 7212 7099 7213 # Transform an extracted symbol line into symbol name and symbol address 7100 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7101 lt_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'" 7214 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7215 $lt_c_name_hook\ 7216 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7217 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7218 7219 # Transform an extracted symbol line into symbol name with lib prefix and 7220 # symbol address. 7221 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7222 $lt_c_name_lib_hook\ 7223 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7224 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7225 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7102 7226 7103 7227 # Handle CRLF in mingw tool chain … … 7117 7241 # Write the raw and C identifiers. 7118 7242 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7119 # Fake it for dumpbin and say T for any non-static function 7120 # and D for any globalvariable.7243 # Fake it for dumpbin and say T for any non-static function, 7244 # D for any global variable and I for any imported variable. 7121 7245 # Also find C++ and __fastcall symbols from MSVC++, 7122 7246 # which start with @ or ?. 7123 7247 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7124 7248 " {last_section=section; section=\$ 3};"\ 7249 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7125 7250 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7251 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7252 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7253 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7126 7254 " \$ 0!~/External *\|/{next};"\ 7127 7255 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7128 7256 " {if(hide[section]) next};"\ 7129 " {f= 0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D\"};"\7130 " {split(\$ 0, a, /\||\r/); split(a[2],s)};"\7131 " s[1]~/^[@?]/{print s[1],s[1]; next};"\7132 " s[1]~prfx {split(s[1],t,\"@\"); print t[1],substr(t[1],length(prfx))}"\7257 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7258 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7259 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7260 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7133 7261 " ' prfx=^$ac_symprfx" 7134 7262 else … … 7178 7306 cat <<_LT_EOF > conftest.$ac_ext 7179 7307 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7180 #if defined (_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)7181 /* DATA imports from DLLs on WIN32 c on't be const, because runtime7308 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7309 /* DATA imports from DLLs on WIN32 can't be const, because runtime 7182 7310 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7183 7311 # define LT_DLSYM_CONST 7184 #elif defined (__osf__)7312 #elif defined __osf__ 7185 7313 /* This system does not cope well with relocations in const data. */ 7186 7314 # define LT_DLSYM_CONST … … 7208 7336 { "@PROGRAM@", (void *) 0 }, 7209 7337 _LT_EOF 7210 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext7338 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7211 7339 cat <<\_LT_EOF >> conftest.$ac_ext 7212 7340 {0, (void *) 0} … … 7228 7356 lt_globsym_save_LIBS=$LIBS 7229 7357 lt_globsym_save_CFLAGS=$CFLAGS 7230 LIBS= "conftstm.$ac_objext"7358 LIBS=conftstm.$ac_objext 7231 7359 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7232 7360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 … … 7234 7362 ac_status=$? 7235 7363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7236 test $ac_status = 0; } && test -s conftest$ {ac_exeext}; then7364 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7237 7365 pipe_works=yes 7238 7366 fi … … 7255 7383 7256 7384 # Do not use the global_symbol_pipe unless it works. 7257 if test "$pipe_works" = yes; then7385 if test yes = "$pipe_works"; then 7258 7386 break 7259 7387 else … … 7308 7436 7309 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7310 7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7311 7449 $as_echo_n "checking for sysroot... " >&6; } … … 7320 7458 7321 7459 lt_sysroot= 7322 case $ {with_sysroot}in #(7460 case $with_sysroot in #( 7323 7461 yes) 7324 if test "$GCC" = yes; then7462 if test yes = "$GCC"; then 7325 7463 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7326 7464 fi … … 7332 7470 ;; #( 7333 7471 *) 7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ {with_sysroot}" >&57335 $as_echo "$ {with_sysroot}" >&6; }7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7473 $as_echo "$with_sysroot" >&6; } 7336 7474 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7337 7475 ;; … … 7345 7483 7346 7484 7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7486 $as_echo_n "checking for a working dd... " >&6; } 7487 if ${ac_cv_path_lt_DD+:} false; then : 7488 $as_echo_n "(cached) " >&6 7489 else 7490 printf 0123456789abcdef0123456789abcdef >conftest.i 7491 cat conftest.i conftest.i >conftest2.i 7492 : ${lt_DD:=$DD} 7493 if test -z "$lt_DD"; then 7494 ac_path_lt_DD_found=false 7495 # Loop through the user's path and test for each of PROGNAME-LIST 7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7497 for as_dir in $PATH 7498 do 7499 IFS=$as_save_IFS 7500 test -z "$as_dir" && as_dir=. 7501 for ac_prog in dd; do 7502 for ac_exec_ext in '' $ac_executable_extensions; do 7503 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7504 as_fn_executable_p "$ac_path_lt_DD" || continue 7505 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7506 cmp -s conftest.i conftest.out \ 7507 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7508 fi 7509 $ac_path_lt_DD_found && break 3 7510 done 7511 done 7512 done 7513 IFS=$as_save_IFS 7514 if test -z "$ac_cv_path_lt_DD"; then 7515 : 7516 fi 7517 else 7518 ac_cv_path_lt_DD=$lt_DD 7519 fi 7520 7521 rm -f conftest.i conftest2.i conftest.out 7522 fi 7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7524 $as_echo "$ac_cv_path_lt_DD" >&6; } 7525 7526 7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7528 $as_echo_n "checking how to truncate binary pipes... " >&6; } 7529 if ${lt_cv_truncate_bin+:} false; then : 7530 $as_echo_n "(cached) " >&6 7531 else 7532 printf 0123456789abcdef0123456789abcdef >conftest.i 7533 cat conftest.i conftest.i >conftest2.i 7534 lt_cv_truncate_bin= 7535 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7536 cmp -s conftest.i conftest.out \ 7537 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7538 fi 7539 rm -f conftest.i conftest2.i conftest.out 7540 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7541 fi 7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7543 $as_echo "$lt_cv_truncate_bin" >&6; } 7544 7545 7546 7547 7548 7549 7550 7551 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7552 func_cc_basename () 7553 { 7554 for cc_temp in $*""; do 7555 case $cc_temp in 7556 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7557 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7558 \-*) ;; 7559 *) break;; 7560 esac 7561 done 7562 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7563 } 7564 7347 7565 # Check whether --enable-libtool-lock was given. 7348 7566 if test "${enable_libtool_lock+set}" = set; then : … … 7350 7568 fi 7351 7569 7352 test "x$enable_libtool_lock" != xno &&enable_libtool_lock=yes7570 test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7353 7571 7354 7572 # Some flags need to be propagated to the compiler or linker for good … … 7356 7574 case $host in 7357 7575 ia64-*-hpux*) 7358 # Find out which ABI we are using. 7576 # Find out what ABI is being produced by ac_compile, and set mode 7577 # options accordingly. 7359 7578 echo 'int i;' > conftest.$ac_ext 7360 7579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 … … 7365 7584 case `/usr/bin/file conftest.$ac_objext` in 7366 7585 *ELF-32*) 7367 HPUX_IA64_MODE= "32"7586 HPUX_IA64_MODE=32 7368 7587 ;; 7369 7588 *ELF-64*) 7370 HPUX_IA64_MODE= "64"7589 HPUX_IA64_MODE=64 7371 7590 ;; 7372 7591 esac … … 7375 7594 ;; 7376 7595 *-*-irix6*) 7377 # Find out which ABI we are using. 7596 # Find out what ABI is being produced by ac_compile, and set linker 7597 # options accordingly. 7378 7598 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7379 7599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 … … 7382 7602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7383 7603 test $ac_status = 0; }; then 7384 if test "$lt_cv_prog_gnu_ld" = yes; then7604 if test yes = "$lt_cv_prog_gnu_ld"; then 7385 7605 case `/usr/bin/file conftest.$ac_objext` in 7386 7606 *32-bit*) … … 7411 7631 ;; 7412 7632 7413 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7633 mips64*-*linux*) 7634 # Find out what ABI is being produced by ac_compile, and set linker 7635 # options accordingly. 7636 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7638 (eval $ac_compile) 2>&5 7639 ac_status=$? 7640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7641 test $ac_status = 0; }; then 7642 emul=elf 7643 case `/usr/bin/file conftest.$ac_objext` in 7644 *32-bit*) 7645 emul="${emul}32" 7646 ;; 7647 *64-bit*) 7648 emul="${emul}64" 7649 ;; 7650 esac 7651 case `/usr/bin/file conftest.$ac_objext` in 7652 *MSB*) 7653 emul="${emul}btsmip" 7654 ;; 7655 *LSB*) 7656 emul="${emul}ltsmip" 7657 ;; 7658 esac 7659 case `/usr/bin/file conftest.$ac_objext` in 7660 *N32*) 7661 emul="${emul}n32" 7662 ;; 7663 esac 7664 LD="${LD-ld} -m $emul" 7665 fi 7666 rm -rf conftest* 7667 ;; 7668 7669 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7414 7670 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7415 # Find out which ABI we are using. 7671 # Find out what ABI is being produced by ac_compile, and set linker 7672 # options accordingly. Note that the listed cases only cover the 7673 # situations where additional linker options are needed (such as when 7674 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7675 # vice versa); the common cases where no linker options are needed do 7676 # not appear in the list. 7416 7677 echo 'int i;' > conftest.$ac_ext 7417 7678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 … … 7427 7688 ;; 7428 7689 x86_64-*linux*) 7429 LD="${LD-ld} -m elf_i386" 7690 case `/usr/bin/file conftest.o` in 7691 *x86-64*) 7692 LD="${LD-ld} -m elf32_x86_64" 7693 ;; 7694 *) 7695 LD="${LD-ld} -m elf_i386" 7696 ;; 7697 esac 7430 7698 ;; 7431 ppc64-*linux*|powerpc64-*linux*) 7699 powerpc64le-*linux*) 7700 LD="${LD-ld} -m elf32lppclinux" 7701 ;; 7702 powerpc64-*linux*) 7432 7703 LD="${LD-ld} -m elf32ppclinux" 7433 7704 ;; … … 7448 7719 LD="${LD-ld} -m elf_x86_64" 7449 7720 ;; 7450 ppc*-*linux*|powerpc*-*linux*) 7721 powerpcle-*linux*) 7722 LD="${LD-ld} -m elf64lppc" 7723 ;; 7724 powerpc-*linux*) 7451 7725 LD="${LD-ld} -m elf64ppc" 7452 7726 ;; … … 7466 7740 *-*-sco3.2v5*) 7467 7741 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7468 SAVE_CFLAGS= "$CFLAGS"7742 SAVE_CFLAGS=$CFLAGS 7469 7743 CFLAGS="$CFLAGS -belf" 7470 7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 … … 7506 7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7507 7781 $as_echo "$lt_cv_cc_needs_belf" >&6; } 7508 if test x"$lt_cv_cc_needs_belf" != x"yes"; then7782 if test yes != "$lt_cv_cc_needs_belf"; then 7509 7783 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7510 CFLAGS= "$SAVE_CFLAGS"7784 CFLAGS=$SAVE_CFLAGS 7511 7785 fi 7512 7786 ;; 7513 sparc*-*solaris*) 7514 # Find out which ABI we are using. 7787 *-*solaris*) 7788 # Find out what ABI is being produced by ac_compile, and set linker 7789 # options accordingly. 7515 7790 echo 'int i;' > conftest.$ac_ext 7516 7791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 … … 7522 7797 *64-bit*) 7523 7798 case $lt_cv_prog_gnu_ld in 7524 yes*) LD="${LD-ld} -m elf64_sparc" ;; 7799 yes*) 7800 case $host in 7801 i?86-*-solaris*|x86_64-*-solaris*) 7802 LD="${LD-ld} -m elf_x86_64" 7803 ;; 7804 sparc*-*-solaris*) 7805 LD="${LD-ld} -m elf64_sparc" 7806 ;; 7807 esac 7808 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7809 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7810 LD=${LD-ld}_sol2 7811 fi 7812 ;; 7525 7813 *) 7526 7814 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then … … 7536 7824 esac 7537 7825 7538 need_locks= "$enable_libtool_lock"7826 need_locks=$enable_libtool_lock 7539 7827 7540 7828 if test -n "$ac_tool_prefix"; then … … 7555 7843 test -z "$as_dir" && as_dir=. 7556 7844 for ac_exec_ext in '' $ac_executable_extensions; do 7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7558 7846 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7559 7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7595 7883 test -z "$as_dir" && as_dir=. 7596 7884 for ac_exec_ext in '' $ac_executable_extensions; do 7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7598 7886 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7599 7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7647 7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7648 7936 $as_echo "$lt_cv_path_mainfest_tool" >&6; } 7649 if test "x$lt_cv_path_mainfest_tool" != xyes; then7937 if test yes != "$lt_cv_path_mainfest_tool"; then 7650 7938 MANIFEST_TOOL=: 7651 7939 fi … … 7675 7963 test -z "$as_dir" && as_dir=. 7676 7964 for ac_exec_ext in '' $ac_executable_extensions; do 7677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7678 7966 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7679 7967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7715 8003 test -z "$as_dir" && as_dir=. 7716 8004 for ac_exec_ext in '' $ac_executable_extensions; do 7717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7718 8006 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7719 8007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7767 8055 test -z "$as_dir" && as_dir=. 7768 8056 for ac_exec_ext in '' $ac_executable_extensions; do 7769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7770 8058 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7771 8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7807 8095 test -z "$as_dir" && as_dir=. 7808 8096 for ac_exec_ext in '' $ac_executable_extensions; do 7809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7810 8098 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7811 8099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7859 8147 test -z "$as_dir" && as_dir=. 7860 8148 for ac_exec_ext in '' $ac_executable_extensions; do 7861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7862 8150 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7863 8151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7899 8187 test -z "$as_dir" && as_dir=. 7900 8188 for ac_exec_ext in '' $ac_executable_extensions; do 7901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7902 8190 ac_cv_prog_ac_ct_LIPO="lipo" 7903 8191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7951 8239 test -z "$as_dir" && as_dir=. 7952 8240 for ac_exec_ext in '' $ac_executable_extensions; do 7953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7954 8242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7955 8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 7991 8279 test -z "$as_dir" && as_dir=. 7992 8280 for ac_exec_ext in '' $ac_executable_extensions; do 7993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7994 8282 ac_cv_prog_ac_ct_OTOOL="otool" 7995 8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 8043 8331 test -z "$as_dir" && as_dir=. 8044 8332 for ac_exec_ext in '' $ac_executable_extensions; do 8045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8046 8334 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8047 8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 8083 8371 test -z "$as_dir" && as_dir=. 8084 8372 for ac_exec_ext in '' $ac_executable_extensions; do 8085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8086 8374 ac_cv_prog_ac_ct_OTOOL64="otool64" 8087 8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 8150 8438 else 8151 8439 lt_cv_apple_cc_single_mod=no 8152 if test -z "$ {LT_MULTI_MODULE}"; then8440 if test -z "$LT_MULTI_MODULE"; then 8153 8441 # By default we will add the -single_module flag. You can override 8154 8442 # by either setting the environment variable LT_MULTI_MODULE … … 8162 8450 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8163 8451 _lt_result=$? 8164 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 8452 # If there is a non-empty error log, and "single_module" 8453 # appears in it, assume the flag caused a linker warning 8454 if test -s conftest.err && $GREP single_module conftest.err; then 8455 cat conftest.err >&5 8456 # Otherwise, if the output was created with a 0 exit code from 8457 # the compiler, it worked. 8458 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8165 8459 lt_cv_apple_cc_single_mod=yes 8166 8460 else … … 8173 8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8174 8468 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8469 8175 8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8176 8471 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } … … 8200 8495 rm -f core conftest.err conftest.$ac_objext \ 8201 8496 conftest$ac_exeext conftest.$ac_ext 8202 LDFLAGS= "$save_LDFLAGS"8497 LDFLAGS=$save_LDFLAGS 8203 8498 8204 8499 fi 8205 8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8206 8501 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8502 8207 8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8208 8504 $as_echo_n "checking for -force_load linker flag... " >&6; } … … 8226 8522 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8227 8523 _lt_result=$? 8228 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then 8524 if test -s conftest.err && $GREP force_load conftest.err; then 8525 cat conftest.err >&5 8526 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8229 8527 lt_cv_ld_force_load=yes 8230 8528 else … … 8239 8537 case $host_os in 8240 8538 rhapsody* | darwin1.[012]) 8241 _lt_dar_allow_undefined='$ {wl}-undefined ${wl}suppress' ;;8539 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8242 8540 darwin1.*) 8243 _lt_dar_allow_undefined='$ {wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;8541 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8244 8542 darwin*) # darwin 5.x on 8245 8543 # if running on 10.5 or later, the deployment target defaults … … 8248 8546 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8249 8547 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8250 _lt_dar_allow_undefined='$ {wl}-undefined ${wl}dynamic_lookup' ;;8251 10.[012] *)8252 _lt_dar_allow_undefined='$ {wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;8548 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8549 10.[012][,.]*) 8550 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8253 8551 10.*) 8254 _lt_dar_allow_undefined='$ {wl}-undefined ${wl}dynamic_lookup' ;;8552 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8255 8553 esac 8256 8554 ;; 8257 8555 esac 8258 if test "$lt_cv_apple_cc_single_mod" = "yes"; then8556 if test yes = "$lt_cv_apple_cc_single_mod"; then 8259 8557 _lt_dar_single_mod='$single_module' 8260 8558 fi 8261 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then8262 _lt_dar_export_syms=' $ {wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'8559 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8560 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8263 8561 else 8264 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$ {libname}-symbols.expsym ${lib}'8562 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8265 8563 fi 8266 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then8564 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8267 8565 _lt_dsymutil='~$DSYMUTIL $lib || :' 8268 8566 else … … 8271 8569 ;; 8272 8570 esac 8571 8572 # func_munge_path_list VARIABLE PATH 8573 # ----------------------------------- 8574 # VARIABLE is name of variable containing _space_ separated list of 8575 # directories to be munged by the contents of PATH, which is string 8576 # having a format: 8577 # "DIR[:DIR]:" 8578 # string "DIR[ DIR]" will be prepended to VARIABLE 8579 # ":DIR[:DIR]" 8580 # string "DIR[ DIR]" will be appended to VARIABLE 8581 # "DIRP[:DIRP]::[DIRA:]DIRA" 8582 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8583 # "DIRA[ DIRA]" will be appended to VARIABLE 8584 # "DIR[:DIR]" 8585 # VARIABLE will be replaced by "DIR[ DIR]" 8586 func_munge_path_list () 8587 { 8588 case x$2 in 8589 x) 8590 ;; 8591 *:) 8592 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8593 ;; 8594 x:*) 8595 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8596 ;; 8597 *::*) 8598 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8599 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8600 ;; 8601 *) 8602 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8603 ;; 8604 esac 8605 } 8273 8606 8274 8607 for ac_header in dlfcn.h … … 8289 8622 func_stripname_cnf () 8290 8623 { 8291 case $ {2}in8292 .*) func_stripname_result=`$ECHO "$ {3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;8293 *) func_stripname_result=`$ECHO "$ {3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;8624 case $2 in 8625 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 8626 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 8294 8627 esac 8295 8628 } # func_stripname_cnf … … 8309 8642 enable_static=no 8310 8643 # Look at the argument we got. We use all the common list separators. 8311 lt_save_ifs= "$IFS"; IFS="${IFS}$PATH_SEPARATOR,"8644 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8312 8645 for pkg in $enableval; do 8313 IFS= "$lt_save_ifs"8646 IFS=$lt_save_ifs 8314 8647 if test "X$pkg" = "X$p"; then 8315 8648 enable_static=yes 8316 8649 fi 8317 8650 done 8318 IFS= "$lt_save_ifs"8651 IFS=$lt_save_ifs 8319 8652 ;; 8320 8653 esac … … 8347 8680 enable_shared=no 8348 8681 # Look at the argument we got. We use all the common list separators. 8349 lt_save_ifs= "$IFS"; IFS="${IFS}$PATH_SEPARATOR,"8682 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8350 8683 for pkg in $enableval; do 8351 IFS= "$lt_save_ifs"8684 IFS=$lt_save_ifs 8352 8685 if test "X$pkg" = "X$p"; then 8353 8686 enable_shared=yes 8354 8687 fi 8355 8688 done 8356 IFS= "$lt_save_ifs"8689 IFS=$lt_save_ifs 8357 8690 ;; 8358 8691 esac … … 8373 8706 # Check whether --with-pic was given. 8374 8707 if test "${with_pic+set}" = set; then : 8375 withval=$with_pic; pic_mode="$withval" 8708 withval=$with_pic; lt_p=${PACKAGE-default} 8709 case $withval in 8710 yes|no) pic_mode=$withval ;; 8711 *) 8712 pic_mode=default 8713 # Look at the argument we got. We use all the common list separators. 8714 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8715 for lt_pkg in $withval; do 8716 IFS=$lt_save_ifs 8717 if test "X$lt_pkg" = "X$lt_p"; then 8718 pic_mode=yes 8719 fi 8720 done 8721 IFS=$lt_save_ifs 8722 ;; 8723 esac 8376 8724 else 8377 8725 pic_mode=default 8378 8726 fi 8379 8727 8380 8381 test -z "$pic_mode" && pic_mode=default8382 8728 8383 8729 … … 8396 8742 enable_fast_install=no 8397 8743 # Look at the argument we got. We use all the common list separators. 8398 lt_save_ifs= "$IFS"; IFS="${IFS}$PATH_SEPARATOR,"8744 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8399 8745 for pkg in $enableval; do 8400 IFS= "$lt_save_ifs"8746 IFS=$lt_save_ifs 8401 8747 if test "X$pkg" = "X$p"; then 8402 8748 enable_fast_install=yes 8403 8749 fi 8404 8750 done 8405 IFS= "$lt_save_ifs"8751 IFS=$lt_save_ifs 8406 8752 ;; 8407 8753 esac … … 8417 8763 8418 8764 8765 shared_archive_member_spec= 8766 case $host,$enable_shared in 8767 power*-*-aix[5-9]*,yes) 8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8769 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8770 8771 # Check whether --with-aix-soname was given. 8772 if test "${with_aix_soname+set}" = set; then : 8773 withval=$with_aix_soname; case $withval in 8774 aix|svr4|both) 8775 ;; 8776 *) 8777 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8778 ;; 8779 esac 8780 lt_cv_with_aix_soname=$with_aix_soname 8781 else 8782 if ${lt_cv_with_aix_soname+:} false; then : 8783 $as_echo_n "(cached) " >&6 8784 else 8785 lt_cv_with_aix_soname=aix 8786 fi 8787 8788 with_aix_soname=$lt_cv_with_aix_soname 8789 fi 8790 8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8792 $as_echo "$with_aix_soname" >&6; } 8793 if test aix != "$with_aix_soname"; then 8794 # For the AIX way of multilib, we name the shared archive member 8795 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8796 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8797 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8798 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8799 if test 64 = "${OBJECT_MODE-32}"; then 8800 shared_archive_member_spec=shr_64 8801 else 8802 shared_archive_member_spec=shr 8803 fi 8804 fi 8805 ;; 8806 *) 8807 with_aix_soname=aix 8808 ;; 8809 esac 8810 8811 8812 8813 8814 8815 8816 8419 8817 8420 8818 8421 8819 8422 8820 # This can be used to rebuild libtool when needed 8423 LIBTOOL_DEPS= "$ltmain"8821 LIBTOOL_DEPS=$ltmain 8424 8822 8425 8823 # Always use our own libtool. … … 8451 8849 8452 8850 8851 8852 8853 8854 8453 8855 test -z "$LN_S" && LN_S="ln -s" 8454 8856 … … 8466 8868 8467 8869 8468 if test -n "${ZSH_VERSION+set}" 8870 if test -n "${ZSH_VERSION+set}"; then 8469 8871 setopt NO_GLOB_SUBST 8470 8872 fi … … 8505 8907 # reason, if we set the COLLECT_NAMES environment variable, the problems 8506 8908 # vanish in a puff of smoke. 8507 if test "X${COLLECT_NAMES+set}" != Xset; then8909 if test set != "${COLLECT_NAMES+set}"; then 8508 8910 COLLECT_NAMES= 8509 8911 export COLLECT_NAMES … … 8516 8918 can_build_shared=yes 8517 8919 8518 # All known linkers require a `.a' archive for static linking (except MSVC,8920 # All known linkers require a '.a' archive for static linking (except MSVC, 8519 8921 # which needs '.lib'). 8520 8922 libext=a 8521 8923 8522 with_gnu_ld= "$lt_cv_prog_gnu_ld"8523 8524 old_CC= "$CC"8525 old_CFLAGS= "$CFLAGS"8924 with_gnu_ld=$lt_cv_prog_gnu_ld 8925 8926 old_CC=$CC 8927 old_CFLAGS=$CFLAGS 8526 8928 8527 8929 # Set sane defaults for various variables … … 8532 8934 test -z "$ac_objext" && ac_objext=o 8533 8935 8534 for cc_temp in $compiler""; do 8535 case $cc_temp in 8536 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8537 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8538 \-*) ;; 8539 *) break;; 8540 esac 8541 done 8542 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8936 func_cc_basename $compiler 8937 cc_basename=$func_cc_basename_result 8543 8938 8544 8939 … … 8555 8950 case $MAGIC_CMD in 8556 8951 [\\/*] | ?:[\\/]*) 8557 lt_cv_path_MAGIC_CMD= "$MAGIC_CMD"# Let the user override the test with a path.8952 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8558 8953 ;; 8559 8954 *) 8560 lt_save_MAGIC_CMD= "$MAGIC_CMD"8561 lt_save_ifs= "$IFS"; IFS=$PATH_SEPARATOR8955 lt_save_MAGIC_CMD=$MAGIC_CMD 8956 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8562 8957 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8563 8958 for ac_dir in $ac_dummy; do 8564 IFS= "$lt_save_ifs"8959 IFS=$lt_save_ifs 8565 8960 test -z "$ac_dir" && ac_dir=. 8566 if test -f $ac_dir/${ac_tool_prefix}file; then8567 lt_cv_path_MAGIC_CMD= "$ac_dir/${ac_tool_prefix}file"8961 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8962 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8568 8963 if test -n "$file_magic_test_file"; then 8569 8964 case $deplibs_check_method in 8570 8965 "file_magic "*) 8571 8966 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8572 MAGIC_CMD= "$lt_cv_path_MAGIC_CMD"8967 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8573 8968 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8574 8969 $EGREP "$file_magic_regex" > /dev/null; then … … 8593 8988 fi 8594 8989 done 8595 IFS= "$lt_save_ifs"8596 MAGIC_CMD= "$lt_save_MAGIC_CMD"8990 IFS=$lt_save_ifs 8991 MAGIC_CMD=$lt_save_MAGIC_CMD 8597 8992 ;; 8598 8993 esac 8599 8994 fi 8600 8995 8601 MAGIC_CMD= "$lt_cv_path_MAGIC_CMD"8996 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8602 8997 if test -n "$MAGIC_CMD"; then 8603 8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 … … 8621 9016 case $MAGIC_CMD in 8622 9017 [\\/*] | ?:[\\/]*) 8623 lt_cv_path_MAGIC_CMD= "$MAGIC_CMD"# Let the user override the test with a path.9018 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8624 9019 ;; 8625 9020 *) 8626 lt_save_MAGIC_CMD= "$MAGIC_CMD"8627 lt_save_ifs= "$IFS"; IFS=$PATH_SEPARATOR9021 lt_save_MAGIC_CMD=$MAGIC_CMD 9022 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8628 9023 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8629 9024 for ac_dir in $ac_dummy; do 8630 IFS= "$lt_save_ifs"9025 IFS=$lt_save_ifs 8631 9026 test -z "$ac_dir" && ac_dir=. 8632 if test -f $ac_dir/file; then8633 lt_cv_path_MAGIC_CMD= "$ac_dir/file"9027 if test -f "$ac_dir/file"; then 9028 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8634 9029 if test -n "$file_magic_test_file"; then 8635 9030 case $deplibs_check_method in 8636 9031 "file_magic "*) 8637 9032 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8638 MAGIC_CMD= "$lt_cv_path_MAGIC_CMD"9033 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8639 9034 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8640 9035 $EGREP "$file_magic_regex" > /dev/null; then … … 8659 9054 fi 8660 9055 done 8661 IFS= "$lt_save_ifs"8662 MAGIC_CMD= "$lt_save_MAGIC_CMD"9056 IFS=$lt_save_ifs 9057 MAGIC_CMD=$lt_save_MAGIC_CMD 8663 9058 ;; 8664 9059 esac 8665 9060 fi 8666 9061 8667 MAGIC_CMD= "$lt_cv_path_MAGIC_CMD"9062 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8668 9063 if test -n "$MAGIC_CMD"; then 8669 9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 … … 8686 9081 # Use C for the default configuration in the libtool script 8687 9082 8688 lt_save_CC= "$CC"9083 lt_save_CC=$CC 8689 9084 ac_ext=c 8690 9085 ac_cpp='$CPP $CPPFLAGS' … … 8748 9143 lt_prog_compiler_no_builtin_flag= 8749 9144 8750 if test "$GCC" = yes; then9145 if test yes = "$GCC"; then 8751 9146 case $cc_basename in 8752 9147 nvcc*) … … 8764 9159 ac_outfile=conftest.$ac_objext 8765 9160 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8766 lt_compiler_flag="-fno-rtti -fno-exceptions" 9161 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8767 9162 # Insert the option either (1) after the last *FLAGS variable, or 8768 9163 # (2) before a word containing "conftest.", or (3) at the end. … … 8794 9189 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8795 9190 8796 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then9191 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8797 9192 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8798 9193 else … … 8812 9207 8813 9208 8814 if test "$GCC" = yes; then9209 if test yes = "$GCC"; then 8815 9210 lt_prog_compiler_wl='-Wl,' 8816 9211 lt_prog_compiler_static='-static' … … 8819 9214 aix*) 8820 9215 # All AIX code is PIC. 8821 if test "$host_cpu" = ia64; then9216 if test ia64 = "$host_cpu"; then 8822 9217 # AIX 5 now supports IA64 processor 8823 9218 lt_prog_compiler_static='-Bstatic' 8824 9219 fi 9220 lt_prog_compiler_pic='-fPIC' 8825 9221 ;; 8826 9222 … … 8833 9229 m68k) 8834 9230 # FIXME: we need at least 68020 code to build shared libraries, but 8835 # adding the `-m68020' flag to GCC prevents building anything better,8836 # like `-m68040'.9231 # adding the '-m68020' flag to GCC prevents building anything better, 9232 # like '-m68040'. 8837 9233 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8838 9234 ;; … … 8850 9246 # (--disable-auto-import) libraries 8851 9247 lt_prog_compiler_pic='-DDLL_EXPORT' 9248 case $host_os in 9249 os2*) 9250 lt_prog_compiler_static='$wl-static' 9251 ;; 9252 esac 8852 9253 ;; 8853 9254 … … 8910 9311 nvcc*) # Cuda Compiler Driver 2.2 8911 9312 lt_prog_compiler_wl='-Xlinker ' 8912 lt_prog_compiler_pic='-Xcompiler -fPIC' 9313 if test -n "$lt_prog_compiler_pic"; then 9314 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9315 fi 8913 9316 ;; 8914 9317 esac … … 8918 9321 aix*) 8919 9322 lt_prog_compiler_wl='-Wl,' 8920 if test "$host_cpu" = ia64; then9323 if test ia64 = "$host_cpu"; then 8921 9324 # AIX 5 now supports IA64 processor 8922 9325 lt_prog_compiler_static='-Bstatic' … … 8926 9329 ;; 8927 9330 9331 darwin* | rhapsody*) 9332 # PIC is the default on this platform 9333 # Common symbols not allowed in MH_DYLIB files 9334 lt_prog_compiler_pic='-fno-common' 9335 case $cc_basename in 9336 nagfor*) 9337 # NAG Fortran compiler 9338 lt_prog_compiler_wl='-Wl,-Wl,,' 9339 lt_prog_compiler_pic='-PIC' 9340 lt_prog_compiler_static='-Bstatic' 9341 ;; 9342 esac 9343 ;; 9344 8928 9345 mingw* | cygwin* | pw32* | os2* | cegcc*) 8929 9346 # This hack is so that the source file can tell whether it is being 8930 9347 # built for inclusion in a dll (and should export symbols for example). 8931 9348 lt_prog_compiler_pic='-DDLL_EXPORT' 9349 case $host_os in 9350 os2*) 9351 lt_prog_compiler_static='$wl-static' 9352 ;; 9353 esac 8932 9354 ;; 8933 9355 … … 8945 9367 esac 8946 9368 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8947 lt_prog_compiler_static='$ {wl}-a ${wl}archive'9369 lt_prog_compiler_static='$wl-a ${wl}archive' 8948 9370 ;; 8949 9371 … … 8954 9376 ;; 8955 9377 8956 linux* | k*bsd*-gnu | kopensolaris*-gnu )9378 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8957 9379 case $cc_basename in 8958 # old Intel for x86_64 which still supported -KPIC.9380 # old Intel for x86_64, which still supported -KPIC. 8959 9381 ecc*) 8960 9382 lt_prog_compiler_wl='-Wl,' … … 8981 9403 lt_prog_compiler_static='-Bstatic' 8982 9404 ;; 9405 tcc*) 9406 # Fabrice Bellard et al's Tiny C Compiler 9407 lt_prog_compiler_wl='-Wl,' 9408 lt_prog_compiler_pic='-fPIC' 9409 lt_prog_compiler_static='-static' 9410 ;; 8983 9411 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8984 9412 # Portland Group compilers (*not* the Pentium gcc compiler, … … 9001 9429 *) 9002 9430 case `$CC -V 2>&1 | sed 5q` in 9003 *Sun\ F* | *Sun*Fortran*)9431 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9004 9432 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9005 9433 lt_prog_compiler_pic='-KPIC' 9006 9434 lt_prog_compiler_static='-Bstatic' 9007 9435 lt_prog_compiler_wl='' 9436 ;; 9437 *Sun\ F* | *Sun*Fortran*) 9438 lt_prog_compiler_pic='-KPIC' 9439 lt_prog_compiler_static='-Bstatic' 9440 lt_prog_compiler_wl='-Qoption ld ' 9008 9441 ;; 9009 9442 *Sun\ C*) … … 9012 9445 lt_prog_compiler_static='-Bstatic' 9013 9446 lt_prog_compiler_wl='-Wl,' 9447 ;; 9448 *Intel*\ [CF]*Compiler*) 9449 lt_prog_compiler_wl='-Wl,' 9450 lt_prog_compiler_pic='-fPIC' 9451 lt_prog_compiler_static='-static' 9452 ;; 9453 *Portland\ Group*) 9454 lt_prog_compiler_wl='-Wl,' 9455 lt_prog_compiler_pic='-fpic' 9456 lt_prog_compiler_static='-Bstatic' 9014 9457 ;; 9015 9458 esac … … 9063 9506 9064 9507 sysv4*MP*) 9065 if test -d /usr/nec ;then9508 if test -d /usr/nec; then 9066 9509 lt_prog_compiler_pic='-Kconform_pic' 9067 9510 lt_prog_compiler_static='-Bstatic' … … 9092 9535 9093 9536 case $host_os in 9094 # For platforms whichdo not support PIC, -DPIC is meaningless:9537 # For platforms that do not support PIC, -DPIC is meaningless: 9095 9538 *djgpp*) 9096 9539 lt_prog_compiler_pic= … … 9124 9567 ac_outfile=conftest.$ac_objext 9125 9568 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9126 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9569 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9127 9570 # Insert the option either (1) after the last *FLAGS variable, or 9128 9571 # (2) before a word containing "conftest.", or (3) at the end. … … 9154 9597 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9155 9598 9156 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then9599 if test yes = "$lt_cv_prog_compiler_pic_works"; then 9157 9600 case $lt_prog_compiler_pic in 9158 9601 "" | " "*) ;; … … 9186 9629 else 9187 9630 lt_cv_prog_compiler_static_works=no 9188 save_LDFLAGS= "$LDFLAGS"9631 save_LDFLAGS=$LDFLAGS 9189 9632 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9190 9633 echo "$lt_simple_link_test_code" > conftest.$ac_ext … … 9205 9648 fi 9206 9649 $RM -r conftest* 9207 LDFLAGS= "$save_LDFLAGS"9650 LDFLAGS=$save_LDFLAGS 9208 9651 9209 9652 fi … … 9211 9654 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9212 9655 9213 if test x"$lt_cv_prog_compiler_static_works" = xyes; then9656 if test yes = "$lt_cv_prog_compiler_static_works"; then 9214 9657 : 9215 9658 else … … 9331 9774 9332 9775 9333 hard_links= "nottested"9334 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then9776 hard_links=nottested 9777 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9335 9778 # do not overwrite the value of need_locks provided by the user 9336 9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 … … 9344 9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9345 9788 $as_echo "$hard_links" >&6; } 9346 if test "$hard_links" = no; then9347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&59348 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}9789 if test no = "$hard_links"; then 9790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9791 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9349 9792 need_locks=warn 9350 9793 fi … … 9374 9817 hardcode_direct_absolute=no 9375 9818 hardcode_libdir_flag_spec= 9376 hardcode_libdir_flag_spec_ld=9377 9819 hardcode_libdir_separator= 9378 9820 hardcode_minus_L=no … … 9390 9832 include_expsyms= 9391 9833 # exclude_expsyms can be an extended regexp of symbols to exclude 9392 # it will be wrapped by ` (' and `)$', so one must not match beginning or9393 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',9394 # as well as any symbol that contains `d'.9834 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9835 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9836 # as well as any symbol that contains 'd'. 9395 9837 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9396 9838 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out … … 9407 9849 # When not using gcc, we currently assume that we are using 9408 9850 # Microsoft Visual C++. 9409 if test "$GCC" != yes; then9851 if test yes != "$GCC"; then 9410 9852 with_gnu_ld=no 9411 9853 fi … … 9415 9857 with_gnu_ld=yes 9416 9858 ;; 9417 openbsd* )9859 openbsd* | bitrig*) 9418 9860 with_gnu_ld=no 9419 9861 ;; … … 9428 9870 # that we're better off using the native interface for both. 9429 9871 lt_use_gnu_ld_interface=no 9430 if test "$with_gnu_ld" = yes; then9872 if test yes = "$with_gnu_ld"; then 9431 9873 case $host_os in 9432 9874 aix*) … … 9450 9892 fi 9451 9893 9452 if test "$lt_use_gnu_ld_interface" = yes; then9894 if test yes = "$lt_use_gnu_ld_interface"; then 9453 9895 # If archive_cmds runs LD, not CC, wlarc should be empty 9454 wlarc='$ {wl}'9896 wlarc='$wl' 9455 9897 9456 9898 # Set some defaults for GNU ld with shared library support. These … … 9458 9900 # here allows them to be overridden if necessary. 9459 9901 runpath_var=LD_RUN_PATH 9460 hardcode_libdir_flag_spec='$ {wl}-rpath ${wl}$libdir'9461 export_dynamic_flag_spec='$ {wl}--export-dynamic'9902 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9903 export_dynamic_flag_spec='$wl--export-dynamic' 9462 9904 # ancient GNU ld didn't support --whole-archive et. al. 9463 9905 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9464 whole_archive_flag_spec= "$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'9906 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9465 9907 else 9466 9908 whole_archive_flag_spec= 9467 9909 fi 9468 9910 supports_anon_versioning=no 9469 case `$LD -v 2>&1` in9911 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9470 9912 *GNU\ gold*) supports_anon_versioning=yes ;; 9471 9913 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 … … 9480 9922 aix[3-9]*) 9481 9923 # On AIX/PPC, the GNU linker is very broken 9482 if test "$host_cpu" != ia64; then9924 if test ia64 != "$host_cpu"; then 9483 9925 ld_shlibs=no 9484 9926 cat <<_LT_EOF 1>&2 … … 9499 9941 powerpc) 9500 9942 # see comment about AmigaOS4 .so support 9501 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9943 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9502 9944 archive_expsym_cmds='' 9503 9945 ;; … … 9515 9957 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9516 9958 # support --undefined. This deserves some investigation. FIXME 9517 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9959 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9518 9960 else 9519 9961 ld_shlibs=no … … 9525 9967 # as there is no search path for DLLs. 9526 9968 hardcode_libdir_flag_spec='-L$libdir' 9527 export_dynamic_flag_spec='$ {wl}--export-all-symbols'9969 export_dynamic_flag_spec='$wl--export-all-symbols' 9528 9970 allow_undefined_flag=unsupported 9529 9971 always_export_symbols=no … … 9533 9975 9534 9976 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9535 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $ {wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'9536 # If the export-symbols file already is a .def file (1st line9537 # is EXPORTS), use it as is; otherwise, prepend...9538 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then9539 9540 9541 9542 9543 9544 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'9977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9978 # If the export-symbols file already is a .def file, use it as 9979 # is; otherwise, prepend EXPORTS... 9980 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9981 cp $export_symbols $output_objdir/$soname.def; 9982 else 9983 echo EXPORTS > $output_objdir/$soname.def; 9984 cat $export_symbols >> $output_objdir/$soname.def; 9985 fi~ 9986 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9545 9987 else 9546 9988 ld_shlibs=no … … 9549 9991 9550 9992 haiku*) 9551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9993 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9552 9994 link_all_deplibs=yes 9995 ;; 9996 9997 os2*) 9998 hardcode_libdir_flag_spec='-L$libdir' 9999 hardcode_minus_L=yes 10000 allow_undefined_flag=unsupported 10001 shrext_cmds=.dll 10002 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10003 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10004 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10005 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10006 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10007 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10008 emximp -o $lib $output_objdir/$libname.def' 10009 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10010 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10011 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10012 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10013 prefix_cmds="$SED"~ 10014 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10015 prefix_cmds="$prefix_cmds -e 1d"; 10016 fi~ 10017 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10018 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10019 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10020 emximp -o $lib $output_objdir/$libname.def' 10021 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10022 enable_shared_with_static_runtimes=yes 9553 10023 ;; 9554 10024 … … 9556 10026 hardcode_direct=no 9557 10027 hardcode_shlibpath_var=no 9558 hardcode_libdir_flag_spec='$ {wl}-rpath,$libdir'9559 export_dynamic_flag_spec='$ {wl}-E'10028 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10029 export_dynamic_flag_spec='$wl-E' 9560 10030 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9561 10031 # Instead, shared libraries are loaded at an image base (0x10000000 by … … 9564 10034 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9565 10035 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9566 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'9567 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'10036 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10037 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' 9568 10038 ;; 9569 10039 9570 10040 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9571 10041 tmp_diet=no 9572 if test "$host_os" = linux-dietlibc; then10042 if test linux-dietlibc = "$host_os"; then 9573 10043 case $cc_basename in 9574 10044 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) … … 9576 10046 fi 9577 10047 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9578 && test "$tmp_diet" = no10048 && test no = "$tmp_diet" 9579 10049 then 9580 10050 tmp_addflag=' $pic_flag' … … 9582 10052 case $cc_basename,$host_cpu in 9583 10053 pgcc*) # Portland Group C compiler 9584 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'10054 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' 9585 10055 tmp_addflag=' $pic_flag' 9586 10056 ;; 9587 10057 pgf77* | pgf90* | pgf95* | pgfortran*) 9588 10058 # Portland Group f77 and f90 compilers 9589 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'10059 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' 9590 10060 tmp_addflag=' $pic_flag -Mnomain' ;; 9591 10061 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 … … 9598 10068 whole_archive_flag_spec= 9599 10069 tmp_sharedflag='--shared' ;; 10070 nagfor*) # NAGFOR 5.3 10071 tmp_sharedflag='-Wl,-shared' ;; 9600 10072 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9601 10073 tmp_sharedflag='-qmkshrobj' 9602 10074 tmp_addflag= ;; 9603 10075 nvcc*) # Cuda Compiler Driver 2.2 9604 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'10076 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' 9605 10077 compiler_needs_object=yes 9606 10078 ;; … … 9608 10080 case `$CC -V 2>&1 | sed 5q` in 9609 10081 *Sun\ C*) # Sun C 5.9 9610 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'10082 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' 9611 10083 compiler_needs_object=yes 9612 10084 tmp_sharedflag='-G' ;; … … 9614 10086 tmp_sharedflag='-G' ;; 9615 10087 esac 9616 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9617 9618 if test "x$supports_anon_versioning" = xyes; then10088 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10089 10090 if test yes = "$supports_anon_versioning"; then 9619 10091 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9620 9621 9622 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'10092 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10093 echo "local: *; };" >> $output_objdir/$libname.ver~ 10094 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9623 10095 fi 9624 10096 9625 10097 case $cc_basename in 10098 tcc*) 10099 export_dynamic_flag_spec='-rdynamic' 10100 ;; 9626 10101 xlf* | bgf* | bgxlf* | mpixlf*) 9627 10102 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9628 10103 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9629 hardcode_libdir_flag_spec= 9630 hardcode_libdir_flag_spec_ld='-rpath $libdir' 10104 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9631 10105 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9632 if test "x$supports_anon_versioning" = xyes; then10106 if test yes = "$supports_anon_versioning"; then 9633 10107 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9634 9635 9636 10108 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10109 echo "local: *; };" >> $output_objdir/$libname.ver~ 10110 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9637 10111 fi 9638 10112 ;; … … 9648 10122 wlarc= 9649 10123 else 9650 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9651 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'10124 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10125 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9652 10126 fi 9653 10127 ;; … … 9667 10141 _LT_EOF 9668 10142 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9669 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9670 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'10143 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10144 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9671 10145 else 9672 10146 ld_shlibs=no … … 9680 10154 cat <<_LT_EOF 1>&2 9681 10155 9682 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can 10156 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9683 10157 *** reliably create shared libraries on SCO systems. Therefore, libtool 9684 10158 *** is disabling shared libraries support. We urge you to upgrade GNU … … 9695 10169 # requires that you compile everything twice, which is a pain. 9696 10170 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9697 hardcode_libdir_flag_spec='$ {wl}-rpath ${wl}$libdir'9698 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9699 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'10171 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10172 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10173 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9700 10174 else 9701 10175 ld_shlibs=no … … 9714 10188 *) 9715 10189 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9716 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'9717 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'10190 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10191 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9718 10192 else 9719 10193 ld_shlibs=no … … 9722 10196 esac 9723 10197 9724 if test "$ld_shlibs" = no; then10198 if test no = "$ld_shlibs"; then 9725 10199 runpath_var= 9726 10200 hardcode_libdir_flag_spec= … … 9738 10212 # are no directories specified by -L. 9739 10213 hardcode_minus_L=yes 9740 if test "$GCC" = yes&& test -z "$lt_prog_compiler_static"; then10214 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9741 10215 # Neither direct hardcoding nor static linking is supported with a 9742 10216 # broken collect2. … … 9746 10220 9747 10221 aix[4-9]*) 9748 if test "$host_cpu" = ia64; then10222 if test ia64 = "$host_cpu"; then 9749 10223 # On IA64, the linker does run time linking by default, so we don't 9750 10224 # have to do anything special. 9751 10225 aix_use_runtimelinking=no 9752 10226 exp_sym_flag='-Bexport' 9753 no_entry_flag= ""10227 no_entry_flag= 9754 10228 else 9755 10229 # If we're using GNU nm, then we don't want the "-C" option. 9756 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9757 # Also, AIX nm treats weak defined symbols like other global 9758 # defined symbols, whereas GNU nm marks them as "W". 10230 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10231 # Without the "-l" option, or with the "-B" option, AIX nm treats 10232 # weak defined symbols like other global defined symbols, whereas 10233 # GNU nm marks them as "W". 10234 # While the 'weak' keyword is ignored in the Export File, we need 10235 # it in the Import File for the 'aix-soname' feature, so we have 10236 # to replace the "-B" option with "-P" for AIX nm. 9759 10237 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9760 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'10238 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9761 10239 else 9762 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'10240 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9763 10241 fi 9764 10242 aix_use_runtimelinking=no … … 9766 10244 # Test if we are trying to use run time linking or normal 9767 10245 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9768 # need to do runtime linking. 10246 # have runtime linking enabled, and use it for executables. 10247 # For shared libraries, we enable/disable runtime linking 10248 # depending on the kind of the shared library created - 10249 # when "with_aix_soname,aix_use_runtimelinking" is: 10250 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10251 # "aix,yes" lib.so shared, rtl:yes, for executables 10252 # lib.a static archive 10253 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10254 # lib.a(lib.so.V) shared, rtl:no, for executables 10255 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10256 # lib.a(lib.so.V) shared, rtl:no 10257 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10258 # lib.a static archive 9769 10259 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9770 10260 for ld_flag in $LDFLAGS; do 9771 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then10261 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9772 10262 aix_use_runtimelinking=yes 9773 10263 break 9774 10264 fi 9775 10265 done 10266 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10267 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10268 # so we don't have lib.a shared libs to link our executables. 10269 # We have to force runtime linking in this case. 10270 aix_use_runtimelinking=yes 10271 LDFLAGS="$LDFLAGS -Wl,-brtl" 10272 fi 9776 10273 ;; 9777 10274 esac … … 9792 10289 hardcode_libdir_separator=':' 9793 10290 link_all_deplibs=yes 9794 file_list_spec='${wl}-f,' 9795 9796 if test "$GCC" = yes; then 10291 file_list_spec='$wl-f,' 10292 case $with_aix_soname,$aix_use_runtimelinking in 10293 aix,*) ;; # traditional, no import file 10294 svr4,* | *,yes) # use import file 10295 # The Import File defines what to hardcode. 10296 hardcode_direct=no 10297 hardcode_direct_absolute=no 10298 ;; 10299 esac 10300 10301 if test yes = "$GCC"; then 9797 10302 case $host_os in aix4.[012]|aix4.[012].*) 9798 10303 # We only want to do this on AIX 4.2 and lower, the check 9799 10304 # below for broken collect2 doesn't work under 4.3+ 9800 collect2name=`$ {CC}-print-prog-name=collect2`10305 collect2name=`$CC -print-prog-name=collect2` 9801 10306 if test -f "$collect2name" && 9802 10307 strings "$collect2name" | $GREP resolve_lib_name >/dev/null … … 9817 10322 esac 9818 10323 shared_flag='-shared' 9819 if test "$aix_use_runtimelinking" = yes; then9820 shared_flag="$shared_flag "'$ {wl}-G'10324 if test yes = "$aix_use_runtimelinking"; then 10325 shared_flag="$shared_flag "'$wl-G' 9821 10326 fi 9822 link_all_deplibs=no 10327 # Need to ensure runtime linking is disabled for the traditional 10328 # shared library, or the linker may eventually find shared libraries 10329 # /with/ Import File - we do not want to mix them. 10330 shared_flag_aix='-shared' 10331 shared_flag_svr4='-shared $wl-G' 9823 10332 else 9824 10333 # not using gcc 9825 if test "$host_cpu" = ia64; then10334 if test ia64 = "$host_cpu"; then 9826 10335 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9827 10336 # chokes on -Wl,-G. The following line is correct: 9828 10337 shared_flag='-G' 9829 10338 else 9830 if test "$aix_use_runtimelinking" = yes; then9831 shared_flag='$ {wl}-G'10339 if test yes = "$aix_use_runtimelinking"; then 10340 shared_flag='$wl-G' 9832 10341 else 9833 shared_flag='$ {wl}-bM:SRE'10342 shared_flag='$wl-bM:SRE' 9834 10343 fi 10344 shared_flag_aix='$wl-bM:SRE' 10345 shared_flag_svr4='$wl-G' 9835 10346 fi 9836 10347 fi 9837 10348 9838 export_dynamic_flag_spec='$ {wl}-bexpall'10349 export_dynamic_flag_spec='$wl-bexpall' 9839 10350 # It seems that -bexpall does not export symbols beginning with 9840 10351 # underscore (_), so it is better to generate a list of symbols to export. 9841 10352 always_export_symbols=yes 9842 if test "$aix_use_runtimelinking" = yes; then10353 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9843 10354 # Warning - without using the other runtime loading flags (-brtl), 9844 10355 # -berok will link without error, but may produce a broken library. … … 9846 10357 # Determine the default libpath from the value encoded in an 9847 10358 # empty executable. 9848 if test "${lt_cv_aix_libpath+set}" = set; then10359 if test set = "${lt_cv_aix_libpath+set}"; then 9849 10360 aix_libpath=$lt_cv_aix_libpath 9850 10361 else … … 9881 10392 conftest$ac_exeext conftest.$ac_ext 9882 10393 if test -z "$lt_cv_aix_libpath_"; then 9883 lt_cv_aix_libpath_= "/usr/lib:/lib"10394 lt_cv_aix_libpath_=/usr/lib:/lib 9884 10395 fi 9885 10396 … … 9889 10400 fi 9890 10401 9891 hardcode_libdir_flag_spec='$ {wl}-blibpath:$libdir:'"$aix_libpath"9892 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"10402 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10403 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 9893 10404 else 9894 if test "$host_cpu" = ia64; then9895 hardcode_libdir_flag_spec='$ {wl}-R $libdir:/usr/lib:/lib'10405 if test ia64 = "$host_cpu"; then 10406 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9896 10407 allow_undefined_flag="-z nodefs" 9897 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"10408 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" 9898 10409 else 9899 10410 # Determine the default libpath from the value encoded in an 9900 10411 # empty executable. 9901 if test "${lt_cv_aix_libpath+set}" = set; then10412 if test set = "${lt_cv_aix_libpath+set}"; then 9902 10413 aix_libpath=$lt_cv_aix_libpath 9903 10414 else … … 9934 10445 conftest$ac_exeext conftest.$ac_ext 9935 10446 if test -z "$lt_cv_aix_libpath_"; then 9936 lt_cv_aix_libpath_= "/usr/lib:/lib"10447 lt_cv_aix_libpath_=/usr/lib:/lib 9937 10448 fi 9938 10449 … … 9942 10453 fi 9943 10454 9944 hardcode_libdir_flag_spec='$ {wl}-blibpath:$libdir:'"$aix_libpath"10455 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9945 10456 # Warning - without using the other run time loading flags, 9946 10457 # -berok will link without error, but may produce a broken library. 9947 no_undefined_flag=' $ {wl}-bernotok'9948 allow_undefined_flag=' $ {wl}-berok'9949 if test "$with_gnu_ld" = yes; then10458 no_undefined_flag=' $wl-bernotok' 10459 allow_undefined_flag=' $wl-berok' 10460 if test yes = "$with_gnu_ld"; then 9950 10461 # We only use this code for GNU lds that support --whole-archive. 9951 whole_archive_flag_spec='$ {wl}--whole-archive$convenience ${wl}--no-whole-archive'10462 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9952 10463 else 9953 10464 # Exported symbols can be pulled into shared objects from archives … … 9955 10466 fi 9956 10467 archive_cmds_need_lc=yes 9957 # This is similar to how AIX traditionally builds its shared libraries. 9958 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' 10468 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10469 # -brtl affects multiple linker settings, -berok does not and is overridden later 10470 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10471 if test svr4 != "$with_aix_soname"; then 10472 # This is similar to how AIX traditionally builds its shared libraries. 10473 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 10474 fi 10475 if test aix != "$with_aix_soname"; then 10476 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 10477 else 10478 # used by -dlpreopen to get the symbols 10479 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10480 fi 10481 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9959 10482 fi 9960 10483 fi … … 9965 10488 powerpc) 9966 10489 # see comment about AmigaOS4 .so support 9967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'10490 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9968 10491 archive_expsym_cmds='' 9969 10492 ;; … … 9995 10518 libext=lib 9996 10519 # Tell ltmain to make .dll files, not .so files. 9997 shrext_cmds= ".dll"10520 shrext_cmds=.dll 9998 10521 # FIXME: Setting linknames here is a bad hack. 9999 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 10000 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 10001 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 10002 else 10003 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 10004 fi~ 10005 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10006 linknames=' 10522 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10523 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10524 cp "$export_symbols" "$output_objdir/$soname.def"; 10525 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10526 else 10527 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10528 fi~ 10529 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10530 linknames=' 10007 10531 # The linker will not automatically build a static lib if we build a DLL. 10008 10532 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10009 10533 enable_shared_with_static_runtimes=yes 10534 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10010 10535 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10011 10536 # Don't use ranlib 10012 10537 old_postinstall_cmds='chmod 644 $oldlib' 10013 10538 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10014 10015 10016 10017 10018 lt_outputfile="$lt_outputfile.exe" 10019 lt_tool_outputfile="$lt_tool_outputfile.exe" 10020 10021 10022 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then10023 10024 10025 10539 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10540 case $lt_outputfile in 10541 *.exe|*.EXE) ;; 10542 *) 10543 lt_outputfile=$lt_outputfile.exe 10544 lt_tool_outputfile=$lt_tool_outputfile.exe 10545 ;; 10546 esac~ 10547 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10548 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10549 $RM "$lt_outputfile.manifest"; 10550 fi' 10026 10551 ;; 10027 10552 *) … … 10032 10557 libext=lib 10033 10558 # Tell ltmain to make .dll files, not .so files. 10034 shrext_cmds= ".dll"10559 shrext_cmds=.dll 10035 10560 # FIXME: Setting linknames here is a bad hack. 10036 10561 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' … … 10051 10576 hardcode_automatic=yes 10052 10577 hardcode_shlibpath_var=unsupported 10053 if test "$lt_cv_ld_force_load" = "yes"; then 10054 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\"`' 10578 if test yes = "$lt_cv_ld_force_load"; then 10579 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\"`' 10580 10055 10581 else 10056 10582 whole_archive_flag_spec='' 10057 10583 fi 10058 10584 link_all_deplibs=yes 10059 allow_undefined_flag= "$_lt_dar_allow_undefined"10585 allow_undefined_flag=$_lt_dar_allow_undefined 10060 10586 case $cc_basename in 10061 ifort* ) _lt_dar_can_shared=yes ;;10587 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10062 10588 *) _lt_dar_can_shared=$GCC ;; 10063 10589 esac 10064 if test "$_lt_dar_can_shared" = "yes"; then10590 if test yes = "$_lt_dar_can_shared"; then 10065 10591 output_verbose_link_cmd=func_echo_all 10066 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$ {_lt_dsymutil}"10067 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$ {_lt_dsymutil}"10068 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}"10069 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}"10592 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10593 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10594 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" 10595 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" 10070 10596 10071 10597 else … … 10079 10605 hardcode_libdir_flag_spec='-L$libdir' 10080 10606 hardcode_shlibpath_var=no 10081 ;;10082 10083 freebsd1*)10084 ld_shlibs=no10085 10607 ;; 10086 10608 … … 10097 10619 10098 10620 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10099 freebsd2 *)10621 freebsd2.*) 10100 10622 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10101 10623 hardcode_direct=yes … … 10113 10635 10114 10636 hpux9*) 10115 if test "$GCC" = yes; then10116 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'10637 if test yes = "$GCC"; then 10638 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' 10117 10639 else 10118 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'10640 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' 10119 10641 fi 10120 hardcode_libdir_flag_spec='$ {wl}+b ${wl}$libdir'10642 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10121 10643 hardcode_libdir_separator=: 10122 10644 hardcode_direct=yes … … 10125 10647 # but as the default location of the library. 10126 10648 hardcode_minus_L=yes 10127 export_dynamic_flag_spec='$ {wl}-E'10649 export_dynamic_flag_spec='$wl-E' 10128 10650 ;; 10129 10651 10130 10652 hpux10*) 10131 if test "$GCC" = yes && test "$with_gnu_ld" = no; then10132 archive_cmds='$CC -shared $pic_flag $ {wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'10653 if test yes,no = "$GCC,$with_gnu_ld"; then 10654 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10133 10655 else 10134 10656 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10135 10657 fi 10136 if test "$with_gnu_ld" = no; then 10137 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10138 hardcode_libdir_flag_spec_ld='+b $libdir' 10658 if test no = "$with_gnu_ld"; then 10659 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10139 10660 hardcode_libdir_separator=: 10140 10661 hardcode_direct=yes 10141 10662 hardcode_direct_absolute=yes 10142 export_dynamic_flag_spec='$ {wl}-E'10663 export_dynamic_flag_spec='$wl-E' 10143 10664 # hardcode_minus_L: Not really in the search PATH, 10144 10665 # but as the default location of the library. … … 10148 10669 10149 10670 hpux11*) 10150 if test "$GCC" = yes && test "$with_gnu_ld" = no; then10671 if test yes,no = "$GCC,$with_gnu_ld"; then 10151 10672 case $host_cpu in 10152 10673 hppa*64*) 10153 archive_cmds='$CC -shared $ {wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'10674 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10154 10675 ;; 10155 10676 ia64*) 10156 archive_cmds='$CC -shared $pic_flag $ {wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'10677 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10157 10678 ;; 10158 10679 *) 10159 archive_cmds='$CC -shared $pic_flag $ {wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'10680 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10160 10681 ;; 10161 10682 esac … … 10163 10684 case $host_cpu in 10164 10685 hppa*64*) 10165 archive_cmds='$CC -b $ {wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'10686 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10166 10687 ;; 10167 10688 ia64*) 10168 archive_cmds='$CC -b $ {wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'10689 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10169 10690 ;; 10170 10691 *) … … 10178 10699 else 10179 10700 lt_cv_prog_compiler__b=no 10180 save_LDFLAGS= "$LDFLAGS"10701 save_LDFLAGS=$LDFLAGS 10181 10702 LDFLAGS="$LDFLAGS -b" 10182 10703 echo "$lt_simple_link_test_code" > conftest.$ac_ext … … 10197 10718 fi 10198 10719 $RM -r conftest* 10199 LDFLAGS= "$save_LDFLAGS"10720 LDFLAGS=$save_LDFLAGS 10200 10721 10201 10722 fi … … 10203 10724 $as_echo "$lt_cv_prog_compiler__b" >&6; } 10204 10725 10205 if test x"$lt_cv_prog_compiler__b" = xyes; then10206 archive_cmds='$CC -b $ {wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'10726 if test yes = "$lt_cv_prog_compiler__b"; then 10727 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10207 10728 else 10208 10729 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' … … 10212 10733 esac 10213 10734 fi 10214 if test "$with_gnu_ld" = no; then10215 hardcode_libdir_flag_spec='$ {wl}+b ${wl}$libdir'10735 if test no = "$with_gnu_ld"; then 10736 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10216 10737 hardcode_libdir_separator=: 10217 10738 … … 10224 10745 hardcode_direct=yes 10225 10746 hardcode_direct_absolute=yes 10226 export_dynamic_flag_spec='$ {wl}-E'10747 export_dynamic_flag_spec='$wl-E' 10227 10748 10228 10749 # hardcode_minus_L: Not really in the search PATH, … … 10235 10756 10236 10757 irix5* | irix6* | nonstopux*) 10237 if test "$GCC" = yes; then10238 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'10758 if test yes = "$GCC"; then 10759 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' 10239 10760 # Try to use the -exported_symbol ld option, if it does not 10240 10761 # work, assume that -exports_file does not work either and … … 10246 10767 $as_echo_n "(cached) " >&6 10247 10768 else 10248 save_LDFLAGS= "$LDFLAGS"10249 LDFLAGS="$LDFLAGS -shared $ {wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"10769 save_LDFLAGS=$LDFLAGS 10770 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10250 10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10251 10772 /* end confdefs.h. */ … … 10259 10780 rm -f core conftest.err conftest.$ac_objext \ 10260 10781 conftest$ac_exeext conftest.$ac_ext 10261 LDFLAGS= "$save_LDFLAGS"10782 LDFLAGS=$save_LDFLAGS 10262 10783 fi 10263 10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10264 10785 $as_echo "$lt_cv_irix_exported_symbol" >&6; } 10265 if test "$lt_cv_irix_exported_symbol" = yes; then10266 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'10786 if test yes = "$lt_cv_irix_exported_symbol"; then 10787 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' 10267 10788 fi 10789 link_all_deplibs=no 10268 10790 else 10269 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'10270 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'10791 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' 10792 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' 10271 10793 fi 10272 10794 archive_cmds_need_lc='no' 10273 hardcode_libdir_flag_spec='$ {wl}-rpath ${wl}$libdir'10795 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10274 10796 hardcode_libdir_separator=: 10275 10797 inherit_rpath=yes 10276 10798 link_all_deplibs=yes 10799 ;; 10800 10801 linux*) 10802 case $cc_basename in 10803 tcc*) 10804 # Fabrice Bellard et al's Tiny C Compiler 10805 ld_shlibs=yes 10806 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10807 ;; 10808 esac 10277 10809 ;; 10278 10810 … … 10291 10823 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10292 10824 hardcode_direct=yes 10293 hardcode_libdir_flag_spec='$ {wl}-rpath ${wl}$libdir'10825 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10294 10826 hardcode_libdir_separator=: 10295 10827 hardcode_shlibpath_var=no … … 10299 10831 ;; 10300 10832 10301 openbsd* )10833 openbsd* | bitrig*) 10302 10834 if test -f /usr/libexec/ld.so; then 10303 10835 hardcode_direct=yes 10304 10836 hardcode_shlibpath_var=no 10305 10837 hardcode_direct_absolute=yes 10306 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then10838 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10307 10839 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10308 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $ {wl}-retain-symbols-file,$export_symbols'10309 hardcode_libdir_flag_spec='$ {wl}-rpath,$libdir'10310 export_dynamic_flag_spec='$ {wl}-E'10840 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10841 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10842 export_dynamic_flag_spec='$wl-E' 10311 10843 else 10312 case $host_os in 10313 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10314 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10315 hardcode_libdir_flag_spec='-R$libdir' 10316 ;; 10317 *) 10318 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10319 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10320 ;; 10321 esac 10844 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10845 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10322 10846 fi 10323 10847 else … … 10330 10854 hardcode_minus_L=yes 10331 10855 allow_undefined_flag=unsupported 10332 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' 10333 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10856 shrext_cmds=.dll 10857 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10858 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10859 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10860 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10861 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10862 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10863 emximp -o $lib $output_objdir/$libname.def' 10864 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10865 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10866 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10867 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10868 prefix_cmds="$SED"~ 10869 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10870 prefix_cmds="$prefix_cmds -e 1d"; 10871 fi~ 10872 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10873 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10874 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10875 emximp -o $lib $output_objdir/$libname.def' 10876 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10877 enable_shared_with_static_runtimes=yes 10334 10878 ;; 10335 10879 10336 10880 osf3*) 10337 if test "$GCC" = yes; then10338 allow_undefined_flag=' $ {wl}-expect_unresolved ${wl}\*'10339 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'10881 if test yes = "$GCC"; then 10882 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10883 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' 10340 10884 else 10341 10885 allow_undefined_flag=' -expect_unresolved \*' 10342 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'10886 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' 10343 10887 fi 10344 10888 archive_cmds_need_lc='no' 10345 hardcode_libdir_flag_spec='$ {wl}-rpath ${wl}$libdir'10889 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10346 10890 hardcode_libdir_separator=: 10347 10891 ;; 10348 10892 10349 10893 osf4* | osf5*) # as osf3* with the addition of -msym flag 10350 if test "$GCC" = yes; then10351 allow_undefined_flag=' $ {wl}-expect_unresolved ${wl}\*'10352 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'10353 hardcode_libdir_flag_spec='$ {wl}-rpath ${wl}$libdir'10894 if test yes = "$GCC"; then 10895 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10896 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' 10897 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10354 10898 else 10355 10899 allow_undefined_flag=' -expect_unresolved \*' 10356 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'10900 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' 10357 10901 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~ 10358 $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'10902 $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' 10359 10903 10360 10904 # Both c and cxx compiler support -rpath directly … … 10367 10911 solaris*) 10368 10912 no_undefined_flag=' -z defs' 10369 if test "$GCC" = yes; then10370 wlarc='$ {wl}'10371 archive_cmds='$CC -shared $pic_flag $ {wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'10913 if test yes = "$GCC"; then 10914 wlarc='$wl' 10915 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10372 10916 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10373 $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'10917 $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' 10374 10918 else 10375 10919 case `$CC -V 2>&1` in 10376 10920 *"Compilers 5.0"*) 10377 10921 wlarc='' 10378 archive_cmds='$LD -G$ {allow_undefined_flag}-h $soname -o $lib $libobjs $deplibs $linker_flags'10922 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10379 10923 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10380 $LD -G${allow_undefined_flag}-M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'10924 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10381 10925 ;; 10382 10926 *) 10383 wlarc='$ {wl}'10384 archive_cmds='$CC -G$ {allow_undefined_flag}-h $soname -o $lib $libobjs $deplibs $compiler_flags'10927 wlarc='$wl' 10928 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10385 10929 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10386 $CC -G${allow_undefined_flag}-M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'10930 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10387 10931 ;; 10388 10932 esac … … 10394 10938 *) 10395 10939 # The compiler driver will combine and reorder linker options, 10396 # but understands `-z linker_flag'. GCC discards it without `$wl',10940 # but understands '-z linker_flag'. GCC discards it without '$wl', 10397 10941 # but is careful enough not to reorder. 10398 10942 # Supported since Solaris 2.6 (maybe 2.5.1?) 10399 if test "$GCC" = yes; then10400 whole_archive_flag_spec='$ {wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'10943 if test yes = "$GCC"; then 10944 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10401 10945 else 10402 10946 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' … … 10408 10952 10409 10953 sunos4*) 10410 if test "x$host_vendor" = xsequent; then10954 if test sequent = "$host_vendor"; then 10411 10955 # Use $CC to link under sequent, because it throws in some extra .o 10412 10956 # files that make .init and .fini sections work. 10413 archive_cmds='$CC -G $ {wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'10957 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10414 10958 else 10415 10959 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' … … 10460 11004 10461 11005 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10462 no_undefined_flag='$ {wl}-z,text'11006 no_undefined_flag='$wl-z,text' 10463 11007 archive_cmds_need_lc=no 10464 11008 hardcode_shlibpath_var=no 10465 11009 runpath_var='LD_RUN_PATH' 10466 11010 10467 if test "$GCC" = yes; then10468 archive_cmds='$CC -shared $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10469 archive_expsym_cmds='$CC -shared $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'11011 if test yes = "$GCC"; then 11012 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11013 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10470 11014 else 10471 archive_cmds='$CC -G $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10472 archive_expsym_cmds='$CC -G $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'11015 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11016 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10473 11017 fi 10474 11018 ;; 10475 11019 10476 11020 sysv5* | sco3.2v5* | sco5v6*) 10477 # Note: We canNOT use -z defs as we might desire, because we do not11021 # Note: We CANNOT use -z defs as we might desire, because we do not 10478 11022 # link with -lc, and that would cause any symbols used from libc to 10479 11023 # always be unresolved, which means just about no library would … … 10481 11025 # though, which does catch some bad symbols but isn't as heavy-handed 10482 11026 # as -z defs. 10483 no_undefined_flag='$ {wl}-z,text'10484 allow_undefined_flag='$ {wl}-z,nodefs'11027 no_undefined_flag='$wl-z,text' 11028 allow_undefined_flag='$wl-z,nodefs' 10485 11029 archive_cmds_need_lc=no 10486 11030 hardcode_shlibpath_var=no 10487 hardcode_libdir_flag_spec='$ {wl}-R,$libdir'11031 hardcode_libdir_flag_spec='$wl-R,$libdir' 10488 11032 hardcode_libdir_separator=':' 10489 11033 link_all_deplibs=yes 10490 export_dynamic_flag_spec='$ {wl}-Bexport'11034 export_dynamic_flag_spec='$wl-Bexport' 10491 11035 runpath_var='LD_RUN_PATH' 10492 11036 10493 if test "$GCC" = yes; then10494 archive_cmds='$CC -shared $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10495 archive_expsym_cmds='$CC -shared $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'11037 if test yes = "$GCC"; then 11038 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11039 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10496 11040 else 10497 archive_cmds='$CC -G $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10498 archive_expsym_cmds='$CC -G $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'11041 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11042 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10499 11043 fi 10500 11044 ;; … … 10511 11055 esac 10512 11056 10513 if test x$host_vendor = xsni; then11057 if test sni = "$host_vendor"; then 10514 11058 case $host in 10515 11059 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10516 export_dynamic_flag_spec='$ {wl}-Blargedynsym'11060 export_dynamic_flag_spec='$wl-Blargedynsym' 10517 11061 ;; 10518 11062 esac … … 10522 11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10523 11067 $as_echo "$ld_shlibs" >&6; } 10524 test "$ld_shlibs" = no&& can_build_shared=no11068 test no = "$ld_shlibs" && can_build_shared=no 10525 11069 10526 11070 with_gnu_ld=$with_gnu_ld … … 10548 11092 archive_cmds_need_lc=yes 10549 11093 10550 if test "$enable_shared" = yes && test "$GCC" = yes; then11094 if test yes,yes = "$GCC,$enable_shared"; then 10551 11095 case $archive_cmds in 10552 11096 *'~'*) … … 10760 11304 10761 11305 10762 10763 10764 10765 10766 10767 11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10768 11307 $as_echo_n "checking dynamic linker characteristics... " >&6; } 10769 11308 10770 if test "$GCC" = yes; then11309 if test yes = "$GCC"; then 10771 11310 case $host_os in 10772 darwin*) lt_awk_arg= "/^libraries:/,/LR/";;10773 *) lt_awk_arg= "/^libraries:/";;11311 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11312 *) lt_awk_arg='/^libraries:/' ;; 10774 11313 esac 10775 11314 case $host_os in 10776 mingw* | cegcc*) lt_sed_strip_eq= "s,=\([A-Za-z]:\),\1,g";;10777 *) lt_sed_strip_eq= "s,=/,/,g";;11315 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11316 *) lt_sed_strip_eq='s|=/|/|g' ;; 10778 11317 esac 10779 11318 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` … … 10791 11330 esac 10792 11331 # Ok, now we have the path, separated by spaces, we can step through it 10793 # and add multilib dir if necessary. 11332 # and add multilib dir if necessary... 10794 11333 lt_tmp_lt_search_path_spec= 10795 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11334 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11335 # ...but if some path component already ends with the multilib dir we assume 11336 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11337 case "$lt_multi_os_dir; $lt_search_path_spec " in 11338 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11339 lt_multi_os_dir= 11340 ;; 11341 esac 10796 11342 for lt_sys_path in $lt_search_path_spec; do 10797 if test -d "$lt_sys_path /$lt_multi_os_dir"; then10798 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path /$lt_multi_os_dir"10799 el se11343 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11344 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11345 elif test -n "$lt_multi_os_dir"; then 10800 11346 test -d "$lt_sys_path" && \ 10801 11347 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" … … 10803 11349 done 10804 11350 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10805 BEGIN {RS =" "; FS="/|\n";} {10806 lt_foo ="";10807 lt_count =0;11351 BEGIN {RS = " "; FS = "/|\n";} { 11352 lt_foo = ""; 11353 lt_count = 0; 10808 11354 for (lt_i = NF; lt_i > 0; lt_i--) { 10809 11355 if ($lt_i != "" && $lt_i != ".") { … … 10812 11358 } else { 10813 11359 if (lt_count == 0) { 10814 lt_foo ="/" $lt_i lt_foo;11360 lt_foo = "/" $lt_i lt_foo; 10815 11361 } else { 10816 11362 lt_count--; … … 10826 11372 case $host_os in 10827 11373 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10828 $SED 's ,/\([A-Za-z]:\),\1,g'` ;;11374 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10829 11375 esac 10830 11376 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` … … 10835 11381 libname_spec='lib$name' 10836 11382 soname_spec= 10837 shrext_cmds= ".so"11383 shrext_cmds=.so 10838 11384 postinstall_cmds= 10839 11385 postuninstall_cmds= … … 10852 11398 need_version=unknown 10853 11399 11400 11401 10854 11402 case $host_os in 10855 11403 aix3*) 10856 version_type=linux 10857 library_names_spec='$ {libname}${release}${shared_ext}$versuffix $libname.a'11404 version_type=linux # correct to gnu/linux during the next big refactor 11405 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10858 11406 shlibpath_var=LIBPATH 10859 11407 10860 11408 # AIX 3 has no versioning support, so we append a major version to the name. 10861 soname_spec='$ {libname}${release}${shared_ext}$major'11409 soname_spec='$libname$release$shared_ext$major' 10862 11410 ;; 10863 11411 10864 11412 aix[4-9]*) 10865 version_type=linux 11413 version_type=linux # correct to gnu/linux during the next big refactor 10866 11414 need_lib_prefix=no 10867 11415 need_version=no 10868 11416 hardcode_into_libs=yes 10869 if test "$host_cpu" = ia64; then11417 if test ia64 = "$host_cpu"; then 10870 11418 # AIX 5 supports IA64 10871 library_names_spec='$ {libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'11419 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10872 11420 shlibpath_var=LD_LIBRARY_PATH 10873 11421 else 10874 11422 # With GCC up to 2.95.x, collect2 would create an import file 10875 11423 # for dependence libraries. The import file would start with 10876 # the line `#! .'. This would cause the generated library to10877 # depend on `.', always an invalid library. This was fixed in11424 # the line '#! .'. This would cause the generated library to 11425 # depend on '.', always an invalid library. This was fixed in 10878 11426 # development snapshots of GCC prior to 3.0. 10879 11427 case $host_os in … … 10881 11429 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10882 11430 echo ' yes ' 10883 echo '#endif'; } | $ {CC}-E - | $GREP yes > /dev/null; then11431 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10884 11432 : 10885 11433 else … … 10888 11436 ;; 10889 11437 esac 10890 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 11438 # Using Import Files as archive members, it is possible to support 11439 # filename-based versioning of shared library archives on AIX. While 11440 # this would work for both with and without runtime linking, it will 11441 # prevent static linking of such archives. So we do filename-based 11442 # shared library versioning with .so extension only, which is used 11443 # when both runtime linking and shared linking is enabled. 11444 # Unfortunately, runtime linking may impact performance, so we do 11445 # not want this to be the default eventually. Also, we use the 11446 # versioned .so libs for executables only if there is the -brtl 11447 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11448 # To allow for filename-based versioning support, we need to create 11449 # libNAME.so.V as an archive file, containing: 11450 # *) an Import File, referring to the versioned filename of the 11451 # archive as well as the shared archive member, telling the 11452 # bitwidth (32 or 64) of that shared object, and providing the 11453 # list of exported symbols of that shared object, eventually 11454 # decorated with the 'weak' keyword 11455 # *) the shared object with the F_LOADONLY flag set, to really avoid 11456 # it being seen by the linker. 11457 # At run time we better use the real file rather than another symlink, 11458 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11459 11460 case $with_aix_soname,$aix_use_runtimelinking in 11461 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10891 11462 # soname into executable. Probably we can add versioning support to 10892 11463 # collect2, so additional links can be useful in future. 10893 if test "$aix_use_runtimelinking" = yes; then 11464 aix,yes) # traditional libtool 11465 dynamic_linker='AIX unversionable lib.so' 10894 11466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10895 11467 # instead of lib<name>.a to let people know that these are not 10896 11468 # typical AIX shared libraries. 10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10898 else 11469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11470 ;; 11471 aix,no) # traditional AIX only 11472 dynamic_linker='AIX lib.a(lib.so.V)' 10899 11473 # We preserve .a as extension for shared libraries through AIX4.2 10900 11474 # and later when we are not doing run time linking. 10901 library_names_spec='${libname}${release}.a $libname.a' 10902 soname_spec='${libname}${release}${shared_ext}$major' 10903 fi 11475 library_names_spec='$libname$release.a $libname.a' 11476 soname_spec='$libname$release$shared_ext$major' 11477 ;; 11478 svr4,*) # full svr4 only 11479 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11480 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11481 # We do not specify a path in Import Files, so LIBPATH fires. 11482 shlibpath_overrides_runpath=yes 11483 ;; 11484 *,yes) # both, prefer svr4 11485 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11486 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11487 # unpreferred sharedlib libNAME.a needs extra handling 11488 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 11489 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 11490 # We do not specify a path in Import Files, so LIBPATH fires. 11491 shlibpath_overrides_runpath=yes 11492 ;; 11493 *,no) # both, prefer aix 11494 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11495 library_names_spec='$libname$release.a $libname.a' 11496 soname_spec='$libname$release$shared_ext$major' 11497 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11498 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 11499 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 11500 ;; 11501 esac 10904 11502 shlibpath_var=LIBPATH 10905 11503 fi … … 10911 11509 # Since July 2007 AmigaOS4 officially supports .so libraries. 10912 11510 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10913 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11511 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10914 11512 ;; 10915 11513 m68k) 10916 11514 library_names_spec='$libname.ixlibrary $libname.a' 10917 11515 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10918 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'11516 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' 10919 11517 ;; 10920 11518 esac … … 10922 11520 10923 11521 beos*) 10924 library_names_spec='$ {libname}${shared_ext}'11522 library_names_spec='$libname$shared_ext' 10925 11523 dynamic_linker="$host_os ld.so" 10926 11524 shlibpath_var=LIBRARY_PATH … … 10928 11526 10929 11527 bsdi[45]*) 10930 version_type=linux 11528 version_type=linux # correct to gnu/linux during the next big refactor 10931 11529 need_version=no 10932 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'10933 soname_spec='$ {libname}${release}${shared_ext}$major'11530 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11531 soname_spec='$libname$release$shared_ext$major' 10934 11532 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10935 11533 shlibpath_var=LD_LIBRARY_PATH … … 10943 11541 cygwin* | mingw* | pw32* | cegcc*) 10944 11542 version_type=windows 10945 shrext_cmds= ".dll"11543 shrext_cmds=.dll 10946 11544 need_version=no 10947 11545 need_lib_prefix=no … … 10952 11550 library_names_spec='$libname.dll.a' 10953 11551 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10954 postinstall_cmds='base_file=`basename \$ {file}`~10955 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$ {base_file}'\''i; echo \$dlname'\''`~11552 postinstall_cmds='base_file=`basename \$file`~ 11553 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10956 11554 dldir=$destdir/`dirname \$dlpath`~ 10957 11555 test -d \$dldir || mkdir -p \$dldir~ … … 10969 11567 cygwin*) 10970 11568 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10971 soname_spec='`echo $ {libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'11569 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10972 11570 10973 11571 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" … … 10975 11573 mingw* | cegcc*) 10976 11574 # MinGW DLLs use traditional 'lib' prefix 10977 soname_spec='$ {libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'11575 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10978 11576 ;; 10979 11577 pw32*) 10980 11578 # pw32 DLLs use 'pw' prefix rather than 'lib' 10981 library_names_spec='`echo $ {libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'11579 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10982 11580 ;; 10983 11581 esac … … 10988 11586 # Native MSVC 10989 11587 libname_spec='$name' 10990 soname_spec='$ {libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'10991 library_names_spec='$ {libname}.dll.lib'11588 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11589 library_names_spec='$libname.dll.lib' 10992 11590 10993 11591 case $build_os in … … 11016 11614 ;; 11017 11615 *) 11018 sys_lib_search_path_spec= "$LIB"11616 sys_lib_search_path_spec=$LIB 11019 11617 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11020 11618 # It is most probably a Windows format PATH. … … 11029 11627 11030 11628 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11031 postinstall_cmds='base_file=`basename \$ {file}`~11032 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$ {base_file}'\''i; echo \$dlname'\''`~11629 postinstall_cmds='base_file=`basename \$file`~ 11630 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11033 11631 dldir=$destdir/`dirname \$dlpath`~ 11034 11632 test -d \$dldir || mkdir -p \$dldir~ … … 11043 11641 *) 11044 11642 # Assume MSVC wrapper 11045 library_names_spec='$ {libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}$libname.lib'11643 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11046 11644 dynamic_linker='Win32 ld.exe' 11047 11645 ;; … … 11056 11654 need_lib_prefix=no 11057 11655 need_version=no 11058 library_names_spec='$ {libname}${release}${major}$shared_ext ${libname}$shared_ext'11059 soname_spec='$ {libname}${release}${major}$shared_ext'11656 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11657 soname_spec='$libname$release$major$shared_ext' 11060 11658 shlibpath_overrides_runpath=yes 11061 11659 shlibpath_var=DYLD_LIBRARY_PATH … … 11067 11665 11068 11666 dgux*) 11069 version_type=linux 11667 version_type=linux # correct to gnu/linux during the next big refactor 11070 11668 need_lib_prefix=no 11071 11669 need_version=no 11072 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'11073 soname_spec='$ {libname}${release}${shared_ext}$major'11670 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11671 soname_spec='$libname$release$shared_ext$major' 11074 11672 shlibpath_var=LD_LIBRARY_PATH 11075 ;;11076 11077 freebsd1*)11078 dynamic_linker=no11079 11673 ;; 11080 11674 … … 11086 11680 else 11087 11681 case $host_os in 11088 freebsd[ 123]*) objformat=aout ;;11682 freebsd[23].*) objformat=aout ;; 11089 11683 *) objformat=elf ;; 11090 11684 esac … … 11093 11687 case $version_type in 11094 11688 freebsd-elf*) 11095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11689 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11690 soname_spec='$libname$release$shared_ext$major' 11096 11691 need_version=no 11097 11692 need_lib_prefix=no 11098 11693 ;; 11099 11694 freebsd-*) 11100 library_names_spec='$ {libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'11695 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11101 11696 need_version=yes 11102 11697 ;; … … 11104 11699 shlibpath_var=LD_LIBRARY_PATH 11105 11700 case $host_os in 11106 freebsd2 *)11701 freebsd2.*) 11107 11702 shlibpath_overrides_runpath=yes 11108 11703 ;; … … 11123 11718 ;; 11124 11719 11125 gnu*)11126 version_type=linux11127 need_lib_prefix=no11128 need_version=no11129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'11130 soname_spec='${libname}${release}${shared_ext}$major'11131 shlibpath_var=LD_LIBRARY_PATH11132 shlibpath_overrides_runpath=no11133 hardcode_into_libs=yes11134 ;;11135 11136 11720 haiku*) 11137 version_type=linux 11721 version_type=linux # correct to gnu/linux during the next big refactor 11138 11722 need_lib_prefix=no 11139 11723 need_version=no 11140 11724 dynamic_linker="$host_os runtime_loader" 11141 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'11142 soname_spec='$ {libname}${release}${shared_ext}$major'11725 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11726 soname_spec='$libname$release$shared_ext$major' 11143 11727 shlibpath_var=LIBRARY_PATH 11144 shlibpath_overrides_runpath= yes11728 shlibpath_overrides_runpath=no 11145 11729 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11146 11730 hardcode_into_libs=yes … … 11160 11744 shlibpath_var=LD_LIBRARY_PATH 11161 11745 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11162 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11163 soname_spec='$ {libname}${release}${shared_ext}$major'11164 if test "X$HPUX_IA64_MODE" = X32; then11746 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11747 soname_spec='$libname$release$shared_ext$major' 11748 if test 32 = "$HPUX_IA64_MODE"; then 11165 11749 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11750 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11166 11751 else 11167 11752 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11753 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11168 11754 fi 11169 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec11170 11755 ;; 11171 11756 hppa*64*) … … 11175 11760 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11176 11761 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11177 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11178 soname_spec='$ {libname}${release}${shared_ext}$major'11762 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11763 soname_spec='$libname$release$shared_ext$major' 11179 11764 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11180 11765 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec … … 11185 11770 shlibpath_var=SHLIB_PATH 11186 11771 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11187 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11188 soname_spec='$ {libname}${release}${shared_ext}$major'11772 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11773 soname_spec='$libname$release$shared_ext$major' 11189 11774 ;; 11190 11775 esac … … 11196 11781 11197 11782 interix[3-9]*) 11198 version_type=linux 11783 version_type=linux # correct to gnu/linux during the next big refactor 11199 11784 need_lib_prefix=no 11200 11785 need_version=no 11201 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11202 soname_spec='$ {libname}${release}${shared_ext}$major'11786 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11787 soname_spec='$libname$release$shared_ext$major' 11203 11788 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11204 11789 shlibpath_var=LD_LIBRARY_PATH … … 11211 11796 nonstopux*) version_type=nonstopux ;; 11212 11797 *) 11213 if test "$lt_cv_prog_gnu_ld" = yes; then11214 version_type=linux 11798 if test yes = "$lt_cv_prog_gnu_ld"; then 11799 version_type=linux # correct to gnu/linux during the next big refactor 11215 11800 else 11216 11801 version_type=irix … … 11219 11804 need_lib_prefix=no 11220 11805 need_version=no 11221 soname_spec='$ {libname}${release}${shared_ext}$major'11222 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'11806 soname_spec='$libname$release$shared_ext$major' 11807 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11223 11808 case $host_os in 11224 11809 irix5* | nonstopux*) … … 11239 11824 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11240 11825 shlibpath_overrides_runpath=no 11241 sys_lib_search_path_spec="/usr/lib$ {libsuff} /lib${libsuff} /usr/local/lib${libsuff}"11242 sys_lib_dlsearch_path_spec="/usr/lib$ {libsuff} /lib${libsuff}"11826 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11827 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11243 11828 hardcode_into_libs=yes 11244 11829 ;; … … 11249 11834 ;; 11250 11835 11251 # This must be Linux ELF. 11252 linux* | k*bsd*-gnu | kopensolaris*-gnu) 11253 version_type=linux 11836 linux*android*) 11837 version_type=none # Android doesn't support versioned libraries. 11254 11838 need_lib_prefix=no 11255 11839 need_version=no 11256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11257 soname_spec='${libname}${release}${shared_ext}$major' 11840 library_names_spec='$libname$release$shared_ext' 11841 soname_spec='$libname$release$shared_ext' 11842 finish_cmds= 11843 shlibpath_var=LD_LIBRARY_PATH 11844 shlibpath_overrides_runpath=yes 11845 11846 # This implies no fast_install, which is unacceptable. 11847 # Some rework will be needed to allow for fast_install 11848 # before this can be enabled. 11849 hardcode_into_libs=yes 11850 11851 dynamic_linker='Android linker' 11852 # Don't embed -rpath directories since the linker doesn't support them. 11853 hardcode_libdir_flag_spec='-L$libdir' 11854 ;; 11855 11856 # This must be glibc/ELF. 11857 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11858 version_type=linux # correct to gnu/linux during the next big refactor 11859 need_lib_prefix=no 11860 need_version=no 11861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11862 soname_spec='$libname$release$shared_ext$major' 11258 11863 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11259 11864 shlibpath_var=LD_LIBRARY_PATH … … 11299 11904 hardcode_into_libs=yes 11300 11905 11301 # Append ld.so.conf contents to the search path 11906 # Ideally, we could use ldconfig to report *all* directores which are 11907 # searched for libraries, however this is still not possible. Aside from not 11908 # being certain /sbin/ldconfig is available, command 11909 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11910 # even though it is searched at run-time. Try to do the best guess by 11911 # appending ld.so.conf contents (and includes) to the search path. 11302 11912 if test -f /etc/ld.so.conf; then 11303 11913 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' ' '` … … 11331 11941 need_version=no 11332 11942 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11333 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'11943 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11334 11944 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11335 11945 dynamic_linker='NetBSD (a.out) ld.so' 11336 11946 else 11337 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11338 soname_spec='$ {libname}${release}${shared_ext}$major'11947 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11948 soname_spec='$libname$release$shared_ext$major' 11339 11949 dynamic_linker='NetBSD ld.elf_so' 11340 11950 fi … … 11345 11955 11346 11956 newsos6) 11347 version_type=linux 11348 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11957 version_type=linux # correct to gnu/linux during the next big refactor 11958 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11349 11959 shlibpath_var=LD_LIBRARY_PATH 11350 11960 shlibpath_overrides_runpath=yes … … 11355 11965 need_lib_prefix=no 11356 11966 need_version=no 11357 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11358 soname_spec='$ {libname}${release}${shared_ext}$major'11967 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11968 soname_spec='$libname$release$shared_ext$major' 11359 11969 shlibpath_var=LD_LIBRARY_PATH 11360 11970 shlibpath_overrides_runpath=no … … 11363 11973 ;; 11364 11974 11365 openbsd* )11975 openbsd* | bitrig*) 11366 11976 version_type=sunos 11367 sys_lib_dlsearch_path_spec= "/usr/lib"11977 sys_lib_dlsearch_path_spec=/usr/lib 11368 11978 need_lib_prefix=no 11369 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.11370 case $host_os in11371 openbsd3.3 | openbsd3.3.*) need_version=yes ;;11372 *) need_version=no ;;11373 esac11374 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'11979 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11980 need_version=no 11981 else 11982 need_version=yes 11983 fi 11984 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11375 11985 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11376 11986 shlibpath_var=LD_LIBRARY_PATH 11377 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11378 case $host_os in 11379 openbsd2.[89] | openbsd2.[89].*) 11380 shlibpath_overrides_runpath=no 11381 ;; 11382 *) 11383 shlibpath_overrides_runpath=yes 11384 ;; 11385 esac 11386 else 11387 shlibpath_overrides_runpath=yes 11388 fi 11987 shlibpath_overrides_runpath=yes 11389 11988 ;; 11390 11989 11391 11990 os2*) 11392 11991 libname_spec='$name' 11393 shrext_cmds=".dll" 11992 version_type=windows 11993 shrext_cmds=.dll 11994 need_version=no 11394 11995 need_lib_prefix=no 11395 library_names_spec='$libname${shared_ext} $libname.a' 11996 # OS/2 can only load a DLL with a base name of 8 characters or less. 11997 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11998 v=$($ECHO $release$versuffix | tr -d .-); 11999 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12000 $ECHO $n$v`$shared_ext' 12001 library_names_spec='${libname}_dll.$libext' 11396 12002 dynamic_linker='OS/2 ld.exe' 11397 shlibpath_var=LIBPATH 12003 shlibpath_var=BEGINLIBPATH 12004 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12005 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12006 postinstall_cmds='base_file=`basename \$file`~ 12007 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12008 dldir=$destdir/`dirname \$dlpath`~ 12009 test -d \$dldir || mkdir -p \$dldir~ 12010 $install_prog $dir/$dlname \$dldir/$dlname~ 12011 chmod a+x \$dldir/$dlname~ 12012 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12013 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12014 fi' 12015 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12016 dlpath=$dir/\$dldll~ 12017 $RM \$dlpath' 11398 12018 ;; 11399 12019 … … 11402 12022 need_lib_prefix=no 11403 12023 need_version=no 11404 soname_spec='$ {libname}${release}${shared_ext}$major'11405 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'12024 soname_spec='$libname$release$shared_ext$major' 12025 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11406 12026 shlibpath_var=LD_LIBRARY_PATH 11407 12027 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11408 sys_lib_dlsearch_path_spec= "$sys_lib_search_path_spec"12028 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11409 12029 ;; 11410 12030 … … 11414 12034 11415 12035 solaris*) 11416 version_type=linux 12036 version_type=linux # correct to gnu/linux during the next big refactor 11417 12037 need_lib_prefix=no 11418 12038 need_version=no 11419 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11420 soname_spec='$ {libname}${release}${shared_ext}$major'12039 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12040 soname_spec='$libname$release$shared_ext$major' 11421 12041 shlibpath_var=LD_LIBRARY_PATH 11422 12042 shlibpath_overrides_runpath=yes … … 11428 12048 sunos4*) 11429 12049 version_type=sunos 11430 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'12050 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11431 12051 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11432 12052 shlibpath_var=LD_LIBRARY_PATH 11433 12053 shlibpath_overrides_runpath=yes 11434 if test "$with_gnu_ld" = yes; then12054 if test yes = "$with_gnu_ld"; then 11435 12055 need_lib_prefix=no 11436 12056 fi … … 11439 12059 11440 12060 sysv4 | sysv4.3*) 11441 version_type=linux 11442 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11443 soname_spec='$ {libname}${release}${shared_ext}$major'12061 version_type=linux # correct to gnu/linux during the next big refactor 12062 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12063 soname_spec='$libname$release$shared_ext$major' 11444 12064 shlibpath_var=LD_LIBRARY_PATH 11445 12065 case $host_vendor in … … 11462 12082 11463 12083 sysv4*MP*) 11464 if test -d /usr/nec ;then11465 version_type=linux 11466 library_names_spec='$libname$ {shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'11467 soname_spec='$libname$ {shared_ext}.$major'12084 if test -d /usr/nec; then 12085 version_type=linux # correct to gnu/linux during the next big refactor 12086 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12087 soname_spec='$libname$shared_ext.$major' 11468 12088 shlibpath_var=LD_LIBRARY_PATH 11469 12089 fi … … 11471 12091 11472 12092 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11473 version_type= freebsd-elf12093 version_type=sco 11474 12094 need_lib_prefix=no 11475 12095 need_version=no 11476 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'11477 soname_spec='$ {libname}${release}${shared_ext}$major'12096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12097 soname_spec='$libname$release$shared_ext$major' 11478 12098 shlibpath_var=LD_LIBRARY_PATH 11479 12099 shlibpath_overrides_runpath=yes 11480 12100 hardcode_into_libs=yes 11481 if test "$with_gnu_ld" = yes; then12101 if test yes = "$with_gnu_ld"; then 11482 12102 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11483 12103 else … … 11494 12114 tpf*) 11495 12115 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11496 version_type=linux 12116 version_type=linux # correct to gnu/linux during the next big refactor 11497 12117 need_lib_prefix=no 11498 12118 need_version=no 11499 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'12119 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11500 12120 shlibpath_var=LD_LIBRARY_PATH 11501 12121 shlibpath_overrides_runpath=no … … 11504 12124 11505 12125 uts4*) 11506 version_type=linux 11507 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'11508 soname_spec='$ {libname}${release}${shared_ext}$major'12126 version_type=linux # correct to gnu/linux during the next big refactor 12127 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12128 soname_spec='$libname$release$shared_ext$major' 11509 12129 shlibpath_var=LD_LIBRARY_PATH 11510 12130 ;; … … 11516 12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11517 12137 $as_echo "$dynamic_linker" >&6; } 11518 test "$dynamic_linker" = no&& can_build_shared=no12138 test no = "$dynamic_linker" && can_build_shared=no 11519 12139 11520 12140 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11521 if test "$GCC" = yes; then12141 if test yes = "$GCC"; then 11522 12142 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11523 12143 fi 11524 12144 11525 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11526 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11527 fi 11528 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11529 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11530 fi 12145 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12146 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12147 fi 12148 12149 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12150 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12151 fi 12152 12153 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12154 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12155 12156 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12157 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12158 12159 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12160 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12161 12162 12163 12164 12165 11531 12166 11532 12167 … … 11626 12261 if test -n "$hardcode_libdir_flag_spec" || 11627 12262 test -n "$runpath_var" || 11628 test "X$hardcode_automatic" = "Xyes"; then12263 test yes = "$hardcode_automatic"; then 11629 12264 11630 12265 # We can hardcode non-existent directories. 11631 if test "$hardcode_direct" != no&&12266 if test no != "$hardcode_direct" && 11632 12267 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11633 12268 # have to relink, otherwise we might link with an installed library 11634 12269 # when we should be linking with a yet-to-be-installed one 11635 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no&&11636 test "$hardcode_minus_L" != no; then12270 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12271 test no != "$hardcode_minus_L"; then 11637 12272 # Linking always hardcodes the temporary library directory. 11638 12273 hardcode_action=relink … … 11649 12284 $as_echo "$hardcode_action" >&6; } 11650 12285 11651 if test "$hardcode_action" = relink||11652 test "$inherit_rpath" = yes; then12286 if test relink = "$hardcode_action" || 12287 test yes = "$inherit_rpath"; then 11653 12288 # Fast installation is not supported 11654 12289 enable_fast_install=no 11655 elif test "$shlibpath_overrides_runpath" = yes||11656 test "$enable_shared" = no; then12290 elif test yes = "$shlibpath_overrides_runpath" || 12291 test no = "$enable_shared"; then 11657 12292 # Fast installation is not necessary 11658 12293 enable_fast_install=needless … … 11664 12299 11665 12300 11666 if test "x$enable_dlopen" != xyes; then12301 if test yes != "$enable_dlopen"; then 11667 12302 enable_dlopen=unknown 11668 12303 enable_dlopen_self=unknown … … 11674 12309 case $host_os in 11675 12310 beos*) 11676 lt_cv_dlopen= "load_add_on"12311 lt_cv_dlopen=load_add_on 11677 12312 lt_cv_dlopen_libs= 11678 12313 lt_cv_dlopen_self=yes … … 11680 12315 11681 12316 mingw* | pw32* | cegcc*) 11682 lt_cv_dlopen= "LoadLibrary"12317 lt_cv_dlopen=LoadLibrary 11683 12318 lt_cv_dlopen_libs= 11684 12319 ;; 11685 12320 11686 12321 cygwin*) 11687 lt_cv_dlopen= "dlopen"12322 lt_cv_dlopen=dlopen 11688 12323 lt_cv_dlopen_libs= 11689 12324 ;; 11690 12325 11691 12326 darwin*) 11692 # if libdl is installed we need to link against it12327 # if libdl is installed we need to link against it 11693 12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11694 12329 $as_echo_n "checking for dlopen in -ldl... " >&6; } … … 11728 12363 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11729 12364 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11730 lt_cv_dlopen= "dlopen" lt_cv_dlopen_libs="-ldl"11731 else 11732 11733 lt_cv_dlopen= "dyld"12365 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12366 else 12367 12368 lt_cv_dlopen=dyld 11734 12369 lt_cv_dlopen_libs= 11735 12370 lt_cv_dlopen_self=yes … … 11737 12372 fi 11738 12373 12374 ;; 12375 12376 tpf*) 12377 # Don't try to run any link tests for TPF. We know it's impossible 12378 # because TPF is a cross-compiler, and we know how we open DSOs. 12379 lt_cv_dlopen=dlopen 12380 lt_cv_dlopen_libs= 12381 lt_cv_dlopen_self=no 11739 12382 ;; 11740 12383 … … 11742 12385 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11743 12386 if test "x$ac_cv_func_shl_load" = xyes; then : 11744 lt_cv_dlopen= "shl_load"12387 lt_cv_dlopen=shl_load 11745 12388 else 11746 12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 … … 11781 12424 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11782 12425 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11783 lt_cv_dlopen= "shl_load" lt_cv_dlopen_libs="-ldld"12426 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11784 12427 else 11785 12428 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11786 12429 if test "x$ac_cv_func_dlopen" = xyes; then : 11787 lt_cv_dlopen= "dlopen"12430 lt_cv_dlopen=dlopen 11788 12431 else 11789 12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 … … 11824 12467 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11825 12468 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11826 lt_cv_dlopen= "dlopen" lt_cv_dlopen_libs="-ldl"12469 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11827 12470 else 11828 12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 … … 11863 12506 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11864 12507 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11865 lt_cv_dlopen= "dlopen" lt_cv_dlopen_libs="-lsvld"12508 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11866 12509 else 11867 12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 … … 11902 12545 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11903 12546 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11904 lt_cv_dlopen= "dld_link" lt_cv_dlopen_libs="-ldld"12547 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11905 12548 fi 11906 12549 … … 11923 12566 esac 11924 12567 11925 if test "x$lt_cv_dlopen" != xno; then 12568 if test no = "$lt_cv_dlopen"; then 12569 enable_dlopen=no 12570 else 11926 12571 enable_dlopen=yes 11927 else11928 enable_dlopen=no11929 12572 fi 11930 12573 11931 12574 case $lt_cv_dlopen in 11932 12575 dlopen) 11933 save_CPPFLAGS= "$CPPFLAGS"11934 test "x$ac_cv_header_dlfcn_h" = xyes&& CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"11935 11936 save_LDFLAGS= "$LDFLAGS"12576 save_CPPFLAGS=$CPPFLAGS 12577 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12578 12579 save_LDFLAGS=$LDFLAGS 11937 12580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11938 12581 11939 save_LIBS= "$LIBS"12582 save_LIBS=$LIBS 11940 12583 LIBS="$lt_cv_dlopen_libs $LIBS" 11941 12584 … … 11945 12588 $as_echo_n "(cached) " >&6 11946 12589 else 11947 if test "$cross_compiling" = yes; then :12590 if test yes = "$cross_compiling"; then : 11948 12591 lt_cv_dlopen_self=cross 11949 12592 else … … 11992 12635 #endif 11993 12636 11994 /* When -fvis bility=hidden is used, assume the code has been annotated12637 /* When -fvisibility=hidden is used, assume the code has been annotated 11995 12638 correspondingly for the symbols needed. */ 11996 #if defined (__GNUC__)&& (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))12639 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11997 12640 int fnord () __attribute__((visibility("default"))); 11998 12641 #endif … … 12024 12667 ac_status=$? 12025 12668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12026 test $ac_status = 0; } && test -s conftest${ac_exeext}2>/dev/null; then12669 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12027 12670 (./conftest; exit; ) >&5 2>/dev/null 12028 12671 lt_status=$? … … 12044 12687 $as_echo "$lt_cv_dlopen_self" >&6; } 12045 12688 12046 if test "x$lt_cv_dlopen_self" = xyes; then12689 if test yes = "$lt_cv_dlopen_self"; then 12047 12690 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12048 12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 … … 12051 12694 $as_echo_n "(cached) " >&6 12052 12695 else 12053 if test "$cross_compiling" = yes; then :12696 if test yes = "$cross_compiling"; then : 12054 12697 lt_cv_dlopen_self_static=cross 12055 12698 else … … 12098 12741 #endif 12099 12742 12100 /* When -fvis bility=hidden is used, assume the code has been annotated12743 /* When -fvisibility=hidden is used, assume the code has been annotated 12101 12744 correspondingly for the symbols needed. */ 12102 #if defined (__GNUC__)&& (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))12745 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12103 12746 int fnord () __attribute__((visibility("default"))); 12104 12747 #endif … … 12130 12773 ac_status=$? 12131 12774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12132 test $ac_status = 0; } && test -s conftest${ac_exeext}2>/dev/null; then12775 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12133 12776 (./conftest; exit; ) >&5 2>/dev/null 12134 12777 lt_status=$? … … 12151 12794 fi 12152 12795 12153 CPPFLAGS= "$save_CPPFLAGS"12154 LDFLAGS= "$save_LDFLAGS"12155 LIBS= "$save_LIBS"12796 CPPFLAGS=$save_CPPFLAGS 12797 LDFLAGS=$save_LDFLAGS 12798 LIBS=$save_LIBS 12156 12799 ;; 12157 12800 esac … … 12197 12840 case $host_os in 12198 12841 darwin*) 12199 if test -n "$STRIP" 12842 if test -n "$STRIP"; then 12200 12843 striplib="$STRIP -x" 12201 12844 old_striplib="$STRIP -S" … … 12225 12868 12226 12869 12227 # Report wh ichlibrary types will actually be built12870 # Report what library types will actually be built 12228 12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12229 12872 $as_echo_n "checking if libtool supports shared libraries... " >&6; } … … 12233 12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12234 12877 $as_echo_n "checking whether to build shared libraries... " >&6; } 12235 test "$can_build_shared" = "no" && enable_shared=no12878 test no = "$can_build_shared" && enable_shared=no 12236 12879 12237 12880 # On AIX, shared libraries and static libraries use the same namespace, and … … 12239 12882 case $host_os in 12240 12883 aix3*) 12241 test "$enable_shared" = yes&& enable_static=no12884 test yes = "$enable_shared" && enable_static=no 12242 12885 if test -n "$RANLIB"; then 12243 12886 archive_cmds="$archive_cmds~\$RANLIB \$lib" … … 12247 12890 12248 12891 aix[4-9]*) 12249 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12250 test "$enable_shared" = yes && enable_static=no 12892 if test ia64 != "$host_cpu"; then 12893 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12894 yes,aix,yes) ;; # shared object as lib.so file only 12895 yes,svr4,*) ;; # shared object as lib.so archive member only 12896 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12897 esac 12251 12898 fi 12252 12899 ;; … … 12258 12905 $as_echo_n "checking whether to build static libraries... " >&6; } 12259 12906 # Make sure either enable_shared or enable_static is yes. 12260 test "$enable_shared" = yes|| enable_static=yes12907 test yes = "$enable_shared" || enable_static=yes 12261 12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12262 12909 $as_echo "$enable_static" >&6; } … … 12272 12919 ac_compiler_gnu=$ac_cv_c_compiler_gnu 12273 12920 12274 CC= "$lt_save_CC"12275 12276 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&12277 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||12278 (test "X$CXX" != "Xg++"))); then12921 CC=$lt_save_CC 12922 12923 if test -n "$CXX" && ( test no != "$CXX" && 12924 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 12925 (test g++ != "$CXX"))); then 12279 12926 ac_ext=cpp 12280 12927 ac_cpp='$CXXCPP $CPPFLAGS' … … 12429 13076 hardcode_direct_absolute_CXX=no 12430 13077 hardcode_libdir_flag_spec_CXX= 12431 hardcode_libdir_flag_spec_ld_CXX=12432 13078 hardcode_libdir_separator_CXX= 12433 13079 hardcode_minus_L_CXX=no … … 12456 13102 # are currently assumed to apply to all compilers on this platform, 12457 13103 # and will be corrupted by setting them based on a non-working compiler. 12458 if test "$_lt_caught_CXX_error" != yes; then13104 if test yes != "$_lt_caught_CXX_error"; then 12459 13105 # Code to be used in simple compile tests 12460 13106 lt_simple_compile_test_code="int some_variable = 0;" … … 12517 13163 compiler=$CC 12518 13164 compiler_CXX=$CC 12519 for cc_temp in $compiler""; do 12520 case $cc_temp in 12521 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 12522 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 12523 \-*) ;; 12524 *) break;; 12525 esac 12526 done 12527 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 13165 func_cc_basename $compiler 13166 cc_basename=$func_cc_basename_result 12528 13167 12529 13168 … … 12531 13170 # We don't want -fno-exception when compiling C++ code, so set the 12532 13171 # no_builtin_flag separately 12533 if test "$GXX" = yes; then13172 if test yes = "$GXX"; then 12534 13173 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12535 13174 else … … 12537 13176 fi 12538 13177 12539 if test "$GXX" = yes; then13178 if test yes = "$GXX"; then 12540 13179 # Set up default GNU C++ configuration 12541 13180 … … 12544 13183 # Check whether --with-gnu-ld was given. 12545 13184 if test "${with_gnu_ld+set}" = set; then : 12546 withval=$with_gnu_ld; test "$withval" = no|| with_gnu_ld=yes13185 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 12547 13186 else 12548 13187 with_gnu_ld=no … … 12550 13189 12551 13190 ac_prog=ld 12552 if test "$GCC" = yes; then13191 if test yes = "$GCC"; then 12553 13192 # Check if gcc -print-prog-name=ld gives a path. 12554 13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 … … 12556 13195 case $host in 12557 13196 *-*-mingw*) 12558 # gcc leaves a trailing carriage return which upsets mingw13197 # gcc leaves a trailing carriage return, which upsets mingw 12559 13198 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12560 13199 *) … … 12570 13209 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12571 13210 done 12572 test -z "$LD" && LD= "$ac_prog"13211 test -z "$LD" && LD=$ac_prog 12573 13212 ;; 12574 13213 "") … … 12581 13220 ;; 12582 13221 esac 12583 elif test "$with_gnu_ld" = yes; then13222 elif test yes = "$with_gnu_ld"; then 12584 13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12585 13224 $as_echo_n "checking for GNU ld... " >&6; } … … 12592 13231 else 12593 13232 if test -z "$LD"; then 12594 lt_save_ifs= "$IFS"; IFS=$PATH_SEPARATOR13233 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 12595 13234 for ac_dir in $PATH; do 12596 IFS= "$lt_save_ifs"13235 IFS=$lt_save_ifs 12597 13236 test -z "$ac_dir" && ac_dir=. 12598 13237 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12599 lt_cv_path_LD= "$ac_dir/$ac_prog"13238 lt_cv_path_LD=$ac_dir/$ac_prog 12600 13239 # Check to see if the program is GNU ld. I'd rather use --version, 12601 13240 # but apparently some variants of GNU ld only accept -v. … … 12603 13242 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12604 13243 *GNU* | *'with BFD'*) 12605 test "$with_gnu_ld" != no&& break13244 test no != "$with_gnu_ld" && break 12606 13245 ;; 12607 13246 *) 12608 test "$with_gnu_ld" != yes&& break13247 test yes != "$with_gnu_ld" && break 12609 13248 ;; 12610 13249 esac 12611 13250 fi 12612 13251 done 12613 IFS= "$lt_save_ifs"12614 else 12615 lt_cv_path_LD= "$LD"# Let the user override the test with a path.12616 fi 12617 fi 12618 12619 LD= "$lt_cv_path_LD"13252 IFS=$lt_save_ifs 13253 else 13254 lt_cv_path_LD=$LD # Let the user override the test with a path. 13255 fi 13256 fi 13257 13258 LD=$lt_cv_path_LD 12620 13259 if test -n "$LD"; then 12621 13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 … … 12653 13292 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12654 13293 # archiving commands below assume that GNU ld is being used. 12655 if test "$with_gnu_ld" = yes; then12656 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname $wl$soname -o $lib'12657 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'12658 12659 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath ${wl}$libdir'12660 export_dynamic_flag_spec_CXX='$ {wl}--export-dynamic'13294 if test yes = "$with_gnu_ld"; then 13295 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13296 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13297 13298 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13299 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 12661 13300 12662 13301 # If archive_cmds runs LD, not CC, wlarc should be empty 12663 13302 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12664 13303 # investigate it a little bit more. (MM) 12665 wlarc='$ {wl}'13304 wlarc='$wl' 12666 13305 12667 13306 # ancient GNU ld didn't support --whole-archive et. al. 12668 13307 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12669 13308 $GREP 'no-whole-archive' > /dev/null; then 12670 whole_archive_flag_spec_CXX= "$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'13309 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 12671 13310 else 12672 13311 whole_archive_flag_spec_CXX= … … 12705 13344 ;; 12706 13345 aix[4-9]*) 12707 if test "$host_cpu" = ia64; then13346 if test ia64 = "$host_cpu"; then 12708 13347 # On IA64, the linker does run time linking by default, so we don't 12709 13348 # have to do anything special. 12710 13349 aix_use_runtimelinking=no 12711 13350 exp_sym_flag='-Bexport' 12712 no_entry_flag= ""13351 no_entry_flag= 12713 13352 else 12714 13353 aix_use_runtimelinking=no … … 12716 13355 # Test if we are trying to use run time linking or normal 12717 13356 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12718 # need to do runtime linking. 13357 # have runtime linking enabled, and use it for executables. 13358 # For shared libraries, we enable/disable runtime linking 13359 # depending on the kind of the shared library created - 13360 # when "with_aix_soname,aix_use_runtimelinking" is: 13361 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 13362 # "aix,yes" lib.so shared, rtl:yes, for executables 13363 # lib.a static archive 13364 # "both,no" lib.so.V(shr.o) shared, rtl:yes 13365 # lib.a(lib.so.V) shared, rtl:no, for executables 13366 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 13367 # lib.a(lib.so.V) shared, rtl:no 13368 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 13369 # lib.a static archive 12719 13370 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12720 13371 for ld_flag in $LDFLAGS; do … … 12726 13377 esac 12727 13378 done 13379 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 13380 # With aix-soname=svr4, we create the lib.so.V shared archives only, 13381 # so we don't have lib.a shared libs to link our executables. 13382 # We have to force runtime linking in this case. 13383 aix_use_runtimelinking=yes 13384 LDFLAGS="$LDFLAGS -Wl,-brtl" 13385 fi 12728 13386 ;; 12729 13387 esac … … 12744 13402 hardcode_libdir_separator_CXX=':' 12745 13403 link_all_deplibs_CXX=yes 12746 file_list_spec_CXX='${wl}-f,' 12747 12748 if test "$GXX" = yes; then 13404 file_list_spec_CXX='$wl-f,' 13405 case $with_aix_soname,$aix_use_runtimelinking in 13406 aix,*) ;; # no import file 13407 svr4,* | *,yes) # use import file 13408 # The Import File defines what to hardcode. 13409 hardcode_direct_CXX=no 13410 hardcode_direct_absolute_CXX=no 13411 ;; 13412 esac 13413 13414 if test yes = "$GXX"; then 12749 13415 case $host_os in aix4.[012]|aix4.[012].*) 12750 13416 # We only want to do this on AIX 4.2 and lower, the check 12751 13417 # below for broken collect2 doesn't work under 4.3+ 12752 collect2name=`$ {CC}-print-prog-name=collect2`13418 collect2name=`$CC -print-prog-name=collect2` 12753 13419 if test -f "$collect2name" && 12754 13420 strings "$collect2name" | $GREP resolve_lib_name >/dev/null … … 12768 13434 esac 12769 13435 shared_flag='-shared' 12770 if test "$aix_use_runtimelinking" = yes; then12771 shared_flag= "$shared_flag "'${wl}-G'13436 if test yes = "$aix_use_runtimelinking"; then 13437 shared_flag=$shared_flag' $wl-G' 12772 13438 fi 13439 # Need to ensure runtime linking is disabled for the traditional 13440 # shared library, or the linker may eventually find shared libraries 13441 # /with/ Import File - we do not want to mix them. 13442 shared_flag_aix='-shared' 13443 shared_flag_svr4='-shared $wl-G' 12773 13444 else 12774 13445 # not using gcc 12775 if test "$host_cpu" = ia64; then13446 if test ia64 = "$host_cpu"; then 12776 13447 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12777 13448 # chokes on -Wl,-G. The following line is correct: 12778 13449 shared_flag='-G' 12779 13450 else 12780 if test "$aix_use_runtimelinking" = yes; then12781 shared_flag='$ {wl}-G'13451 if test yes = "$aix_use_runtimelinking"; then 13452 shared_flag='$wl-G' 12782 13453 else 12783 shared_flag='$ {wl}-bM:SRE'13454 shared_flag='$wl-bM:SRE' 12784 13455 fi 13456 shared_flag_aix='$wl-bM:SRE' 13457 shared_flag_svr4='$wl-G' 12785 13458 fi 12786 13459 fi 12787 13460 12788 export_dynamic_flag_spec_CXX='$ {wl}-bexpall'13461 export_dynamic_flag_spec_CXX='$wl-bexpall' 12789 13462 # It seems that -bexpall does not export symbols beginning with 12790 13463 # underscore (_), so it is better to generate a list of symbols to 12791 13464 # export. 12792 13465 always_export_symbols_CXX=yes 12793 if test "$aix_use_runtimelinking" = yes; then13466 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 12794 13467 # Warning - without using the other runtime loading flags (-brtl), 12795 13468 # -berok will link without error, but may produce a broken library. 12796 allow_undefined_flag_CXX='-berok' 13469 # The "-G" linker flag allows undefined symbols. 13470 no_undefined_flag_CXX='-bernotok' 12797 13471 # Determine the default libpath from the value encoded in an empty 12798 13472 # executable. 12799 if test "${lt_cv_aix_libpath+set}" = set; then13473 if test set = "${lt_cv_aix_libpath+set}"; then 12800 13474 aix_libpath=$lt_cv_aix_libpath 12801 13475 else … … 12832 13506 conftest$ac_exeext conftest.$ac_ext 12833 13507 if test -z "$lt_cv_aix_libpath__CXX"; then 12834 lt_cv_aix_libpath__CXX= "/usr/lib:/lib"13508 lt_cv_aix_libpath__CXX=/usr/lib:/lib 12835 13509 fi 12836 13510 … … 12840 13514 fi 12841 13515 12842 hardcode_libdir_flag_spec_CXX='$ {wl}-blibpath:$libdir:'"$aix_libpath"12843 12844 archive_expsym_cmds_CXX='$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"13516 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13517 13518 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 12845 13519 else 12846 if test "$host_cpu" = ia64; then12847 hardcode_libdir_flag_spec_CXX='$ {wl}-R $libdir:/usr/lib:/lib'13520 if test ia64 = "$host_cpu"; then 13521 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 12848 13522 allow_undefined_flag_CXX="-z nodefs" 12849 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$ {wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"13523 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 12850 13524 else 12851 13525 # Determine the default libpath from the value encoded in an 12852 13526 # empty executable. 12853 if test "${lt_cv_aix_libpath+set}" = set; then13527 if test set = "${lt_cv_aix_libpath+set}"; then 12854 13528 aix_libpath=$lt_cv_aix_libpath 12855 13529 else … … 12886 13560 conftest$ac_exeext conftest.$ac_ext 12887 13561 if test -z "$lt_cv_aix_libpath__CXX"; then 12888 lt_cv_aix_libpath__CXX= "/usr/lib:/lib"13562 lt_cv_aix_libpath__CXX=/usr/lib:/lib 12889 13563 fi 12890 13564 … … 12894 13568 fi 12895 13569 12896 hardcode_libdir_flag_spec_CXX='$ {wl}-blibpath:$libdir:'"$aix_libpath"13570 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 12897 13571 # Warning - without using the other run time loading flags, 12898 13572 # -berok will link without error, but may produce a broken library. 12899 no_undefined_flag_CXX=' $ {wl}-bernotok'12900 allow_undefined_flag_CXX=' $ {wl}-berok'12901 if test "$with_gnu_ld" = yes; then13573 no_undefined_flag_CXX=' $wl-bernotok' 13574 allow_undefined_flag_CXX=' $wl-berok' 13575 if test yes = "$with_gnu_ld"; then 12902 13576 # We only use this code for GNU lds that support --whole-archive. 12903 whole_archive_flag_spec_CXX='$ {wl}--whole-archive$convenience ${wl}--no-whole-archive'13577 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 12904 13578 else 12905 13579 # Exported symbols can be pulled into shared objects from archives … … 12907 13581 fi 12908 13582 archive_cmds_need_lc_CXX=yes 12909 # This is similar to how AIX traditionally builds its shared 12910 # libraries. 12911 archive_expsym_cmds_CXX="\$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' 13583 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13584 # -brtl affects multiple linker settings, -berok does not and is overridden later 13585 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13586 if test svr4 != "$with_aix_soname"; then 13587 # This is similar to how AIX traditionally builds its shared 13588 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13589 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 13590 fi 13591 if test aix != "$with_aix_soname"; then 13592 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 13593 else 13594 # used by -dlpreopen to get the symbols 13595 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13596 fi 13597 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 12912 13598 fi 12913 13599 fi … … 12919 13605 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12920 13606 # support --undefined. This deserves some investigation. FIXME 12921 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'13607 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 12922 13608 else 12923 13609 ld_shlibs_CXX=no … … 12947 13633 libext=lib 12948 13634 # Tell ltmain to make .dll files, not .so files. 12949 shrext_cmds= ".dll"13635 shrext_cmds=.dll 12950 13636 # FIXME: Setting linknames here is a bad hack. 12951 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 12952 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12953 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 12954 else 12955 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 12956 fi~ 12957 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 12958 linknames=' 13637 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13638 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13639 cp "$export_symbols" "$output_objdir/$soname.def"; 13640 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13641 else 13642 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13643 fi~ 13644 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13645 linknames=' 12959 13646 # The linker will not automatically build a static lib if we build a DLL. 12960 13647 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' … … 12963 13650 old_postinstall_cmds_CXX='chmod 644 $oldlib' 12964 13651 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 12965 12966 12967 12968 12969 lt_outputfile="$lt_outputfile.exe" 12970 lt_tool_outputfile="$lt_tool_outputfile.exe" 12971 12972 12973 12974 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then12975 12976 12977 13652 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13653 case $lt_outputfile in 13654 *.exe|*.EXE) ;; 13655 *) 13656 lt_outputfile=$lt_outputfile.exe 13657 lt_tool_outputfile=$lt_tool_outputfile.exe 13658 ;; 13659 esac~ 13660 func_to_tool_file "$lt_outputfile"~ 13661 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13662 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13663 $RM "$lt_outputfile.manifest"; 13664 fi' 12978 13665 ;; 12979 13666 *) … … 12982 13669 # as there is no search path for DLLs. 12983 13670 hardcode_libdir_flag_spec_CXX='-L$libdir' 12984 export_dynamic_flag_spec_CXX='$ {wl}--export-all-symbols'13671 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 12985 13672 allow_undefined_flag_CXX=unsupported 12986 13673 always_export_symbols_CXX=no … … 12988 13675 12989 13676 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 12990 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $ {wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'12991 # If the export-symbols file already is a .def file (1st line12992 # is EXPORTS), use it as is; otherwise, prepend...12993 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then12994 12995 12996 12997 12998 12999 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'13677 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13678 # If the export-symbols file already is a .def file, use it as 13679 # is; otherwise, prepend EXPORTS... 13680 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13681 cp $export_symbols $output_objdir/$soname.def; 13682 else 13683 echo EXPORTS > $output_objdir/$soname.def; 13684 cat $export_symbols >> $output_objdir/$soname.def; 13685 fi~ 13686 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13000 13687 else 13001 13688 ld_shlibs_CXX=no … … 13011 13698 hardcode_automatic_CXX=yes 13012 13699 hardcode_shlibpath_var_CXX=unsupported 13013 if test "$lt_cv_ld_force_load" = "yes"; then 13014 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13700 if test yes = "$lt_cv_ld_force_load"; then 13701 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13702 13015 13703 else 13016 13704 whole_archive_flag_spec_CXX='' 13017 13705 fi 13018 13706 link_all_deplibs_CXX=yes 13019 allow_undefined_flag_CXX= "$_lt_dar_allow_undefined"13707 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 13020 13708 case $cc_basename in 13021 ifort* ) _lt_dar_can_shared=yes ;;13709 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13022 13710 *) _lt_dar_can_shared=$GCC ;; 13023 13711 esac 13024 if test "$_lt_dar_can_shared" = "yes"; then13712 if test yes = "$_lt_dar_can_shared"; then 13025 13713 output_verbose_link_cmd=func_echo_all 13026 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$ {_lt_dsymutil}"13027 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$ {_lt_dsymutil}"13028 archive_expsym_cmds_CXX="sed 's ,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"13029 module_expsym_cmds_CXX="sed -e 's ,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"13030 if test "$lt_cv_apple_cc_single_mod" != "yes"; then13031 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$ {lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"13032 archive_expsym_cmds_CXX="sed 's ,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"13714 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 13715 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13716 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 13717 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 13718 if test yes != "$lt_cv_apple_cc_single_mod"; then 13719 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 13720 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 13033 13721 fi 13034 13722 … … 13037 13725 fi 13038 13726 13727 ;; 13728 13729 os2*) 13730 hardcode_libdir_flag_spec_CXX='-L$libdir' 13731 hardcode_minus_L_CXX=yes 13732 allow_undefined_flag_CXX=unsupported 13733 shrext_cmds=.dll 13734 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13735 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13736 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13737 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13738 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13739 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13740 emximp -o $lib $output_objdir/$libname.def' 13741 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13742 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13743 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13744 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13745 prefix_cmds="$SED"~ 13746 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13747 prefix_cmds="$prefix_cmds -e 1d"; 13748 fi~ 13749 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13750 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13751 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13752 emximp -o $lib $output_objdir/$libname.def' 13753 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13754 enable_shared_with_static_runtimes_CXX=yes 13039 13755 ;; 13040 13756 … … 13057 13773 ;; 13058 13774 13059 freebsd [12]*)13775 freebsd2.*) 13060 13776 # C++ shared libraries reported to be fairly broken before 13061 13777 # switch to ELF … … 13073 13789 ;; 13074 13790 13075 gnu*)13076 ;;13077 13078 13791 haiku*) 13079 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'13792 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13080 13793 link_all_deplibs_CXX=yes 13081 13794 ;; 13082 13795 13083 13796 hpux9*) 13084 hardcode_libdir_flag_spec_CXX='$ {wl}+b ${wl}$libdir'13797 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13085 13798 hardcode_libdir_separator_CXX=: 13086 export_dynamic_flag_spec_CXX='$ {wl}-E'13799 export_dynamic_flag_spec_CXX='$wl-E' 13087 13800 hardcode_direct_CXX=yes 13088 13801 hardcode_minus_L_CXX=yes # Not in the search PATH, … … 13096 13809 ;; 13097 13810 aCC*) 13098 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $ {wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib|| mv $output_objdir/$soname $lib'13811 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13099 13812 # Commands to make compiler produce verbose output that lists 13100 13813 # what "hidden" libraries, object files and flags are used when … … 13105 13818 # from the output so that they don't get included in the library 13106 13819 # dependencies. 13107 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'13820 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13108 13821 ;; 13109 13822 *) 13110 if test "$GXX" = yes; then13111 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $ {wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib|| mv $output_objdir/$soname $lib'13823 if test yes = "$GXX"; then 13824 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13112 13825 else 13113 13826 # FIXME: insert proper C++ library support … … 13119 13832 13120 13833 hpux10*|hpux11*) 13121 if test $with_gnu_ld = no; then13122 hardcode_libdir_flag_spec_CXX='$ {wl}+b ${wl}$libdir'13834 if test no = "$with_gnu_ld"; then 13835 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13123 13836 hardcode_libdir_separator_CXX=: 13124 13837 … … 13127 13840 ;; 13128 13841 *) 13129 export_dynamic_flag_spec_CXX='$ {wl}-E'13842 export_dynamic_flag_spec_CXX='$wl-E' 13130 13843 ;; 13131 13844 esac … … 13153 13866 case $host_cpu in 13154 13867 hppa*64*) 13155 archive_cmds_CXX='$CC -b $ {wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13868 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13156 13869 ;; 13157 13870 ia64*) 13158 archive_cmds_CXX='$CC -b $ {wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13871 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13159 13872 ;; 13160 13873 *) 13161 archive_cmds_CXX='$CC -b $ {wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13874 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13162 13875 ;; 13163 13876 esac … … 13170 13883 # from the output so that they don't get included in the library 13171 13884 # dependencies. 13172 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'13885 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13173 13886 ;; 13174 13887 *) 13175 if test "$GXX" = yes; then13176 if test $with_gnu_ld = no; then13888 if test yes = "$GXX"; then 13889 if test no = "$with_gnu_ld"; then 13177 13890 case $host_cpu in 13178 13891 hppa*64*) 13179 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $ {wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13892 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13180 13893 ;; 13181 13894 ia64*) 13182 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $ {wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13895 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13183 13896 ;; 13184 13897 *) 13185 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $ {wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13898 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13186 13899 ;; 13187 13900 esac … … 13198 13911 hardcode_direct_CXX=no 13199 13912 hardcode_shlibpath_var_CXX=no 13200 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath,$libdir'13201 export_dynamic_flag_spec_CXX='$ {wl}-E'13913 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13914 export_dynamic_flag_spec_CXX='$wl-E' 13202 13915 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 13203 13916 # Instead, shared libraries are loaded at an image base (0x10000000 by … … 13206 13919 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 13207 13920 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 13208 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $ {wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'13209 archive_expsym_cmds_CXX='sed "s ,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'13921 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 13922 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 13210 13923 ;; 13211 13924 irix5* | irix6*) … … 13213 13926 CC*) 13214 13927 # SGI C++ 13215 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $ {output_objdir}/so_locations -o $lib'13928 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13216 13929 13217 13930 # Archives containing C++ object files must be created using … … 13222 13935 ;; 13223 13936 *) 13224 if test "$GXX" = yes; then13225 if test "$with_gnu_ld" = no; then13226 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'13937 if test yes = "$GXX"; then 13938 if test no = "$with_gnu_ld"; then 13939 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13227 13940 else 13228 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'13941 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 13229 13942 fi 13230 13943 fi … … 13232 13945 ;; 13233 13946 esac 13234 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath ${wl}$libdir'13947 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13235 13948 hardcode_libdir_separator_CXX=: 13236 13949 inherit_rpath_CXX=yes 13237 13950 ;; 13238 13951 13239 linux* | k*bsd*-gnu | kopensolaris*-gnu )13952 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13240 13953 case $cc_basename in 13241 13954 KCC*) … … 13245 13958 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13246 13959 # to its proper name (with version) after linking. 13247 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$ {tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'13248 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$ {tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'13960 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13961 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 13249 13962 # Commands to make compiler produce verbose output that lists 13250 13963 # what "hidden" libraries, object files and flags are used when … … 13255 13968 # from the output so that they don't get included in the library 13256 13969 # dependencies. 13257 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'13258 13259 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath,$libdir'13260 export_dynamic_flag_spec_CXX='$ {wl}--export-dynamic'13970 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13971 13972 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13973 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13261 13974 13262 13975 # Archives containing C++ object files must be created using … … 13272 13985 case `$CC -V 2>&1` in 13273 13986 *"Version 7."*) 13274 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname $wl$soname -o $lib'13275 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'13987 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13988 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13276 13989 ;; 13277 13990 *) # Version 8.0 or newer … … 13280 13993 ia64*) tmp_idyn=' -i_dynamic';; 13281 13994 esac 13282 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'13283 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'13995 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13996 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13284 13997 ;; 13285 13998 esac 13286 13999 archive_cmds_need_lc_CXX=no 13287 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath,$libdir'13288 export_dynamic_flag_spec_CXX='$ {wl}--export-dynamic'13289 whole_archive_flag_spec_CXX='$ {wl}--whole-archive$convenience ${wl}--no-whole-archive'14000 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14001 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14002 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13290 14003 ;; 13291 14004 pgCC* | pgcpp*) … … 13294 14007 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 13295 14008 prelink_cmds_CXX='tpldir=Template.dir~ 13296 13297 13298 14009 rm -rf $tpldir~ 14010 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14011 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 13299 14012 old_archive_cmds_CXX='tpldir=Template.dir~ 13300 13301 13302 13303 14013 rm -rf $tpldir~ 14014 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14015 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14016 $RANLIB $oldlib' 13304 14017 archive_cmds_CXX='tpldir=Template.dir~ 13305 13306 13307 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'14018 rm -rf $tpldir~ 14019 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14020 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13308 14021 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13309 13310 13311 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'14022 rm -rf $tpldir~ 14023 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14024 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13312 14025 ;; 13313 14026 *) # Version 6 and above use weak symbols 13314 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname ${wl}$soname -o $lib'13315 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'14027 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14028 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13316 14029 ;; 13317 14030 esac 13318 14031 13319 hardcode_libdir_flag_spec_CXX='$ {wl}--rpath ${wl}$libdir'13320 export_dynamic_flag_spec_CXX='$ {wl}--export-dynamic'13321 whole_archive_flag_spec_CXX='$ {wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'14032 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14033 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14034 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 13322 14035 ;; 13323 14036 cxx*) 13324 14037 # Compaq C++ 13325 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname $wl$soname -o $lib'13326 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'14038 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14039 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 13327 14040 13328 14041 runpath_var=LD_RUN_PATH … … 13338 14051 # from the output so that they don't get included in the library 13339 14052 # dependencies. 13340 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'14053 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 13341 14054 ;; 13342 14055 xl* | mpixl* | bgxl*) 13343 14056 # IBM XL 8.0 on PPC, with GNU ld 13344 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath ${wl}$libdir'13345 export_dynamic_flag_spec_CXX='$ {wl}--export-dynamic'13346 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $ {wl}-soname $wl$soname -o $lib'13347 if test "x$supports_anon_versioning" = xyes; then14057 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14058 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14059 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14060 if test yes = "$supports_anon_versioning"; then 13348 14061 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13349 13350 13351 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'14062 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14063 echo "local: *; };" >> $output_objdir/$libname.ver~ 14064 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 13352 14065 fi 13353 14066 ;; … … 13357 14070 # Sun C++ 5.9 13358 14071 no_undefined_flag_CXX=' -zdefs' 13359 archive_cmds_CXX='$CC -G$ {allow_undefined_flag}-h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13360 archive_expsym_cmds_CXX='$CC -G$ {allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'14072 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14073 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 13361 14074 hardcode_libdir_flag_spec_CXX='-R$libdir' 13362 whole_archive_flag_spec_CXX='$ {wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'14075 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 13363 14076 compiler_needs_object_CXX=yes 13364 14077 … … 13418 14131 ;; 13419 14132 13420 openbsd2*) 13421 # C++ shared libraries are fairly broken 13422 ld_shlibs_CXX=no 13423 ;; 13424 13425 openbsd*) 14133 openbsd* | bitrig*) 13426 14134 if test -f /usr/libexec/ld.so; then 13427 14135 hardcode_direct_CXX=yes … … 13429 14137 hardcode_direct_absolute_CXX=yes 13430 14138 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13431 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath,$libdir'13432 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then13433 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-retain-symbols-file,$export_symbols -o $lib'13434 export_dynamic_flag_spec_CXX='$ {wl}-E'13435 whole_archive_flag_spec_CXX= "$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'14139 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14140 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14141 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14142 export_dynamic_flag_spec_CXX='$wl-E' 14143 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13436 14144 fi 13437 14145 output_verbose_link_cmd=func_echo_all … … 13449 14157 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13450 14158 # to its proper name (with version) after linking. 13451 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$ {tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'13452 13453 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath,$libdir'14159 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14160 14161 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13454 14162 hardcode_libdir_separator_CXX=: 13455 14163 … … 13469 14177 case $host in 13470 14178 osf3*) 13471 allow_undefined_flag_CXX=' $ {wl}-expect_unresolved ${wl}\*'13472 archive_cmds_CXX='$CC -shared$ {allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'13473 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath ${wl}$libdir'14179 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14180 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 14181 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13474 14182 ;; 13475 14183 *) 13476 14184 allow_undefined_flag_CXX=' -expect_unresolved \*' 13477 archive_cmds_CXX='$CC -shared$ {allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'14185 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13478 14186 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13479 13480 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~13481 14187 echo "-hidden">> $lib.exp~ 14188 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 14189 $RM $lib.exp' 13482 14190 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13483 14191 ;; … … 13494 14202 # from the output so that they don't get included in the library 13495 14203 # dependencies. 13496 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'14204 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13497 14205 ;; 13498 14206 *) 13499 if test "$GXX" = yes && test "$with_gnu_ld" = no; then13500 allow_undefined_flag_CXX=' $ {wl}-expect_unresolved ${wl}\*'14207 if test yes,no = "$GXX,$with_gnu_ld"; then 14208 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 13501 14209 case $host in 13502 14210 osf3*) 13503 archive_cmds_CXX='$CC -shared -nostdlib $ {allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'14211 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13504 14212 ;; 13505 14213 *) 13506 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $ {allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'14214 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13507 14215 ;; 13508 14216 esac 13509 14217 13510 hardcode_libdir_flag_spec_CXX='$ {wl}-rpath ${wl}$libdir'14218 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13511 14219 hardcode_libdir_separator_CXX=: 13512 14220 … … 13554 14262 archive_cmds_need_lc_CXX=yes 13555 14263 no_undefined_flag_CXX=' -zdefs' 13556 archive_cmds_CXX='$CC -G$ {allow_undefined_flag}-h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'14264 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13557 14265 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13558 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'14266 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13559 14267 13560 14268 hardcode_libdir_flag_spec_CXX='-R$libdir' … … 13564 14272 *) 13565 14273 # The compiler driver will combine and reorder linker options, 13566 # but understands `-z linker_flag'.14274 # but understands '-z linker_flag'. 13567 14275 # Supported since Solaris 2.6 (maybe 2.5.1?) 13568 14276 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' … … 13581 14289 gcx*) 13582 14290 # Green Hills C++ Compiler 13583 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $ {wl}-h $wl$soname -o $lib'14291 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13584 14292 13585 14293 # The C++ compiler must be used to create the archive. … … 13588 14296 *) 13589 14297 # GNU C++ compiler with Solaris linker 13590 if test "$GXX" = yes && test "$with_gnu_ld" = no; then13591 no_undefined_flag_CXX=' $ {wl}-z ${wl}defs'14298 if test yes,no = "$GXX,$with_gnu_ld"; then 14299 no_undefined_flag_CXX=' $wl-z ${wl}defs' 13592 14300 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13593 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $ LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'14301 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13594 14302 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13595 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp-o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'14303 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13596 14304 13597 14305 # Commands to make compiler produce verbose output that lists … … 13600 14308 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13601 14309 else 13602 # g++ 2.7 appears to require `-G' NOT `-shared' on this14310 # g++ 2.7 appears to require '-G' NOT '-shared' on this 13603 14311 # platform. 13604 archive_cmds_CXX='$CC -G -nostdlib $ LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'14312 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13605 14313 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13606 $CC -G -nostdlib ${wl}-M $wl$lib.exp-o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'14314 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13607 14315 13608 14316 # Commands to make compiler produce verbose output that lists … … 13612 14320 fi 13613 14321 13614 hardcode_libdir_flag_spec_CXX='$ {wl}-R $wl$libdir'14322 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 13615 14323 case $host_os in 13616 14324 solaris2.[0-5] | solaris2.[0-5].*) ;; 13617 14325 *) 13618 whole_archive_flag_spec_CXX='$ {wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'14326 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 13619 14327 ;; 13620 14328 esac … … 13625 14333 13626 14334 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13627 no_undefined_flag_CXX='$ {wl}-z,text'14335 no_undefined_flag_CXX='$wl-z,text' 13628 14336 archive_cmds_need_lc_CXX=no 13629 14337 hardcode_shlibpath_var_CXX=no … … 13632 14340 case $cc_basename in 13633 14341 CC*) 13634 archive_cmds_CXX='$CC -G $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'13635 archive_expsym_cmds_CXX='$CC -G $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14342 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14343 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13636 14344 ;; 13637 14345 *) 13638 archive_cmds_CXX='$CC -shared $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'13639 archive_expsym_cmds_CXX='$CC -shared $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14346 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14347 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13640 14348 ;; 13641 14349 esac … … 13643 14351 13644 14352 sysv5* | sco3.2v5* | sco5v6*) 13645 # Note: We canNOT use -z defs as we might desire, because we do not14353 # Note: We CANNOT use -z defs as we might desire, because we do not 13646 14354 # link with -lc, and that would cause any symbols used from libc to 13647 14355 # always be unresolved, which means just about no library would … … 13649 14357 # though, which does catch some bad symbols but isn't as heavy-handed 13650 14358 # as -z defs. 13651 no_undefined_flag_CXX='$ {wl}-z,text'13652 allow_undefined_flag_CXX='$ {wl}-z,nodefs'14359 no_undefined_flag_CXX='$wl-z,text' 14360 allow_undefined_flag_CXX='$wl-z,nodefs' 13653 14361 archive_cmds_need_lc_CXX=no 13654 14362 hardcode_shlibpath_var_CXX=no 13655 hardcode_libdir_flag_spec_CXX='$ {wl}-R,$libdir'14363 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 13656 14364 hardcode_libdir_separator_CXX=':' 13657 14365 link_all_deplibs_CXX=yes 13658 export_dynamic_flag_spec_CXX='$ {wl}-Bexport'14366 export_dynamic_flag_spec_CXX='$wl-Bexport' 13659 14367 runpath_var='LD_RUN_PATH' 13660 14368 13661 14369 case $cc_basename in 13662 14370 CC*) 13663 archive_cmds_CXX='$CC -G $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'13664 archive_expsym_cmds_CXX='$CC -G $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14371 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14372 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13665 14373 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 13666 14374 '"$old_archive_cmds_CXX" 13667 14375 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 13668 14376 '"$reload_cmds_CXX" 13669 14377 ;; 13670 14378 *) 13671 archive_cmds_CXX='$CC -shared $ {wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'13672 archive_expsym_cmds_CXX='$CC -shared $ {wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14379 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14380 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13673 14381 ;; 13674 14382 esac … … 13702 14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 13703 14411 $as_echo "$ld_shlibs_CXX" >&6; } 13704 test "$ld_shlibs_CXX" = no&& can_build_shared=no13705 13706 GCC_CXX= "$GXX"13707 LD_CXX= "$LD"14412 test no = "$ld_shlibs_CXX" && can_build_shared=no 14413 14414 GCC_CXX=$GXX 14415 LD_CXX=$LD 13708 14416 13709 14417 ## CAVEAT EMPTOR: … … 13733 14441 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 13734 14442 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14443 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 13735 14444 esac 13736 14445 … … 13748 14457 13749 14458 for p in `eval "$output_verbose_link_cmd"`; do 13750 case $ {prev}${p}in14459 case $prev$p in 13751 14460 13752 14461 -L* | -R* | -l*) 13753 14462 # Some compilers place space between "-{L,R}" and the path. 13754 14463 # Remove the space. 13755 if test $p = "-L" ||13756 test $p = "-R"; then14464 if test x-L = "$p" || 14465 test x-R = "$p"; then 13757 14466 prev=$p 13758 14467 continue … … 13770 14479 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 13771 14480 esac 13772 if test "$pre_test_object_deps_done" = no; then13773 case $ {prev}in14481 if test no = "$pre_test_object_deps_done"; then 14482 case $prev in 13774 14483 -L | -R) 13775 14484 # Internal compiler library paths should come after those … … 13777 14486 # user supplied libs so there is no need to process them. 13778 14487 if test -z "$compiler_lib_search_path_CXX"; then 13779 compiler_lib_search_path_CXX= "${prev}${p}"14488 compiler_lib_search_path_CXX=$prev$p 13780 14489 else 13781 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $ {prev}${p}"14490 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 13782 14491 fi 13783 14492 ;; … … 13787 14496 else 13788 14497 if test -z "$postdeps_CXX"; then 13789 postdeps_CXX= "${prev}${p}"14498 postdeps_CXX=$prev$p 13790 14499 else 13791 postdeps_CXX="${postdeps_CXX} $ {prev}${p}"14500 postdeps_CXX="${postdeps_CXX} $prev$p" 13792 14501 fi 13793 14502 fi … … 13804 14513 fi 13805 14514 13806 if test "$pre_test_object_deps_done" = no; then14515 if test no = "$pre_test_object_deps_done"; then 13807 14516 if test -z "$predep_objects_CXX"; then 13808 predep_objects_CXX= "$p"14517 predep_objects_CXX=$p 13809 14518 else 13810 14519 predep_objects_CXX="$predep_objects_CXX $p" … … 13812 14521 else 13813 14522 if test -z "$postdep_objects_CXX"; then 13814 postdep_objects_CXX= "$p"14523 postdep_objects_CXX=$p 13815 14524 else 13816 14525 postdep_objects_CXX="$postdep_objects_CXX $p" … … 13842 14551 postdeps_CXX= 13843 14552 ;; 13844 13845 linux*)13846 case `$CC -V 2>&1 | sed 5q` in13847 *Sun\ C*)13848 # Sun C++ 5.913849 13850 # The more standards-conforming stlport4 library is13851 # incompatible with the Cstd library. Avoid specifying13852 # it if it's in CXXFLAGS. Ignore libCrun as13853 # -library=stlport4 depends on it.13854 case " $CXX $CXXFLAGS " in13855 *" -library=stlport4 "*)13856 solaris_use_stlport4=yes13857 ;;13858 esac13859 13860 if test "$solaris_use_stlport4" != yes; then13861 postdeps_CXX='-library=Cstd -library=Crun'13862 fi13863 ;;13864 esac13865 ;;13866 13867 solaris*)13868 case $cc_basename in13869 CC* | sunCC*)13870 # The more standards-conforming stlport4 library is13871 # incompatible with the Cstd library. Avoid specifying13872 # it if it's in CXXFLAGS. Ignore libCrun as13873 # -library=stlport4 depends on it.13874 case " $CXX $CXXFLAGS " in13875 *" -library=stlport4 "*)13876 solaris_use_stlport4=yes13877 ;;13878 esac13879 13880 # Adding this requires a known-good setup of shared libraries for13881 # Sun compiler versions before 5.6, else PIC objects from an old13882 # archive will be linked into the output, leading to subtle bugs.13883 if test "$solaris_use_stlport4" != yes; then13884 postdeps_CXX='-library=Cstd -library=Crun'13885 fi13886 ;;13887 esac13888 ;;13889 14553 esac 13890 14554 … … 13895 14559 compiler_lib_search_dirs_CXX= 13896 14560 if test -n "${compiler_lib_search_path_CXX}"; then 13897 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $ {SED}-e 's! -L! !g' -e 's!^ !!'`14561 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 13898 14562 fi 13899 14563 … … 13934 14598 13935 14599 # C++ specific cases for pic, static, wl, etc. 13936 if test "$GXX" = yes; then14600 if test yes = "$GXX"; then 13937 14601 lt_prog_compiler_wl_CXX='-Wl,' 13938 14602 lt_prog_compiler_static_CXX='-static' … … 13941 14605 aix*) 13942 14606 # All AIX code is PIC. 13943 if test "$host_cpu" = ia64; then14607 if test ia64 = "$host_cpu"; then 13944 14608 # AIX 5 now supports IA64 processor 13945 14609 lt_prog_compiler_static_CXX='-Bstatic' 13946 14610 fi 14611 lt_prog_compiler_pic_CXX='-fPIC' 13947 14612 ;; 13948 14613 … … 13955 14620 m68k) 13956 14621 # FIXME: we need at least 68020 code to build shared libraries, but 13957 # adding the `-m68020' flag to GCC prevents building anything better,13958 # like `-m68040'.14622 # adding the '-m68020' flag to GCC prevents building anything better, 14623 # like '-m68040'. 13959 14624 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 13960 14625 ;; … … 13971 14636 # (--disable-auto-import) libraries 13972 14637 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14638 case $host_os in 14639 os2*) 14640 lt_prog_compiler_static_CXX='$wl-static' 14641 ;; 14642 esac 13973 14643 ;; 13974 14644 darwin* | rhapsody*) … … 14020 14690 aix[4-9]*) 14021 14691 # All AIX code is PIC. 14022 if test "$host_cpu" = ia64; then14692 if test ia64 = "$host_cpu"; then 14023 14693 # AIX 5 now supports IA64 processor 14024 14694 lt_prog_compiler_static_CXX='-Bstatic' … … 14060 14730 CC*) 14061 14731 lt_prog_compiler_wl_CXX='-Wl,' 14062 lt_prog_compiler_static_CXX='$ {wl}-a ${wl}archive'14063 if test "$host_cpu" != ia64; then14732 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14733 if test ia64 != "$host_cpu"; then 14064 14734 lt_prog_compiler_pic_CXX='+Z' 14065 14735 fi … … 14067 14737 aCC*) 14068 14738 lt_prog_compiler_wl_CXX='-Wl,' 14069 lt_prog_compiler_static_CXX='$ {wl}-a ${wl}archive'14739 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14070 14740 case $host_cpu in 14071 14741 hppa*64*|ia64*) … … 14096 14766 esac 14097 14767 ;; 14098 linux* | k*bsd*-gnu | kopensolaris*-gnu )14768 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14099 14769 case $cc_basename in 14100 14770 KCC*) … … 14104 14774 ;; 14105 14775 ecpc* ) 14106 # old Intel C++ for x86_64 which still supported -KPIC.14776 # old Intel C++ for x86_64, which still supported -KPIC. 14107 14777 lt_prog_compiler_wl_CXX='-Wl,' 14108 14778 lt_prog_compiler_pic_CXX='-KPIC' … … 14249 14919 14250 14920 case $host_os in 14251 # For platforms whichdo not support PIC, -DPIC is meaningless:14921 # For platforms that do not support PIC, -DPIC is meaningless: 14252 14922 *djgpp*) 14253 14923 lt_prog_compiler_pic_CXX= … … 14281 14951 ac_outfile=conftest.$ac_objext 14282 14952 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14283 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 14953 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 14284 14954 # Insert the option either (1) after the last *FLAGS variable, or 14285 14955 # (2) before a word containing "conftest.", or (3) at the end. … … 14311 14981 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 14312 14982 14313 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then14983 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 14314 14984 case $lt_prog_compiler_pic_CXX in 14315 14985 "" | " "*) ;; … … 14337 15007 else 14338 15008 lt_cv_prog_compiler_static_works_CXX=no 14339 save_LDFLAGS= "$LDFLAGS"15009 save_LDFLAGS=$LDFLAGS 14340 15010 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14341 15011 echo "$lt_simple_link_test_code" > conftest.$ac_ext … … 14356 15026 fi 14357 15027 $RM -r conftest* 14358 LDFLAGS= "$save_LDFLAGS"15028 LDFLAGS=$save_LDFLAGS 14359 15029 14360 15030 fi … … 14362 15032 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14363 15033 14364 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then15034 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 14365 15035 : 14366 15036 else … … 14476 15146 14477 15147 14478 hard_links= "nottested"14479 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then15148 hard_links=nottested 15149 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 14480 15150 # do not overwrite the value of need_locks provided by the user 14481 15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 … … 14489 15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14490 15160 $as_echo "$hard_links" >&6; } 14491 if test "$hard_links" = no; then14492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&514493 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}15161 if test no = "$hard_links"; then 15162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15163 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 14494 15164 need_locks=warn 14495 15165 fi … … 14508 15178 aix[4-9]*) 14509 15179 # If we're using GNU nm, then we don't want the "-C" option. 14510 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14511 # Also, AIX nm treats weak defined symbols like other global defined 14512 # symbols, whereas GNU nm marks them as "W". 15180 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15181 # Without the "-l" option, or with the "-B" option, AIX nm treats 15182 # weak defined symbols like other global defined symbols, whereas 15183 # GNU nm marks them as "W". 15184 # While the 'weak' keyword is ignored in the Export File, we need 15185 # it in the Import File for the 'aix-soname' feature, so we have 15186 # to replace the "-B" option with "-P" for AIX nm. 14513 15187 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14514 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3} }'\'' | sort -u > $export_symbols'15188 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 14515 15189 else 14516 export_symbols_cmds_CXX=' $NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3} }'\'' | sort -u > $export_symbols'15190 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 14517 15191 fi 14518 15192 ;; 14519 15193 pw32*) 14520 export_symbols_cmds_CXX= "$ltdll_cmds"15194 export_symbols_cmds_CXX=$ltdll_cmds 14521 15195 ;; 14522 15196 cygwin* | mingw* | cegcc*) 14523 15197 case $cc_basename in 14524 cl*) ;; 15198 cl*) 15199 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15200 ;; 14525 15201 *) 14526 15202 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' … … 14539 15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14540 15216 $as_echo "$ld_shlibs_CXX" >&6; } 14541 test "$ld_shlibs_CXX" = no&& can_build_shared=no15217 test no = "$ld_shlibs_CXX" && can_build_shared=no 14542 15218 14543 15219 with_gnu_ld_CXX=$with_gnu_ld … … 14556 15232 archive_cmds_need_lc_CXX=yes 14557 15233 14558 if test "$enable_shared" = yes && test "$GCC" = yes; then15234 if test yes,yes = "$GCC,$enable_shared"; then 14559 15235 case $archive_cmds_CXX in 14560 15236 *'~'*) … … 14678 15354 14679 15355 14680 14681 14682 15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 14683 15357 $as_echo_n "checking dynamic linker characteristics... " >&6; } … … 14686 15360 libname_spec='lib$name' 14687 15361 soname_spec= 14688 shrext_cmds= ".so"15362 shrext_cmds=.so 14689 15363 postinstall_cmds= 14690 15364 postuninstall_cmds= … … 14703 15377 need_version=unknown 14704 15378 15379 15380 14705 15381 case $host_os in 14706 15382 aix3*) 14707 version_type=linux 14708 library_names_spec='$ {libname}${release}${shared_ext}$versuffix $libname.a'15383 version_type=linux # correct to gnu/linux during the next big refactor 15384 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 14709 15385 shlibpath_var=LIBPATH 14710 15386 14711 15387 # AIX 3 has no versioning support, so we append a major version to the name. 14712 soname_spec='$ {libname}${release}${shared_ext}$major'15388 soname_spec='$libname$release$shared_ext$major' 14713 15389 ;; 14714 15390 14715 15391 aix[4-9]*) 14716 version_type=linux 15392 version_type=linux # correct to gnu/linux during the next big refactor 14717 15393 need_lib_prefix=no 14718 15394 need_version=no 14719 15395 hardcode_into_libs=yes 14720 if test "$host_cpu" = ia64; then15396 if test ia64 = "$host_cpu"; then 14721 15397 # AIX 5 supports IA64 14722 library_names_spec='$ {libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'15398 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 14723 15399 shlibpath_var=LD_LIBRARY_PATH 14724 15400 else 14725 15401 # With GCC up to 2.95.x, collect2 would create an import file 14726 15402 # for dependence libraries. The import file would start with 14727 # the line `#! .'. This would cause the generated library to14728 # depend on `.', always an invalid library. This was fixed in15403 # the line '#! .'. This would cause the generated library to 15404 # depend on '.', always an invalid library. This was fixed in 14729 15405 # development snapshots of GCC prior to 3.0. 14730 15406 case $host_os in … … 14732 15408 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 14733 15409 echo ' yes ' 14734 echo '#endif'; } | $ {CC}-E - | $GREP yes > /dev/null; then15410 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 14735 15411 : 14736 15412 else … … 14739 15415 ;; 14740 15416 esac 14741 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 15417 # Using Import Files as archive members, it is possible to support 15418 # filename-based versioning of shared library archives on AIX. While 15419 # this would work for both with and without runtime linking, it will 15420 # prevent static linking of such archives. So we do filename-based 15421 # shared library versioning with .so extension only, which is used 15422 # when both runtime linking and shared linking is enabled. 15423 # Unfortunately, runtime linking may impact performance, so we do 15424 # not want this to be the default eventually. Also, we use the 15425 # versioned .so libs for executables only if there is the -brtl 15426 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15427 # To allow for filename-based versioning support, we need to create 15428 # libNAME.so.V as an archive file, containing: 15429 # *) an Import File, referring to the versioned filename of the 15430 # archive as well as the shared archive member, telling the 15431 # bitwidth (32 or 64) of that shared object, and providing the 15432 # list of exported symbols of that shared object, eventually 15433 # decorated with the 'weak' keyword 15434 # *) the shared object with the F_LOADONLY flag set, to really avoid 15435 # it being seen by the linker. 15436 # At run time we better use the real file rather than another symlink, 15437 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15438 15439 case $with_aix_soname,$aix_use_runtimelinking in 15440 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 14742 15441 # soname into executable. Probably we can add versioning support to 14743 15442 # collect2, so additional links can be useful in future. 14744 if test "$aix_use_runtimelinking" = yes; then 15443 aix,yes) # traditional libtool 15444 dynamic_linker='AIX unversionable lib.so' 14745 15445 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14746 15446 # instead of lib<name>.a to let people know that these are not 14747 15447 # typical AIX shared libraries. 14748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14749 else 15448 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15449 ;; 15450 aix,no) # traditional AIX only 15451 dynamic_linker='AIX lib.a(lib.so.V)' 14750 15452 # We preserve .a as extension for shared libraries through AIX4.2 14751 15453 # and later when we are not doing run time linking. 14752 library_names_spec='${libname}${release}.a $libname.a' 14753 soname_spec='${libname}${release}${shared_ext}$major' 14754 fi 15454 library_names_spec='$libname$release.a $libname.a' 15455 soname_spec='$libname$release$shared_ext$major' 15456 ;; 15457 svr4,*) # full svr4 only 15458 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15459 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15460 # We do not specify a path in Import Files, so LIBPATH fires. 15461 shlibpath_overrides_runpath=yes 15462 ;; 15463 *,yes) # both, prefer svr4 15464 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15465 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15466 # unpreferred sharedlib libNAME.a needs extra handling 15467 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 15468 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 15469 # We do not specify a path in Import Files, so LIBPATH fires. 15470 shlibpath_overrides_runpath=yes 15471 ;; 15472 *,no) # both, prefer aix 15473 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15474 library_names_spec='$libname$release.a $libname.a' 15475 soname_spec='$libname$release$shared_ext$major' 15476 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15477 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 15478 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 15479 ;; 15480 esac 14755 15481 shlibpath_var=LIBPATH 14756 15482 fi … … 14762 15488 # Since July 2007 AmigaOS4 officially supports .so libraries. 14763 15489 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14764 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15490 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14765 15491 ;; 14766 15492 m68k) 14767 15493 library_names_spec='$libname.ixlibrary $libname.a' 14768 15494 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14769 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'15495 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' 14770 15496 ;; 14771 15497 esac … … 14773 15499 14774 15500 beos*) 14775 library_names_spec='$ {libname}${shared_ext}'15501 library_names_spec='$libname$shared_ext' 14776 15502 dynamic_linker="$host_os ld.so" 14777 15503 shlibpath_var=LIBRARY_PATH … … 14779 15505 14780 15506 bsdi[45]*) 14781 version_type=linux 15507 version_type=linux # correct to gnu/linux during the next big refactor 14782 15508 need_version=no 14783 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'14784 soname_spec='$ {libname}${release}${shared_ext}$major'15509 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15510 soname_spec='$libname$release$shared_ext$major' 14785 15511 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14786 15512 shlibpath_var=LD_LIBRARY_PATH … … 14794 15520 cygwin* | mingw* | pw32* | cegcc*) 14795 15521 version_type=windows 14796 shrext_cmds= ".dll"15522 shrext_cmds=.dll 14797 15523 need_version=no 14798 15524 need_lib_prefix=no … … 14803 15529 library_names_spec='$libname.dll.a' 14804 15530 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14805 postinstall_cmds='base_file=`basename \$ {file}`~14806 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$ {base_file}'\''i; echo \$dlname'\''`~15531 postinstall_cmds='base_file=`basename \$file`~ 15532 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 14807 15533 dldir=$destdir/`dirname \$dlpath`~ 14808 15534 test -d \$dldir || mkdir -p \$dldir~ … … 14820 15546 cygwin*) 14821 15547 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14822 soname_spec='`echo $ {libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'15548 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 14823 15549 14824 15550 ;; 14825 15551 mingw* | cegcc*) 14826 15552 # MinGW DLLs use traditional 'lib' prefix 14827 soname_spec='$ {libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'15553 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 14828 15554 ;; 14829 15555 pw32*) 14830 15556 # pw32 DLLs use 'pw' prefix rather than 'lib' 14831 library_names_spec='`echo $ {libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'15557 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 14832 15558 ;; 14833 15559 esac … … 14838 15564 # Native MSVC 14839 15565 libname_spec='$name' 14840 soname_spec='$ {libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'14841 library_names_spec='$ {libname}.dll.lib'15566 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15567 library_names_spec='$libname.dll.lib' 14842 15568 14843 15569 case $build_os in … … 14866 15592 ;; 14867 15593 *) 14868 sys_lib_search_path_spec= "$LIB"15594 sys_lib_search_path_spec=$LIB 14869 15595 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 14870 15596 # It is most probably a Windows format PATH. … … 14879 15605 14880 15606 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14881 postinstall_cmds='base_file=`basename \$ {file}`~14882 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$ {base_file}'\''i; echo \$dlname'\''`~15607 postinstall_cmds='base_file=`basename \$file`~ 15608 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 14883 15609 dldir=$destdir/`dirname \$dlpath`~ 14884 15610 test -d \$dldir || mkdir -p \$dldir~ … … 14893 15619 *) 14894 15620 # Assume MSVC wrapper 14895 library_names_spec='$ {libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}$libname.lib'15621 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 14896 15622 dynamic_linker='Win32 ld.exe' 14897 15623 ;; … … 14906 15632 need_lib_prefix=no 14907 15633 need_version=no 14908 library_names_spec='$ {libname}${release}${major}$shared_ext ${libname}$shared_ext'14909 soname_spec='$ {libname}${release}${major}$shared_ext'15634 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15635 soname_spec='$libname$release$major$shared_ext' 14910 15636 shlibpath_overrides_runpath=yes 14911 15637 shlibpath_var=DYLD_LIBRARY_PATH … … 14916 15642 14917 15643 dgux*) 14918 version_type=linux 15644 version_type=linux # correct to gnu/linux during the next big refactor 14919 15645 need_lib_prefix=no 14920 15646 need_version=no 14921 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'14922 soname_spec='$ {libname}${release}${shared_ext}$major'15647 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15648 soname_spec='$libname$release$shared_ext$major' 14923 15649 shlibpath_var=LD_LIBRARY_PATH 14924 ;;14925 14926 freebsd1*)14927 dynamic_linker=no14928 15650 ;; 14929 15651 … … 14935 15657 else 14936 15658 case $host_os in 14937 freebsd[ 123]*) objformat=aout ;;15659 freebsd[23].*) objformat=aout ;; 14938 15660 *) objformat=elf ;; 14939 15661 esac … … 14942 15664 case $version_type in 14943 15665 freebsd-elf*) 14944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 15666 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15667 soname_spec='$libname$release$shared_ext$major' 14945 15668 need_version=no 14946 15669 need_lib_prefix=no 14947 15670 ;; 14948 15671 freebsd-*) 14949 library_names_spec='$ {libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'15672 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 14950 15673 need_version=yes 14951 15674 ;; … … 14953 15676 shlibpath_var=LD_LIBRARY_PATH 14954 15677 case $host_os in 14955 freebsd2 *)15678 freebsd2.*) 14956 15679 shlibpath_overrides_runpath=yes 14957 15680 ;; … … 14972 15695 ;; 14973 15696 14974 gnu*)14975 version_type=linux14976 need_lib_prefix=no14977 need_version=no14978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'14979 soname_spec='${libname}${release}${shared_ext}$major'14980 shlibpath_var=LD_LIBRARY_PATH14981 shlibpath_overrides_runpath=no14982 hardcode_into_libs=yes14983 ;;14984 14985 15697 haiku*) 14986 version_type=linux 15698 version_type=linux # correct to gnu/linux during the next big refactor 14987 15699 need_lib_prefix=no 14988 15700 need_version=no 14989 15701 dynamic_linker="$host_os runtime_loader" 14990 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'14991 soname_spec='$ {libname}${release}${shared_ext}$major'15702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15703 soname_spec='$libname$release$shared_ext$major' 14992 15704 shlibpath_var=LIBRARY_PATH 14993 shlibpath_overrides_runpath= yes15705 shlibpath_overrides_runpath=no 14994 15706 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 14995 15707 hardcode_into_libs=yes … … 15009 15721 shlibpath_var=LD_LIBRARY_PATH 15010 15722 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15011 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15012 soname_spec='$ {libname}${release}${shared_ext}$major'15013 if test "X$HPUX_IA64_MODE" = X32; then15723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15724 soname_spec='$libname$release$shared_ext$major' 15725 if test 32 = "$HPUX_IA64_MODE"; then 15014 15726 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15727 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15015 15728 else 15016 15729 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15730 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 15017 15731 fi 15018 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec15019 15732 ;; 15020 15733 hppa*64*) … … 15024 15737 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15025 15738 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15026 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15027 soname_spec='$ {libname}${release}${shared_ext}$major'15739 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15740 soname_spec='$libname$release$shared_ext$major' 15028 15741 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15029 15742 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec … … 15034 15747 shlibpath_var=SHLIB_PATH 15035 15748 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15036 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15037 soname_spec='$ {libname}${release}${shared_ext}$major'15749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15750 soname_spec='$libname$release$shared_ext$major' 15038 15751 ;; 15039 15752 esac … … 15045 15758 15046 15759 interix[3-9]*) 15047 version_type=linux 15760 version_type=linux # correct to gnu/linux during the next big refactor 15048 15761 need_lib_prefix=no 15049 15762 need_version=no 15050 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'15051 soname_spec='$ {libname}${release}${shared_ext}$major'15763 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15764 soname_spec='$libname$release$shared_ext$major' 15052 15765 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15053 15766 shlibpath_var=LD_LIBRARY_PATH … … 15060 15773 nonstopux*) version_type=nonstopux ;; 15061 15774 *) 15062 if test "$lt_cv_prog_gnu_ld" = yes; then15063 version_type=linux 15775 if test yes = "$lt_cv_prog_gnu_ld"; then 15776 version_type=linux # correct to gnu/linux during the next big refactor 15064 15777 else 15065 15778 version_type=irix … … 15068 15781 need_lib_prefix=no 15069 15782 need_version=no 15070 soname_spec='$ {libname}${release}${shared_ext}$major'15071 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'15783 soname_spec='$libname$release$shared_ext$major' 15784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 15072 15785 case $host_os in 15073 15786 irix5* | nonstopux*) … … 15088 15801 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15089 15802 shlibpath_overrides_runpath=no 15090 sys_lib_search_path_spec="/usr/lib$ {libsuff} /lib${libsuff} /usr/local/lib${libsuff}"15091 sys_lib_dlsearch_path_spec="/usr/lib$ {libsuff} /lib${libsuff}"15803 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 15804 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 15092 15805 hardcode_into_libs=yes 15093 15806 ;; … … 15098 15811 ;; 15099 15812 15100 # This must be Linux ELF. 15101 linux* | k*bsd*-gnu | kopensolaris*-gnu) 15102 version_type=linux 15813 linux*android*) 15814 version_type=none # Android doesn't support versioned libraries. 15103 15815 need_lib_prefix=no 15104 15816 need_version=no 15105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 15106 soname_spec='${libname}${release}${shared_ext}$major' 15817 library_names_spec='$libname$release$shared_ext' 15818 soname_spec='$libname$release$shared_ext' 15819 finish_cmds= 15820 shlibpath_var=LD_LIBRARY_PATH 15821 shlibpath_overrides_runpath=yes 15822 15823 # This implies no fast_install, which is unacceptable. 15824 # Some rework will be needed to allow for fast_install 15825 # before this can be enabled. 15826 hardcode_into_libs=yes 15827 15828 dynamic_linker='Android linker' 15829 # Don't embed -rpath directories since the linker doesn't support them. 15830 hardcode_libdir_flag_spec_CXX='-L$libdir' 15831 ;; 15832 15833 # This must be glibc/ELF. 15834 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15835 version_type=linux # correct to gnu/linux during the next big refactor 15836 need_lib_prefix=no 15837 need_version=no 15838 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15839 soname_spec='$libname$release$shared_ext$major' 15107 15840 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15108 15841 shlibpath_var=LD_LIBRARY_PATH … … 15148 15881 hardcode_into_libs=yes 15149 15882 15150 # Append ld.so.conf contents to the search path 15883 # Ideally, we could use ldconfig to report *all* directores which are 15884 # searched for libraries, however this is still not possible. Aside from not 15885 # being certain /sbin/ldconfig is available, command 15886 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 15887 # even though it is searched at run-time. Try to do the best guess by 15888 # appending ld.so.conf contents (and includes) to the search path. 15151 15889 if test -f /etc/ld.so.conf; then 15152 15890 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' ' '` … … 15180 15918 need_version=no 15181 15919 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15182 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'15920 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15183 15921 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15184 15922 dynamic_linker='NetBSD (a.out) ld.so' 15185 15923 else 15186 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'15187 soname_spec='$ {libname}${release}${shared_ext}$major'15924 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15925 soname_spec='$libname$release$shared_ext$major' 15188 15926 dynamic_linker='NetBSD ld.elf_so' 15189 15927 fi … … 15194 15932 15195 15933 newsos6) 15196 version_type=linux 15197 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15934 version_type=linux # correct to gnu/linux during the next big refactor 15935 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15198 15936 shlibpath_var=LD_LIBRARY_PATH 15199 15937 shlibpath_overrides_runpath=yes … … 15204 15942 need_lib_prefix=no 15205 15943 need_version=no 15206 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15207 soname_spec='$ {libname}${release}${shared_ext}$major'15944 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15945 soname_spec='$libname$release$shared_ext$major' 15208 15946 shlibpath_var=LD_LIBRARY_PATH 15209 15947 shlibpath_overrides_runpath=no … … 15212 15950 ;; 15213 15951 15214 openbsd* )15952 openbsd* | bitrig*) 15215 15953 version_type=sunos 15216 sys_lib_dlsearch_path_spec= "/usr/lib"15954 sys_lib_dlsearch_path_spec=/usr/lib 15217 15955 need_lib_prefix=no 15218 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.15219 case $host_os in15220 openbsd3.3 | openbsd3.3.*) need_version=yes ;;15221 *) need_version=no ;;15222 esac15223 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'15956 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 15957 need_version=no 15958 else 15959 need_version=yes 15960 fi 15961 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15224 15962 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15225 15963 shlibpath_var=LD_LIBRARY_PATH 15226 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15227 case $host_os in 15228 openbsd2.[89] | openbsd2.[89].*) 15229 shlibpath_overrides_runpath=no 15230 ;; 15231 *) 15232 shlibpath_overrides_runpath=yes 15233 ;; 15234 esac 15235 else 15236 shlibpath_overrides_runpath=yes 15237 fi 15964 shlibpath_overrides_runpath=yes 15238 15965 ;; 15239 15966 15240 15967 os2*) 15241 15968 libname_spec='$name' 15242 shrext_cmds=".dll" 15969 version_type=windows 15970 shrext_cmds=.dll 15971 need_version=no 15243 15972 need_lib_prefix=no 15244 library_names_spec='$libname${shared_ext} $libname.a' 15973 # OS/2 can only load a DLL with a base name of 8 characters or less. 15974 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 15975 v=$($ECHO $release$versuffix | tr -d .-); 15976 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 15977 $ECHO $n$v`$shared_ext' 15978 library_names_spec='${libname}_dll.$libext' 15245 15979 dynamic_linker='OS/2 ld.exe' 15246 shlibpath_var=LIBPATH 15980 shlibpath_var=BEGINLIBPATH 15981 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15982 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15983 postinstall_cmds='base_file=`basename \$file`~ 15984 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 15985 dldir=$destdir/`dirname \$dlpath`~ 15986 test -d \$dldir || mkdir -p \$dldir~ 15987 $install_prog $dir/$dlname \$dldir/$dlname~ 15988 chmod a+x \$dldir/$dlname~ 15989 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15990 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15991 fi' 15992 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 15993 dlpath=$dir/\$dldll~ 15994 $RM \$dlpath' 15247 15995 ;; 15248 15996 … … 15251 15999 need_lib_prefix=no 15252 16000 need_version=no 15253 soname_spec='$ {libname}${release}${shared_ext}$major'15254 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'16001 soname_spec='$libname$release$shared_ext$major' 16002 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15255 16003 shlibpath_var=LD_LIBRARY_PATH 15256 16004 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15257 sys_lib_dlsearch_path_spec= "$sys_lib_search_path_spec"16005 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15258 16006 ;; 15259 16007 … … 15263 16011 15264 16012 solaris*) 15265 version_type=linux 16013 version_type=linux # correct to gnu/linux during the next big refactor 15266 16014 need_lib_prefix=no 15267 16015 need_version=no 15268 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15269 soname_spec='$ {libname}${release}${shared_ext}$major'16016 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16017 soname_spec='$libname$release$shared_ext$major' 15270 16018 shlibpath_var=LD_LIBRARY_PATH 15271 16019 shlibpath_overrides_runpath=yes … … 15277 16025 sunos4*) 15278 16026 version_type=sunos 15279 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'16027 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15280 16028 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15281 16029 shlibpath_var=LD_LIBRARY_PATH 15282 16030 shlibpath_overrides_runpath=yes 15283 if test "$with_gnu_ld" = yes; then16031 if test yes = "$with_gnu_ld"; then 15284 16032 need_lib_prefix=no 15285 16033 fi … … 15288 16036 15289 16037 sysv4 | sysv4.3*) 15290 version_type=linux 15291 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15292 soname_spec='$ {libname}${release}${shared_ext}$major'16038 version_type=linux # correct to gnu/linux during the next big refactor 16039 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16040 soname_spec='$libname$release$shared_ext$major' 15293 16041 shlibpath_var=LD_LIBRARY_PATH 15294 16042 case $host_vendor in … … 15311 16059 15312 16060 sysv4*MP*) 15313 if test -d /usr/nec ;then15314 version_type=linux 15315 library_names_spec='$libname$ {shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'15316 soname_spec='$libname$ {shared_ext}.$major'16061 if test -d /usr/nec; then 16062 version_type=linux # correct to gnu/linux during the next big refactor 16063 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16064 soname_spec='$libname$shared_ext.$major' 15317 16065 shlibpath_var=LD_LIBRARY_PATH 15318 16066 fi … … 15320 16068 15321 16069 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15322 version_type= freebsd-elf16070 version_type=sco 15323 16071 need_lib_prefix=no 15324 16072 need_version=no 15325 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'15326 soname_spec='$ {libname}${release}${shared_ext}$major'16073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16074 soname_spec='$libname$release$shared_ext$major' 15327 16075 shlibpath_var=LD_LIBRARY_PATH 15328 16076 shlibpath_overrides_runpath=yes 15329 16077 hardcode_into_libs=yes 15330 if test "$with_gnu_ld" = yes; then16078 if test yes = "$with_gnu_ld"; then 15331 16079 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15332 16080 else … … 15343 16091 tpf*) 15344 16092 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15345 version_type=linux 16093 version_type=linux # correct to gnu/linux during the next big refactor 15346 16094 need_lib_prefix=no 15347 16095 need_version=no 15348 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'16096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15349 16097 shlibpath_var=LD_LIBRARY_PATH 15350 16098 shlibpath_overrides_runpath=no … … 15353 16101 15354 16102 uts4*) 15355 version_type=linux 15356 library_names_spec='$ {libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'15357 soname_spec='$ {libname}${release}${shared_ext}$major'16103 version_type=linux # correct to gnu/linux during the next big refactor 16104 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16105 soname_spec='$libname$release$shared_ext$major' 15358 16106 shlibpath_var=LD_LIBRARY_PATH 15359 16107 ;; … … 15365 16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15366 16114 $as_echo "$dynamic_linker" >&6; } 15367 test "$dynamic_linker" = no&& can_build_shared=no16115 test no = "$dynamic_linker" && can_build_shared=no 15368 16116 15369 16117 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15370 if test "$GCC" = yes; then16118 if test yes = "$GCC"; then 15371 16119 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15372 16120 fi 15373 16121 15374 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 15375 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 15376 fi 15377 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 15378 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 15379 fi 16122 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16123 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16124 fi 16125 16126 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16127 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16128 fi 16129 16130 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16131 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16132 16133 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16134 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16135 16136 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16137 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16138 16139 15380 16140 15381 16141 … … 15421 16181 if test -n "$hardcode_libdir_flag_spec_CXX" || 15422 16182 test -n "$runpath_var_CXX" || 15423 test "X$hardcode_automatic_CXX" = "Xyes"; then16183 test yes = "$hardcode_automatic_CXX"; then 15424 16184 15425 16185 # We can hardcode non-existent directories. 15426 if test "$hardcode_direct_CXX" != no&&16186 if test no != "$hardcode_direct_CXX" && 15427 16187 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15428 16188 # have to relink, otherwise we might link with an installed library 15429 16189 # when we should be linking with a yet-to-be-installed one 15430 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no&&15431 test "$hardcode_minus_L_CXX" != no; then16190 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16191 test no != "$hardcode_minus_L_CXX"; then 15432 16192 # Linking always hardcodes the temporary library directory. 15433 16193 hardcode_action_CXX=relink … … 15444 16204 $as_echo "$hardcode_action_CXX" >&6; } 15445 16205 15446 if test "$hardcode_action_CXX" = relink||15447 test "$inherit_rpath_CXX" = yes; then16206 if test relink = "$hardcode_action_CXX" || 16207 test yes = "$inherit_rpath_CXX"; then 15448 16208 # Fast installation is not supported 15449 16209 enable_fast_install=no 15450 elif test "$shlibpath_overrides_runpath" = yes||15451 test "$enable_shared" = no; then16210 elif test yes = "$shlibpath_overrides_runpath" || 16211 test no = "$enable_shared"; then 15452 16212 # Fast installation is not necessary 15453 16213 enable_fast_install=needless … … 15472 16232 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15473 16233 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15474 fi # test "$_lt_caught_CXX_error" != yes16234 fi # test yes != "$_lt_caught_CXX_error" 15475 16235 15476 16236 ac_ext=c … … 15492 16252 15493 16253 16254 16255 15494 16256 ac_config_commands="$ac_config_commands libtool" 15495 16257 … … 15511 16273 # Automake initial setup 15512 16274 ###################################################################### 15513 am__api_version='1.1 1'16275 am__api_version='1.15' 15514 16276 15515 16277 # Find a good install program. We prefer a C program (faster), … … 15550 16312 for ac_prog in ginstall scoinst install; do 15551 16313 for ac_exec_ext in '' $ac_executable_extensions; do 15552 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then16314 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 15553 16315 if test $ac_prog = install && 15554 16316 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 15608 16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 15609 16371 $as_echo_n "checking whether build environment is sane... " >&6; } 15610 # Just in case15611 sleep 115612 echo timestamp > conftest.file15613 16372 # Reject unsafe characters in $srcdir or the absolute working directory 15614 16373 # name. Accept space and tab only in the latter. … … 15621 16380 case $srcdir in 15622 16381 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 15623 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;16382 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 15624 16383 esac 15625 16384 15626 # Do `set' in a subshell so we don't clobber the current shell's16385 # Do 'set' in a subshell so we don't clobber the current shell's 15627 16386 # arguments. Must try -L first in case configure is actually a 15628 16387 # symlink; some systems play weird games with the mod time of symlinks … … 15630 16389 # directory). 15631 16390 if ( 15632 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 15633 if test "$*" = "X"; then 15634 # -L didn't work. 15635 set X `ls -t "$srcdir/configure" conftest.file` 15636 fi 15637 rm -f conftest.file 15638 if test "$*" != "X $srcdir/configure conftest.file" \ 15639 && test "$*" != "X conftest.file $srcdir/configure"; then 15640 15641 # If neither matched, then we have a broken ls. This can happen 15642 # if, for instance, CONFIG_SHELL is bash and it inherits a 15643 # broken ls alias from the environment. This has actually 15644 # happened. Such a system could not be considered "sane". 15645 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 15646 alias in your environment" "$LINENO" 5 15647 fi 15648 16391 am_has_slept=no 16392 for am_try in 1 2; do 16393 echo "timestamp, slept: $am_has_slept" > conftest.file 16394 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 16395 if test "$*" = "X"; then 16396 # -L didn't work. 16397 set X `ls -t "$srcdir/configure" conftest.file` 16398 fi 16399 if test "$*" != "X $srcdir/configure conftest.file" \ 16400 && test "$*" != "X conftest.file $srcdir/configure"; then 16401 16402 # If neither matched, then we have a broken ls. This can happen 16403 # if, for instance, CONFIG_SHELL is bash and it inherits a 16404 # broken ls alias from the environment. This has actually 16405 # happened. Such a system could not be considered "sane". 16406 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 16407 alias in your environment" "$LINENO" 5 16408 fi 16409 if test "$2" = conftest.file || test $am_try -eq 2; then 16410 break 16411 fi 16412 # Just in case. 16413 sleep 1 16414 am_has_slept=yes 16415 done 15649 16416 test "$2" = conftest.file 15650 16417 ) … … 15658 16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15659 16426 $as_echo "yes" >&6; } 16427 # If we didn't sleep, we still need to ensure time stamps of config.status and 16428 # generated files are strictly newer. 16429 am_sleep_pid= 16430 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 16431 ( sleep 1 ) & 16432 am_sleep_pid=$! 16433 fi 16434 16435 rm -f conftest.file 16436 15660 16437 test "$program_prefix" != NONE && 15661 16438 program_transform_name="s&^&$program_prefix&;$program_transform_name" … … 15677 16454 fi 15678 16455 # Use eval to expand $SHELL 15679 if eval "$MISSING -- run true"; then15680 am_missing_run="$MISSING --run"16456 if eval "$MISSING --is-lightweight"; then 16457 am_missing_run="$MISSING " 15681 16458 else 15682 16459 am_missing_run= 15683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&515684 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}15685 fi 15686 15687 if test x"${install_sh }" != xset; then16460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 16461 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 16462 fi 16463 16464 if test x"${install_sh+set}" != xset; then 15688 16465 case $am_aux_dir in 15689 16466 *\ * | *\ *) … … 15694 16471 fi 15695 16472 15696 # Installed binaries are usually stripped using `strip' when the user15697 # run `make install-strip'. However `strip' might not be the right16473 # Installed binaries are usually stripped using 'strip' when the user 16474 # run "make install-strip". However 'strip' might not be the right 15698 16475 # tool to use in cross-compilation environments, therefore Automake 15699 # will honor the `STRIP' environment variable to overrule this program.16476 # will honor the 'STRIP' environment variable to overrule this program. 15700 16477 if test "$cross_compiling" != no; then 15701 16478 if test -n "$ac_tool_prefix"; then … … 15716 16493 test -z "$as_dir" && as_dir=. 15717 16494 for ac_exec_ext in '' $ac_executable_extensions; do 15718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then16495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15719 16496 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 15720 16497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 15756 16533 test -z "$as_dir" && as_dir=. 15757 16534 for ac_exec_ext in '' $ac_executable_extensions; do 15758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then16535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15759 16536 ac_cv_prog_ac_ct_STRIP="strip" 15760 16537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 15807 16584 for ac_prog in mkdir gmkdir; do 15808 16585 for ac_exec_ext in '' $ac_executable_extensions; do 15809 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue16586 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 15810 16587 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 15811 16588 'mkdir (GNU coreutils) '* | \ … … 15835 16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 15836 16613 $as_echo "$MKDIR_P" >&6; } 15837 15838 mkdir_p="$MKDIR_P"15839 case $mkdir_p in15840 [\\/$]* | ?:[\\/]*) ;;15841 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;15842 esac15843 16614 15844 16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 … … 15901 16672 # First try GNU make style include. 15902 16673 echo "include confinc" > confmf 15903 # Ignore all kinds of additional output from `make'.16674 # Ignore all kinds of additional output from 'make'. 15904 16675 case `$am_make -s -f confmf 2> /dev/null` in #( 15905 16676 *the\ am__doit\ target*) … … 15950 16721 fi 15951 16722 15952 case $enable_silent_rules in 15953 yes) AM_DEFAULT_VERBOSITY=0;;15954 no)AM_DEFAULT_VERBOSITY=1;;15955 *)AM_DEFAULT_VERBOSITY=1;;16723 case $enable_silent_rules in # ((( 16724 yes) AM_DEFAULT_VERBOSITY=0;; 16725 no) AM_DEFAULT_VERBOSITY=1;; 16726 *) AM_DEFAULT_VERBOSITY=1;; 15956 16727 esac 15957 16728 am_make=${MAKE-make} … … 16025 16796 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 16026 16797 16027 # We need awk for the "check" target. The system "awk" is bad on 16028 # some platforms. 16798 # For better backward compatibility. To be removed once Automake 1.9.x 16799 # dies out for good. For more background, see: 16800 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 16801 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 16802 mkdir_p='$(MKDIR_P)' 16803 16804 # We need awk for the "check" target (and possibly the TAP driver). The 16805 # system "awk" is bad on some platforms. 16029 16806 # Always define AMTAR for backward compatibility. Yes, it's still used 16030 16807 # in the wild :-( We should find a proper way to deprecate it ... 16031 16808 AMTAR='$${TAR-tar}' 16032 16809 16810 16811 # We'll loop over all known methods to create a tar archive until one works. 16812 _am_tools='gnutar pax cpio none' 16813 16033 16814 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 16815 16034 16816 16035 16817 … … 16047 16829 # making bogus files that we don't know about and never remove. For 16048 16830 # instance it was reported that on HP-UX the gcc test will end up 16049 # making a dummy file named `D' -- because `-MD' means `put the output16050 # in D '.16831 # making a dummy file named 'D' -- because '-MD' means "put the output 16832 # in D". 16051 16833 rm -rf conftest.dir 16052 16834 mkdir conftest.dir … … 16083 16865 for i in 1 2 3 4 5 6; do 16084 16866 echo '#include "conftst'$i'.h"' >> sub/conftest.c 16085 # Using `: > sub/conftst$i.h'creates only sub/conftst1.h with16086 # Solaris 8's {/usr,}/bin/sh.16087 touchsub/conftst$i.h16867 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 16868 # Solaris 10 /bin/sh. 16869 echo '/* dummy */' > sub/conftst$i.h 16088 16870 done 16089 16871 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 16090 16872 16091 # We check with `-c' and `-o' for the sake of the "dashmstdout"16873 # We check with '-c' and '-o' for the sake of the "dashmstdout" 16092 16874 # mode. It turns out that the SunPro C++ compiler does not properly 16093 # handle `-M -o', and we need to detect this. Also, some Intel16094 # versions had trouble with output in subdirs 16875 # handle '-M -o', and we need to detect this. Also, some Intel 16876 # versions had trouble with output in subdirs. 16095 16877 am__obj=sub/conftest.${OBJEXT-o} 16096 16878 am__minus_obj="-o $am__obj" … … 16101 16883 ;; 16102 16884 nosideeffect) 16103 # after this tag, mechanisms are not by side-effect, so they'll16104 # only be used when explicitly requested 16885 # After this tag, mechanisms are not by side-effect, so they'll 16886 # only be used when explicitly requested. 16105 16887 if test "x$enable_dependency_tracking" = xyes; then 16106 16888 continue … … 16110 16892 ;; 16111 16893 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 16112 # This compiler won't grok `-c -o', but also, the minuso test has16894 # This compiler won't grok '-c -o', but also, the minuso test has 16113 16895 # not run yet. These depmodes are late enough in the game, and 16114 16896 # so weak that their functioning should not be impacted. … … 16175 16957 # making bogus files that we don't know about and never remove. For 16176 16958 # instance it was reported that on HP-UX the gcc test will end up 16177 # making a dummy file named `D' -- because `-MD' means `put the output16178 # in D '.16959 # making a dummy file named 'D' -- because '-MD' means "put the output 16960 # in D". 16179 16961 rm -rf conftest.dir 16180 16962 mkdir conftest.dir … … 16211 16993 for i in 1 2 3 4 5 6; do 16212 16994 echo '#include "conftst'$i'.h"' >> sub/conftest.c 16213 # Using `: > sub/conftst$i.h'creates only sub/conftst1.h with16214 # Solaris 8's {/usr,}/bin/sh.16215 touchsub/conftst$i.h16995 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 16996 # Solaris 10 /bin/sh. 16997 echo '/* dummy */' > sub/conftst$i.h 16216 16998 done 16217 16999 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 16218 17000 16219 # We check with `-c' and `-o' for the sake of the "dashmstdout"17001 # We check with '-c' and '-o' for the sake of the "dashmstdout" 16220 17002 # mode. It turns out that the SunPro C++ compiler does not properly 16221 # handle `-M -o', and we need to detect this. Also, some Intel16222 # versions had trouble with output in subdirs 17003 # handle '-M -o', and we need to detect this. Also, some Intel 17004 # versions had trouble with output in subdirs. 16223 17005 am__obj=sub/conftest.${OBJEXT-o} 16224 17006 am__minus_obj="-o $am__obj" … … 16229 17011 ;; 16230 17012 nosideeffect) 16231 # after this tag, mechanisms are not by side-effect, so they'll16232 # only be used when explicitly requested 17013 # After this tag, mechanisms are not by side-effect, so they'll 17014 # only be used when explicitly requested. 16233 17015 if test "x$enable_dependency_tracking" = xyes; then 16234 17016 continue … … 16238 17020 ;; 16239 17021 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 16240 # This compiler won't grok `-c -o', but also, the minuso test has17022 # This compiler won't grok '-c -o', but also, the minuso test has 16241 17023 # not run yet. These depmodes are late enough in the game, and 16242 17024 # so weak that their functioning should not be impacted. … … 16293 17075 16294 17076 17077 # POSIX will say in a future version that running "rm -f" with no argument 17078 # is OK; and we want to be able to make that assumption in our Makefile 17079 # recipes. So use an aggressive probe to check that the usage we want is 17080 # actually supported "in the wild" to an acceptable degree. 17081 # See automake bug#10828. 17082 # To make any issue more visible, cause the running configure to be aborted 17083 # by default if the 'rm' program in use doesn't match our expectations; the 17084 # user can still override this though. 17085 if rm -f && rm -fr && rm -rf; then : OK; else 17086 cat >&2 <<'END' 17087 Oops! 17088 17089 Your 'rm' program seems unable to run without file operands specified 17090 on the command line, even when the '-f' option is present. This is contrary 17091 to the behaviour of most rm programs out there, and not conforming with 17092 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 17093 17094 Please tell bug-automake@gnu.org about your system, including the value 17095 of your $PATH and any error possibly output before this message. This 17096 can help us improve future automake versions. 17097 17098 END 17099 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 17100 echo 'Configuration will proceed anyway, since you have set the' >&2 17101 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 17102 echo >&2 17103 else 17104 cat >&2 <<'END' 17105 Aborting the configuration process, to ensure you take notice of the issue. 17106 17107 You can download and install GNU coreutils to get an 'rm' implementation 17108 that behaves properly: <http://www.gnu.org/software/coreutils/>. 17109 17110 If you want to complete the configuration process using your problematic 17111 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 17112 to "yes", and re-run configure. 17113 17114 END 17115 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 17116 fi 17117 fi 17118 16295 17119 # Check whether --enable-silent-rules was given. 16296 17120 if test "${enable_silent_rules+set}" = set; then : … … 16298 17122 fi 16299 17123 16300 case $enable_silent_rules in 16301 yes) AM_DEFAULT_VERBOSITY=0;;16302 no)AM_DEFAULT_VERBOSITY=1;;16303 *)AM_DEFAULT_VERBOSITY=0;;17124 case $enable_silent_rules in # ((( 17125 yes) AM_DEFAULT_VERBOSITY=0;; 17126 no) AM_DEFAULT_VERBOSITY=1;; 17127 *) AM_DEFAULT_VERBOSITY=0;; 16304 17128 esac 16305 17129 am_make=${MAKE-make} … … 16332 17156 AM_BACKSLASH='\' 16333 17157 16334 16335 if test "x$CC" != xcc; then16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&516337 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }16338 else16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&516340 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }16341 fi16342 set dummy $CC; ac_cc=`$as_echo "$2" |16343 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`16344 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :16345 $as_echo_n "(cached) " >&616346 else16347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16348 /* end confdefs.h. */16349 16350 int16351 main ()16352 {16353 16354 ;16355 return 0;16356 }16357 _ACEOF16358 # Make sure it works both with $CC and with simple cc.16359 # We do the test twice because some compilers refuse to overwrite an16360 # existing .o file with -o, though they will create one.16361 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'16362 rm -f conftest2.*16363 if { { case "(($ac_try" in16364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;16365 *) ac_try_echo=$ac_try;;16366 esac16367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""16368 $as_echo "$ac_try_echo"; } >&516369 (eval "$ac_try") 2>&516370 ac_status=$?16371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516372 test $ac_status = 0; } &&16373 test -f conftest2.$ac_objext && { { case "(($ac_try" in16374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;16375 *) ac_try_echo=$ac_try;;16376 esac16377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""16378 $as_echo "$ac_try_echo"; } >&516379 (eval "$ac_try") 2>&516380 ac_status=$?16381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516382 test $ac_status = 0; };16383 then16384 eval ac_cv_prog_cc_${ac_cc}_c_o=yes16385 if test "x$CC" != xcc; then16386 # Test first that cc exists at all.16387 if { ac_try='cc -c conftest.$ac_ext >&5'16388 { { case "(($ac_try" in16389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;16390 *) ac_try_echo=$ac_try;;16391 esac16392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""16393 $as_echo "$ac_try_echo"; } >&516394 (eval "$ac_try") 2>&516395 ac_status=$?16396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516397 test $ac_status = 0; }; }; then16398 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'16399 rm -f conftest2.*16400 if { { case "(($ac_try" in16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;16402 *) ac_try_echo=$ac_try;;16403 esac16404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""16405 $as_echo "$ac_try_echo"; } >&516406 (eval "$ac_try") 2>&516407 ac_status=$?16408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516409 test $ac_status = 0; } &&16410 test -f conftest2.$ac_objext && { { case "(($ac_try" in16411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;16412 *) ac_try_echo=$ac_try;;16413 esac16414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""16415 $as_echo "$ac_try_echo"; } >&516416 (eval "$ac_try") 2>&516417 ac_status=$?16418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516419 test $ac_status = 0; };16420 then16421 # cc works too.16422 :16423 else16424 # cc exists but doesn't like -o.16425 eval ac_cv_prog_cc_${ac_cc}_c_o=no16426 fi16427 fi16428 fi16429 else16430 eval ac_cv_prog_cc_${ac_cc}_c_o=no16431 fi16432 rm -f core conftest*16433 16434 fi16435 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&516437 $as_echo "yes" >&6; }16438 else16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516440 $as_echo "no" >&6; }16441 16442 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h16443 16444 fi16445 16446 # FIXME: we rely on the cache variable name because16447 # there is no other way.16448 set dummy $CC16449 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`16450 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o16451 if test "$am_t" != yes; then16452 # Losing compiler, so override with the script.16453 # FIXME: It is wrong to rewrite CC.16454 # But if we don't then we get into trouble of one sort or another.16455 # A longer-term fix would be to have automake use am__CC in this case,16456 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"16457 CC="$am_aux_dir/compile $CC"16458 fi16459 17158 16460 17159 … … 16554 17253 test -z "$as_dir" && as_dir=. 16555 17254 for ac_exec_ext in '' $ac_executable_extensions; do 16556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16557 17256 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 16558 17257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 16597 17296 test -z "$as_dir" && as_dir=. 16598 17297 for ac_exec_ext in '' $ac_executable_extensions; do 16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16600 17299 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 16601 17300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 16660 17359 test -z "$as_dir" && as_dir=. 16661 17360 for ac_exec_ext in '' $ac_executable_extensions; do 16662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16663 17362 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 16664 17363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 16703 17402 test -z "$as_dir" && as_dir=. 16704 17403 for ac_exec_ext in '' $ac_executable_extensions; do 16705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16706 17405 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext" 16707 17406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 16824 17523 test -z "$as_dir" && as_dir=. 16825 17524 for ac_exec_ext in '' $ac_executable_extensions; do 16826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16827 17526 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 16828 17527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 16867 17566 test -z "$as_dir" && as_dir=. 16868 17567 for ac_exec_ext in '' $ac_executable_extensions; do 16869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16870 17569 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext" 16871 17570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17171 17870 test -z "$as_dir" && as_dir=. 17172 17871 for ac_exec_ext in '' $ac_executable_extensions; do 17173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17174 17873 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 17175 17874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17214 17913 test -z "$as_dir" && as_dir=. 17215 17914 for ac_exec_ext in '' $ac_executable_extensions; do 17216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then17915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17217 17916 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext" 17218 17917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17466 18165 test -z "$as_dir" && as_dir=. 17467 18166 for ac_exec_ext in '' $ac_executable_extensions; do 17468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17469 18168 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 17470 18169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17509 18208 test -z "$as_dir" && as_dir=. 17510 18209 for ac_exec_ext in '' $ac_executable_extensions; do 17511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17512 18211 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext" 17513 18212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17572 18271 test -z "$as_dir" && as_dir=. 17573 18272 for ac_exec_ext in '' $ac_executable_extensions; do 17574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17575 18274 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 17576 18275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17615 18314 test -z "$as_dir" && as_dir=. 17616 18315 for ac_exec_ext in '' $ac_executable_extensions; do 17617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17618 18317 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 17619 18318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17678 18377 test -z "$as_dir" && as_dir=. 17679 18378 for ac_exec_ext in '' $ac_executable_extensions; do 17680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17681 18380 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 17682 18381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17721 18420 test -z "$as_dir" && as_dir=. 17722 18421 for ac_exec_ext in '' $ac_executable_extensions; do 17723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17724 18423 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext" 17725 18424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17784 18483 test -z "$as_dir" && as_dir=. 17785 18484 for ac_exec_ext in '' $ac_executable_extensions; do 17786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17787 18486 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 17788 18487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17827 18526 test -z "$as_dir" && as_dir=. 17828 18527 for ac_exec_ext in '' $ac_executable_extensions; do 17829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17830 18529 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 17831 18530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17947 18646 test -z "$as_dir" && as_dir=. 17948 18647 for ac_exec_ext in '' $ac_executable_extensions; do 17949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17950 18649 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 17951 18650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 17990 18689 test -z "$as_dir" && as_dir=. 17991 18690 for ac_exec_ext in '' $ac_executable_extensions; do 17992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17993 18692 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext" 17994 18693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 18053 18752 test -z "$as_dir" && as_dir=. 18054 18753 for ac_exec_ext in '' $ac_executable_extensions; do 18055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18056 18755 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 18057 18756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 18096 18795 test -z "$as_dir" && as_dir=. 18097 18796 for ac_exec_ext in '' $ac_executable_extensions; do 18098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18099 18798 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext" 18100 18799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 18159 18858 test -z "$as_dir" && as_dir=. 18160 18859 for ac_exec_ext in '' $ac_executable_extensions; do 18161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18162 18861 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 18163 18862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 18202 18901 test -z "$as_dir" && as_dir=. 18203 18902 for ac_exec_ext in '' $ac_executable_extensions; do 18204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then18903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18205 18904 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext" 18206 18905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 18462 19161 # pthread-config: use pthread-config program (for GNU Pth library) 18463 19162 18464 case "${host_cpu}-${host_os}"in18465 *solaris*)19163 case ${host_os} in 19164 solaris*) 18466 19165 18467 19166 # On Solaris (at least, for some versions), libc contains stubbed … … 18476 19175 ;; 18477 19176 18478 *-darwin*)19177 darwin*) 18479 19178 ax_pthread_flags="-pthread $ax_pthread_flags" 18480 19179 ;; 18481 19180 esac 19181 19182 # Clang doesn't consider unrecognized options an error unless we specify 19183 # -Werror. We throw in some extra Clang-specific options to ensure that 19184 # this doesn't happen for GCC, which also accepts -Werror. 19185 19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs -Werror to reject unknown flags" >&5 19187 $as_echo_n "checking if compiler needs -Werror to reject unknown flags... " >&6; } 19188 save_CFLAGS="$CFLAGS" 19189 ax_pthread_extra_flags="-Werror" 19190 CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument" 19191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19192 /* end confdefs.h. */ 19193 int foo(void); 19194 int 19195 main () 19196 { 19197 foo() 19198 ; 19199 return 0; 19200 } 19201 _ACEOF 19202 if ac_fn_c_try_compile "$LINENO"; then : 19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19204 $as_echo "yes" >&6; } 19205 else 19206 ax_pthread_extra_flags= 19207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19208 $as_echo "no" >&6; } 19209 fi 19210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19211 CFLAGS="$save_CFLAGS" 18482 19212 18483 19213 if test x"$ax_pthread_ok" = xno; then … … 18513 19243 test -z "$as_dir" && as_dir=. 18514 19244 for ac_exec_ext in '' $ac_executable_extensions; do 18515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then19245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18516 19246 ac_cv_prog_ax_pthread_config="yes" 18517 19247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 18550 19280 save_CFLAGS="$CFLAGS" 18551 19281 LIBS="$PTHREAD_LIBS $LIBS" 18552 CFLAGS="$CFLAGS $PTHREAD_CFLAGS "19282 CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags" 18553 19283 18554 19284 # Check for various functions. We must include pthread.h, … … 18641 19371 $as_echo_n "checking if more special flags are required for pthreads... " >&6; } 18642 19372 flag=no 18643 case "${host_cpu}-${host_os}"in18644 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;18645 *-osf* | *-hpux*) flag="-D_REENTRANT";;18646 *solaris*)19373 case ${host_os} in 19374 aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";; 19375 osf* | hpux*) flag="-D_REENTRANT";; 19376 solaris*) 18647 19377 if test "$GCC" = "yes"; then 18648 19378 flag="-D_REENTRANT" 18649 19379 else 19380 # TODO: What about Clang on Solaris? 18650 19381 flag="-mt -D_REENTRANT" 18651 19382 fi 18652 19383 ;; 18653 19384 esac 18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ {flag}" >&518655 $as_echo "$ {flag}" >&6; }19385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag" >&5 19386 $as_echo "$flag" >&6; } 18656 19387 if test "x$flag" != xno; then 18657 19388 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" … … 18666 19397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18667 19398 /* end confdefs.h. */ 18668 18669 #include <pthread.h> 19399 #include <pthread.h> 18670 19400 int 18671 19401 main () … … 18696 19426 CFLAGS="$save_CFLAGS" 18697 19427 18698 # More AIX lossage: must compile with xlc_r or cc_r 18699 if test x"$GCC" != xyes; then 18700 for ac_prog in xlc_r cc_r 19428 # More AIX lossage: compile with *_r variant 19429 if test "x$GCC" != xyes; then 19430 case $host_os in 19431 aix*) 19432 case "x/$CC" in #( 19433 x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) : 19434 #handle absolute path differently from PATH based program lookup 19435 case "x$CC" in #( 19436 x/*) : 19437 if as_fn_executable_p ${CC}_r; then : 19438 PTHREAD_CC="${CC}_r" 19439 fi ;; #( 19440 *) : 19441 for ac_prog in ${CC}_r 18701 19442 do 18702 19443 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 18716 19457 test -z "$as_dir" && as_dir=. 18717 19458 for ac_exec_ext in '' $ac_executable_extensions; do 18718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then19459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18719 19460 ac_cv_prog_PTHREAD_CC="$ac_prog" 18720 19461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 18739 19480 test -n "$PTHREAD_CC" && break 18740 19481 done 18741 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" 18742 18743 else 18744 PTHREAD_CC=$CC 19482 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" 19483 ;; 19484 esac ;; #( 19485 *) : 19486 ;; 19487 esac 19488 ;; 19489 esac 18745 19490 fi 18746 else 18747 PTHREAD_CC="$CC" 18748 fi 19491 fi 19492 19493 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" 18749 19494 18750 19495 … … 20912 21657 libsubdirs="lib" 20913 21658 ax_arch=`uname -m` 20914 if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then 20915 libsubdirs="lib64 lib lib64" 20916 fi 21659 case $ax_arch in 21660 x86_64) 21661 libsubdirs="lib64 libx32 lib lib64" 21662 ;; 21663 ppc64|s390x|sparc64|aarch64|ppc64le) 21664 libsubdirs="lib64 lib lib64 ppc64le" 21665 ;; 21666 esac 21667 21668 21669 libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs" 21670 21671 case ${host_cpu} in 21672 i?86) 21673 libsubdirs="lib/i386-${host_os} $libsubdirs" 21674 ;; 21675 esac 20917 21676 20918 21677 if test "$ac_boost_path" != ""; then … … 20994 21753 20995 21754 if test "x$succeeded" != "xyes"; then 21755 CPPFLAGS="$CPPFLAGS_SAVED" 21756 LDFLAGS="$LDFLAGS_SAVED" 21757 BOOST_CPPFLAGS= 21758 BOOST_LDFLAGS= 20996 21759 _version=0 20997 21760 if test "$ac_boost_path" != ""; then … … 21006 21769 BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" 21007 21770 done 21771 if test -z "$BOOST_CPPFLAGS"; then 21772 if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then 21773 BOOST_CPPFLAGS="-I$ac_boost_path" 21774 fi 21775 fi 21008 21776 fi 21009 21777 else … … 21219 21987 LDFLAGS_SAVE=$LDFLAGS 21220 21988 if test "x$ax_boost_user_system_lib" = "x"; then 21221 for libextension in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.a*$;\1;'` ; do21989 for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do 21222 21990 ax_lib=${libextension} 21223 21991 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 21267 22035 done 21268 22036 if test "x$link_system" != "xyes"; then 21269 for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.dll.*$;\1;' -e 's;^\(boost_system.*\)\.a*$;\1;'` ; do22037 for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do 21270 22038 ax_lib=${libextension} 21271 22039 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 21464 22232 21465 22233 BN=boost_system 22234 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` 21466 22235 if test "x$ax_boost_user_asio_lib" = "x"; then 21467 for ax_lib in $BN $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \ 21468 lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \ 21469 $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do 22236 for ax_lib in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.dylib* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_system.*\)\.a.*$;\1;' ` ; do 21470 22237 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh` 21471 22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5 … … 21643 22410 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` 21644 22411 if test "x$ax_boost_user_date_time_lib" = "x"; then 21645 for libextension in `ls $BOOSTLIBDIR/libboost_date_time*.so* $BOOSTLIBDIR/libboost_date_time*. a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_date_time.*\)\.so.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.a*$;\1;'` ; do22412 for libextension in `ls $BOOSTLIBDIR/libboost_date_time*.so* $BOOSTLIBDIR/libboost_date_time*.dylib* $BOOSTLIBDIR/libboost_date_time*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_date_time.*\)\.so.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.a*$;\1;'` ; do 21646 22413 ax_lib=${libextension} 21647 22414 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 21691 22458 done 21692 22459 if test "x$link_date_time" != "xyes"; then 21693 for libextension in `ls $BOOSTLIBDIR/boost_date_time*. {dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_date_time.*\)\.dll.*$;\1;' -e 's;^\(boost_date_time.*\)\.a*$;\1;'` ; do22460 for libextension in `ls $BOOSTLIBDIR/boost_date_time*.dll* $BOOSTLIBDIR/boost_date_time*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_date_time.*\)\.dll.*$;\1;' -e 's;^\(boost_date_time.*\)\.a.*$;\1;'` ; do 21694 22461 ax_lib=${libextension} 21695 22462 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 21880 22647 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` 21881 22648 if test "x$ax_boost_user_filesystem_lib" = "x"; then 21882 for libextension in `ls $BOOSTLIBDIR/libboost_filesystem*.so* $BOOSTLIBDIR/libboost_filesystem*.dylib* $BOOSTLIBDIR/libboost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_filesystem.*\)\.so.*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.a*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.dylib$;\1;'` ; do22649 for libextension in `ls -r $BOOSTLIBDIR/libboost_filesystem* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do 21883 22650 ax_lib=${libextension} 21884 22651 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 21928 22695 done 21929 22696 if test "x$link_filesystem" != "xyes"; then 21930 for libextension in `ls $BOOSTLIBDIR/boost_filesystem*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_filesystem.*\)\.dll.*$;\1;' -e 's;^\(boost_filesystem.*\)\.a*$;\1;'` ; do22697 for libextension in `ls -r $BOOSTLIBDIR/boost_filesystem* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do 21931 22698 ax_lib=${libextension} 21932 22699 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 22085 22852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22086 22853 /* end confdefs.h. */ 22087 #include <boost/program_options .hpp>22854 #include <boost/program_options/errors.hpp> 22088 22855 22089 22856 int 22090 22857 main () 22091 22858 { 22092 boost::program_options:: options_description generic("Generic options");22859 boost::program_options::error err("Error message"); 22093 22860 return 0; 22094 22861 ; … … 22118 22885 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` 22119 22886 if test "x$ax_boost_user_program_options_lib" = "x"; then 22120 for libextension in `ls $BOOSTLIBDIR/libboost_program_options*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*. a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.a*$;\1;'` ; do22887 for libextension in `ls $BOOSTLIBDIR/libboost_program_options*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*.dylib* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.dylib.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.a.*$;\1;'` ; do 22121 22888 ax_lib=${libextension} 22122 22889 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 22166 22933 done 22167 22934 if test "x$link_program_options" != "xyes"; then 22168 for libextension in `ls $BOOSTLIBDIR/boost_program_options*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.a *$;\1;'` ; do22935 for libextension in `ls $BOOSTLIBDIR/boost_program_options*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.a.*$;\1;'` ; do 22169 22936 ax_lib=${libextension} 22170 22937 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 22347 23114 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` 22348 23115 if test "x$ax_boost_user_regex_lib" = "x"; then 22349 for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*. a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.a*$;\1;'` ; do23116 for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*.dylib* $BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.dylib.*;\1;' -e 's;^lib\(boost_regex.*\)\.a.*$;\1;'` ; do 22350 23117 ax_lib=${libextension} 22351 23118 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 22395 23162 done 22396 23163 if test "x$link_regex" != "xyes"; then 22397 for libextension in `ls $BOOSTLIBDIR/boost_regex*. {dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do23164 for libextension in `ls $BOOSTLIBDIR/boost_regex*.dll* $BOOSTLIBDIR/boost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a.*$;\1;'` ; do 22398 23165 ax_lib=${libextension} 22399 23166 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 22607 23374 esac 22608 23375 if test "x$ax_boost_user_thread_lib" = "x"; then 22609 for libextension in `ls $BOOSTLIBDIR/libboost_thread*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.a*$;\1;'`; do23376 for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do 22610 23377 ax_lib=${libextension} 22611 23378 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 22655 23422 done 22656 23423 if test "x$link_thread" != "xyes"; then 22657 for libextension in `ls $BOOSTLIBDIR/boost_thread*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.a*$;\1;'`; do23424 for libextension in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do 22658 23425 ax_lib=${libextension} 22659 23426 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` … … 22797 23564 22798 23565 # Now we can safely add the compiler option for your prefered standard 22799 CXXFLAGS+=" - std=c++0x"23566 CXXFLAGS+=" -DTTTT -std=c++0x -DXXX " 22800 23567 22801 23568 #AC_CHECK_HEADERS( … … 23039 23806 test -z "$as_dir" && as_dir=. 23040 23807 for ac_exec_ext in '' $ac_executable_extensions; do 23041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then23808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23042 23809 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 23043 23810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 23082 23849 test -z "$as_dir" && as_dir=. 23083 23850 for ac_exec_ext in '' $ac_executable_extensions; do 23084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then23851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 23085 23852 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 23086 23853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24143 24910 24144 24911 cat > conftest.$ac_ext <<EOF 24145 #line 24 145"configure"24912 #line 24912 "configure" 24146 24913 #include "confdefs.h" 24147 24914 #include <qglobal.h> … … 24185 24952 test -z "$as_dir" && as_dir=. 24186 24953 for ac_exec_ext in '' $ac_executable_extensions; do 24187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then24954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24188 24955 ac_cv_path_MOC4="$as_dir/$ac_word$ac_exec_ext" 24189 24956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24231 24998 test -z "$as_dir" && as_dir=. 24232 24999 for ac_exec_ext in '' $ac_executable_extensions; do 24233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24234 25001 ac_cv_path_UIC4="$as_dir/$ac_word$ac_exec_ext" 24235 25002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24277 25044 test -z "$as_dir" && as_dir=. 24278 25045 for ac_exec_ext in '' $ac_executable_extensions; do 24279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24280 25047 ac_cv_path_RCC4="$as_dir/$ac_word$ac_exec_ext" 24281 25048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24629 25396 test -z "$as_dir" && as_dir=. 24630 25397 for ac_exec_ext in '' $ac_executable_extensions; do 24631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24632 25399 ac_cv_path_ROOTCONF="$as_dir/$ac_word$ac_exec_ext" 24633 25400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24670 25437 test -z "$as_dir" && as_dir=. 24671 25438 for ac_exec_ext in '' $ac_executable_extensions; do 24672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24673 25440 ac_cv_path_ROOTEXEC="$as_dir/$ac_word$ac_exec_ext" 24674 25441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24711 25478 test -z "$as_dir" && as_dir=. 24712 25479 for ac_exec_ext in '' $ac_executable_extensions; do 24713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24714 25481 ac_cv_path_ROOTCINT="$as_dir/$ac_word$ac_exec_ext" 24715 25482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24795 25562 then 24796 25563 24797 ROOTCPPFLAGS=$ROOTCFLAGS" "$ROOTAUXCFLAGS 25564 ROOTCPPFLAGS=$ROOTCFLAGS 25565 ROOTCXXFLAGS=$ROOTAUXCFLAGS 24798 25566 ROOTLDFLAGS="-L"$ROOTLIBDIR 24799 25567 … … 24820 25588 24821 25589 25590 24822 25591 fi 24823 25592 … … 24844 25613 test -z "$as_dir" && as_dir=. 24845 25614 for ac_exec_ext in '' $ac_executable_extensions; do 24846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24847 25616 ac_cv_prog_COLORDIFF="colordiff" 24848 25617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24882 25651 test -z "$as_dir" && as_dir=. 24883 25652 for ac_exec_ext in '' $ac_executable_extensions; do 24884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24885 25654 ac_cv_prog_GROFF="yes" 24886 25655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24920 25689 test -z "$as_dir" && as_dir=. 24921 25690 for ac_exec_ext in '' $ac_executable_extensions; do 24922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24923 25692 ac_cv_prog_PS2PDF="yes" 24924 25693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24958 25727 test -z "$as_dir" && as_dir=. 24959 25728 for ac_exec_ext in '' $ac_executable_extensions; do 24960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24961 25730 ac_cv_prog_HELP2MAN="yes" 24962 25731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 24996 25765 test -z "$as_dir" && as_dir=. 24997 25766 for ac_exec_ext in '' $ac_executable_extensions; do 24998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 24999 25768 ac_cv_prog_JSDOC="yes" 25000 25769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 25034 25803 test -z "$as_dir" && as_dir=. 25035 25804 for ac_exec_ext in '' $ac_executable_extensions; do 25036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25037 25806 ac_cv_prog_MAILX="yes" 25038 25807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 25072 25841 test -z "$as_dir" && as_dir=. 25073 25842 for ac_exec_ext in '' $ac_executable_extensions; do 25074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then25843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 25075 25844 ac_cv_prog_CURL="yes" 25076 25845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 25216 25985 fi 25217 25986 25218 if test "$ROOTEXEC" != no ; then25987 if test "$ROOTEXEC" != no -a -n "$ROOTVERSION"; then 25219 25988 HAS_ROOT_TRUE= 25220 25989 HAS_ROOT_FALSE='#' … … 25541 26310 25542 26311 26312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 26313 $as_echo_n "checking that generated files are newer than configure... " >&6; } 26314 if test -n "$am_sleep_pid"; then 26315 # Hide warnings about reused PIDs. 26316 wait $am_sleep_pid 2>/dev/null 26317 fi 26318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 26319 $as_echo "done" >&6; } 25543 26320 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 25544 26321 as_fn_error $? "conditional \"AMDEP\" was never defined. … … 26027 26804 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 26028 26805 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 26029 # In both cases, we have to default to `cp -p '.26806 # In both cases, we have to default to `cp -pR'. 26030 26807 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 26031 as_ln_s='cp -p '26808 as_ln_s='cp -pR' 26032 26809 elif ln conf$$.file conf$$ 2>/dev/null; then 26033 26810 as_ln_s=ln 26034 26811 else 26035 as_ln_s='cp -p '26812 as_ln_s='cp -pR' 26036 26813 fi 26037 26814 else 26038 as_ln_s='cp -p '26815 as_ln_s='cp -pR' 26039 26816 fi 26040 26817 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 26096 26873 fi 26097 26874 26098 if test -x / >/dev/null 2>&1; then 26099 as_test_x='test -x' 26100 else 26101 if ls -dL / >/dev/null 2>&1; then 26102 as_ls_L_option=L 26103 else 26104 as_ls_L_option= 26105 fi 26106 as_test_x=' 26107 eval sh -c '\'' 26108 if test -d "$1"; then 26109 test -d "$1/."; 26110 else 26111 case $1 in #( 26112 -*)set "./$1";; 26113 esac; 26114 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 26115 ???[sx]*):;;*)false;;esac;fi 26116 '\'' sh 26117 ' 26118 fi 26119 as_executable_p=$as_test_x 26875 26876 # as_fn_executable_p FILE 26877 # ----------------------- 26878 # Test if FILE is an executable regular file. 26879 as_fn_executable_p () 26880 { 26881 test -f "$1" && test -x "$1" 26882 } # as_fn_executable_p 26883 as_test_x='test -x' 26884 as_executable_p=as_fn_executable_p 26120 26885 26121 26886 # Sed expression to map a string onto a valid CPP name. … … 26139 26904 ac_log=" 26140 26905 This file was extended by FACT++ $as_me 1.0, which was 26141 generated by GNU Autoconf 2.6 8. Invocation command line was26906 generated by GNU Autoconf 2.69. Invocation command line was 26142 26907 26143 26908 CONFIG_FILES = $CONFIG_FILES … … 26201 26966 ac_cs_version="\\ 26202 26967 FACT++ config.status 1.0 26203 configured by $0, generated by GNU Autoconf 2.6 8,26968 configured by $0, generated by GNU Autoconf 2.69, 26204 26969 with options \\"\$ac_cs_config\\" 26205 26970 26206 Copyright (C) 201 0Free Software Foundation, Inc.26971 Copyright (C) 2012 Free Software Foundation, Inc. 26207 26972 This config.status script is free software; the Free Software Foundation 26208 26973 gives unlimited permission to copy, distribute and modify it." … … 26284 27049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 26285 27050 if \$ac_cs_recheck; then 26286 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion27051 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 26287 27052 shift 26288 27053 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 … … 26323 27088 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 26324 27089 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 27090 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 26325 27091 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 26326 27092 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 27093 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 26327 27094 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 26328 27095 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' … … 26371 27138 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 26372 27139 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 27140 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 26373 27141 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 26374 27142 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 27143 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 26375 27144 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 26376 27145 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 27146 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 26377 27147 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 26378 27148 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' … … 26407 27177 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 26408 27178 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 26409 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'26410 27179 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 26411 27180 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' … … 26440 27209 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 26441 27210 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 26442 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 27211 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 27212 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 26443 27213 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 26444 27214 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' … … 26479 27249 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 26480 27250 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 26481 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'26482 27251 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 26483 27252 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' … … 26518 27287 for var in SHELL \ 26519 27288 ECHO \ 27289 PATH_SEPARATOR \ 26520 27290 SED \ 26521 27291 GREP \ … … 26545 27315 lt_cv_sys_global_symbol_pipe \ 26546 27316 lt_cv_sys_global_symbol_to_cdecl \ 27317 lt_cv_sys_global_symbol_to_import \ 26547 27318 lt_cv_sys_global_symbol_to_c_name_address \ 26548 27319 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 27320 lt_cv_nm_interface \ 26549 27321 nm_file_list_spec \ 27322 lt_cv_truncate_bin \ 26550 27323 lt_prog_compiler_no_builtin_flag \ 26551 27324 lt_prog_compiler_pic \ … … 26568 27341 no_undefined_flag \ 26569 27342 hardcode_libdir_flag_spec \ 26570 hardcode_libdir_flag_spec_ld \26571 27343 hardcode_libdir_separator \ 26572 27344 exclude_expsyms \ … … 26602 27374 no_undefined_flag_CXX \ 26603 27375 hardcode_libdir_flag_spec_CXX \ 26604 hardcode_libdir_flag_spec_ld_CXX \26605 27376 hardcode_libdir_separator_CXX \ 26606 27377 exclude_expsyms_CXX \ … … 26615 27386 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 26616 27387 *[\\\\\\\`\\"\\\$]*) 26617 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 27388 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 26618 27389 ;; 26619 27390 *) … … 26642 27413 finish_cmds \ 26643 27414 sys_lib_search_path_spec \ 26644 sys_lib_dlsearch_path_spec \ 27415 configure_time_dlsearch_path \ 27416 configure_time_lt_sys_library_path \ 26645 27417 reload_cmds_CXX \ 26646 27418 old_archive_cmds_CXX \ … … 26656 27428 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 26657 27429 *[\\\\\\\`\\"\\\$]*) 26658 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 27430 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 26659 27431 ;; 26660 27432 *) … … 26665 27437 26666 27438 ac_aux_dir='$ac_aux_dir' 26667 xsi_shell='$xsi_shell' 26668 lt_shell_append='$lt_shell_append' 26669 26670 # See if we are running on zsh, and set the options which allow our 27439 27440 # See if we are running on zsh, and set the options that allow our 26671 27441 # commands through without removal of \ escapes INIT. 26672 if test -n "\${ZSH_VERSION+set}" 27442 if test -n "\${ZSH_VERSION+set}"; then 26673 27443 setopt NO_GLOB_SUBST 26674 27444 fi … … 26677 27447 PACKAGE='$PACKAGE' 26678 27448 VERSION='$VERSION' 26679 TIMESTAMP='$TIMESTAMP'26680 27449 RM='$RM' 26681 27450 ofile='$ofile' … … 27163 27932 "libtool":C) 27164 27933 27165 # See if we are running on zsh, and set the options whichallow our27934 # See if we are running on zsh, and set the options that allow our 27166 27935 # commands through without removal of \ escapes. 27167 if test -n "${ZSH_VERSION+set}" 27936 if test -n "${ZSH_VERSION+set}"; then 27168 27937 setopt NO_GLOB_SUBST 27169 27938 fi 27170 27939 27171 cfgfile= "${ofile}T"27940 cfgfile=${ofile}T 27172 27941 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 27173 27942 $RM "$cfgfile" … … 27175 27944 cat <<_LT_EOF >> "$cfgfile" 27176 27945 #! $SHELL 27177 27178 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 27179 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 27946 # Generated automatically by $as_me ($PACKAGE) $VERSION 27180 27947 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 27181 27948 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 27949 27950 # Provide generalized library-building support services. 27951 # Written by Gordon Matzigkeit, 1996 27952 27953 # Copyright (C) 2014 Free Software Foundation, Inc. 27954 # This is free software; see the source for copying conditions. There is NO 27955 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 27956 27957 # GNU Libtool is free software; you can redistribute it and/or modify 27958 # it under the terms of the GNU General Public License as published by 27959 # the Free Software Foundation; either version 2 of of the License, or 27960 # (at your option) any later version. 27182 27961 # 27183 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,27184 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,27185 # Inc.27186 # Written by Gordon Matzigkeit, 199627962 # As a special exception to the GNU General Public License, if you 27963 # distribute this file as part of a program or library that is built 27964 # using GNU Libtool, you may include this file under the same 27965 # distribution terms that you use for the rest of that program. 27187 27966 # 27188 # This file is part of GNU Libtool. 27189 # 27190 # GNU Libtool is free software; you can redistribute it and/or 27191 # modify it under the terms of the GNU General Public License as 27192 # published by the Free Software Foundation; either version 2 of 27193 # the License, or (at your option) any later version. 27194 # 27195 # As a special exception to the GNU General Public License, 27196 # if you distribute this file as part of a program or library that 27197 # is built using GNU Libtool, you may include this file under the 27198 # same distribution terms that you use for the rest of that program. 27199 # 27200 # GNU Libtool is distributed in the hope that it will be useful, 27201 # but WITHOUT ANY WARRANTY; without even the implied warranty of 27967 # GNU Libtool is distributed in the hope that it will be useful, but 27968 # WITHOUT ANY WARRANTY; without even the implied warranty of 27202 27969 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27203 27970 # GNU General Public License for more details. 27204 27971 # 27205 27972 # You should have received a copy of the GNU General Public License 27206 # along with GNU Libtool; see the file COPYING. If not, a copy 27207 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or 27208 # obtained by writing to the Free Software Foundation, Inc., 27209 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 27973 # along with this program. If not, see <http://www.gnu.org/licenses/>. 27210 27974 27211 27975 27212 27976 # The names of the tagged configurations supported by this script. 27213 available_tags="CXX " 27977 available_tags='CXX ' 27978 27979 # Configured defaults for sys_lib_dlsearch_path munging. 27980 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 27214 27981 27215 27982 # ### BEGIN LIBTOOL CONFIG … … 27231 27998 fast_install=$enable_fast_install 27232 27999 28000 # Shared archive member basename,for filename based shared library versioning on AIX. 28001 shared_archive_member_spec=$shared_archive_member_spec 28002 27233 28003 # Shell to use when invoking shell scripts. 27234 28004 SHELL=$lt_SHELL … … 27236 28006 # An echo program that protects backslashes. 27237 28007 ECHO=$lt_ECHO 28008 28009 # The PATH separator for the build system. 28010 PATH_SEPARATOR=$lt_PATH_SEPARATOR 27238 28011 27239 28012 # The host system. … … 27345 28118 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 27346 28119 28120 # Transform the output of nm into a list of symbols to manually relocate. 28121 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 28122 27347 28123 # Transform the output of nm in a C name address pair. 27348 28124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address … … 27351 28127 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 27352 28128 28129 # The name lister interface. 28130 nm_interface=$lt_lt_cv_nm_interface 28131 27353 28132 # Specify filename containing input files for \$NM. 27354 28133 nm_file_list_spec=$lt_nm_file_list_spec 27355 28134 27356 # The root where to search for dependent libraries,and in whichour libraries should be installed.28135 # The root where to search for dependent libraries,and where our libraries should be installed. 27357 28136 lt_sysroot=$lt_sysroot 28137 28138 # Command to truncate a binary pipe. 28139 lt_truncate_bin=$lt_lt_cv_truncate_bin 27358 28140 27359 28141 # The name of the directory that contains temporary libtool files. … … 27447 28229 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 27448 28230 27449 # Run-time system search path for libraries. 27450 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 28231 # Detected run-time system search path for libraries. 28232 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 28233 28234 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 28235 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 27451 28236 27452 28237 # Whether dlopen is supported. … … 27538 28323 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 27539 28324 27540 # If ld is used when linking, flag to hardcode \$libdir into a binary27541 # during linking. This must work even if \$libdir does not exist.27542 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld27543 27544 28325 # Whether we need a single "-rpath" flag with a separated argument. 27545 28326 hardcode_libdir_separator=$lt_hardcode_libdir_separator 27546 28327 27547 # Set to "yes" if using DIR/libNAME\$ {shared_ext}during linking hardcodes28328 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27548 28329 # DIR into the resulting binary. 27549 28330 hardcode_direct=$hardcode_direct 27550 28331 27551 # Set to "yes" if using DIR/libNAME\$ {shared_ext}during linking hardcodes28332 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27552 28333 # DIR into the resulting binary and the resulting library dependency is 27553 # "absolute",i.e impossible to change by setting \$ {shlibpath_var}if the28334 # "absolute",i.e impossible to change by setting \$shlibpath_var if the 27554 28335 # library is relocated. 27555 28336 hardcode_direct_absolute=$hardcode_direct_absolute … … 27617 28398 _LT_EOF 27618 28399 28400 cat <<'_LT_EOF' >> "$cfgfile" 28401 28402 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 28403 28404 # func_munge_path_list VARIABLE PATH 28405 # ----------------------------------- 28406 # VARIABLE is name of variable containing _space_ separated list of 28407 # directories to be munged by the contents of PATH, which is string 28408 # having a format: 28409 # "DIR[:DIR]:" 28410 # string "DIR[ DIR]" will be prepended to VARIABLE 28411 # ":DIR[:DIR]" 28412 # string "DIR[ DIR]" will be appended to VARIABLE 28413 # "DIRP[:DIRP]::[DIRA:]DIRA" 28414 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string 28415 # "DIRA[ DIRA]" will be appended to VARIABLE 28416 # "DIR[:DIR]" 28417 # VARIABLE will be replaced by "DIR[ DIR]" 28418 func_munge_path_list () 28419 { 28420 case x$2 in 28421 x) 28422 ;; 28423 *:) 28424 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 28425 ;; 28426 x:*) 28427 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 28428 ;; 28429 *::*) 28430 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 28431 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 28432 ;; 28433 *) 28434 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 28435 ;; 28436 esac 28437 } 28438 28439 28440 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 28441 func_cc_basename () 28442 { 28443 for cc_temp in $*""; do 28444 case $cc_temp in 28445 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 28446 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 28447 \-*) ;; 28448 *) break;; 28449 esac 28450 done 28451 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 28452 } 28453 28454 28455 # ### END FUNCTIONS SHARED WITH CONFIGURE 28456 28457 _LT_EOF 28458 27619 28459 case $host_os in 27620 28460 aix3*) … … 27623 28463 # reason, if we set the COLLECT_NAMES environment variable, the problems 27624 28464 # vanish in a puff of smoke. 27625 if test "X${COLLECT_NAMES+set}" != Xset; then28465 if test set != "${COLLECT_NAMES+set}"; then 27626 28466 COLLECT_NAMES= 27627 28467 export COLLECT_NAMES … … 27632 28472 27633 28473 27634 ltmain= "$ac_aux_dir/ltmain.sh"28474 ltmain=$ac_aux_dir/ltmain.sh 27635 28475 27636 28476 … … 27642 28482 || (rm -f "$cfgfile"; exit 1) 27643 28483 27644 if test x"$xsi_shell" = xyes; then27645 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\27646 func_dirname ()\27647 {\27648 \ case ${1} in\27649 \ */*) func_dirname_result="${1%/*}${2}" ;;\27650 \ * ) func_dirname_result="${3}" ;;\27651 \ esac\27652 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \27653 && mv -f "$cfgfile.tmp" "$cfgfile" \27654 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27655 test 0 -eq $? || _lt_function_replace_fail=:27656 27657 27658 sed -e '/^func_basename ()$/,/^} # func_basename /c\27659 func_basename ()\27660 {\27661 \ func_basename_result="${1##*/}"\27662 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \27663 && mv -f "$cfgfile.tmp" "$cfgfile" \27664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27665 test 0 -eq $? || _lt_function_replace_fail=:27666 27667 27668 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\27669 func_dirname_and_basename ()\27670 {\27671 \ case ${1} in\27672 \ */*) func_dirname_result="${1%/*}${2}" ;;\27673 \ * ) func_dirname_result="${3}" ;;\27674 \ esac\27675 \ func_basename_result="${1##*/}"\27676 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \27677 && mv -f "$cfgfile.tmp" "$cfgfile" \27678 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27679 test 0 -eq $? || _lt_function_replace_fail=:27680 27681 27682 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\27683 func_stripname ()\27684 {\27685 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\27686 \ # positional parameters, so assign one to ordinary parameter first.\27687 \ func_stripname_result=${3}\27688 \ func_stripname_result=${func_stripname_result#"${1}"}\27689 \ func_stripname_result=${func_stripname_result%"${2}"}\27690 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \27691 && mv -f "$cfgfile.tmp" "$cfgfile" \27692 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27693 test 0 -eq $? || _lt_function_replace_fail=:27694 27695 27696 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\27697 func_split_long_opt ()\27698 {\27699 \ func_split_long_opt_name=${1%%=*}\27700 \ func_split_long_opt_arg=${1#*=}\27701 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \27702 && mv -f "$cfgfile.tmp" "$cfgfile" \27703 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27704 test 0 -eq $? || _lt_function_replace_fail=:27705 27706 27707 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\27708 func_split_short_opt ()\27709 {\27710 \ func_split_short_opt_arg=${1#??}\27711 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\27712 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \27713 && mv -f "$cfgfile.tmp" "$cfgfile" \27714 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27715 test 0 -eq $? || _lt_function_replace_fail=:27716 27717 27718 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\27719 func_lo2o ()\27720 {\27721 \ case ${1} in\27722 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\27723 \ *) func_lo2o_result=${1} ;;\27724 \ esac\27725 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \27726 && mv -f "$cfgfile.tmp" "$cfgfile" \27727 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27728 test 0 -eq $? || _lt_function_replace_fail=:27729 27730 27731 sed -e '/^func_xform ()$/,/^} # func_xform /c\27732 func_xform ()\27733 {\27734 func_xform_result=${1%.*}.lo\27735 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \27736 && mv -f "$cfgfile.tmp" "$cfgfile" \27737 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27738 test 0 -eq $? || _lt_function_replace_fail=:27739 27740 27741 sed -e '/^func_arith ()$/,/^} # func_arith /c\27742 func_arith ()\27743 {\27744 func_arith_result=$(( $* ))\27745 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \27746 && mv -f "$cfgfile.tmp" "$cfgfile" \27747 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27748 test 0 -eq $? || _lt_function_replace_fail=:27749 27750 27751 sed -e '/^func_len ()$/,/^} # func_len /c\27752 func_len ()\27753 {\27754 func_len_result=${#1}\27755 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \27756 && mv -f "$cfgfile.tmp" "$cfgfile" \27757 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27758 test 0 -eq $? || _lt_function_replace_fail=:27759 27760 fi27761 27762 if test x"$lt_shell_append" = xyes; then27763 sed -e '/^func_append ()$/,/^} # func_append /c\27764 func_append ()\27765 {\27766 eval "${1}+=\\${2}"\27767 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \27768 && mv -f "$cfgfile.tmp" "$cfgfile" \27769 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27770 test 0 -eq $? || _lt_function_replace_fail=:27771 27772 27773 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\27774 func_append_quoted ()\27775 {\27776 \ func_quote_for_eval "${2}"\27777 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\27778 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \27779 && mv -f "$cfgfile.tmp" "$cfgfile" \27780 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27781 test 0 -eq $? || _lt_function_replace_fail=:27782 27783 27784 # Save a `func_append' function call where possible by direct use of '+='27785 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \27786 && mv -f "$cfgfile.tmp" "$cfgfile" \27787 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27788 test 0 -eq $? || _lt_function_replace_fail=:27789 else27790 # Save a `func_append' function call even when '+=' is not available27791 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \27792 && mv -f "$cfgfile.tmp" "$cfgfile" \27793 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")27794 test 0 -eq $? || _lt_function_replace_fail=:27795 fi27796 27797 if test x"$_lt_function_replace_fail" = x":"; then27798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&527799 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}27800 fi27801 27802 27803 28484 mv -f "$cfgfile" "$ofile" || 27804 28485 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") … … 27884 28565 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 27885 28566 27886 # If ld is used when linking, flag to hardcode \$libdir into a binary27887 # during linking. This must work even if \$libdir does not exist.27888 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX27889 27890 28567 # Whether we need a single "-rpath" flag with a separated argument. 27891 28568 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 27892 28569 27893 # Set to "yes" if using DIR/libNAME\$ {shared_ext}during linking hardcodes28570 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27894 28571 # DIR into the resulting binary. 27895 28572 hardcode_direct=$hardcode_direct_CXX 27896 28573 27897 # Set to "yes" if using DIR/libNAME\$ {shared_ext}during linking hardcodes28574 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 27898 28575 # DIR into the resulting binary and the resulting library dependency is 27899 # "absolute",i.e impossible to change by setting \$ {shlibpath_var}if the28576 # "absolute",i.e impossible to change by setting \$shlibpath_var if the 27900 28577 # library is relocated. 27901 28578 hardcode_direct_absolute=$hardcode_direct_absolute_CXX … … 27964 28641 ;; 27965 28642 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 27966 # Autoconf 2.62quotes --file arguments for eval, but not when files28643 # Older Autoconf quotes --file arguments for eval, but not when files 27967 28644 # are listed without --file. Let's play safe and only enable the eval 27968 28645 # if we detect the quoting. … … 27977 28654 mf=`echo "$mf" | sed -e 's/:.*$//'` 27978 28655 # Check whether this is an Automake generated Makefile or not. 27979 # We used to match only the files named `Makefile.in', but28656 # We used to match only the files named 'Makefile.in', but 27980 28657 # some people rename them; so instead we look at the file content. 27981 28658 # Grep'ing the first line is not enough: some people post-process … … 28011 28688 fi 28012 28689 # Extract the definition of DEPDIR, am__include, and am__quote 28013 # from the Makefile without running `make'.28690 # from the Makefile without running 'make'. 28014 28691 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 28015 28692 test -z "$DEPDIR" && continue 28016 28693 am__include=`sed -n 's/^am__include = //p' < "$mf"` 28017 test -z " am__include" && continue28694 test -z "$am__include" && continue 28018 28695 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 28019 # When using ansi2knr, U may be empty or an underscore; expand it28020 U=`sed -n 's/^U = //p' < "$mf"`28021 28696 # Find all dependency output files, they are included files with 28022 28697 # $(DEPDIR) in their names. We invoke sed twice because it is the … … 28025 28700 for file in `sed -n " 28026 28701 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 28027 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do28702 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 28028 28703 # Make sure the directory exists. 28029 28704 test -f "$dirpart/$file" && continue … … 28189 28864 { $as_echo "$as_me:${as_lineno-$LINENO}: ROOTCPPFLAGS = $ROOTCPPFLAGS" >&5 28190 28865 $as_echo "$as_me: ROOTCPPFLAGS = $ROOTCPPFLAGS" >&6;} 28191 { $as_echo "$as_me:${as_lineno-$LINENO}: ROOT LDFLAGS = $ROOTLDFLAGS" >&528192 $as_echo "$as_me: ROOT LDFLAGS = $ROOTLDFLAGS" >&6;}28866 { $as_echo "$as_me:${as_lineno-$LINENO}: ROOTCXXFLAGS = $ROOTCXXFLAGS" >&5 28867 $as_echo "$as_me: ROOTCXXFLAGS = $ROOTCXXFLAGS" >&6;} 28193 28868 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 28194 28869 $as_echo "$as_me: " >&6;}
Note:
See TracChangeset
for help on using the changeset viewer.