changeset 21 | 7d99b51b4784 |
parent 11 | cfe5c9d79fbc |
20:7f2660be9066 | 21:7d99b51b4784 |
---|---|
643 HAVE_YASM_TRUE |
643 HAVE_YASM_TRUE |
644 YASM_VERSION |
644 YASM_VERSION |
645 YASM |
645 YASM |
646 PYTHON |
646 PYTHON |
647 CPP |
647 CPP |
648 LT_SYS_LIBRARY_PATH |
|
648 OTOOL64 |
649 OTOOL64 |
649 OTOOL |
650 OTOOL |
650 LIPO |
651 LIPO |
651 NMEDIT |
652 NMEDIT |
652 DSYMUTIL |
653 DSYMUTIL |
768 enable_dependency_tracking |
769 enable_dependency_tracking |
769 enable_shared |
770 enable_shared |
770 enable_static |
771 enable_static |
771 with_pic |
772 with_pic |
772 enable_fast_install |
773 enable_fast_install |
774 with_aix_soname |
|
773 with_gnu_ld |
775 with_gnu_ld |
774 with_sysroot |
776 with_sysroot |
775 enable_libtool_lock |
777 enable_libtool_lock |
776 with_python |
778 with_python |
777 with_yasm |
779 with_yasm |
783 CC |
785 CC |
784 CFLAGS |
786 CFLAGS |
785 LDFLAGS |
787 LDFLAGS |
786 LIBS |
788 LIBS |
787 CPPFLAGS |
789 CPPFLAGS |
790 LT_SYS_LIBRARY_PATH |
|
788 CPP |
791 CPP |
789 PYTHON |
792 PYTHON |
790 YASM |
793 YASM |
791 SPHINX_BUILD' |
794 SPHINX_BUILD' |
792 |
795 |
1433 Optional Packages: |
1436 Optional Packages: |
1434 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1437 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1435 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1438 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1436 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1439 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1437 both] |
1440 both] |
1441 --with-aix-soname=aix|svr4|both |
|
1442 shared library versioning (aka "SONAME") variant to |
|
1443 provide on AIX, [default=aix]. |
|
1438 --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1444 --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1439 --with-sysroot=DIR Search for dependent libraries within DIR |
1445 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
1440 (or the compiler's sysroot if not specified). |
1446 compiler's sysroot if not specified). |
1441 --with-python=[[PATH]] |
1447 --with-python=[[PATH]] |
1442 absolute path to python executable |
1448 absolute path to python executable |
1443 --with-yasm=[[PATH]] absolute path to yasm executable |
1449 --with-yasm=[[PATH]] absolute path to yasm executable |
1444 --with-sphinx-build=[[PATH]] |
1450 --with-sphinx-build=[[PATH]] |
1445 absolute path to sphinx-build executable |
1451 absolute path to sphinx-build executable |
1450 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1451 nonstandard directory <lib dir> |
1457 nonstandard directory <lib dir> |
1452 LIBS libraries to pass to the linker, e.g. -l<library> |
1458 LIBS libraries to pass to the linker, e.g. -l<library> |
1453 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1454 you have headers in a nonstandard directory <include dir> |
1460 you have headers in a nonstandard directory <include dir> |
1461 LT_SYS_LIBRARY_PATH |
|
1462 User-defined run-time library search path. |
|
1455 CPP C preprocessor |
1463 CPP C preprocessor |
1456 PYTHON Absolute path to python executable |
1464 PYTHON Absolute path to python executable |
1457 YASM Absolute path to yasm executable |
1465 YASM Absolute path to yasm executable |
1458 SPHINX_BUILD |
1466 SPHINX_BUILD |
1459 Absolute path to sphinx-build executable |
1467 Absolute path to sphinx-build executable |
4523 yes) enable_shared=yes ;; |
4531 yes) enable_shared=yes ;; |
4524 no) enable_shared=no ;; |
4532 no) enable_shared=no ;; |
4525 *) |
4533 *) |
4526 enable_shared=no |
4534 enable_shared=no |
4527 # Look at the argument we got. We use all the common list separators. |
4535 # Look at the argument we got. We use all the common list separators. |
4528 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
4536 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
4529 for pkg in $enableval; do |
4537 for pkg in $enableval; do |
4530 IFS="$lt_save_ifs" |
4538 IFS=$lt_save_ifs |
4531 if test "X$pkg" = "X$p"; then |
4539 if test "X$pkg" = "X$p"; then |
4532 enable_shared=yes |
4540 enable_shared=yes |
4533 fi |
4541 fi |
4534 done |
4542 done |
4535 IFS="$lt_save_ifs" |
4543 IFS=$lt_save_ifs |
4536 ;; |
4544 ;; |
4537 esac |
4545 esac |
4538 else |
4546 else |
4539 enable_shared=no |
4547 enable_shared=no |
4540 fi |
4548 fi |
4553 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
4561 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
4554 esac |
4562 esac |
4555 |
4563 |
4556 |
4564 |
4557 |
4565 |
4558 macro_version='2.4.2' |
4566 macro_version='2.4.6' |
4559 macro_revision='1.3337' |
4567 macro_revision='2.4.6' |
4560 |
4568 |
4561 |
4569 |
4562 |
4570 |
4563 |
4571 |
4564 |
4572 |
4565 |
4573 |
4566 |
4574 |
4567 |
4575 |
4568 |
4576 |
4569 |
4577 |
4570 |
4578 |
4571 |
4579 |
4572 |
4580 |
4573 ltmain="$ac_aux_dir/ltmain.sh" |
4581 ltmain=$ac_aux_dir/ltmain.sh |
4574 |
4582 |
4575 # Backslashify metacharacters that are still active within |
4583 # Backslashify metacharacters that are still active within |
4576 # double-quoted strings. |
4584 # double-quoted strings. |
4577 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4585 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4578 |
4586 |
4617 func_echo_all () |
4625 func_echo_all () |
4618 { |
4626 { |
4619 $ECHO "" |
4627 $ECHO "" |
4620 } |
4628 } |
4621 |
4629 |
4622 case "$ECHO" in |
4630 case $ECHO in |
4623 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
4631 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
4624 $as_echo "printf" >&6; } ;; |
4632 $as_echo "printf" >&6; } ;; |
4625 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
4633 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
4626 $as_echo "print -r" >&6; } ;; |
4634 $as_echo "print -r" >&6; } ;; |
4627 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
4635 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
4940 |
4948 |
4941 |
4949 |
4942 |
4950 |
4943 # Check whether --with-gnu-ld was given. |
4951 # Check whether --with-gnu-ld was given. |
4944 if test "${with_gnu_ld+set}" = set; then : |
4952 if test "${with_gnu_ld+set}" = set; then : |
4945 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
4953 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
4946 else |
4954 else |
4947 with_gnu_ld=no |
4955 with_gnu_ld=no |
4948 fi |
4956 fi |
4949 |
4957 |
4950 ac_prog=ld |
4958 ac_prog=ld |
4951 if test "$GCC" = yes; then |
4959 if test yes = "$GCC"; then |
4952 # Check if gcc -print-prog-name=ld gives a path. |
4960 # Check if gcc -print-prog-name=ld gives a path. |
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
4954 $as_echo_n "checking for ld used by $CC... " >&6; } |
4962 $as_echo_n "checking for ld used by $CC... " >&6; } |
4955 case $host in |
4963 case $host in |
4956 *-*-mingw*) |
4964 *-*-mingw*) |
4957 # gcc leaves a trailing carriage return which upsets mingw |
4965 # gcc leaves a trailing carriage return, which upsets mingw |
4958 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4966 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4959 *) |
4967 *) |
4960 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
4968 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
4961 esac |
4969 esac |
4962 case $ac_prog in |
4970 case $ac_prog in |
4966 # Canonicalize the pathname of ld |
4974 # Canonicalize the pathname of ld |
4967 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
4975 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
4968 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
4976 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
4969 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
4977 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
4970 done |
4978 done |
4971 test -z "$LD" && LD="$ac_prog" |
4979 test -z "$LD" && LD=$ac_prog |
4972 ;; |
4980 ;; |
4973 "") |
4981 "") |
4974 # If it fails, then pretend we aren't using GCC. |
4982 # If it fails, then pretend we aren't using GCC. |
4975 ac_prog=ld |
4983 ac_prog=ld |
4976 ;; |
4984 ;; |
4977 *) |
4985 *) |
4978 # If it is relative, then search for the first ld in PATH. |
4986 # If it is relative, then search for the first ld in PATH. |
4979 with_gnu_ld=unknown |
4987 with_gnu_ld=unknown |
4980 ;; |
4988 ;; |
4981 esac |
4989 esac |
4982 elif test "$with_gnu_ld" = yes; then |
4990 elif test yes = "$with_gnu_ld"; then |
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
4984 $as_echo_n "checking for GNU ld... " >&6; } |
4992 $as_echo_n "checking for GNU ld... " >&6; } |
4985 else |
4993 else |
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4987 $as_echo_n "checking for non-GNU ld... " >&6; } |
4995 $as_echo_n "checking for non-GNU ld... " >&6; } |
4988 fi |
4996 fi |
4989 if ${lt_cv_path_LD+:} false; then : |
4997 if ${lt_cv_path_LD+:} false; then : |
4990 $as_echo_n "(cached) " >&6 |
4998 $as_echo_n "(cached) " >&6 |
4991 else |
4999 else |
4992 if test -z "$LD"; then |
5000 if test -z "$LD"; then |
4993 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
5001 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
4994 for ac_dir in $PATH; do |
5002 for ac_dir in $PATH; do |
4995 IFS="$lt_save_ifs" |
5003 IFS=$lt_save_ifs |
4996 test -z "$ac_dir" && ac_dir=. |
5004 test -z "$ac_dir" && ac_dir=. |
4997 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
5005 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
4998 lt_cv_path_LD="$ac_dir/$ac_prog" |
5006 lt_cv_path_LD=$ac_dir/$ac_prog |
4999 # Check to see if the program is GNU ld. I'd rather use --version, |
5007 # Check to see if the program is GNU ld. I'd rather use --version, |
5000 # but apparently some variants of GNU ld only accept -v. |
5008 # but apparently some variants of GNU ld only accept -v. |
5001 # Break only if it was the GNU/non-GNU ld that we prefer. |
5009 # Break only if it was the GNU/non-GNU ld that we prefer. |
5002 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
5010 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
5003 *GNU* | *'with BFD'*) |
5011 *GNU* | *'with BFD'*) |
5004 test "$with_gnu_ld" != no && break |
5012 test no != "$with_gnu_ld" && break |
5005 ;; |
5013 ;; |
5006 *) |
5014 *) |
5007 test "$with_gnu_ld" != yes && break |
5015 test yes != "$with_gnu_ld" && break |
5008 ;; |
5016 ;; |
5009 esac |
5017 esac |
5010 fi |
5018 fi |
5011 done |
5019 done |
5012 IFS="$lt_save_ifs" |
5020 IFS=$lt_save_ifs |
5013 else |
5021 else |
5014 lt_cv_path_LD="$LD" # Let the user override the test with a path. |
5022 lt_cv_path_LD=$LD # Let the user override the test with a path. |
5015 fi |
5023 fi |
5016 fi |
5024 fi |
5017 |
5025 |
5018 LD="$lt_cv_path_LD" |
5026 LD=$lt_cv_path_LD |
5019 if test -n "$LD"; then |
5027 if test -n "$LD"; then |
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
5021 $as_echo "$LD" >&6; } |
5029 $as_echo "$LD" >&6; } |
5022 else |
5030 else |
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5056 if ${lt_cv_path_NM+:} false; then : |
5064 if ${lt_cv_path_NM+:} false; then : |
5057 $as_echo_n "(cached) " >&6 |
5065 $as_echo_n "(cached) " >&6 |
5058 else |
5066 else |
5059 if test -n "$NM"; then |
5067 if test -n "$NM"; then |
5060 # Let the user override the test. |
5068 # Let the user override the test. |
5061 lt_cv_path_NM="$NM" |
5069 lt_cv_path_NM=$NM |
5062 else |
5070 else |
5063 lt_nm_to_check="${ac_tool_prefix}nm" |
5071 lt_nm_to_check=${ac_tool_prefix}nm |
5064 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
5072 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
5065 lt_nm_to_check="$lt_nm_to_check nm" |
5073 lt_nm_to_check="$lt_nm_to_check nm" |
5066 fi |
5074 fi |
5067 for lt_tmp_nm in $lt_nm_to_check; do |
5075 for lt_tmp_nm in $lt_nm_to_check; do |
5068 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
5076 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
5069 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
5077 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
5070 IFS="$lt_save_ifs" |
5078 IFS=$lt_save_ifs |
5071 test -z "$ac_dir" && ac_dir=. |
5079 test -z "$ac_dir" && ac_dir=. |
5072 tmp_nm="$ac_dir/$lt_tmp_nm" |
5080 tmp_nm=$ac_dir/$lt_tmp_nm |
5073 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
5081 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
5074 # Check to see if the nm accepts a BSD-compat flag. |
5082 # Check to see if the nm accepts a BSD-compat flag. |
5075 # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
5083 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
5076 # nm: unknown option "B" ignored |
5084 # nm: unknown option "B" ignored |
5077 # Tru64's nm complains that /dev/null is an invalid object file |
5085 # Tru64's nm complains that /dev/null is an invalid object file |
5078 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
5086 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
5079 */dev/null* | *'Invalid file or object type'*) |
5087 case $build_os in |
5088 mingw*) lt_bad_file=conftest.nm/nofile ;; |
|
5089 *) lt_bad_file=/dev/null ;; |
|
5090 esac |
|
5091 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in |
|
5092 *$lt_bad_file* | *'Invalid file or object type'*) |
|
5080 lt_cv_path_NM="$tmp_nm -B" |
5093 lt_cv_path_NM="$tmp_nm -B" |
5081 break |
5094 break 2 |
5082 ;; |
5095 ;; |
5083 *) |
5096 *) |
5084 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
5097 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
5085 */dev/null*) |
5098 */dev/null*) |
5086 lt_cv_path_NM="$tmp_nm -p" |
5099 lt_cv_path_NM="$tmp_nm -p" |
5087 break |
5100 break 2 |
5088 ;; |
5101 ;; |
5089 *) |
5102 *) |
5090 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
5103 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
5091 continue # so that we can try to find one that supports BSD flags |
5104 continue # so that we can try to find one that supports BSD flags |
5092 ;; |
5105 ;; |
5093 esac |
5106 esac |
5094 ;; |
5107 ;; |
5095 esac |
5108 esac |
5096 fi |
5109 fi |
5097 done |
5110 done |
5098 IFS="$lt_save_ifs" |
5111 IFS=$lt_save_ifs |
5099 done |
5112 done |
5100 : ${lt_cv_path_NM=no} |
5113 : ${lt_cv_path_NM=no} |
5101 fi |
5114 fi |
5102 fi |
5115 fi |
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
5104 $as_echo "$lt_cv_path_NM" >&6; } |
5117 $as_echo "$lt_cv_path_NM" >&6; } |
5105 if test "$lt_cv_path_NM" != "no"; then |
5118 if test no != "$lt_cv_path_NM"; then |
5106 NM="$lt_cv_path_NM" |
5119 NM=$lt_cv_path_NM |
5107 else |
5120 else |
5108 # Didn't find any BSD compatible name lister, look for dumpbin. |
5121 # Didn't find any BSD compatible name lister, look for dumpbin. |
5109 if test -n "$DUMPBIN"; then : |
5122 if test -n "$DUMPBIN"; then : |
5110 # Let the user override the test. |
5123 # Let the user override the test. |
5111 else |
5124 else |
5207 esac |
5220 esac |
5208 DUMPBIN=$ac_ct_DUMPBIN |
5221 DUMPBIN=$ac_ct_DUMPBIN |
5209 fi |
5222 fi |
5210 fi |
5223 fi |
5211 |
5224 |
5212 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
5225 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in |
5213 *COFF*) |
5226 *COFF*) |
5214 DUMPBIN="$DUMPBIN -symbols" |
5227 DUMPBIN="$DUMPBIN -symbols -headers" |
5215 ;; |
5228 ;; |
5216 *) |
5229 *) |
5217 DUMPBIN=: |
5230 DUMPBIN=: |
5218 ;; |
5231 ;; |
5219 esac |
5232 esac |
5220 fi |
5233 fi |
5221 |
5234 |
5222 if test "$DUMPBIN" != ":"; then |
5235 if test : != "$DUMPBIN"; then |
5223 NM="$DUMPBIN" |
5236 NM=$DUMPBIN |
5224 fi |
5237 fi |
5225 fi |
5238 fi |
5226 test -z "$NM" && NM=nm |
5239 test -z "$NM" && NM=nm |
5227 |
5240 |
5228 |
5241 |
5269 $as_echo_n "checking the maximum length of command line arguments... " >&6; } |
5282 $as_echo_n "checking the maximum length of command line arguments... " >&6; } |
5270 if ${lt_cv_sys_max_cmd_len+:} false; then : |
5283 if ${lt_cv_sys_max_cmd_len+:} false; then : |
5271 $as_echo_n "(cached) " >&6 |
5284 $as_echo_n "(cached) " >&6 |
5272 else |
5285 else |
5273 i=0 |
5286 i=0 |
5274 teststring="ABCD" |
5287 teststring=ABCD |
5275 |
5288 |
5276 case $build_os in |
5289 case $build_os in |
5277 msdosdjgpp*) |
5290 msdosdjgpp*) |
5278 # On DJGPP, this test can blow up pretty badly due to problems in libc |
5291 # On DJGPP, this test can blow up pretty badly due to problems in libc |
5279 # (any single argument exceeding 2000 bytes causes a buffer overrun |
5292 # (any single argument exceeding 2000 bytes causes a buffer overrun |
5309 # On AmigaOS with pdksh, this test takes hours, literally. |
5322 # On AmigaOS with pdksh, this test takes hours, literally. |
5310 # So we just punt and use a minimum line length of 8192. |
5323 # So we just punt and use a minimum line length of 8192. |
5311 lt_cv_sys_max_cmd_len=8192; |
5324 lt_cv_sys_max_cmd_len=8192; |
5312 ;; |
5325 ;; |
5313 |
5326 |
5314 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
5327 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) |
5315 # This has been around since 386BSD, at least. Likely further. |
5328 # This has been around since 386BSD, at least. Likely further. |
5316 if test -x /sbin/sysctl; then |
5329 if test -x /sbin/sysctl; then |
5317 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
5330 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
5318 elif test -x /usr/sbin/sysctl; then |
5331 elif test -x /usr/sbin/sysctl; then |
5319 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
5332 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
5359 lt_cv_sys_max_cmd_len=32768 |
5372 lt_cv_sys_max_cmd_len=32768 |
5360 fi |
5373 fi |
5361 ;; |
5374 ;; |
5362 *) |
5375 *) |
5363 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
5376 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
5364 if test -n "$lt_cv_sys_max_cmd_len"; then |
5377 if test -n "$lt_cv_sys_max_cmd_len" && \ |
5378 test undefined != "$lt_cv_sys_max_cmd_len"; then |
|
5365 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
5379 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
5366 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
5380 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
5367 else |
5381 else |
5368 # Make teststring a little bigger before we do anything with it. |
5382 # Make teststring a little bigger before we do anything with it. |
5369 # a 1K string should be a reasonable start. |
5383 # a 1K string should be a reasonable start. |
5370 for i in 1 2 3 4 5 6 7 8 ; do |
5384 for i in 1 2 3 4 5 6 7 8; do |
5371 teststring=$teststring$teststring |
5385 teststring=$teststring$teststring |
5372 done |
5386 done |
5373 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
5387 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
5374 # If test is not a shell built-in, we'll probably end up computing a |
5388 # If test is not a shell built-in, we'll probably end up computing a |
5375 # maximum length that is only half of the actual maximum length, but |
5389 # maximum length that is only half of the actual maximum length, but |
5376 # we can't tell. |
5390 # we can't tell. |
5377 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
5391 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
5378 = "X$teststring$teststring"; } >/dev/null 2>&1 && |
5392 = "X$teststring$teststring"; } >/dev/null 2>&1 && |
5379 test $i != 17 # 1/2 MB should be enough |
5393 test 17 != "$i" # 1/2 MB should be enough |
5380 do |
5394 do |
5381 i=`expr $i + 1` |
5395 i=`expr $i + 1` |
5382 teststring=$teststring$teststring |
5396 teststring=$teststring$teststring |
5383 done |
5397 done |
5384 # Only check the string length outside the loop. |
5398 # Only check the string length outside the loop. |
5392 ;; |
5406 ;; |
5393 esac |
5407 esac |
5394 |
5408 |
5395 fi |
5409 fi |
5396 |
5410 |
5397 if test -n $lt_cv_sys_max_cmd_len ; then |
5411 if test -n "$lt_cv_sys_max_cmd_len"; then |
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
5399 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
5413 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
5400 else |
5414 else |
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
5402 $as_echo "none" >&6; } |
5416 $as_echo "none" >&6; } |
5409 |
5423 |
5410 |
5424 |
5411 : ${CP="cp -f"} |
5425 : ${CP="cp -f"} |
5412 : ${MV="mv -f"} |
5426 : ${MV="mv -f"} |
5413 : ${RM="rm -f"} |
5427 : ${RM="rm -f"} |
5414 |
|
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
|
5416 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
|
5417 # Try some XSI features |
|
5418 xsi_shell=no |
|
5419 ( _lt_dummy="a/b/c" |
|
5420 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
|
5421 = c,a/b,b/c, \ |
|
5422 && eval 'test $(( 1 + 1 )) -eq 2 \ |
|
5423 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
|
5424 && xsi_shell=yes |
|
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
|
5426 $as_echo "$xsi_shell" >&6; } |
|
5427 |
|
5428 |
|
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
|
5430 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
|
5431 lt_shell_append=no |
|
5432 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
|
5433 >/dev/null 2>&1 \ |
|
5434 && lt_shell_append=yes |
|
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
|
5436 $as_echo "$lt_shell_append" >&6; } |
|
5437 |
|
5438 |
5428 |
5439 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
5429 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
5440 lt_unset=unset |
5430 lt_unset=unset |
5441 else |
5431 else |
5442 lt_unset=false |
5432 lt_unset=false |
5556 *) reload_flag=" $reload_flag" ;; |
5546 *) reload_flag=" $reload_flag" ;; |
5557 esac |
5547 esac |
5558 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5548 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5559 case $host_os in |
5549 case $host_os in |
5560 cygwin* | mingw* | pw32* | cegcc*) |
5550 cygwin* | mingw* | pw32* | cegcc*) |
5561 if test "$GCC" != yes; then |
5551 if test yes != "$GCC"; then |
5562 reload_cmds=false |
5552 reload_cmds=false |
5563 fi |
5553 fi |
5564 ;; |
5554 ;; |
5565 darwin*) |
5555 darwin*) |
5566 if test "$GCC" = yes; then |
5556 if test yes = "$GCC"; then |
5567 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
5557 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
5568 else |
5558 else |
5569 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5559 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5570 fi |
5560 fi |
5571 ;; |
5561 ;; |
5572 esac |
5562 esac |
5687 lt_cv_file_magic_test_file= |
5677 lt_cv_file_magic_test_file= |
5688 lt_cv_deplibs_check_method='unknown' |
5678 lt_cv_deplibs_check_method='unknown' |
5689 # Need to set the preceding variable on all platforms that support |
5679 # Need to set the preceding variable on all platforms that support |
5690 # interlibrary dependencies. |
5680 # interlibrary dependencies. |
5691 # 'none' -- dependencies not supported. |
5681 # 'none' -- dependencies not supported. |
5692 # `unknown' -- same as none, but documents that we really don't know. |
5682 # 'unknown' -- same as none, but documents that we really don't know. |
5693 # 'pass_all' -- all dependencies passed with no checks. |
5683 # 'pass_all' -- all dependencies passed with no checks. |
5694 # 'test_compile' -- check by making test program. |
5684 # 'test_compile' -- check by making test program. |
5695 # 'file_magic [[regex]]' -- check by looking for files in library path |
5685 # 'file_magic [[regex]]' -- check by looking for files in library path |
5696 # which responds to the $file_magic_cmd with a given extended regex. |
5686 # that responds to the $file_magic_cmd with a given extended regex. |
5697 # If you have `file' or equivalent on your system and you're not sure |
5687 # If you have 'file' or equivalent on your system and you're not sure |
5698 # whether `pass_all' will *always* work, you probably want this one. |
5688 # whether 'pass_all' will *always* work, you probably want this one. |
5699 |
5689 |
5700 case $host_os in |
5690 case $host_os in |
5701 aix[4-9]*) |
5691 aix[4-9]*) |
5702 lt_cv_deplibs_check_method=pass_all |
5692 lt_cv_deplibs_check_method=pass_all |
5703 ;; |
5693 ;; |
5720 |
5710 |
5721 mingw* | pw32*) |
5711 mingw* | pw32*) |
5722 # Base MSYS/MinGW do not provide the 'file' command needed by |
5712 # Base MSYS/MinGW do not provide the 'file' command needed by |
5723 # func_win32_libid shell function, so use a weaker test based on 'objdump', |
5713 # func_win32_libid shell function, so use a weaker test based on 'objdump', |
5724 # unless we find 'file', for example because we are cross-compiling. |
5714 # unless we find 'file', for example because we are cross-compiling. |
5725 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
5715 if ( file / ) >/dev/null 2>&1; then |
5726 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
|
5727 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5716 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5728 lt_cv_file_magic_cmd='func_win32_libid' |
5717 lt_cv_file_magic_cmd='func_win32_libid' |
5729 else |
5718 else |
5730 # Keep this pattern in sync with the one in func_win32_libid. |
5719 # Keep this pattern in sync with the one in func_win32_libid. |
5731 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
5720 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
5755 ;; |
5744 ;; |
5756 esac |
5745 esac |
5757 else |
5746 else |
5758 lt_cv_deplibs_check_method=pass_all |
5747 lt_cv_deplibs_check_method=pass_all |
5759 fi |
5748 fi |
5760 ;; |
|
5761 |
|
5762 gnu*) |
|
5763 lt_cv_deplibs_check_method=pass_all |
|
5764 ;; |
5749 ;; |
5765 |
5750 |
5766 haiku*) |
5751 haiku*) |
5767 lt_cv_deplibs_check_method=pass_all |
5752 lt_cv_deplibs_check_method=pass_all |
5768 ;; |
5753 ;; |
5799 esac |
5784 esac |
5800 lt_cv_deplibs_check_method=pass_all |
5785 lt_cv_deplibs_check_method=pass_all |
5801 ;; |
5786 ;; |
5802 |
5787 |
5803 # This must be glibc/ELF. |
5788 # This must be glibc/ELF. |
5804 linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5789 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
5805 lt_cv_deplibs_check_method=pass_all |
5790 lt_cv_deplibs_check_method=pass_all |
5806 ;; |
5791 ;; |
5807 |
5792 |
5808 netbsd*) |
5793 netbsd* | netbsdelf*-gnu) |
5809 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
5794 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
5810 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5795 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5811 else |
5796 else |
5812 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
5797 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
5813 fi |
5798 fi |
5821 |
5806 |
5822 *nto* | *qnx*) |
5807 *nto* | *qnx*) |
5823 lt_cv_deplibs_check_method=pass_all |
5808 lt_cv_deplibs_check_method=pass_all |
5824 ;; |
5809 ;; |
5825 |
5810 |
5826 openbsd*) |
5811 openbsd* | bitrig*) |
5827 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
5812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
5828 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
5813 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
5829 else |
5814 else |
5830 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5815 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
5831 fi |
5816 fi |
5832 ;; |
5817 ;; |
5875 ;; |
5860 ;; |
5876 |
5861 |
5877 tpf*) |
5862 tpf*) |
5878 lt_cv_deplibs_check_method=pass_all |
5863 lt_cv_deplibs_check_method=pass_all |
5879 ;; |
5864 ;; |
5865 os2*) |
|
5866 lt_cv_deplibs_check_method=pass_all |
|
5867 ;; |
|
5880 esac |
5868 esac |
5881 |
5869 |
5882 fi |
5870 fi |
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5884 $as_echo "$lt_cv_deplibs_check_method" >&6; } |
5872 $as_echo "$lt_cv_deplibs_check_method" >&6; } |
6029 else |
6017 else |
6030 lt_cv_sharedlib_from_linklib_cmd='unknown' |
6018 lt_cv_sharedlib_from_linklib_cmd='unknown' |
6031 |
6019 |
6032 case $host_os in |
6020 case $host_os in |
6033 cygwin* | mingw* | pw32* | cegcc*) |
6021 cygwin* | mingw* | pw32* | cegcc*) |
6034 # two different shell functions defined in ltmain.sh |
6022 # two different shell functions defined in ltmain.sh; |
6035 # decide which to use based on capabilities of $DLLTOOL |
6023 # decide which one to use based on capabilities of $DLLTOOL |
6036 case `$DLLTOOL --help 2>&1` in |
6024 case `$DLLTOOL --help 2>&1` in |
6037 *--identify-strict*) |
6025 *--identify-strict*) |
6038 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
6026 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
6039 ;; |
6027 ;; |
6040 *) |
6028 *) |
6042 ;; |
6030 ;; |
6043 esac |
6031 esac |
6044 ;; |
6032 ;; |
6045 *) |
6033 *) |
6046 # fallback: assume linklib IS sharedlib |
6034 # fallback: assume linklib IS sharedlib |
6047 lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
6035 lt_cv_sharedlib_from_linklib_cmd=$ECHO |
6048 ;; |
6036 ;; |
6049 esac |
6037 esac |
6050 |
6038 |
6051 fi |
6039 fi |
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
6197 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6185 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6198 (eval $lt_ar_try) 2>&5 |
6186 (eval $lt_ar_try) 2>&5 |
6199 ac_status=$? |
6187 ac_status=$? |
6200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6201 test $ac_status = 0; } |
6189 test $ac_status = 0; } |
6202 if test "$ac_status" -eq 0; then |
6190 if test 0 -eq "$ac_status"; then |
6203 # Ensure the archiver fails upon bogus file names. |
6191 # Ensure the archiver fails upon bogus file names. |
6204 rm -f conftest.$ac_objext libconftest.a |
6192 rm -f conftest.$ac_objext libconftest.a |
6205 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6193 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6206 (eval $lt_ar_try) 2>&5 |
6194 (eval $lt_ar_try) 2>&5 |
6207 ac_status=$? |
6195 ac_status=$? |
6208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6209 test $ac_status = 0; } |
6197 test $ac_status = 0; } |
6210 if test "$ac_status" -ne 0; then |
6198 if test 0 -ne "$ac_status"; then |
6211 lt_cv_ar_at_file=@ |
6199 lt_cv_ar_at_file=@ |
6212 fi |
6200 fi |
6213 fi |
6201 fi |
6214 rm -f conftest.* libconftest.a |
6202 rm -f conftest.* libconftest.a |
6215 |
6203 |
6218 |
6206 |
6219 fi |
6207 fi |
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
6221 $as_echo "$lt_cv_ar_at_file" >&6; } |
6209 $as_echo "$lt_cv_ar_at_file" >&6; } |
6222 |
6210 |
6223 if test "x$lt_cv_ar_at_file" = xno; then |
6211 if test no = "$lt_cv_ar_at_file"; then |
6224 archiver_list_spec= |
6212 archiver_list_spec= |
6225 else |
6213 else |
6226 archiver_list_spec=$lt_cv_ar_at_file |
6214 archiver_list_spec=$lt_cv_ar_at_file |
6227 fi |
6215 fi |
6228 |
6216 |
6435 old_postinstall_cmds='chmod 644 $oldlib' |
6423 old_postinstall_cmds='chmod 644 $oldlib' |
6436 old_postuninstall_cmds= |
6424 old_postuninstall_cmds= |
6437 |
6425 |
6438 if test -n "$RANLIB"; then |
6426 if test -n "$RANLIB"; then |
6439 case $host_os in |
6427 case $host_os in |
6440 openbsd*) |
6428 bitrig* | openbsd*) |
6441 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
6429 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
6442 ;; |
6430 ;; |
6443 *) |
6431 *) |
6444 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
6432 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
6445 ;; |
6433 ;; |
6525 ;; |
6513 ;; |
6526 cygwin* | mingw* | pw32* | cegcc*) |
6514 cygwin* | mingw* | pw32* | cegcc*) |
6527 symcode='[ABCDGISTW]' |
6515 symcode='[ABCDGISTW]' |
6528 ;; |
6516 ;; |
6529 hpux*) |
6517 hpux*) |
6530 if test "$host_cpu" = ia64; then |
6518 if test ia64 = "$host_cpu"; then |
6531 symcode='[ABCDEGRST]' |
6519 symcode='[ABCDEGRST]' |
6532 fi |
6520 fi |
6533 ;; |
6521 ;; |
6534 irix* | nonstopux*) |
6522 irix* | nonstopux*) |
6535 symcode='[BCDEGRST]' |
6523 symcode='[BCDEGRST]' |
6558 case `$NM -V 2>&1` in |
6546 case `$NM -V 2>&1` in |
6559 *GNU* | *'with BFD'*) |
6547 *GNU* | *'with BFD'*) |
6560 symcode='[ABCDGIRSTW]' ;; |
6548 symcode='[ABCDGIRSTW]' ;; |
6561 esac |
6549 esac |
6562 |
6550 |
6551 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
|
6552 # Gets list of data symbols to import. |
|
6553 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" |
|
6554 # Adjust the below global symbol transforms to fixup imported variables. |
|
6555 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
|
6556 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
|
6557 lt_c_name_lib_hook="\ |
|
6558 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
|
6559 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
|
6560 else |
|
6561 # Disable hooks by default. |
|
6562 lt_cv_sys_global_symbol_to_import= |
|
6563 lt_cdecl_hook= |
|
6564 lt_c_name_hook= |
|
6565 lt_c_name_lib_hook= |
|
6566 fi |
|
6567 |
|
6563 # Transform an extracted symbol line into a proper C declaration. |
6568 # Transform an extracted symbol line into a proper C declaration. |
6564 # Some systems (esp. on ia64) link data and code symbols differently, |
6569 # Some systems (esp. on ia64) link data and code symbols differently, |
6565 # so use this general approach. |
6570 # so use this general approach. |
6566 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6571 lt_cv_sys_global_symbol_to_cdecl="sed -n"\ |
6572 $lt_cdecl_hook\ |
|
6573 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
|
6574 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
|
6567 |
6575 |
6568 # Transform an extracted symbol line into symbol name and symbol address |
6576 # Transform an extracted symbol line into symbol name and symbol address |
6569 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6577 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ |
6570 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'" |
6578 $lt_c_name_hook\ |
6579 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
|
6580 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
|
6581 |
|
6582 # Transform an extracted symbol line into symbol name with lib prefix and |
|
6583 # symbol address. |
|
6584 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ |
|
6585 $lt_c_name_lib_hook\ |
|
6586 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
|
6587 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
|
6588 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
|
6571 |
6589 |
6572 # Handle CRLF in mingw tool chain |
6590 # Handle CRLF in mingw tool chain |
6573 opt_cr= |
6591 opt_cr= |
6574 case $build_os in |
6592 case $build_os in |
6575 mingw*) |
6593 mingw*) |
6583 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
6601 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
6584 symxfrm="\\1 $ac_symprfx\\2 \\2" |
6602 symxfrm="\\1 $ac_symprfx\\2 \\2" |
6585 |
6603 |
6586 # Write the raw and C identifiers. |
6604 # Write the raw and C identifiers. |
6587 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6605 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6588 # Fake it for dumpbin and say T for any non-static function |
6606 # Fake it for dumpbin and say T for any non-static function, |
6589 # and D for any global variable. |
6607 # D for any global variable and I for any imported variable. |
6590 # Also find C++ and __fastcall symbols from MSVC++, |
6608 # Also find C++ and __fastcall symbols from MSVC++, |
6591 # which start with @ or ?. |
6609 # which start with @ or ?. |
6592 lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6610 lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6593 " {last_section=section; section=\$ 3};"\ |
6611 " {last_section=section; section=\$ 3};"\ |
6594 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
6612 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
6595 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6613 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6614 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
|
6615 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
|
6616 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
|
6596 " \$ 0!~/External *\|/{next};"\ |
6617 " \$ 0!~/External *\|/{next};"\ |
6597 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6618 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6598 " {if(hide[section]) next};"\ |
6619 " {if(hide[section]) next};"\ |
6599 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
6620 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
6600 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
6621 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
6601 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
6622 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
6602 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
6623 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
6603 " ' prfx=^$ac_symprfx" |
6624 " ' prfx=^$ac_symprfx" |
6604 else |
6625 else |
6605 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6626 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6606 fi |
6627 fi |
6607 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
6628 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
6645 # Make sure that we snagged all the symbols we need. |
6666 # Make sure that we snagged all the symbols we need. |
6646 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6667 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6647 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
6668 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
6648 cat <<_LT_EOF > conftest.$ac_ext |
6669 cat <<_LT_EOF > conftest.$ac_ext |
6649 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6670 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6650 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
6671 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
6651 /* DATA imports from DLLs on WIN32 con't be const, because runtime |
6672 /* DATA imports from DLLs on WIN32 can't be const, because runtime |
6652 relocations are performed -- see ld's documentation on pseudo-relocs. */ |
6673 relocations are performed -- see ld's documentation on pseudo-relocs. */ |
6653 # define LT_DLSYM_CONST |
6674 # define LT_DLSYM_CONST |
6654 #elif defined(__osf__) |
6675 #elif defined __osf__ |
6655 /* This system does not cope well with relocations in const data. */ |
6676 /* This system does not cope well with relocations in const data. */ |
6656 # define LT_DLSYM_CONST |
6677 # define LT_DLSYM_CONST |
6657 #else |
6678 #else |
6658 # define LT_DLSYM_CONST const |
6679 # define LT_DLSYM_CONST const |
6659 #endif |
6680 #endif |
6675 } |
6696 } |
6676 lt__PROGRAM__LTX_preloaded_symbols[] = |
6697 lt__PROGRAM__LTX_preloaded_symbols[] = |
6677 { |
6698 { |
6678 { "@PROGRAM@", (void *) 0 }, |
6699 { "@PROGRAM@", (void *) 0 }, |
6679 _LT_EOF |
6700 _LT_EOF |
6680 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
6701 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
6681 cat <<\_LT_EOF >> conftest.$ac_ext |
6702 cat <<\_LT_EOF >> conftest.$ac_ext |
6682 {0, (void *) 0} |
6703 {0, (void *) 0} |
6683 }; |
6704 }; |
6684 |
6705 |
6685 /* This works around a problem in FreeBSD linker */ |
6706 /* This works around a problem in FreeBSD linker */ |
6695 _LT_EOF |
6716 _LT_EOF |
6696 # Now try linking the two files. |
6717 # Now try linking the two files. |
6697 mv conftest.$ac_objext conftstm.$ac_objext |
6718 mv conftest.$ac_objext conftstm.$ac_objext |
6698 lt_globsym_save_LIBS=$LIBS |
6719 lt_globsym_save_LIBS=$LIBS |
6699 lt_globsym_save_CFLAGS=$CFLAGS |
6720 lt_globsym_save_CFLAGS=$CFLAGS |
6700 LIBS="conftstm.$ac_objext" |
6721 LIBS=conftstm.$ac_objext |
6701 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6722 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6703 (eval $ac_link) 2>&5 |
6724 (eval $ac_link) 2>&5 |
6704 ac_status=$? |
6725 ac_status=$? |
6705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6706 test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
6727 test $ac_status = 0; } && test -s conftest$ac_exeext; then |
6707 pipe_works=yes |
6728 pipe_works=yes |
6708 fi |
6729 fi |
6709 LIBS=$lt_globsym_save_LIBS |
6730 LIBS=$lt_globsym_save_LIBS |
6710 CFLAGS=$lt_globsym_save_CFLAGS |
6731 CFLAGS=$lt_globsym_save_CFLAGS |
6711 else |
6732 else |
6722 cat conftest.$ac_ext >&5 |
6743 cat conftest.$ac_ext >&5 |
6723 fi |
6744 fi |
6724 rm -rf conftest* conftst* |
6745 rm -rf conftest* conftst* |
6725 |
6746 |
6726 # Do not use the global_symbol_pipe unless it works. |
6747 # Do not use the global_symbol_pipe unless it works. |
6727 if test "$pipe_works" = yes; then |
6748 if test yes = "$pipe_works"; then |
6728 break |
6749 break |
6729 else |
6750 else |
6730 lt_cv_sys_global_symbol_pipe= |
6751 lt_cv_sys_global_symbol_pipe= |
6731 fi |
6752 fi |
6732 done |
6753 done |
6775 |
6796 |
6776 |
6797 |
6777 |
6798 |
6778 |
6799 |
6779 |
6800 |
6801 |
|
6802 |
|
6803 |
|
6804 |
|
6805 |
|
6806 |
|
6807 |
|
6808 |
|
6809 |
|
6810 |
|
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
6781 $as_echo_n "checking for sysroot... " >&6; } |
6812 $as_echo_n "checking for sysroot... " >&6; } |
6782 |
6813 |
6783 # Check whether --with-sysroot was given. |
6814 # Check whether --with-sysroot was given. |
6784 if test "${with_sysroot+set}" = set; then : |
6815 if test "${with_sysroot+set}" = set; then : |
6787 with_sysroot=no |
6818 with_sysroot=no |
6788 fi |
6819 fi |
6789 |
6820 |
6790 |
6821 |
6791 lt_sysroot= |
6822 lt_sysroot= |
6792 case ${with_sysroot} in #( |
6823 case $with_sysroot in #( |
6793 yes) |
6824 yes) |
6794 if test "$GCC" = yes; then |
6825 if test yes = "$GCC"; then |
6795 lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
6826 lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
6796 fi |
6827 fi |
6797 ;; #( |
6828 ;; #( |
6798 /*) |
6829 /*) |
6799 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
6830 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
6800 ;; #( |
6831 ;; #( |
6801 no|'') |
6832 no|'') |
6802 ;; #( |
6833 ;; #( |
6803 *) |
6834 *) |
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
6805 $as_echo "${with_sysroot}" >&6; } |
6836 $as_echo "$with_sysroot" >&6; } |
6806 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
6837 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
6807 ;; |
6838 ;; |
6808 esac |
6839 esac |
6809 |
6840 |
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
6812 |
6843 |
6813 |
6844 |
6814 |
6845 |
6815 |
6846 |
6816 |
6847 |
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
|
6849 $as_echo_n "checking for a working dd... " >&6; } |
|
6850 if ${ac_cv_path_lt_DD+:} false; then : |
|
6851 $as_echo_n "(cached) " >&6 |
|
6852 else |
|
6853 printf 0123456789abcdef0123456789abcdef >conftest.i |
|
6854 cat conftest.i conftest.i >conftest2.i |
|
6855 : ${lt_DD:=$DD} |
|
6856 if test -z "$lt_DD"; then |
|
6857 ac_path_lt_DD_found=false |
|
6858 # Loop through the user's path and test for each of PROGNAME-LIST |
|
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6860 for as_dir in $PATH |
|
6861 do |
|
6862 IFS=$as_save_IFS |
|
6863 test -z "$as_dir" && as_dir=. |
|
6864 for ac_prog in dd; do |
|
6865 for ac_exec_ext in '' $ac_executable_extensions; do |
|
6866 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" |
|
6867 as_fn_executable_p "$ac_path_lt_DD" || continue |
|
6868 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
|
6869 cmp -s conftest.i conftest.out \ |
|
6870 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
|
6871 fi |
|
6872 $ac_path_lt_DD_found && break 3 |
|
6873 done |
|
6874 done |
|
6875 done |
|
6876 IFS=$as_save_IFS |
|
6877 if test -z "$ac_cv_path_lt_DD"; then |
|
6878 : |
|
6879 fi |
|
6880 else |
|
6881 ac_cv_path_lt_DD=$lt_DD |
|
6882 fi |
|
6883 |
|
6884 rm -f conftest.i conftest2.i conftest.out |
|
6885 fi |
|
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
|
6887 $as_echo "$ac_cv_path_lt_DD" >&6; } |
|
6888 |
|
6889 |
|
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
|
6891 $as_echo_n "checking how to truncate binary pipes... " >&6; } |
|
6892 if ${lt_cv_truncate_bin+:} false; then : |
|
6893 $as_echo_n "(cached) " >&6 |
|
6894 else |
|
6895 printf 0123456789abcdef0123456789abcdef >conftest.i |
|
6896 cat conftest.i conftest.i >conftest2.i |
|
6897 lt_cv_truncate_bin= |
|
6898 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
|
6899 cmp -s conftest.i conftest.out \ |
|
6900 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
|
6901 fi |
|
6902 rm -f conftest.i conftest2.i conftest.out |
|
6903 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" |
|
6904 fi |
|
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
|
6906 $as_echo "$lt_cv_truncate_bin" >&6; } |
|
6907 |
|
6908 |
|
6909 |
|
6910 |
|
6911 |
|
6912 |
|
6913 |
|
6914 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
|
6915 func_cc_basename () |
|
6916 { |
|
6917 for cc_temp in $*""; do |
|
6918 case $cc_temp in |
|
6919 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
6920 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
6921 \-*) ;; |
|
6922 *) break;; |
|
6923 esac |
|
6924 done |
|
6925 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
6926 } |
|
6927 |
|
6817 # Check whether --enable-libtool-lock was given. |
6928 # Check whether --enable-libtool-lock was given. |
6818 if test "${enable_libtool_lock+set}" = set; then : |
6929 if test "${enable_libtool_lock+set}" = set; then : |
6819 enableval=$enable_libtool_lock; |
6930 enableval=$enable_libtool_lock; |
6820 fi |
6931 fi |
6821 |
6932 |
6822 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
6933 test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
6823 |
6934 |
6824 # Some flags need to be propagated to the compiler or linker for good |
6935 # Some flags need to be propagated to the compiler or linker for good |
6825 # libtool support. |
6936 # libtool support. |
6826 case $host in |
6937 case $host in |
6827 ia64-*-hpux*) |
6938 ia64-*-hpux*) |
6828 # Find out which ABI we are using. |
6939 # Find out what ABI is being produced by ac_compile, and set mode |
6940 # options accordingly. |
|
6829 echo 'int i;' > conftest.$ac_ext |
6941 echo 'int i;' > conftest.$ac_ext |
6830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6831 (eval $ac_compile) 2>&5 |
6943 (eval $ac_compile) 2>&5 |
6832 ac_status=$? |
6944 ac_status=$? |
6833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6834 test $ac_status = 0; }; then |
6946 test $ac_status = 0; }; then |
6835 case `/usr/bin/file conftest.$ac_objext` in |
6947 case `/usr/bin/file conftest.$ac_objext` in |
6836 *ELF-32*) |
6948 *ELF-32*) |
6837 HPUX_IA64_MODE="32" |
6949 HPUX_IA64_MODE=32 |
6838 ;; |
6950 ;; |
6839 *ELF-64*) |
6951 *ELF-64*) |
6840 HPUX_IA64_MODE="64" |
6952 HPUX_IA64_MODE=64 |
6841 ;; |
6953 ;; |
6842 esac |
6954 esac |
6843 fi |
6955 fi |
6844 rm -rf conftest* |
6956 rm -rf conftest* |
6845 ;; |
6957 ;; |
6846 *-*-irix6*) |
6958 *-*-irix6*) |
6847 # Find out which ABI we are using. |
6959 # Find out what ABI is being produced by ac_compile, and set linker |
6960 # options accordingly. |
|
6848 echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6961 echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6850 (eval $ac_compile) 2>&5 |
6963 (eval $ac_compile) 2>&5 |
6851 ac_status=$? |
6964 ac_status=$? |
6852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6853 test $ac_status = 0; }; then |
6966 test $ac_status = 0; }; then |
6854 if test "$lt_cv_prog_gnu_ld" = yes; then |
6967 if test yes = "$lt_cv_prog_gnu_ld"; then |
6855 case `/usr/bin/file conftest.$ac_objext` in |
6968 case `/usr/bin/file conftest.$ac_objext` in |
6856 *32-bit*) |
6969 *32-bit*) |
6857 LD="${LD-ld} -melf32bsmip" |
6970 LD="${LD-ld} -melf32bsmip" |
6858 ;; |
6971 ;; |
6859 *N32*) |
6972 *N32*) |
6878 fi |
6991 fi |
6879 fi |
6992 fi |
6880 rm -rf conftest* |
6993 rm -rf conftest* |
6881 ;; |
6994 ;; |
6882 |
6995 |
6883 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
6996 mips64*-*linux*) |
6997 # Find out what ABI is being produced by ac_compile, and set linker |
|
6998 # options accordingly. |
|
6999 echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
|
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
|
7001 (eval $ac_compile) 2>&5 |
|
7002 ac_status=$? |
|
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
7004 test $ac_status = 0; }; then |
|
7005 emul=elf |
|
7006 case `/usr/bin/file conftest.$ac_objext` in |
|
7007 *32-bit*) |
|
7008 emul="${emul}32" |
|
7009 ;; |
|
7010 *64-bit*) |
|
7011 emul="${emul}64" |
|
7012 ;; |
|
7013 esac |
|
7014 case `/usr/bin/file conftest.$ac_objext` in |
|
7015 *MSB*) |
|
7016 emul="${emul}btsmip" |
|
7017 ;; |
|
7018 *LSB*) |
|
7019 emul="${emul}ltsmip" |
|
7020 ;; |
|
7021 esac |
|
7022 case `/usr/bin/file conftest.$ac_objext` in |
|
7023 *N32*) |
|
7024 emul="${emul}n32" |
|
7025 ;; |
|
7026 esac |
|
7027 LD="${LD-ld} -m $emul" |
|
7028 fi |
|
7029 rm -rf conftest* |
|
7030 ;; |
|
7031 |
|
7032 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
|
6884 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
7033 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
6885 # Find out which ABI we are using. |
7034 # Find out what ABI is being produced by ac_compile, and set linker |
7035 # options accordingly. Note that the listed cases only cover the |
|
7036 # situations where additional linker options are needed (such as when |
|
7037 # doing 32-bit compilation for a host where ld defaults to 64-bit, or |
|
7038 # vice versa); the common cases where no linker options are needed do |
|
7039 # not appear in the list. |
|
6886 echo 'int i;' > conftest.$ac_ext |
7040 echo 'int i;' > conftest.$ac_ext |
6887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
7041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6888 (eval $ac_compile) 2>&5 |
7042 (eval $ac_compile) 2>&5 |
6889 ac_status=$? |
7043 ac_status=$? |
6890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6894 case $host in |
7048 case $host in |
6895 x86_64-*kfreebsd*-gnu) |
7049 x86_64-*kfreebsd*-gnu) |
6896 LD="${LD-ld} -m elf_i386_fbsd" |
7050 LD="${LD-ld} -m elf_i386_fbsd" |
6897 ;; |
7051 ;; |
6898 x86_64-*linux*) |
7052 x86_64-*linux*) |
6899 LD="${LD-ld} -m elf_i386" |
7053 case `/usr/bin/file conftest.o` in |
7054 *x86-64*) |
|
7055 LD="${LD-ld} -m elf32_x86_64" |
|
7056 ;; |
|
7057 *) |
|
7058 LD="${LD-ld} -m elf_i386" |
|
7059 ;; |
|
7060 esac |
|
6900 ;; |
7061 ;; |
6901 ppc64-*linux*|powerpc64-*linux*) |
7062 powerpc64le-*linux*) |
7063 LD="${LD-ld} -m elf32lppclinux" |
|
7064 ;; |
|
7065 powerpc64-*linux*) |
|
6902 LD="${LD-ld} -m elf32ppclinux" |
7066 LD="${LD-ld} -m elf32ppclinux" |
6903 ;; |
7067 ;; |
6904 s390x-*linux*) |
7068 s390x-*linux*) |
6905 LD="${LD-ld} -m elf_s390" |
7069 LD="${LD-ld} -m elf_s390" |
6906 ;; |
7070 ;; |
6915 LD="${LD-ld} -m elf_x86_64_fbsd" |
7079 LD="${LD-ld} -m elf_x86_64_fbsd" |
6916 ;; |
7080 ;; |
6917 x86_64-*linux*) |
7081 x86_64-*linux*) |
6918 LD="${LD-ld} -m elf_x86_64" |
7082 LD="${LD-ld} -m elf_x86_64" |
6919 ;; |
7083 ;; |
6920 ppc*-*linux*|powerpc*-*linux*) |
7084 powerpcle-*linux*) |
7085 LD="${LD-ld} -m elf64lppc" |
|
7086 ;; |
|
7087 powerpc-*linux*) |
|
6921 LD="${LD-ld} -m elf64ppc" |
7088 LD="${LD-ld} -m elf64ppc" |
6922 ;; |
7089 ;; |
6923 s390*-*linux*|s390*-*tpf*) |
7090 s390*-*linux*|s390*-*tpf*) |
6924 LD="${LD-ld} -m elf64_s390" |
7091 LD="${LD-ld} -m elf64_s390" |
6925 ;; |
7092 ;; |
6933 rm -rf conftest* |
7100 rm -rf conftest* |
6934 ;; |
7101 ;; |
6935 |
7102 |
6936 *-*-sco3.2v5*) |
7103 *-*-sco3.2v5*) |
6937 # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
7104 # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
6938 SAVE_CFLAGS="$CFLAGS" |
7105 SAVE_CFLAGS=$CFLAGS |
6939 CFLAGS="$CFLAGS -belf" |
7106 CFLAGS="$CFLAGS -belf" |
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
6941 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
7108 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
6942 if ${lt_cv_cc_needs_belf+:} false; then : |
7109 if ${lt_cv_cc_needs_belf+:} false; then : |
6943 $as_echo_n "(cached) " >&6 |
7110 $as_echo_n "(cached) " >&6 |
6973 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7140 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6974 |
7141 |
6975 fi |
7142 fi |
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
6977 $as_echo "$lt_cv_cc_needs_belf" >&6; } |
7144 $as_echo "$lt_cv_cc_needs_belf" >&6; } |
6978 if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
7145 if test yes != "$lt_cv_cc_needs_belf"; then |
6979 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
7146 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
6980 CFLAGS="$SAVE_CFLAGS" |
7147 CFLAGS=$SAVE_CFLAGS |
6981 fi |
7148 fi |
6982 ;; |
7149 ;; |
6983 *-*solaris*) |
7150 *-*solaris*) |
6984 # Find out which ABI we are using. |
7151 # Find out what ABI is being produced by ac_compile, and set linker |
7152 # options accordingly. |
|
6985 echo 'int i;' > conftest.$ac_ext |
7153 echo 'int i;' > conftest.$ac_ext |
6986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
7154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6987 (eval $ac_compile) 2>&5 |
7155 (eval $ac_compile) 2>&5 |
6988 ac_status=$? |
7156 ac_status=$? |
6989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6991 case `/usr/bin/file conftest.o` in |
7159 case `/usr/bin/file conftest.o` in |
6992 *64-bit*) |
7160 *64-bit*) |
6993 case $lt_cv_prog_gnu_ld in |
7161 case $lt_cv_prog_gnu_ld in |
6994 yes*) |
7162 yes*) |
6995 case $host in |
7163 case $host in |
6996 i?86-*-solaris*) |
7164 i?86-*-solaris*|x86_64-*-solaris*) |
6997 LD="${LD-ld} -m elf_x86_64" |
7165 LD="${LD-ld} -m elf_x86_64" |
6998 ;; |
7166 ;; |
6999 sparc*-*-solaris*) |
7167 sparc*-*-solaris*) |
7000 LD="${LD-ld} -m elf64_sparc" |
7168 LD="${LD-ld} -m elf64_sparc" |
7001 ;; |
7169 ;; |
7002 esac |
7170 esac |
7003 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
7171 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
7004 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
7172 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
7005 LD="${LD-ld}_sol2" |
7173 LD=${LD-ld}_sol2 |
7006 fi |
7174 fi |
7007 ;; |
7175 ;; |
7008 *) |
7176 *) |
7009 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
7177 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
7010 LD="${LD-ld} -64" |
7178 LD="${LD-ld} -64" |
7016 fi |
7184 fi |
7017 rm -rf conftest* |
7185 rm -rf conftest* |
7018 ;; |
7186 ;; |
7019 esac |
7187 esac |
7020 |
7188 |
7021 need_locks="$enable_libtool_lock" |
7189 need_locks=$enable_libtool_lock |
7022 |
7190 |
7023 if test -n "$ac_tool_prefix"; then |
7191 if test -n "$ac_tool_prefix"; then |
7024 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
7192 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
7025 set dummy ${ac_tool_prefix}mt; ac_word=$2 |
7193 set dummy ${ac_tool_prefix}mt; ac_word=$2 |
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7127 fi |
7295 fi |
7128 rm -f conftest* |
7296 rm -f conftest* |
7129 fi |
7297 fi |
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
7131 $as_echo "$lt_cv_path_mainfest_tool" >&6; } |
7299 $as_echo "$lt_cv_path_mainfest_tool" >&6; } |
7132 if test "x$lt_cv_path_mainfest_tool" != xyes; then |
7300 if test yes != "$lt_cv_path_mainfest_tool"; then |
7133 MANIFEST_TOOL=: |
7301 MANIFEST_TOOL=: |
7134 fi |
7302 fi |
7135 |
7303 |
7136 |
7304 |
7137 |
7305 |
7630 $as_echo_n "checking for -single_module linker flag... " >&6; } |
7798 $as_echo_n "checking for -single_module linker flag... " >&6; } |
7631 if ${lt_cv_apple_cc_single_mod+:} false; then : |
7799 if ${lt_cv_apple_cc_single_mod+:} false; then : |
7632 $as_echo_n "(cached) " >&6 |
7800 $as_echo_n "(cached) " >&6 |
7633 else |
7801 else |
7634 lt_cv_apple_cc_single_mod=no |
7802 lt_cv_apple_cc_single_mod=no |
7635 if test -z "${LT_MULTI_MODULE}"; then |
7803 if test -z "$LT_MULTI_MODULE"; then |
7636 # By default we will add the -single_module flag. You can override |
7804 # By default we will add the -single_module flag. You can override |
7637 # by either setting the environment variable LT_MULTI_MODULE |
7805 # by either setting the environment variable LT_MULTI_MODULE |
7638 # non-empty at configure time, or by adding -multi_module to the |
7806 # non-empty at configure time, or by adding -multi_module to the |
7639 # link flags. |
7807 # link flags. |
7640 rm -rf libconftest.dylib* |
7808 rm -rf libconftest.dylib* |
7648 # appears in it, assume the flag caused a linker warning |
7816 # appears in it, assume the flag caused a linker warning |
7649 if test -s conftest.err && $GREP single_module conftest.err; then |
7817 if test -s conftest.err && $GREP single_module conftest.err; then |
7650 cat conftest.err >&5 |
7818 cat conftest.err >&5 |
7651 # Otherwise, if the output was created with a 0 exit code from |
7819 # Otherwise, if the output was created with a 0 exit code from |
7652 # the compiler, it worked. |
7820 # the compiler, it worked. |
7653 elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
7821 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
7654 lt_cv_apple_cc_single_mod=yes |
7822 lt_cv_apple_cc_single_mod=yes |
7655 else |
7823 else |
7656 cat conftest.err >&5 |
7824 cat conftest.err >&5 |
7657 fi |
7825 fi |
7658 rm -rf libconftest.dylib* |
7826 rm -rf libconftest.dylib* |
7687 else |
7855 else |
7688 lt_cv_ld_exported_symbols_list=no |
7856 lt_cv_ld_exported_symbols_list=no |
7689 fi |
7857 fi |
7690 rm -f core conftest.err conftest.$ac_objext \ |
7858 rm -f core conftest.err conftest.$ac_objext \ |
7691 conftest$ac_exeext conftest.$ac_ext |
7859 conftest$ac_exeext conftest.$ac_ext |
7692 LDFLAGS="$save_LDFLAGS" |
7860 LDFLAGS=$save_LDFLAGS |
7693 |
7861 |
7694 fi |
7862 fi |
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7696 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7864 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7697 |
7865 |
7716 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7884 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7717 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7885 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7718 _lt_result=$? |
7886 _lt_result=$? |
7719 if test -s conftest.err && $GREP force_load conftest.err; then |
7887 if test -s conftest.err && $GREP force_load conftest.err; then |
7720 cat conftest.err >&5 |
7888 cat conftest.err >&5 |
7721 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
7889 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then |
7722 lt_cv_ld_force_load=yes |
7890 lt_cv_ld_force_load=yes |
7723 else |
7891 else |
7724 cat conftest.err >&5 |
7892 cat conftest.err >&5 |
7725 fi |
7893 fi |
7726 rm -f conftest.err libconftest.a conftest conftest.c |
7894 rm -f conftest.err libconftest.a conftest conftest.c |
7729 fi |
7897 fi |
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
7731 $as_echo "$lt_cv_ld_force_load" >&6; } |
7899 $as_echo "$lt_cv_ld_force_load" >&6; } |
7732 case $host_os in |
7900 case $host_os in |
7733 rhapsody* | darwin1.[012]) |
7901 rhapsody* | darwin1.[012]) |
7734 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
7902 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
7735 darwin1.*) |
7903 darwin1.*) |
7736 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
7904 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
7737 darwin*) # darwin 5.x on |
7905 darwin*) # darwin 5.x on |
7738 # if running on 10.5 or later, the deployment target defaults |
7906 # if running on 10.5 or later, the deployment target defaults |
7739 # to the OS version, if on x86, and 10.4, the deployment |
7907 # to the OS version, if on x86, and 10.4, the deployment |
7740 # target defaults to 10.4. Don't you love it? |
7908 # target defaults to 10.4. Don't you love it? |
7741 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
7909 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
7742 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
7910 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
7743 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
7911 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
7744 10.[012]*) |
7912 10.[012][,.]*) |
7745 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
7913 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
7746 10.*) |
7914 10.*) |
7747 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
7915 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
7748 esac |
7916 esac |
7749 ;; |
7917 ;; |
7750 esac |
7918 esac |
7751 if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
7919 if test yes = "$lt_cv_apple_cc_single_mod"; then |
7752 _lt_dar_single_mod='$single_module' |
7920 _lt_dar_single_mod='$single_module' |
7753 fi |
7921 fi |
7754 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
7922 if test yes = "$lt_cv_ld_exported_symbols_list"; then |
7755 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
7923 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
7756 else |
7924 else |
7757 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7925 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
7758 fi |
7926 fi |
7759 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
7927 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
7760 _lt_dsymutil='~$DSYMUTIL $lib || :' |
7928 _lt_dsymutil='~$DSYMUTIL $lib || :' |
7761 else |
7929 else |
7762 _lt_dsymutil= |
7930 _lt_dsymutil= |
7763 fi |
7931 fi |
7764 ;; |
7932 ;; |
7765 esac |
7933 esac |
7934 |
|
7935 # func_munge_path_list VARIABLE PATH |
|
7936 # ----------------------------------- |
|
7937 # VARIABLE is name of variable containing _space_ separated list of |
|
7938 # directories to be munged by the contents of PATH, which is string |
|
7939 # having a format: |
|
7940 # "DIR[:DIR]:" |
|
7941 # string "DIR[ DIR]" will be prepended to VARIABLE |
|
7942 # ":DIR[:DIR]" |
|
7943 # string "DIR[ DIR]" will be appended to VARIABLE |
|
7944 # "DIRP[:DIRP]::[DIRA:]DIRA" |
|
7945 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
|
7946 # "DIRA[ DIRA]" will be appended to VARIABLE |
|
7947 # "DIR[:DIR]" |
|
7948 # VARIABLE will be replaced by "DIR[ DIR]" |
|
7949 func_munge_path_list () |
|
7950 { |
|
7951 case x$2 in |
|
7952 x) |
|
7953 ;; |
|
7954 *:) |
|
7955 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
|
7956 ;; |
|
7957 x:*) |
|
7958 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
|
7959 ;; |
|
7960 *::*) |
|
7961 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
|
7962 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
|
7963 ;; |
|
7964 *) |
|
7965 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
|
7966 ;; |
|
7967 esac |
|
7968 } |
|
7766 |
7969 |
7767 ac_ext=c |
7970 ac_ext=c |
7768 ac_cpp='$CPP $CPPFLAGS' |
7971 ac_cpp='$CPP $CPPFLAGS' |
7769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8064 yes) enable_static=yes ;; |
8267 yes) enable_static=yes ;; |
8065 no) enable_static=no ;; |
8268 no) enable_static=no ;; |
8066 *) |
8269 *) |
8067 enable_static=no |
8270 enable_static=no |
8068 # Look at the argument we got. We use all the common list separators. |
8271 # Look at the argument we got. We use all the common list separators. |
8069 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8272 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
8070 for pkg in $enableval; do |
8273 for pkg in $enableval; do |
8071 IFS="$lt_save_ifs" |
8274 IFS=$lt_save_ifs |
8072 if test "X$pkg" = "X$p"; then |
8275 if test "X$pkg" = "X$p"; then |
8073 enable_static=yes |
8276 enable_static=yes |
8074 fi |
8277 fi |
8075 done |
8278 done |
8076 IFS="$lt_save_ifs" |
8279 IFS=$lt_save_ifs |
8077 ;; |
8280 ;; |
8078 esac |
8281 esac |
8079 else |
8282 else |
8080 enable_static=yes |
8283 enable_static=yes |
8081 fi |
8284 fi |
8095 case $withval in |
8298 case $withval in |
8096 yes|no) pic_mode=$withval ;; |
8299 yes|no) pic_mode=$withval ;; |
8097 *) |
8300 *) |
8098 pic_mode=default |
8301 pic_mode=default |
8099 # Look at the argument we got. We use all the common list separators. |
8302 # Look at the argument we got. We use all the common list separators. |
8100 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8303 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
8101 for lt_pkg in $withval; do |
8304 for lt_pkg in $withval; do |
8102 IFS="$lt_save_ifs" |
8305 IFS=$lt_save_ifs |
8103 if test "X$lt_pkg" = "X$lt_p"; then |
8306 if test "X$lt_pkg" = "X$lt_p"; then |
8104 pic_mode=yes |
8307 pic_mode=yes |
8105 fi |
8308 fi |
8106 done |
8309 done |
8107 IFS="$lt_save_ifs" |
8310 IFS=$lt_save_ifs |
8108 ;; |
8311 ;; |
8109 esac |
8312 esac |
8110 else |
8313 else |
8111 pic_mode=default |
8314 pic_mode=default |
8112 fi |
8315 fi |
8113 |
8316 |
8114 |
|
8115 test -z "$pic_mode" && pic_mode=default |
|
8116 |
8317 |
8117 |
8318 |
8118 |
8319 |
8119 |
8320 |
8120 |
8321 |
8127 yes) enable_fast_install=yes ;; |
8328 yes) enable_fast_install=yes ;; |
8128 no) enable_fast_install=no ;; |
8329 no) enable_fast_install=no ;; |
8129 *) |
8330 *) |
8130 enable_fast_install=no |
8331 enable_fast_install=no |
8131 # Look at the argument we got. We use all the common list separators. |
8332 # Look at the argument we got. We use all the common list separators. |
8132 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8333 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
8133 for pkg in $enableval; do |
8334 for pkg in $enableval; do |
8134 IFS="$lt_save_ifs" |
8335 IFS=$lt_save_ifs |
8135 if test "X$pkg" = "X$p"; then |
8336 if test "X$pkg" = "X$p"; then |
8136 enable_fast_install=yes |
8337 enable_fast_install=yes |
8137 fi |
8338 fi |
8138 done |
8339 done |
8139 IFS="$lt_save_ifs" |
8340 IFS=$lt_save_ifs |
8140 ;; |
8341 ;; |
8141 esac |
8342 esac |
8142 else |
8343 else |
8143 enable_fast_install=yes |
8344 enable_fast_install=yes |
8144 fi |
8345 fi |
8148 |
8349 |
8149 |
8350 |
8150 |
8351 |
8151 |
8352 |
8152 |
8353 |
8354 shared_archive_member_spec= |
|
8355 case $host,$enable_shared in |
|
8356 power*-*-aix[5-9]*,yes) |
|
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
|
8358 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } |
|
8359 |
|
8360 # Check whether --with-aix-soname was given. |
|
8361 if test "${with_aix_soname+set}" = set; then : |
|
8362 withval=$with_aix_soname; case $withval in |
|
8363 aix|svr4|both) |
|
8364 ;; |
|
8365 *) |
|
8366 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
|
8367 ;; |
|
8368 esac |
|
8369 lt_cv_with_aix_soname=$with_aix_soname |
|
8370 else |
|
8371 if ${lt_cv_with_aix_soname+:} false; then : |
|
8372 $as_echo_n "(cached) " >&6 |
|
8373 else |
|
8374 lt_cv_with_aix_soname=aix |
|
8375 fi |
|
8376 |
|
8377 with_aix_soname=$lt_cv_with_aix_soname |
|
8378 fi |
|
8379 |
|
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
|
8381 $as_echo "$with_aix_soname" >&6; } |
|
8382 if test aix != "$with_aix_soname"; then |
|
8383 # For the AIX way of multilib, we name the shared archive member |
|
8384 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
|
8385 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
|
8386 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
|
8387 # the AIX toolchain works better with OBJECT_MODE set (default 32). |
|
8388 if test 64 = "${OBJECT_MODE-32}"; then |
|
8389 shared_archive_member_spec=shr_64 |
|
8390 else |
|
8391 shared_archive_member_spec=shr |
|
8392 fi |
|
8393 fi |
|
8394 ;; |
|
8395 *) |
|
8396 with_aix_soname=aix |
|
8397 ;; |
|
8398 esac |
|
8399 |
|
8400 |
|
8401 |
|
8402 |
|
8403 |
|
8404 |
|
8405 |
|
8153 |
8406 |
8154 |
8407 |
8155 |
8408 |
8156 # This can be used to rebuild libtool when needed |
8409 # This can be used to rebuild libtool when needed |
8157 LIBTOOL_DEPS="$ltmain" |
8410 LIBTOOL_DEPS=$ltmain |
8158 |
8411 |
8159 # Always use our own libtool. |
8412 # Always use our own libtool. |
8160 LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
8413 LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
8161 |
8414 |
8162 |
8415 |
8201 |
8454 |
8202 |
8455 |
8203 |
8456 |
8204 |
8457 |
8205 |
8458 |
8206 if test -n "${ZSH_VERSION+set}" ; then |
8459 if test -n "${ZSH_VERSION+set}"; then |
8207 setopt NO_GLOB_SUBST |
8460 setopt NO_GLOB_SUBST |
8208 fi |
8461 fi |
8209 |
8462 |
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
8211 $as_echo_n "checking for objdir... " >&6; } |
8464 $as_echo_n "checking for objdir... " >&6; } |
8240 case $host_os in |
8493 case $host_os in |
8241 aix3*) |
8494 aix3*) |
8242 # AIX sometimes has problems with the GCC collect2 program. For some |
8495 # AIX sometimes has problems with the GCC collect2 program. For some |
8243 # reason, if we set the COLLECT_NAMES environment variable, the problems |
8496 # reason, if we set the COLLECT_NAMES environment variable, the problems |
8244 # vanish in a puff of smoke. |
8497 # vanish in a puff of smoke. |
8245 if test "X${COLLECT_NAMES+set}" != Xset; then |
8498 if test set != "${COLLECT_NAMES+set}"; then |
8246 COLLECT_NAMES= |
8499 COLLECT_NAMES= |
8247 export COLLECT_NAMES |
8500 export COLLECT_NAMES |
8248 fi |
8501 fi |
8249 ;; |
8502 ;; |
8250 esac |
8503 esac |
8251 |
8504 |
8252 # Global variables: |
8505 # Global variables: |
8253 ofile=libtool |
8506 ofile=libtool |
8254 can_build_shared=yes |
8507 can_build_shared=yes |
8255 |
8508 |
8256 # All known linkers require a `.a' archive for static linking (except MSVC, |
8509 # All known linkers require a '.a' archive for static linking (except MSVC, |
8257 # which needs '.lib'). |
8510 # which needs '.lib'). |
8258 libext=a |
8511 libext=a |
8259 |
8512 |
8260 with_gnu_ld="$lt_cv_prog_gnu_ld" |
8513 with_gnu_ld=$lt_cv_prog_gnu_ld |
8261 |
8514 |
8262 old_CC="$CC" |
8515 old_CC=$CC |
8263 old_CFLAGS="$CFLAGS" |
8516 old_CFLAGS=$CFLAGS |
8264 |
8517 |
8265 # Set sane defaults for various variables |
8518 # Set sane defaults for various variables |
8266 test -z "$CC" && CC=cc |
8519 test -z "$CC" && CC=cc |
8267 test -z "$LTCC" && LTCC=$CC |
8520 test -z "$LTCC" && LTCC=$CC |
8268 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
8521 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
8269 test -z "$LD" && LD=ld |
8522 test -z "$LD" && LD=ld |
8270 test -z "$ac_objext" && ac_objext=o |
8523 test -z "$ac_objext" && ac_objext=o |
8271 |
8524 |
8272 for cc_temp in $compiler""; do |
8525 func_cc_basename $compiler |
8273 case $cc_temp in |
8526 cc_basename=$func_cc_basename_result |
8274 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
8275 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
8276 \-*) ;; |
|
8277 *) break;; |
|
8278 esac |
|
8279 done |
|
8280 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
8281 |
8527 |
8282 |
8528 |
8283 # Only perform the check for file, if the check method requires it |
8529 # Only perform the check for file, if the check method requires it |
8284 test -z "$MAGIC_CMD" && MAGIC_CMD=file |
8530 test -z "$MAGIC_CMD" && MAGIC_CMD=file |
8285 case $deplibs_check_method in |
8531 case $deplibs_check_method in |
8290 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8536 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8291 $as_echo_n "(cached) " >&6 |
8537 $as_echo_n "(cached) " >&6 |
8292 else |
8538 else |
8293 case $MAGIC_CMD in |
8539 case $MAGIC_CMD in |
8294 [\\/*] | ?:[\\/]*) |
8540 [\\/*] | ?:[\\/]*) |
8295 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
8541 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
8296 ;; |
8542 ;; |
8297 *) |
8543 *) |
8298 lt_save_MAGIC_CMD="$MAGIC_CMD" |
8544 lt_save_MAGIC_CMD=$MAGIC_CMD |
8299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
8545 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
8300 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
8546 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
8301 for ac_dir in $ac_dummy; do |
8547 for ac_dir in $ac_dummy; do |
8302 IFS="$lt_save_ifs" |
8548 IFS=$lt_save_ifs |
8303 test -z "$ac_dir" && ac_dir=. |
8549 test -z "$ac_dir" && ac_dir=. |
8304 if test -f $ac_dir/${ac_tool_prefix}file; then |
8550 if test -f "$ac_dir/${ac_tool_prefix}file"; then |
8305 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
8551 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
8306 if test -n "$file_magic_test_file"; then |
8552 if test -n "$file_magic_test_file"; then |
8307 case $deplibs_check_method in |
8553 case $deplibs_check_method in |
8308 "file_magic "*) |
8554 "file_magic "*) |
8309 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
8555 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
8310 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
8556 MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8311 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
8557 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
8312 $EGREP "$file_magic_regex" > /dev/null; then |
8558 $EGREP "$file_magic_regex" > /dev/null; then |
8313 : |
8559 : |
8314 else |
8560 else |
8315 cat <<_LT_EOF 1>&2 |
8561 cat <<_LT_EOF 1>&2 |
8328 esac |
8574 esac |
8329 fi |
8575 fi |
8330 break |
8576 break |
8331 fi |
8577 fi |
8332 done |
8578 done |
8333 IFS="$lt_save_ifs" |
8579 IFS=$lt_save_ifs |
8334 MAGIC_CMD="$lt_save_MAGIC_CMD" |
8580 MAGIC_CMD=$lt_save_MAGIC_CMD |
8335 ;; |
8581 ;; |
8336 esac |
8582 esac |
8337 fi |
8583 fi |
8338 |
8584 |
8339 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
8585 MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8340 if test -n "$MAGIC_CMD"; then |
8586 if test -n "$MAGIC_CMD"; then |
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
8342 $as_echo "$MAGIC_CMD" >&6; } |
8588 $as_echo "$MAGIC_CMD" >&6; } |
8343 else |
8589 else |
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8356 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8602 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8357 $as_echo_n "(cached) " >&6 |
8603 $as_echo_n "(cached) " >&6 |
8358 else |
8604 else |
8359 case $MAGIC_CMD in |
8605 case $MAGIC_CMD in |
8360 [\\/*] | ?:[\\/]*) |
8606 [\\/*] | ?:[\\/]*) |
8361 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
8607 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
8362 ;; |
8608 ;; |
8363 *) |
8609 *) |
8364 lt_save_MAGIC_CMD="$MAGIC_CMD" |
8610 lt_save_MAGIC_CMD=$MAGIC_CMD |
8365 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
8611 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
8366 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
8612 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
8367 for ac_dir in $ac_dummy; do |
8613 for ac_dir in $ac_dummy; do |
8368 IFS="$lt_save_ifs" |
8614 IFS=$lt_save_ifs |
8369 test -z "$ac_dir" && ac_dir=. |
8615 test -z "$ac_dir" && ac_dir=. |
8370 if test -f $ac_dir/file; then |
8616 if test -f "$ac_dir/file"; then |
8371 lt_cv_path_MAGIC_CMD="$ac_dir/file" |
8617 lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
8372 if test -n "$file_magic_test_file"; then |
8618 if test -n "$file_magic_test_file"; then |
8373 case $deplibs_check_method in |
8619 case $deplibs_check_method in |
8374 "file_magic "*) |
8620 "file_magic "*) |
8375 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
8621 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
8376 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
8622 MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8377 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
8623 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
8378 $EGREP "$file_magic_regex" > /dev/null; then |
8624 $EGREP "$file_magic_regex" > /dev/null; then |
8379 : |
8625 : |
8380 else |
8626 else |
8381 cat <<_LT_EOF 1>&2 |
8627 cat <<_LT_EOF 1>&2 |
8394 esac |
8640 esac |
8395 fi |
8641 fi |
8396 break |
8642 break |
8397 fi |
8643 fi |
8398 done |
8644 done |
8399 IFS="$lt_save_ifs" |
8645 IFS=$lt_save_ifs |
8400 MAGIC_CMD="$lt_save_MAGIC_CMD" |
8646 MAGIC_CMD=$lt_save_MAGIC_CMD |
8401 ;; |
8647 ;; |
8402 esac |
8648 esac |
8403 fi |
8649 fi |
8404 |
8650 |
8405 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
8651 MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
8406 if test -n "$MAGIC_CMD"; then |
8652 if test -n "$MAGIC_CMD"; then |
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
8408 $as_echo "$MAGIC_CMD" >&6; } |
8654 $as_echo "$MAGIC_CMD" >&6; } |
8409 else |
8655 else |
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8421 ;; |
8667 ;; |
8422 esac |
8668 esac |
8423 |
8669 |
8424 # Use C for the default configuration in the libtool script |
8670 # Use C for the default configuration in the libtool script |
8425 |
8671 |
8426 lt_save_CC="$CC" |
8672 lt_save_CC=$CC |
8427 ac_ext=c |
8673 ac_ext=c |
8428 ac_cpp='$CPP $CPPFLAGS' |
8674 ac_cpp='$CPP $CPPFLAGS' |
8429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8431 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8677 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8483 ## what you are doing... |
8729 ## what you are doing... |
8484 if test -n "$compiler"; then |
8730 if test -n "$compiler"; then |
8485 |
8731 |
8486 lt_prog_compiler_no_builtin_flag= |
8732 lt_prog_compiler_no_builtin_flag= |
8487 |
8733 |
8488 if test "$GCC" = yes; then |
8734 if test yes = "$GCC"; then |
8489 case $cc_basename in |
8735 case $cc_basename in |
8490 nvcc*) |
8736 nvcc*) |
8491 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
8737 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
8492 *) |
8738 *) |
8493 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
8739 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
8499 $as_echo_n "(cached) " >&6 |
8745 $as_echo_n "(cached) " >&6 |
8500 else |
8746 else |
8501 lt_cv_prog_compiler_rtti_exceptions=no |
8747 lt_cv_prog_compiler_rtti_exceptions=no |
8502 ac_outfile=conftest.$ac_objext |
8748 ac_outfile=conftest.$ac_objext |
8503 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8504 lt_compiler_flag="-fno-rtti -fno-exceptions" |
8750 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
8505 # Insert the option either (1) after the last *FLAGS variable, or |
8751 # Insert the option either (1) after the last *FLAGS variable, or |
8506 # (2) before a word containing "conftest.", or (3) at the end. |
8752 # (2) before a word containing "conftest.", or (3) at the end. |
8507 # Note that $ac_compile itself does not contain backslashes and begins |
8753 # Note that $ac_compile itself does not contain backslashes and begins |
8508 # with a dollar sign (not a hyphen), so the echo should work correctly. |
8754 # with a dollar sign (not a hyphen), so the echo should work correctly. |
8509 # The option is referenced via a variable to avoid confusing sed. |
8755 # The option is referenced via a variable to avoid confusing sed. |
8529 |
8775 |
8530 fi |
8776 fi |
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
8532 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
8778 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
8533 |
8779 |
8534 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
8780 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
8535 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
8781 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
8536 else |
8782 else |
8537 : |
8783 : |
8538 fi |
8784 fi |
8539 |
8785 |
8547 lt_prog_compiler_wl= |
8793 lt_prog_compiler_wl= |
8548 lt_prog_compiler_pic= |
8794 lt_prog_compiler_pic= |
8549 lt_prog_compiler_static= |
8795 lt_prog_compiler_static= |
8550 |
8796 |
8551 |
8797 |
8552 if test "$GCC" = yes; then |
8798 if test yes = "$GCC"; then |
8553 lt_prog_compiler_wl='-Wl,' |
8799 lt_prog_compiler_wl='-Wl,' |
8554 lt_prog_compiler_static='-static' |
8800 lt_prog_compiler_static='-static' |
8555 |
8801 |
8556 case $host_os in |
8802 case $host_os in |
8557 aix*) |
8803 aix*) |
8558 # All AIX code is PIC. |
8804 # All AIX code is PIC. |
8559 if test "$host_cpu" = ia64; then |
8805 if test ia64 = "$host_cpu"; then |
8560 # AIX 5 now supports IA64 processor |
8806 # AIX 5 now supports IA64 processor |
8561 lt_prog_compiler_static='-Bstatic' |
8807 lt_prog_compiler_static='-Bstatic' |
8562 fi |
8808 fi |
8809 lt_prog_compiler_pic='-fPIC' |
|
8563 ;; |
8810 ;; |
8564 |
8811 |
8565 amigaos*) |
8812 amigaos*) |
8566 case $host_cpu in |
8813 case $host_cpu in |
8567 powerpc) |
8814 powerpc) |
8568 # see comment about AmigaOS4 .so support |
8815 # see comment about AmigaOS4 .so support |
8569 lt_prog_compiler_pic='-fPIC' |
8816 lt_prog_compiler_pic='-fPIC' |
8570 ;; |
8817 ;; |
8571 m68k) |
8818 m68k) |
8572 # FIXME: we need at least 68020 code to build shared libraries, but |
8819 # FIXME: we need at least 68020 code to build shared libraries, but |
8573 # adding the `-m68020' flag to GCC prevents building anything better, |
8820 # adding the '-m68020' flag to GCC prevents building anything better, |
8574 # like `-m68040'. |
8821 # like '-m68040'. |
8575 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
8822 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
8576 ;; |
8823 ;; |
8577 esac |
8824 esac |
8578 ;; |
8825 ;; |
8579 |
8826 |
8585 # This hack is so that the source file can tell whether it is being |
8832 # This hack is so that the source file can tell whether it is being |
8586 # built for inclusion in a dll (and should export symbols for example). |
8833 # built for inclusion in a dll (and should export symbols for example). |
8587 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
8834 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
8588 # (--disable-auto-import) libraries |
8835 # (--disable-auto-import) libraries |
8589 lt_prog_compiler_pic='-DDLL_EXPORT' |
8836 lt_prog_compiler_pic='-DDLL_EXPORT' |
8837 case $host_os in |
|
8838 os2*) |
|
8839 lt_prog_compiler_static='$wl-static' |
|
8840 ;; |
|
8841 esac |
|
8590 ;; |
8842 ;; |
8591 |
8843 |
8592 darwin* | rhapsody*) |
8844 darwin* | rhapsody*) |
8593 # PIC is the default on this platform |
8845 # PIC is the default on this platform |
8594 # Common symbols not allowed in MH_DYLIB files |
8846 # Common symbols not allowed in MH_DYLIB files |
8655 else |
8907 else |
8656 # PORTME Check for flag to pass linker flags through the system compiler. |
8908 # PORTME Check for flag to pass linker flags through the system compiler. |
8657 case $host_os in |
8909 case $host_os in |
8658 aix*) |
8910 aix*) |
8659 lt_prog_compiler_wl='-Wl,' |
8911 lt_prog_compiler_wl='-Wl,' |
8660 if test "$host_cpu" = ia64; then |
8912 if test ia64 = "$host_cpu"; then |
8661 # AIX 5 now supports IA64 processor |
8913 # AIX 5 now supports IA64 processor |
8662 lt_prog_compiler_static='-Bstatic' |
8914 lt_prog_compiler_static='-Bstatic' |
8663 else |
8915 else |
8664 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
8916 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
8665 fi |
8917 fi |
8666 ;; |
8918 ;; |
8667 |
8919 |
8920 darwin* | rhapsody*) |
|
8921 # PIC is the default on this platform |
|
8922 # Common symbols not allowed in MH_DYLIB files |
|
8923 lt_prog_compiler_pic='-fno-common' |
|
8924 case $cc_basename in |
|
8925 nagfor*) |
|
8926 # NAG Fortran compiler |
|
8927 lt_prog_compiler_wl='-Wl,-Wl,,' |
|
8928 lt_prog_compiler_pic='-PIC' |
|
8929 lt_prog_compiler_static='-Bstatic' |
|
8930 ;; |
|
8931 esac |
|
8932 ;; |
|
8933 |
|
8668 mingw* | cygwin* | pw32* | os2* | cegcc*) |
8934 mingw* | cygwin* | pw32* | os2* | cegcc*) |
8669 # This hack is so that the source file can tell whether it is being |
8935 # This hack is so that the source file can tell whether it is being |
8670 # built for inclusion in a dll (and should export symbols for example). |
8936 # built for inclusion in a dll (and should export symbols for example). |
8671 lt_prog_compiler_pic='-DDLL_EXPORT' |
8937 lt_prog_compiler_pic='-DDLL_EXPORT' |
8938 case $host_os in |
|
8939 os2*) |
|
8940 lt_prog_compiler_static='$wl-static' |
|
8941 ;; |
|
8942 esac |
|
8672 ;; |
8943 ;; |
8673 |
8944 |
8674 hpux9* | hpux10* | hpux11*) |
8945 hpux9* | hpux10* | hpux11*) |
8675 lt_prog_compiler_wl='-Wl,' |
8946 lt_prog_compiler_wl='-Wl,' |
8676 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
8947 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
8682 *) |
8953 *) |
8683 lt_prog_compiler_pic='+Z' |
8954 lt_prog_compiler_pic='+Z' |
8684 ;; |
8955 ;; |
8685 esac |
8956 esac |
8686 # Is there a better lt_prog_compiler_static that works with the bundled CC? |
8957 # Is there a better lt_prog_compiler_static that works with the bundled CC? |
8687 lt_prog_compiler_static='${wl}-a ${wl}archive' |
8958 lt_prog_compiler_static='$wl-a ${wl}archive' |
8688 ;; |
8959 ;; |
8689 |
8960 |
8690 irix5* | irix6* | nonstopux*) |
8961 irix5* | irix6* | nonstopux*) |
8691 lt_prog_compiler_wl='-Wl,' |
8962 lt_prog_compiler_wl='-Wl,' |
8692 # PIC (with -KPIC) is the default. |
8963 # PIC (with -KPIC) is the default. |
8693 lt_prog_compiler_static='-non_shared' |
8964 lt_prog_compiler_static='-non_shared' |
8694 ;; |
8965 ;; |
8695 |
8966 |
8696 linux* | k*bsd*-gnu | kopensolaris*-gnu) |
8967 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
8697 case $cc_basename in |
8968 case $cc_basename in |
8698 # old Intel for x86_64 which still supported -KPIC. |
8969 # old Intel for x86_64, which still supported -KPIC. |
8699 ecc*) |
8970 ecc*) |
8700 lt_prog_compiler_wl='-Wl,' |
8971 lt_prog_compiler_wl='-Wl,' |
8701 lt_prog_compiler_pic='-KPIC' |
8972 lt_prog_compiler_pic='-KPIC' |
8702 lt_prog_compiler_static='-static' |
8973 lt_prog_compiler_static='-static' |
8703 ;; |
8974 ;; |
8717 nagfor*) |
8988 nagfor*) |
8718 # NAG Fortran compiler |
8989 # NAG Fortran compiler |
8719 lt_prog_compiler_wl='-Wl,-Wl,,' |
8990 lt_prog_compiler_wl='-Wl,-Wl,,' |
8720 lt_prog_compiler_pic='-PIC' |
8991 lt_prog_compiler_pic='-PIC' |
8721 lt_prog_compiler_static='-Bstatic' |
8992 lt_prog_compiler_static='-Bstatic' |
8993 ;; |
|
8994 tcc*) |
|
8995 # Fabrice Bellard et al's Tiny C Compiler |
|
8996 lt_prog_compiler_wl='-Wl,' |
|
8997 lt_prog_compiler_pic='-fPIC' |
|
8998 lt_prog_compiler_static='-static' |
|
8722 ;; |
8999 ;; |
8723 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
9000 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
8724 # Portland Group compilers (*not* the Pentium gcc compiler, |
9001 # Portland Group compilers (*not* the Pentium gcc compiler, |
8725 # which looks to be a dead project) |
9002 # which looks to be a dead project) |
8726 lt_prog_compiler_wl='-Wl,' |
9003 lt_prog_compiler_wl='-Wl,' |
8815 lt_prog_compiler_pic='-KPIC' |
9092 lt_prog_compiler_pic='-KPIC' |
8816 lt_prog_compiler_static='-Bstatic' |
9093 lt_prog_compiler_static='-Bstatic' |
8817 ;; |
9094 ;; |
8818 |
9095 |
8819 sysv4*MP*) |
9096 sysv4*MP*) |
8820 if test -d /usr/nec ;then |
9097 if test -d /usr/nec; then |
8821 lt_prog_compiler_pic='-Kconform_pic' |
9098 lt_prog_compiler_pic='-Kconform_pic' |
8822 lt_prog_compiler_static='-Bstatic' |
9099 lt_prog_compiler_static='-Bstatic' |
8823 fi |
9100 fi |
8824 ;; |
9101 ;; |
8825 |
9102 |
8844 ;; |
9121 ;; |
8845 esac |
9122 esac |
8846 fi |
9123 fi |
8847 |
9124 |
8848 case $host_os in |
9125 case $host_os in |
8849 # For platforms which do not support PIC, -DPIC is meaningless: |
9126 # For platforms that do not support PIC, -DPIC is meaningless: |
8850 *djgpp*) |
9127 *djgpp*) |
8851 lt_prog_compiler_pic= |
9128 lt_prog_compiler_pic= |
8852 ;; |
9129 ;; |
8853 *) |
9130 *) |
8854 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
9131 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
8876 $as_echo_n "(cached) " >&6 |
9153 $as_echo_n "(cached) " >&6 |
8877 else |
9154 else |
8878 lt_cv_prog_compiler_pic_works=no |
9155 lt_cv_prog_compiler_pic_works=no |
8879 ac_outfile=conftest.$ac_objext |
9156 ac_outfile=conftest.$ac_objext |
8880 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
9157 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
8881 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
9158 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
8882 # Insert the option either (1) after the last *FLAGS variable, or |
9159 # Insert the option either (1) after the last *FLAGS variable, or |
8883 # (2) before a word containing "conftest.", or (3) at the end. |
9160 # (2) before a word containing "conftest.", or (3) at the end. |
8884 # Note that $ac_compile itself does not contain backslashes and begins |
9161 # Note that $ac_compile itself does not contain backslashes and begins |
8885 # with a dollar sign (not a hyphen), so the echo should work correctly. |
9162 # with a dollar sign (not a hyphen), so the echo should work correctly. |
8886 # The option is referenced via a variable to avoid confusing sed. |
9163 # The option is referenced via a variable to avoid confusing sed. |
8906 |
9183 |
8907 fi |
9184 fi |
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
8909 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
9186 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
8910 |
9187 |
8911 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
9188 if test yes = "$lt_cv_prog_compiler_pic_works"; then |
8912 case $lt_prog_compiler_pic in |
9189 case $lt_prog_compiler_pic in |
8913 "" | " "*) ;; |
9190 "" | " "*) ;; |
8914 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
9191 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
8915 esac |
9192 esac |
8916 else |
9193 else |
8938 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
9215 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
8939 if ${lt_cv_prog_compiler_static_works+:} false; then : |
9216 if ${lt_cv_prog_compiler_static_works+:} false; then : |
8940 $as_echo_n "(cached) " >&6 |
9217 $as_echo_n "(cached) " >&6 |
8941 else |
9218 else |
8942 lt_cv_prog_compiler_static_works=no |
9219 lt_cv_prog_compiler_static_works=no |
8943 save_LDFLAGS="$LDFLAGS" |
9220 save_LDFLAGS=$LDFLAGS |
8944 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
9221 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
8945 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
9222 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
8946 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
9223 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
8947 # The linker can only warn and ignore the option if not recognized |
9224 # The linker can only warn and ignore the option if not recognized |
8948 # So say no if there are warnings |
9225 # So say no if there are warnings |
8957 else |
9234 else |
8958 lt_cv_prog_compiler_static_works=yes |
9235 lt_cv_prog_compiler_static_works=yes |
8959 fi |
9236 fi |
8960 fi |
9237 fi |
8961 $RM -r conftest* |
9238 $RM -r conftest* |
8962 LDFLAGS="$save_LDFLAGS" |
9239 LDFLAGS=$save_LDFLAGS |
8963 |
9240 |
8964 fi |
9241 fi |
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
8966 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
9243 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
8967 |
9244 |
8968 if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
9245 if test yes = "$lt_cv_prog_compiler_static_works"; then |
8969 : |
9246 : |
8970 else |
9247 else |
8971 lt_prog_compiler_static= |
9248 lt_prog_compiler_static= |
8972 fi |
9249 fi |
8973 |
9250 |
9083 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
9360 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
9084 |
9361 |
9085 |
9362 |
9086 |
9363 |
9087 |
9364 |
9088 hard_links="nottested" |
9365 hard_links=nottested |
9089 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
9366 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
9090 # do not overwrite the value of need_locks provided by the user |
9367 # do not overwrite the value of need_locks provided by the user |
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
9092 $as_echo_n "checking if we can lock with hard links... " >&6; } |
9369 $as_echo_n "checking if we can lock with hard links... " >&6; } |
9093 hard_links=yes |
9370 hard_links=yes |
9094 $RM conftest* |
9371 $RM conftest* |
9096 touch conftest.a |
9373 touch conftest.a |
9097 ln conftest.a conftest.b 2>&5 || hard_links=no |
9374 ln conftest.a conftest.b 2>&5 || hard_links=no |
9098 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
9375 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
9100 $as_echo "$hard_links" >&6; } |
9377 $as_echo "$hard_links" >&6; } |
9101 if test "$hard_links" = no; then |
9378 if test no = "$hard_links"; then |
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
9103 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
9380 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
9104 need_locks=warn |
9381 need_locks=warn |
9105 fi |
9382 fi |
9106 else |
9383 else |
9107 need_locks=no |
9384 need_locks=no |
9108 fi |
9385 fi |
9141 whole_archive_flag_spec= |
9418 whole_archive_flag_spec= |
9142 # include_expsyms should be a list of space-separated symbols to be *always* |
9419 # include_expsyms should be a list of space-separated symbols to be *always* |
9143 # included in the symbol list |
9420 # included in the symbol list |
9144 include_expsyms= |
9421 include_expsyms= |
9145 # exclude_expsyms can be an extended regexp of symbols to exclude |
9422 # exclude_expsyms can be an extended regexp of symbols to exclude |
9146 # it will be wrapped by ` (' and `)$', so one must not match beginning or |
9423 # it will be wrapped by ' (' and ')$', so one must not match beginning or |
9147 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
9424 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
9148 # as well as any symbol that contains `d'. |
9425 # as well as any symbol that contains 'd'. |
9149 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
9426 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
9150 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
9427 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
9151 # platforms (ab)use it in PIC code, but their linkers get confused if |
9428 # platforms (ab)use it in PIC code, but their linkers get confused if |
9152 # the symbol is explicitly referenced. Since portable code cannot |
9429 # the symbol is explicitly referenced. Since portable code cannot |
9153 # rely on this symbol name, it's probably fine to never include it in |
9430 # rely on this symbol name, it's probably fine to never include it in |
9158 case $host_os in |
9435 case $host_os in |
9159 cygwin* | mingw* | pw32* | cegcc*) |
9436 cygwin* | mingw* | pw32* | cegcc*) |
9160 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
9437 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
9161 # When not using gcc, we currently assume that we are using |
9438 # When not using gcc, we currently assume that we are using |
9162 # Microsoft Visual C++. |
9439 # Microsoft Visual C++. |
9163 if test "$GCC" != yes; then |
9440 if test yes != "$GCC"; then |
9164 with_gnu_ld=no |
9441 with_gnu_ld=no |
9165 fi |
9442 fi |
9166 ;; |
9443 ;; |
9167 interix*) |
9444 interix*) |
9168 # we just hope/assume this is gcc and not c89 (= MSVC++) |
9445 # we just hope/assume this is gcc and not c89 (= MSVC++) |
9169 with_gnu_ld=yes |
9446 with_gnu_ld=yes |
9170 ;; |
9447 ;; |
9171 openbsd*) |
9448 openbsd* | bitrig*) |
9172 with_gnu_ld=no |
9449 with_gnu_ld=no |
9450 ;; |
|
9451 linux* | k*bsd*-gnu | gnu*) |
|
9452 link_all_deplibs=no |
|
9173 ;; |
9453 ;; |
9174 esac |
9454 esac |
9175 |
9455 |
9176 ld_shlibs=yes |
9456 ld_shlibs=yes |
9177 |
9457 |
9178 # On some targets, GNU ld is compatible enough with the native linker |
9458 # On some targets, GNU ld is compatible enough with the native linker |
9179 # that we're better off using the native interface for both. |
9459 # that we're better off using the native interface for both. |
9180 lt_use_gnu_ld_interface=no |
9460 lt_use_gnu_ld_interface=no |
9181 if test "$with_gnu_ld" = yes; then |
9461 if test yes = "$with_gnu_ld"; then |
9182 case $host_os in |
9462 case $host_os in |
9183 aix*) |
9463 aix*) |
9184 # The AIX port of GNU ld has always aspired to compatibility |
9464 # The AIX port of GNU ld has always aspired to compatibility |
9185 # with the native linker. However, as the warning in the GNU ld |
9465 # with the native linker. However, as the warning in the GNU ld |
9186 # block says, versions before 2.19.5* couldn't really create working |
9466 # block says, versions before 2.19.5* couldn't really create working |
9198 lt_use_gnu_ld_interface=yes |
9478 lt_use_gnu_ld_interface=yes |
9199 ;; |
9479 ;; |
9200 esac |
9480 esac |
9201 fi |
9481 fi |
9202 |
9482 |
9203 if test "$lt_use_gnu_ld_interface" = yes; then |
9483 if test yes = "$lt_use_gnu_ld_interface"; then |
9204 # If archive_cmds runs LD, not CC, wlarc should be empty |
9484 # If archive_cmds runs LD, not CC, wlarc should be empty |
9205 wlarc='${wl}' |
9485 wlarc='$wl' |
9206 |
9486 |
9207 # Set some defaults for GNU ld with shared library support. These |
9487 # Set some defaults for GNU ld with shared library support. These |
9208 # are reset later if shared libraries are not supported. Putting them |
9488 # are reset later if shared libraries are not supported. Putting them |
9209 # here allows them to be overridden if necessary. |
9489 # here allows them to be overridden if necessary. |
9210 runpath_var=LD_RUN_PATH |
9490 runpath_var=LD_RUN_PATH |
9211 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9491 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
9212 export_dynamic_flag_spec='${wl}--export-dynamic' |
9492 export_dynamic_flag_spec='$wl--export-dynamic' |
9213 # ancient GNU ld didn't support --whole-archive et. al. |
9493 # ancient GNU ld didn't support --whole-archive et. al. |
9214 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
9494 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
9215 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
9495 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
9216 else |
9496 else |
9217 whole_archive_flag_spec= |
9497 whole_archive_flag_spec= |
9218 fi |
9498 fi |
9219 supports_anon_versioning=no |
9499 supports_anon_versioning=no |
9220 case `$LD -v 2>&1` in |
9500 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in |
9221 *GNU\ gold*) supports_anon_versioning=yes ;; |
9501 *GNU\ gold*) supports_anon_versioning=yes ;; |
9222 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9502 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9223 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9503 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9224 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9504 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9225 *\ 2.11.*) ;; # other 2.11 versions |
9505 *\ 2.11.*) ;; # other 2.11 versions |
9228 |
9508 |
9229 # See if GNU ld supports shared libraries. |
9509 # See if GNU ld supports shared libraries. |
9230 case $host_os in |
9510 case $host_os in |
9231 aix[3-9]*) |
9511 aix[3-9]*) |
9232 # On AIX/PPC, the GNU linker is very broken |
9512 # On AIX/PPC, the GNU linker is very broken |
9233 if test "$host_cpu" != ia64; then |
9513 if test ia64 != "$host_cpu"; then |
9234 ld_shlibs=no |
9514 ld_shlibs=no |
9235 cat <<_LT_EOF 1>&2 |
9515 cat <<_LT_EOF 1>&2 |
9236 |
9516 |
9237 *** Warning: the GNU linker, at least up to release 2.19, is reported |
9517 *** Warning: the GNU linker, at least up to release 2.19, is reported |
9238 *** to be unable to reliably create shared libraries on AIX. |
9518 *** to be unable to reliably create shared libraries on AIX. |
9247 |
9527 |
9248 amigaos*) |
9528 amigaos*) |
9249 case $host_cpu in |
9529 case $host_cpu in |
9250 powerpc) |
9530 powerpc) |
9251 # see comment about AmigaOS4 .so support |
9531 # see comment about AmigaOS4 .so support |
9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9532 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9253 archive_expsym_cmds='' |
9533 archive_expsym_cmds='' |
9254 ;; |
9534 ;; |
9255 m68k) |
9535 m68k) |
9256 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
9536 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
9257 hardcode_libdir_flag_spec='-L$libdir' |
9537 hardcode_libdir_flag_spec='-L$libdir' |
9263 beos*) |
9543 beos*) |
9264 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9544 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9265 allow_undefined_flag=unsupported |
9545 allow_undefined_flag=unsupported |
9266 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
9546 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
9267 # support --undefined. This deserves some investigation. FIXME |
9547 # support --undefined. This deserves some investigation. FIXME |
9268 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9548 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9269 else |
9549 else |
9270 ld_shlibs=no |
9550 ld_shlibs=no |
9271 fi |
9551 fi |
9272 ;; |
9552 ;; |
9273 |
9553 |
9274 cygwin* | mingw* | pw32* | cegcc*) |
9554 cygwin* | mingw* | pw32* | cegcc*) |
9275 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9555 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9276 # as there is no search path for DLLs. |
9556 # as there is no search path for DLLs. |
9277 hardcode_libdir_flag_spec='-L$libdir' |
9557 hardcode_libdir_flag_spec='-L$libdir' |
9278 export_dynamic_flag_spec='${wl}--export-all-symbols' |
9558 export_dynamic_flag_spec='$wl--export-all-symbols' |
9279 allow_undefined_flag=unsupported |
9559 allow_undefined_flag=unsupported |
9280 always_export_symbols=no |
9560 always_export_symbols=no |
9281 enable_shared_with_static_runtimes=yes |
9561 enable_shared_with_static_runtimes=yes |
9282 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
9562 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
9283 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9563 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9284 |
9564 |
9285 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9565 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9286 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9566 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9287 # If the export-symbols file already is a .def file (1st line |
9567 # If the export-symbols file already is a .def file, use it as |
9288 # is EXPORTS), use it as is; otherwise, prepend... |
9568 # is; otherwise, prepend EXPORTS... |
9289 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
9569 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
9290 cp $export_symbols $output_objdir/$soname.def; |
9570 cp $export_symbols $output_objdir/$soname.def; |
9291 else |
9571 else |
9292 echo EXPORTS > $output_objdir/$soname.def; |
9572 echo EXPORTS > $output_objdir/$soname.def; |
9293 cat $export_symbols >> $output_objdir/$soname.def; |
9573 cat $export_symbols >> $output_objdir/$soname.def; |
9294 fi~ |
9574 fi~ |
9295 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9575 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9296 else |
9576 else |
9297 ld_shlibs=no |
9577 ld_shlibs=no |
9298 fi |
9578 fi |
9299 ;; |
9579 ;; |
9300 |
9580 |
9301 haiku*) |
9581 haiku*) |
9302 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9582 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9303 link_all_deplibs=yes |
9583 link_all_deplibs=yes |
9584 ;; |
|
9585 |
|
9586 os2*) |
|
9587 hardcode_libdir_flag_spec='-L$libdir' |
|
9588 hardcode_minus_L=yes |
|
9589 allow_undefined_flag=unsupported |
|
9590 shrext_cmds=.dll |
|
9591 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
|
9592 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
9593 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
9594 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
9595 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
|
9596 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
9597 emximp -o $lib $output_objdir/$libname.def' |
|
9598 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
|
9599 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
9600 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
9601 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
9602 prefix_cmds="$SED"~ |
|
9603 if test EXPORTS = "`$SED 1q $export_symbols`"; then |
|
9604 prefix_cmds="$prefix_cmds -e 1d"; |
|
9605 fi~ |
|
9606 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
|
9607 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
|
9608 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
9609 emximp -o $lib $output_objdir/$libname.def' |
|
9610 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
|
9611 enable_shared_with_static_runtimes=yes |
|
9304 ;; |
9612 ;; |
9305 |
9613 |
9306 interix[3-9]*) |
9614 interix[3-9]*) |
9307 hardcode_direct=no |
9615 hardcode_direct=no |
9308 hardcode_shlibpath_var=no |
9616 hardcode_shlibpath_var=no |
9309 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
9617 hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
9310 export_dynamic_flag_spec='${wl}-E' |
9618 export_dynamic_flag_spec='$wl-E' |
9311 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
9619 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
9312 # Instead, shared libraries are loaded at an image base (0x10000000 by |
9620 # Instead, shared libraries are loaded at an image base (0x10000000 by |
9313 # default) and relocated if they conflict, which is a slow very memory |
9621 # default) and relocated if they conflict, which is a slow very memory |
9314 # consuming and fragmenting process. To avoid this, we pick a random, |
9622 # consuming and fragmenting process. To avoid this, we pick a random, |
9315 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
9623 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
9316 # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
9624 # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
9317 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
9625 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
9318 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' |
9626 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' |
9319 ;; |
9627 ;; |
9320 |
9628 |
9321 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
9629 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
9322 tmp_diet=no |
9630 tmp_diet=no |
9323 if test "$host_os" = linux-dietlibc; then |
9631 if test linux-dietlibc = "$host_os"; then |
9324 case $cc_basename in |
9632 case $cc_basename in |
9325 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
9633 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
9326 esac |
9634 esac |
9327 fi |
9635 fi |
9328 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
9636 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
9329 && test "$tmp_diet" = no |
9637 && test no = "$tmp_diet" |
9330 then |
9638 then |
9331 tmp_addflag=' $pic_flag' |
9639 tmp_addflag=' $pic_flag' |
9332 tmp_sharedflag='-shared' |
9640 tmp_sharedflag='-shared' |
9333 case $cc_basename,$host_cpu in |
9641 case $cc_basename,$host_cpu in |
9334 pgcc*) # Portland Group C compiler |
9642 pgcc*) # Portland Group C compiler |
9335 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' |
9643 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' |
9336 tmp_addflag=' $pic_flag' |
9644 tmp_addflag=' $pic_flag' |
9337 ;; |
9645 ;; |
9338 pgf77* | pgf90* | pgf95* | pgfortran*) |
9646 pgf77* | pgf90* | pgf95* | pgfortran*) |
9339 # Portland Group f77 and f90 compilers |
9647 # Portland Group f77 and f90 compilers |
9340 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' |
9648 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' |
9341 tmp_addflag=' $pic_flag -Mnomain' ;; |
9649 tmp_addflag=' $pic_flag -Mnomain' ;; |
9342 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
9650 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
9343 tmp_addflag=' -i_dynamic' ;; |
9651 tmp_addflag=' -i_dynamic' ;; |
9344 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
9652 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
9345 tmp_addflag=' -i_dynamic -nofor_main' ;; |
9653 tmp_addflag=' -i_dynamic -nofor_main' ;; |
9346 ifc* | ifort*) # Intel Fortran compiler |
9654 ifc* | ifort*) # Intel Fortran compiler |
9347 tmp_addflag=' -nofor_main' ;; |
9655 tmp_addflag=' -nofor_main' ;; |
9348 lf95*) # Lahey Fortran 8.1 |
9656 lf95*) # Lahey Fortran 8.1 |
9349 whole_archive_flag_spec= |
9657 whole_archive_flag_spec= |
9350 tmp_sharedflag='--shared' ;; |
9658 tmp_sharedflag='--shared' ;; |
9659 nagfor*) # NAGFOR 5.3 |
|
9660 tmp_sharedflag='-Wl,-shared' ;; |
|
9351 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9661 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9352 tmp_sharedflag='-qmkshrobj' |
9662 tmp_sharedflag='-qmkshrobj' |
9353 tmp_addflag= ;; |
9663 tmp_addflag= ;; |
9354 nvcc*) # Cuda Compiler Driver 2.2 |
9664 nvcc*) # Cuda Compiler Driver 2.2 |
9355 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' |
9665 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' |
9356 compiler_needs_object=yes |
9666 compiler_needs_object=yes |
9357 ;; |
9667 ;; |
9358 esac |
9668 esac |
9359 case `$CC -V 2>&1 | sed 5q` in |
9669 case `$CC -V 2>&1 | sed 5q` in |
9360 *Sun\ C*) # Sun C 5.9 |
9670 *Sun\ C*) # Sun C 5.9 |
9361 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' |
9671 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' |
9362 compiler_needs_object=yes |
9672 compiler_needs_object=yes |
9363 tmp_sharedflag='-G' ;; |
9673 tmp_sharedflag='-G' ;; |
9364 *Sun\ F*) # Sun Fortran 8.3 |
9674 *Sun\ F*) # Sun Fortran 8.3 |
9365 tmp_sharedflag='-G' ;; |
9675 tmp_sharedflag='-G' ;; |
9366 esac |
9676 esac |
9367 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9677 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9368 |
9678 |
9369 if test "x$supports_anon_versioning" = xyes; then |
9679 if test yes = "$supports_anon_versioning"; then |
9370 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9680 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9371 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9681 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9372 echo "local: *; };" >> $output_objdir/$libname.ver~ |
9682 echo "local: *; };" >> $output_objdir/$libname.ver~ |
9373 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
9683 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
9374 fi |
9684 fi |
9375 |
9685 |
9376 case $cc_basename in |
9686 case $cc_basename in |
9687 tcc*) |
|
9688 export_dynamic_flag_spec='-rdynamic' |
|
9689 ;; |
|
9377 xlf* | bgf* | bgxlf* | mpixlf*) |
9690 xlf* | bgf* | bgxlf* | mpixlf*) |
9378 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9691 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9379 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9692 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9380 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9693 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
9381 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9694 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9382 if test "x$supports_anon_versioning" = xyes; then |
9695 if test yes = "$supports_anon_versioning"; then |
9383 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9696 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9384 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9697 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9385 echo "local: *; };" >> $output_objdir/$libname.ver~ |
9698 echo "local: *; };" >> $output_objdir/$libname.ver~ |
9386 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9699 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9387 fi |
9700 fi |
9388 ;; |
9701 ;; |
9389 esac |
9702 esac |
9390 else |
9703 else |
9391 ld_shlibs=no |
9704 ld_shlibs=no |
9392 fi |
9705 fi |
9393 ;; |
9706 ;; |
9394 |
9707 |
9395 netbsd*) |
9708 netbsd* | netbsdelf*-gnu) |
9396 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9709 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
9397 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9710 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9398 wlarc= |
9711 wlarc= |
9399 else |
9712 else |
9400 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9713 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9401 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9714 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9402 fi |
9715 fi |
9403 ;; |
9716 ;; |
9404 |
9717 |
9405 solaris*) |
9718 solaris*) |
9406 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
9719 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
9414 *** your PATH or compiler configuration so that the native linker is |
9727 *** your PATH or compiler configuration so that the native linker is |
9415 *** used, and then restart. |
9728 *** used, and then restart. |
9416 |
9729 |
9417 _LT_EOF |
9730 _LT_EOF |
9418 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9731 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9419 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9732 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9420 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9733 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9421 else |
9734 else |
9422 ld_shlibs=no |
9735 ld_shlibs=no |
9423 fi |
9736 fi |
9424 ;; |
9737 ;; |
9425 |
9738 |
9427 case `$LD -v 2>&1` in |
9740 case `$LD -v 2>&1` in |
9428 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
9741 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
9429 ld_shlibs=no |
9742 ld_shlibs=no |
9430 cat <<_LT_EOF 1>&2 |
9743 cat <<_LT_EOF 1>&2 |
9431 |
9744 |
9432 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
9745 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
9433 *** reliably create shared libraries on SCO systems. Therefore, libtool |
9746 *** reliably create shared libraries on SCO systems. Therefore, libtool |
9434 *** is disabling shared libraries support. We urge you to upgrade GNU |
9747 *** is disabling shared libraries support. We urge you to upgrade GNU |
9435 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
9748 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
9436 *** your PATH or compiler configuration so that the native linker is |
9749 *** your PATH or compiler configuration so that the native linker is |
9437 *** used, and then restart. |
9750 *** used, and then restart. |
9442 # For security reasons, it is highly recommended that you always |
9755 # For security reasons, it is highly recommended that you always |
9443 # use absolute paths for naming shared libraries, and exclude the |
9756 # use absolute paths for naming shared libraries, and exclude the |
9444 # DT_RUNPATH tag from executables and libraries. But doing so |
9757 # DT_RUNPATH tag from executables and libraries. But doing so |
9445 # requires that you compile everything twice, which is a pain. |
9758 # requires that you compile everything twice, which is a pain. |
9446 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9759 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9447 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9760 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
9448 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9761 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9449 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9762 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9450 else |
9763 else |
9451 ld_shlibs=no |
9764 ld_shlibs=no |
9452 fi |
9765 fi |
9453 ;; |
9766 ;; |
9454 esac |
9767 esac |
9461 hardcode_shlibpath_var=no |
9774 hardcode_shlibpath_var=no |
9462 ;; |
9775 ;; |
9463 |
9776 |
9464 *) |
9777 *) |
9465 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9778 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9466 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9779 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9467 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9780 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
9468 else |
9781 else |
9469 ld_shlibs=no |
9782 ld_shlibs=no |
9470 fi |
9783 fi |
9471 ;; |
9784 ;; |
9472 esac |
9785 esac |
9473 |
9786 |
9474 if test "$ld_shlibs" = no; then |
9787 if test no = "$ld_shlibs"; then |
9475 runpath_var= |
9788 runpath_var= |
9476 hardcode_libdir_flag_spec= |
9789 hardcode_libdir_flag_spec= |
9477 export_dynamic_flag_spec= |
9790 export_dynamic_flag_spec= |
9478 whole_archive_flag_spec= |
9791 whole_archive_flag_spec= |
9479 fi |
9792 fi |
9485 always_export_symbols=yes |
9798 always_export_symbols=yes |
9486 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
9799 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
9487 # Note: this linker hardcodes the directories in LIBPATH if there |
9800 # Note: this linker hardcodes the directories in LIBPATH if there |
9488 # are no directories specified by -L. |
9801 # are no directories specified by -L. |
9489 hardcode_minus_L=yes |
9802 hardcode_minus_L=yes |
9490 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
9803 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
9491 # Neither direct hardcoding nor static linking is supported with a |
9804 # Neither direct hardcoding nor static linking is supported with a |
9492 # broken collect2. |
9805 # broken collect2. |
9493 hardcode_direct=unsupported |
9806 hardcode_direct=unsupported |
9494 fi |
9807 fi |
9495 ;; |
9808 ;; |
9496 |
9809 |
9497 aix[4-9]*) |
9810 aix[4-9]*) |
9498 if test "$host_cpu" = ia64; then |
9811 if test ia64 = "$host_cpu"; then |
9499 # On IA64, the linker does run time linking by default, so we don't |
9812 # On IA64, the linker does run time linking by default, so we don't |
9500 # have to do anything special. |
9813 # have to do anything special. |
9501 aix_use_runtimelinking=no |
9814 aix_use_runtimelinking=no |
9502 exp_sym_flag='-Bexport' |
9815 exp_sym_flag='-Bexport' |
9503 no_entry_flag="" |
9816 no_entry_flag= |
9504 else |
9817 else |
9505 # If we're using GNU nm, then we don't want the "-C" option. |
9818 # If we're using GNU nm, then we don't want the "-C" option. |
9506 # -C means demangle to AIX nm, but means don't demangle with GNU nm |
9819 # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
9507 # Also, AIX nm treats weak defined symbols like other global |
9820 # Without the "-l" option, or with the "-B" option, AIX nm treats |
9508 # defined symbols, whereas GNU nm marks them as "W". |
9821 # weak defined symbols like other global defined symbols, whereas |
9822 # GNU nm marks them as "W". |
|
9823 # While the 'weak' keyword is ignored in the Export File, we need |
|
9824 # it in the Import File for the 'aix-soname' feature, so we have |
|
9825 # to replace the "-B" option with "-P" for AIX nm. |
|
9509 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9826 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9510 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' |
9827 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' |
9511 else |
9828 else |
9512 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' |
9829 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' |
9513 fi |
9830 fi |
9514 aix_use_runtimelinking=no |
9831 aix_use_runtimelinking=no |
9515 |
9832 |
9516 # Test if we are trying to use run time linking or normal |
9833 # Test if we are trying to use run time linking or normal |
9517 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
9834 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
9518 # need to do runtime linking. |
9835 # have runtime linking enabled, and use it for executables. |
9836 # For shared libraries, we enable/disable runtime linking |
|
9837 # depending on the kind of the shared library created - |
|
9838 # when "with_aix_soname,aix_use_runtimelinking" is: |
|
9839 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
|
9840 # "aix,yes" lib.so shared, rtl:yes, for executables |
|
9841 # lib.a static archive |
|
9842 # "both,no" lib.so.V(shr.o) shared, rtl:yes |
|
9843 # lib.a(lib.so.V) shared, rtl:no, for executables |
|
9844 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
|
9845 # lib.a(lib.so.V) shared, rtl:no |
|
9846 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
|
9847 # lib.a static archive |
|
9519 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
9848 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
9520 for ld_flag in $LDFLAGS; do |
9849 for ld_flag in $LDFLAGS; do |
9521 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
9850 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
9522 aix_use_runtimelinking=yes |
9851 aix_use_runtimelinking=yes |
9523 break |
9852 break |
9524 fi |
9853 fi |
9525 done |
9854 done |
9855 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
|
9856 # With aix-soname=svr4, we create the lib.so.V shared archives only, |
|
9857 # so we don't have lib.a shared libs to link our executables. |
|
9858 # We have to force runtime linking in this case. |
|
9859 aix_use_runtimelinking=yes |
|
9860 LDFLAGS="$LDFLAGS -Wl,-brtl" |
|
9861 fi |
|
9526 ;; |
9862 ;; |
9527 esac |
9863 esac |
9528 |
9864 |
9529 exp_sym_flag='-bexport' |
9865 exp_sym_flag='-bexport' |
9530 no_entry_flag='-bnoentry' |
9866 no_entry_flag='-bnoentry' |
9539 archive_cmds='' |
9875 archive_cmds='' |
9540 hardcode_direct=yes |
9876 hardcode_direct=yes |
9541 hardcode_direct_absolute=yes |
9877 hardcode_direct_absolute=yes |
9542 hardcode_libdir_separator=':' |
9878 hardcode_libdir_separator=':' |
9543 link_all_deplibs=yes |
9879 link_all_deplibs=yes |
9544 file_list_spec='${wl}-f,' |
9880 file_list_spec='$wl-f,' |
9545 |
9881 case $with_aix_soname,$aix_use_runtimelinking in |
9546 if test "$GCC" = yes; then |
9882 aix,*) ;; # traditional, no import file |
9883 svr4,* | *,yes) # use import file |
|
9884 # The Import File defines what to hardcode. |
|
9885 hardcode_direct=no |
|
9886 hardcode_direct_absolute=no |
|
9887 ;; |
|
9888 esac |
|
9889 |
|
9890 if test yes = "$GCC"; then |
|
9547 case $host_os in aix4.[012]|aix4.[012].*) |
9891 case $host_os in aix4.[012]|aix4.[012].*) |
9548 # We only want to do this on AIX 4.2 and lower, the check |
9892 # We only want to do this on AIX 4.2 and lower, the check |
9549 # below for broken collect2 doesn't work under 4.3+ |
9893 # below for broken collect2 doesn't work under 4.3+ |
9550 collect2name=`${CC} -print-prog-name=collect2` |
9894 collect2name=`$CC -print-prog-name=collect2` |
9551 if test -f "$collect2name" && |
9895 if test -f "$collect2name" && |
9552 strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
9896 strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
9553 then |
9897 then |
9554 # We have reworked collect2 |
9898 # We have reworked collect2 |
9555 : |
9899 : |
9564 hardcode_libdir_separator= |
9908 hardcode_libdir_separator= |
9565 fi |
9909 fi |
9566 ;; |
9910 ;; |
9567 esac |
9911 esac |
9568 shared_flag='-shared' |
9912 shared_flag='-shared' |
9569 if test "$aix_use_runtimelinking" = yes; then |
9913 if test yes = "$aix_use_runtimelinking"; then |
9570 shared_flag="$shared_flag "'${wl}-G' |
9914 shared_flag="$shared_flag "'$wl-G' |
9571 fi |
9915 fi |
9916 # Need to ensure runtime linking is disabled for the traditional |
|
9917 # shared library, or the linker may eventually find shared libraries |
|
9918 # /with/ Import File - we do not want to mix them. |
|
9919 shared_flag_aix='-shared' |
|
9920 shared_flag_svr4='-shared $wl-G' |
|
9572 else |
9921 else |
9573 # not using gcc |
9922 # not using gcc |
9574 if test "$host_cpu" = ia64; then |
9923 if test ia64 = "$host_cpu"; then |
9575 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
9924 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
9576 # chokes on -Wl,-G. The following line is correct: |
9925 # chokes on -Wl,-G. The following line is correct: |
9577 shared_flag='-G' |
9926 shared_flag='-G' |
9578 else |
9927 else |
9579 if test "$aix_use_runtimelinking" = yes; then |
9928 if test yes = "$aix_use_runtimelinking"; then |
9580 shared_flag='${wl}-G' |
9929 shared_flag='$wl-G' |
9581 else |
9930 else |
9582 shared_flag='${wl}-bM:SRE' |
9931 shared_flag='$wl-bM:SRE' |
9583 fi |
9932 fi |
9933 shared_flag_aix='$wl-bM:SRE' |
|
9934 shared_flag_svr4='$wl-G' |
|
9584 fi |
9935 fi |
9585 fi |
9936 fi |
9586 |
9937 |
9587 export_dynamic_flag_spec='${wl}-bexpall' |
9938 export_dynamic_flag_spec='$wl-bexpall' |
9588 # It seems that -bexpall does not export symbols beginning with |
9939 # It seems that -bexpall does not export symbols beginning with |
9589 # underscore (_), so it is better to generate a list of symbols to export. |
9940 # underscore (_), so it is better to generate a list of symbols to export. |
9590 always_export_symbols=yes |
9941 always_export_symbols=yes |
9591 if test "$aix_use_runtimelinking" = yes; then |
9942 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
9592 # Warning - without using the other runtime loading flags (-brtl), |
9943 # Warning - without using the other runtime loading flags (-brtl), |
9593 # -berok will link without error, but may produce a broken library. |
9944 # -berok will link without error, but may produce a broken library. |
9594 allow_undefined_flag='-berok' |
9945 allow_undefined_flag='-berok' |
9595 # Determine the default libpath from the value encoded in an |
9946 # Determine the default libpath from the value encoded in an |
9596 # empty executable. |
9947 # empty executable. |
9597 if test "${lt_cv_aix_libpath+set}" = set; then |
9948 if test set = "${lt_cv_aix_libpath+set}"; then |
9598 aix_libpath=$lt_cv_aix_libpath |
9949 aix_libpath=$lt_cv_aix_libpath |
9599 else |
9950 else |
9600 if ${lt_cv_aix_libpath_+:} false; then : |
9951 if ${lt_cv_aix_libpath_+:} false; then : |
9601 $as_echo_n "(cached) " >&6 |
9952 $as_echo_n "(cached) " >&6 |
9602 else |
9953 else |
9627 fi |
9978 fi |
9628 fi |
9979 fi |
9629 rm -f core conftest.err conftest.$ac_objext \ |
9980 rm -f core conftest.err conftest.$ac_objext \ |
9630 conftest$ac_exeext conftest.$ac_ext |
9981 conftest$ac_exeext conftest.$ac_ext |
9631 if test -z "$lt_cv_aix_libpath_"; then |
9982 if test -z "$lt_cv_aix_libpath_"; then |
9632 lt_cv_aix_libpath_="/usr/lib:/lib" |
9983 lt_cv_aix_libpath_=/usr/lib:/lib |
9633 fi |
9984 fi |
9634 |
9985 |
9635 fi |
9986 fi |
9636 |
9987 |
9637 aix_libpath=$lt_cv_aix_libpath_ |
9988 aix_libpath=$lt_cv_aix_libpath_ |
9638 fi |
9989 fi |
9639 |
9990 |
9640 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9991 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
9641 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" |
9992 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 |
9642 else |
9993 else |
9643 if test "$host_cpu" = ia64; then |
9994 if test ia64 = "$host_cpu"; then |
9644 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
9995 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
9645 allow_undefined_flag="-z nodefs" |
9996 allow_undefined_flag="-z nodefs" |
9646 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" |
9997 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" |
9647 else |
9998 else |
9648 # Determine the default libpath from the value encoded in an |
9999 # Determine the default libpath from the value encoded in an |
9649 # empty executable. |
10000 # empty executable. |
9650 if test "${lt_cv_aix_libpath+set}" = set; then |
10001 if test set = "${lt_cv_aix_libpath+set}"; then |
9651 aix_libpath=$lt_cv_aix_libpath |
10002 aix_libpath=$lt_cv_aix_libpath |
9652 else |
10003 else |
9653 if ${lt_cv_aix_libpath_+:} false; then : |
10004 if ${lt_cv_aix_libpath_+:} false; then : |
9654 $as_echo_n "(cached) " >&6 |
10005 $as_echo_n "(cached) " >&6 |
9655 else |
10006 else |
9680 fi |
10031 fi |
9681 fi |
10032 fi |
9682 rm -f core conftest.err conftest.$ac_objext \ |
10033 rm -f core conftest.err conftest.$ac_objext \ |
9683 conftest$ac_exeext conftest.$ac_ext |
10034 conftest$ac_exeext conftest.$ac_ext |
9684 if test -z "$lt_cv_aix_libpath_"; then |
10035 if test -z "$lt_cv_aix_libpath_"; then |
9685 lt_cv_aix_libpath_="/usr/lib:/lib" |
10036 lt_cv_aix_libpath_=/usr/lib:/lib |
9686 fi |
10037 fi |
9687 |
10038 |
9688 fi |
10039 fi |
9689 |
10040 |
9690 aix_libpath=$lt_cv_aix_libpath_ |
10041 aix_libpath=$lt_cv_aix_libpath_ |
9691 fi |
10042 fi |
9692 |
10043 |
9693 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
10044 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
9694 # Warning - without using the other run time loading flags, |
10045 # Warning - without using the other run time loading flags, |
9695 # -berok will link without error, but may produce a broken library. |
10046 # -berok will link without error, but may produce a broken library. |
9696 no_undefined_flag=' ${wl}-bernotok' |
10047 no_undefined_flag=' $wl-bernotok' |
9697 allow_undefined_flag=' ${wl}-berok' |
10048 allow_undefined_flag=' $wl-berok' |
9698 if test "$with_gnu_ld" = yes; then |
10049 if test yes = "$with_gnu_ld"; then |
9699 # We only use this code for GNU lds that support --whole-archive. |
10050 # We only use this code for GNU lds that support --whole-archive. |
9700 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
10051 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
9701 else |
10052 else |
9702 # Exported symbols can be pulled into shared objects from archives |
10053 # Exported symbols can be pulled into shared objects from archives |
9703 whole_archive_flag_spec='$convenience' |
10054 whole_archive_flag_spec='$convenience' |
9704 fi |
10055 fi |
9705 archive_cmds_need_lc=yes |
10056 archive_cmds_need_lc=yes |
9706 # This is similar to how AIX traditionally builds its shared libraries. |
10057 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
9707 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' |
10058 # -brtl affects multiple linker settings, -berok does not and is overridden later |
10059 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
|
10060 if test svr4 != "$with_aix_soname"; then |
|
10061 # This is similar to how AIX traditionally builds its shared libraries. |
|
10062 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' |
|
10063 fi |
|
10064 if test aix != "$with_aix_soname"; then |
|
10065 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' |
|
10066 else |
|
10067 # used by -dlpreopen to get the symbols |
|
10068 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
|
10069 fi |
|
10070 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
|
9708 fi |
10071 fi |
9709 fi |
10072 fi |
9710 ;; |
10073 ;; |
9711 |
10074 |
9712 amigaos*) |
10075 amigaos*) |
9713 case $host_cpu in |
10076 case $host_cpu in |
9714 powerpc) |
10077 powerpc) |
9715 # see comment about AmigaOS4 .so support |
10078 # see comment about AmigaOS4 .so support |
9716 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10079 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
9717 archive_expsym_cmds='' |
10080 archive_expsym_cmds='' |
9718 ;; |
10081 ;; |
9719 m68k) |
10082 m68k) |
9720 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
10083 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
9721 hardcode_libdir_flag_spec='-L$libdir' |
10084 hardcode_libdir_flag_spec='-L$libdir' |
9741 always_export_symbols=yes |
10104 always_export_symbols=yes |
9742 file_list_spec='@' |
10105 file_list_spec='@' |
9743 # Tell ltmain to make .lib files, not .a files. |
10106 # Tell ltmain to make .lib files, not .a files. |
9744 libext=lib |
10107 libext=lib |
9745 # Tell ltmain to make .dll files, not .so files. |
10108 # Tell ltmain to make .dll files, not .so files. |
9746 shrext_cmds=".dll" |
10109 shrext_cmds=.dll |
9747 # FIXME: Setting linknames here is a bad hack. |
10110 # FIXME: Setting linknames here is a bad hack. |
9748 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
10111 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
9749 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
10112 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
9750 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
10113 cp "$export_symbols" "$output_objdir/$soname.def"; |
9751 else |
10114 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
9752 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
10115 else |
9753 fi~ |
10116 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
9754 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
10117 fi~ |
9755 linknames=' |
10118 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
10119 linknames=' |
|
9756 # The linker will not automatically build a static lib if we build a DLL. |
10120 # The linker will not automatically build a static lib if we build a DLL. |
9757 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
10121 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9758 enable_shared_with_static_runtimes=yes |
10122 enable_shared_with_static_runtimes=yes |
9759 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
10123 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
9760 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
10124 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9761 # Don't use ranlib |
10125 # Don't use ranlib |
9762 old_postinstall_cmds='chmod 644 $oldlib' |
10126 old_postinstall_cmds='chmod 644 $oldlib' |
9763 postlink_cmds='lt_outputfile="@OUTPUT@"~ |
10127 postlink_cmds='lt_outputfile="@OUTPUT@"~ |
9764 lt_tool_outputfile="@TOOL_OUTPUT@"~ |
10128 lt_tool_outputfile="@TOOL_OUTPUT@"~ |
9765 case $lt_outputfile in |
10129 case $lt_outputfile in |
9766 *.exe|*.EXE) ;; |
10130 *.exe|*.EXE) ;; |
9767 *) |
10131 *) |
9768 lt_outputfile="$lt_outputfile.exe" |
10132 lt_outputfile=$lt_outputfile.exe |
9769 lt_tool_outputfile="$lt_tool_outputfile.exe" |
10133 lt_tool_outputfile=$lt_tool_outputfile.exe |
9770 ;; |
10134 ;; |
9771 esac~ |
10135 esac~ |
9772 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
10136 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
9773 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
10137 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
9774 $RM "$lt_outputfile.manifest"; |
10138 $RM "$lt_outputfile.manifest"; |
9775 fi' |
10139 fi' |
9776 ;; |
10140 ;; |
9777 *) |
10141 *) |
9778 # Assume MSVC wrapper |
10142 # Assume MSVC wrapper |
9779 hardcode_libdir_flag_spec=' ' |
10143 hardcode_libdir_flag_spec=' ' |
9780 allow_undefined_flag=unsupported |
10144 allow_undefined_flag=unsupported |
9781 # Tell ltmain to make .lib files, not .a files. |
10145 # Tell ltmain to make .lib files, not .a files. |
9782 libext=lib |
10146 libext=lib |
9783 # Tell ltmain to make .dll files, not .so files. |
10147 # Tell ltmain to make .dll files, not .so files. |
9784 shrext_cmds=".dll" |
10148 shrext_cmds=.dll |
9785 # FIXME: Setting linknames here is a bad hack. |
10149 # FIXME: Setting linknames here is a bad hack. |
9786 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
10150 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
9787 # The linker will automatically build a .lib file if we build a DLL. |
10151 # The linker will automatically build a .lib file if we build a DLL. |
9788 old_archive_from_new_cmds='true' |
10152 old_archive_from_new_cmds='true' |
9789 # FIXME: Should let the user specify the lib program. |
10153 # FIXME: Should let the user specify the lib program. |
9798 |
10162 |
9799 archive_cmds_need_lc=no |
10163 archive_cmds_need_lc=no |
9800 hardcode_direct=no |
10164 hardcode_direct=no |
9801 hardcode_automatic=yes |
10165 hardcode_automatic=yes |
9802 hardcode_shlibpath_var=unsupported |
10166 hardcode_shlibpath_var=unsupported |
9803 if test "$lt_cv_ld_force_load" = "yes"; then |
10167 if test yes = "$lt_cv_ld_force_load"; then |
9804 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\"`' |
10168 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\"`' |
9805 |
10169 |
9806 else |
10170 else |
9807 whole_archive_flag_spec='' |
10171 whole_archive_flag_spec='' |
9808 fi |
10172 fi |
9809 link_all_deplibs=yes |
10173 link_all_deplibs=yes |
9810 allow_undefined_flag="$_lt_dar_allow_undefined" |
10174 allow_undefined_flag=$_lt_dar_allow_undefined |
9811 case $cc_basename in |
10175 case $cc_basename in |
9812 ifort*) _lt_dar_can_shared=yes ;; |
10176 ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
9813 *) _lt_dar_can_shared=$GCC ;; |
10177 *) _lt_dar_can_shared=$GCC ;; |
9814 esac |
10178 esac |
9815 if test "$_lt_dar_can_shared" = "yes"; then |
10179 if test yes = "$_lt_dar_can_shared"; then |
9816 output_verbose_link_cmd=func_echo_all |
10180 output_verbose_link_cmd=func_echo_all |
9817 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
10181 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
9818 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
10182 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
9819 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}" |
10183 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" |
9820 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}" |
10184 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" |
9821 |
10185 |
9822 else |
10186 else |
9823 ld_shlibs=no |
10187 ld_shlibs=no |
9824 fi |
10188 fi |
9825 |
10189 |
9857 hardcode_direct=yes |
10221 hardcode_direct=yes |
9858 hardcode_shlibpath_var=no |
10222 hardcode_shlibpath_var=no |
9859 ;; |
10223 ;; |
9860 |
10224 |
9861 hpux9*) |
10225 hpux9*) |
9862 if test "$GCC" = yes; then |
10226 if test yes = "$GCC"; then |
9863 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' |
10227 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' |
9864 else |
10228 else |
9865 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' |
10229 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' |
9866 fi |
10230 fi |
9867 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
10231 hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
9868 hardcode_libdir_separator=: |
10232 hardcode_libdir_separator=: |
9869 hardcode_direct=yes |
10233 hardcode_direct=yes |
9870 |
10234 |
9871 # hardcode_minus_L: Not really in the search PATH, |
10235 # hardcode_minus_L: Not really in the search PATH, |
9872 # but as the default location of the library. |
10236 # but as the default location of the library. |
9873 hardcode_minus_L=yes |
10237 hardcode_minus_L=yes |
9874 export_dynamic_flag_spec='${wl}-E' |
10238 export_dynamic_flag_spec='$wl-E' |
9875 ;; |
10239 ;; |
9876 |
10240 |
9877 hpux10*) |
10241 hpux10*) |
9878 if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
10242 if test yes,no = "$GCC,$with_gnu_ld"; then |
9879 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
10243 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9880 else |
10244 else |
9881 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
10245 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9882 fi |
10246 fi |
9883 if test "$with_gnu_ld" = no; then |
10247 if test no = "$with_gnu_ld"; then |
9884 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
10248 hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
9885 hardcode_libdir_separator=: |
10249 hardcode_libdir_separator=: |
9886 hardcode_direct=yes |
10250 hardcode_direct=yes |
9887 hardcode_direct_absolute=yes |
10251 hardcode_direct_absolute=yes |
9888 export_dynamic_flag_spec='${wl}-E' |
10252 export_dynamic_flag_spec='$wl-E' |
9889 # hardcode_minus_L: Not really in the search PATH, |
10253 # hardcode_minus_L: Not really in the search PATH, |
9890 # but as the default location of the library. |
10254 # but as the default location of the library. |
9891 hardcode_minus_L=yes |
10255 hardcode_minus_L=yes |
9892 fi |
10256 fi |
9893 ;; |
10257 ;; |
9894 |
10258 |
9895 hpux11*) |
10259 hpux11*) |
9896 if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
10260 if test yes,no = "$GCC,$with_gnu_ld"; then |
9897 case $host_cpu in |
10261 case $host_cpu in |
9898 hppa*64*) |
10262 hppa*64*) |
9899 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10263 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
9900 ;; |
10264 ;; |
9901 ia64*) |
10265 ia64*) |
9902 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
10266 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9903 ;; |
10267 ;; |
9904 *) |
10268 *) |
9905 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
10269 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9906 ;; |
10270 ;; |
9907 esac |
10271 esac |
9908 else |
10272 else |
9909 case $host_cpu in |
10273 case $host_cpu in |
9910 hppa*64*) |
10274 hppa*64*) |
9911 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10275 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
9912 ;; |
10276 ;; |
9913 ia64*) |
10277 ia64*) |
9914 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
10278 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9915 ;; |
10279 ;; |
9916 *) |
10280 *) |
9917 |
10281 |
9918 # Older versions of the 11.00 compiler do not understand -b yet |
10282 # Older versions of the 11.00 compiler do not understand -b yet |
9919 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
10283 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
9921 $as_echo_n "checking if $CC understands -b... " >&6; } |
10285 $as_echo_n "checking if $CC understands -b... " >&6; } |
9922 if ${lt_cv_prog_compiler__b+:} false; then : |
10286 if ${lt_cv_prog_compiler__b+:} false; then : |
9923 $as_echo_n "(cached) " >&6 |
10287 $as_echo_n "(cached) " >&6 |
9924 else |
10288 else |
9925 lt_cv_prog_compiler__b=no |
10289 lt_cv_prog_compiler__b=no |
9926 save_LDFLAGS="$LDFLAGS" |
10290 save_LDFLAGS=$LDFLAGS |
9927 LDFLAGS="$LDFLAGS -b" |
10291 LDFLAGS="$LDFLAGS -b" |
9928 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
10292 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
9929 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
10293 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
9930 # The linker can only warn and ignore the option if not recognized |
10294 # The linker can only warn and ignore the option if not recognized |
9931 # So say no if there are warnings |
10295 # So say no if there are warnings |
9940 else |
10304 else |
9941 lt_cv_prog_compiler__b=yes |
10305 lt_cv_prog_compiler__b=yes |
9942 fi |
10306 fi |
9943 fi |
10307 fi |
9944 $RM -r conftest* |
10308 $RM -r conftest* |
9945 LDFLAGS="$save_LDFLAGS" |
10309 LDFLAGS=$save_LDFLAGS |
9946 |
10310 |
9947 fi |
10311 fi |
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
9949 $as_echo "$lt_cv_prog_compiler__b" >&6; } |
10313 $as_echo "$lt_cv_prog_compiler__b" >&6; } |
9950 |
10314 |
9951 if test x"$lt_cv_prog_compiler__b" = xyes; then |
10315 if test yes = "$lt_cv_prog_compiler__b"; then |
9952 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
10316 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9953 else |
10317 else |
9954 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
10318 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9955 fi |
10319 fi |
9956 |
10320 |
9957 ;; |
10321 ;; |
9958 esac |
10322 esac |
9959 fi |
10323 fi |
9960 if test "$with_gnu_ld" = no; then |
10324 if test no = "$with_gnu_ld"; then |
9961 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
10325 hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
9962 hardcode_libdir_separator=: |
10326 hardcode_libdir_separator=: |
9963 |
10327 |
9964 case $host_cpu in |
10328 case $host_cpu in |
9965 hppa*64*|ia64*) |
10329 hppa*64*|ia64*) |
9966 hardcode_direct=no |
10330 hardcode_direct=no |
9967 hardcode_shlibpath_var=no |
10331 hardcode_shlibpath_var=no |
9968 ;; |
10332 ;; |
9969 *) |
10333 *) |
9970 hardcode_direct=yes |
10334 hardcode_direct=yes |
9971 hardcode_direct_absolute=yes |
10335 hardcode_direct_absolute=yes |
9972 export_dynamic_flag_spec='${wl}-E' |
10336 export_dynamic_flag_spec='$wl-E' |
9973 |
10337 |
9974 # hardcode_minus_L: Not really in the search PATH, |
10338 # hardcode_minus_L: Not really in the search PATH, |
9975 # but as the default location of the library. |
10339 # but as the default location of the library. |
9976 hardcode_minus_L=yes |
10340 hardcode_minus_L=yes |
9977 ;; |
10341 ;; |
9978 esac |
10342 esac |
9979 fi |
10343 fi |
9980 ;; |
10344 ;; |
9981 |
10345 |
9982 irix5* | irix6* | nonstopux*) |
10346 irix5* | irix6* | nonstopux*) |
9983 if test "$GCC" = yes; then |
10347 if test yes = "$GCC"; then |
9984 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' |
10348 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' |
9985 # Try to use the -exported_symbol ld option, if it does not |
10349 # Try to use the -exported_symbol ld option, if it does not |
9986 # work, assume that -exports_file does not work either and |
10350 # work, assume that -exports_file does not work either and |
9987 # implicitly export all symbols. |
10351 # implicitly export all symbols. |
9988 # This should be the same for all languages, so no per-tag cache variable. |
10352 # This should be the same for all languages, so no per-tag cache variable. |
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
9990 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
10354 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
9991 if ${lt_cv_irix_exported_symbol+:} false; then : |
10355 if ${lt_cv_irix_exported_symbol+:} false; then : |
9992 $as_echo_n "(cached) " >&6 |
10356 $as_echo_n "(cached) " >&6 |
9993 else |
10357 else |
9994 save_LDFLAGS="$LDFLAGS" |
10358 save_LDFLAGS=$LDFLAGS |
9995 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
10359 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9997 /* end confdefs.h. */ |
10361 /* end confdefs.h. */ |
9998 int foo (void) { return 0; } |
10362 int foo (void) { return 0; } |
9999 _ACEOF |
10363 _ACEOF |
10000 if ac_fn_c_try_link "$LINENO"; then : |
10364 if ac_fn_c_try_link "$LINENO"; then : |
10002 else |
10366 else |
10003 lt_cv_irix_exported_symbol=no |
10367 lt_cv_irix_exported_symbol=no |
10004 fi |
10368 fi |
10005 rm -f core conftest.err conftest.$ac_objext \ |
10369 rm -f core conftest.err conftest.$ac_objext \ |
10006 conftest$ac_exeext conftest.$ac_ext |
10370 conftest$ac_exeext conftest.$ac_ext |
10007 LDFLAGS="$save_LDFLAGS" |
10371 LDFLAGS=$save_LDFLAGS |
10008 fi |
10372 fi |
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
10010 $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
10374 $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
10011 if test "$lt_cv_irix_exported_symbol" = yes; then |
10375 if test yes = "$lt_cv_irix_exported_symbol"; then |
10012 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' |
10376 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' |
10013 fi |
10377 fi |
10378 link_all_deplibs=no |
|
10014 else |
10379 else |
10015 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' |
10380 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' |
10016 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' |
10381 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' |
10017 fi |
10382 fi |
10018 archive_cmds_need_lc='no' |
10383 archive_cmds_need_lc='no' |
10019 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10384 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
10020 hardcode_libdir_separator=: |
10385 hardcode_libdir_separator=: |
10021 inherit_rpath=yes |
10386 inherit_rpath=yes |
10022 link_all_deplibs=yes |
10387 link_all_deplibs=yes |
10023 ;; |
10388 ;; |
10024 |
10389 |
10025 netbsd*) |
10390 linux*) |
10391 case $cc_basename in |
|
10392 tcc*) |
|
10393 # Fabrice Bellard et al's Tiny C Compiler |
|
10394 ld_shlibs=yes |
|
10395 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
10396 ;; |
|
10397 esac |
|
10398 ;; |
|
10399 |
|
10400 netbsd* | netbsdelf*-gnu) |
|
10026 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
10401 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
10027 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
10402 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
10028 else |
10403 else |
10029 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
10404 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
10030 fi |
10405 fi |
10034 ;; |
10409 ;; |
10035 |
10410 |
10036 newsos6) |
10411 newsos6) |
10037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10412 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10038 hardcode_direct=yes |
10413 hardcode_direct=yes |
10039 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10414 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
10040 hardcode_libdir_separator=: |
10415 hardcode_libdir_separator=: |
10041 hardcode_shlibpath_var=no |
10416 hardcode_shlibpath_var=no |
10042 ;; |
10417 ;; |
10043 |
10418 |
10044 *nto* | *qnx*) |
10419 *nto* | *qnx*) |
10045 ;; |
10420 ;; |
10046 |
10421 |
10047 openbsd*) |
10422 openbsd* | bitrig*) |
10048 if test -f /usr/libexec/ld.so; then |
10423 if test -f /usr/libexec/ld.so; then |
10049 hardcode_direct=yes |
10424 hardcode_direct=yes |
10050 hardcode_shlibpath_var=no |
10425 hardcode_shlibpath_var=no |
10051 hardcode_direct_absolute=yes |
10426 hardcode_direct_absolute=yes |
10052 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
10427 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
10053 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
10428 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
10054 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
10429 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
10055 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
10430 hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
10056 export_dynamic_flag_spec='${wl}-E' |
10431 export_dynamic_flag_spec='$wl-E' |
10057 else |
10432 else |
10058 case $host_os in |
10433 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
10059 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
10434 hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
10060 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
10061 hardcode_libdir_flag_spec='-R$libdir' |
|
10062 ;; |
|
10063 *) |
|
10064 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
10065 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
10066 ;; |
|
10067 esac |
|
10068 fi |
10435 fi |
10069 else |
10436 else |
10070 ld_shlibs=no |
10437 ld_shlibs=no |
10071 fi |
10438 fi |
10072 ;; |
10439 ;; |
10073 |
10440 |
10074 os2*) |
10441 os2*) |
10075 hardcode_libdir_flag_spec='-L$libdir' |
10442 hardcode_libdir_flag_spec='-L$libdir' |
10076 hardcode_minus_L=yes |
10443 hardcode_minus_L=yes |
10077 allow_undefined_flag=unsupported |
10444 allow_undefined_flag=unsupported |
10078 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' |
10445 shrext_cmds=.dll |
10079 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
10446 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
10447 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
10448 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
10449 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
10450 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
|
10451 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
10452 emximp -o $lib $output_objdir/$libname.def' |
|
10453 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
|
10454 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
|
10455 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
|
10456 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
|
10457 prefix_cmds="$SED"~ |
|
10458 if test EXPORTS = "`$SED 1q $export_symbols`"; then |
|
10459 prefix_cmds="$prefix_cmds -e 1d"; |
|
10460 fi~ |
|
10461 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
|
10462 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
|
10463 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
|
10464 emximp -o $lib $output_objdir/$libname.def' |
|
10465 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
|
10466 enable_shared_with_static_runtimes=yes |
|
10080 ;; |
10467 ;; |
10081 |
10468 |
10082 osf3*) |
10469 osf3*) |
10083 if test "$GCC" = yes; then |
10470 if test yes = "$GCC"; then |
10084 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
10471 allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
10085 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' |
10472 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' |
10086 else |
10473 else |
10087 allow_undefined_flag=' -expect_unresolved \*' |
10474 allow_undefined_flag=' -expect_unresolved \*' |
10088 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' |
10475 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' |
10089 fi |
10476 fi |
10090 archive_cmds_need_lc='no' |
10477 archive_cmds_need_lc='no' |
10091 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10478 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
10092 hardcode_libdir_separator=: |
10479 hardcode_libdir_separator=: |
10093 ;; |
10480 ;; |
10094 |
10481 |
10095 osf4* | osf5*) # as osf3* with the addition of -msym flag |
10482 osf4* | osf5*) # as osf3* with the addition of -msym flag |
10096 if test "$GCC" = yes; then |
10483 if test yes = "$GCC"; then |
10097 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
10484 allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
10098 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' |
10485 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' |
10099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10486 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
10100 else |
10487 else |
10101 allow_undefined_flag=' -expect_unresolved \*' |
10488 allow_undefined_flag=' -expect_unresolved \*' |
10102 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' |
10489 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' |
10103 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~ |
10490 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~ |
10104 $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' |
10491 $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' |
10105 |
10492 |
10106 # Both c and cxx compiler support -rpath directly |
10493 # Both c and cxx compiler support -rpath directly |
10107 hardcode_libdir_flag_spec='-rpath $libdir' |
10494 hardcode_libdir_flag_spec='-rpath $libdir' |
10108 fi |
10495 fi |
10109 archive_cmds_need_lc='no' |
10496 archive_cmds_need_lc='no' |
10110 hardcode_libdir_separator=: |
10497 hardcode_libdir_separator=: |
10111 ;; |
10498 ;; |
10112 |
10499 |
10113 solaris*) |
10500 solaris*) |
10114 no_undefined_flag=' -z defs' |
10501 no_undefined_flag=' -z defs' |
10115 if test "$GCC" = yes; then |
10502 if test yes = "$GCC"; then |
10116 wlarc='${wl}' |
10503 wlarc='$wl' |
10117 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10504 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
10118 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10505 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10119 $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' |
10506 $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' |
10120 else |
10507 else |
10121 case `$CC -V 2>&1` in |
10508 case `$CC -V 2>&1` in |
10122 *"Compilers 5.0"*) |
10509 *"Compilers 5.0"*) |
10123 wlarc='' |
10510 wlarc='' |
10124 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10511 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10125 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10512 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10126 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
10513 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
10127 ;; |
10514 ;; |
10128 *) |
10515 *) |
10129 wlarc='${wl}' |
10516 wlarc='$wl' |
10130 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
10517 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
10131 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10518 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10132 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
10519 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
10133 ;; |
10520 ;; |
10134 esac |
10521 esac |
10135 fi |
10522 fi |
10136 hardcode_libdir_flag_spec='-R$libdir' |
10523 hardcode_libdir_flag_spec='-R$libdir' |
10137 hardcode_shlibpath_var=no |
10524 hardcode_shlibpath_var=no |
10138 case $host_os in |
10525 case $host_os in |
10139 solaris2.[0-5] | solaris2.[0-5].*) ;; |
10526 solaris2.[0-5] | solaris2.[0-5].*) ;; |
10140 *) |
10527 *) |
10141 # The compiler driver will combine and reorder linker options, |
10528 # The compiler driver will combine and reorder linker options, |
10142 # but understands `-z linker_flag'. GCC discards it without `$wl', |
10529 # but understands '-z linker_flag'. GCC discards it without '$wl', |
10143 # but is careful enough not to reorder. |
10530 # but is careful enough not to reorder. |
10144 # Supported since Solaris 2.6 (maybe 2.5.1?) |
10531 # Supported since Solaris 2.6 (maybe 2.5.1?) |
10145 if test "$GCC" = yes; then |
10532 if test yes = "$GCC"; then |
10146 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
10533 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
10147 else |
10534 else |
10148 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
10535 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
10149 fi |
10536 fi |
10150 ;; |
10537 ;; |
10151 esac |
10538 esac |
10152 link_all_deplibs=yes |
10539 link_all_deplibs=yes |
10153 ;; |
10540 ;; |
10154 |
10541 |
10155 sunos4*) |
10542 sunos4*) |
10156 if test "x$host_vendor" = xsequent; then |
10543 if test sequent = "$host_vendor"; then |
10157 # Use $CC to link under sequent, because it throws in some extra .o |
10544 # Use $CC to link under sequent, because it throws in some extra .o |
10158 # files that make .init and .fini sections work. |
10545 # files that make .init and .fini sections work. |
10159 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
10546 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
10160 else |
10547 else |
10161 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
10548 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
10162 fi |
10549 fi |
10163 hardcode_libdir_flag_spec='-L$libdir' |
10550 hardcode_libdir_flag_spec='-L$libdir' |
10164 hardcode_direct=yes |
10551 hardcode_direct=yes |
10203 ld_shlibs=yes |
10590 ld_shlibs=yes |
10204 fi |
10591 fi |
10205 ;; |
10592 ;; |
10206 |
10593 |
10207 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
10594 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
10208 no_undefined_flag='${wl}-z,text' |
10595 no_undefined_flag='$wl-z,text' |
10209 archive_cmds_need_lc=no |
10596 archive_cmds_need_lc=no |
10210 hardcode_shlibpath_var=no |
10597 hardcode_shlibpath_var=no |
10211 runpath_var='LD_RUN_PATH' |
10598 runpath_var='LD_RUN_PATH' |
10212 |
10599 |
10213 if test "$GCC" = yes; then |
10600 if test yes = "$GCC"; then |
10214 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10601 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10215 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10602 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10216 else |
10603 else |
10217 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10604 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10218 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10605 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10219 fi |
10606 fi |
10220 ;; |
10607 ;; |
10221 |
10608 |
10222 sysv5* | sco3.2v5* | sco5v6*) |
10609 sysv5* | sco3.2v5* | sco5v6*) |
10223 # Note: We can NOT use -z defs as we might desire, because we do not |
10610 # Note: We CANNOT use -z defs as we might desire, because we do not |
10224 # link with -lc, and that would cause any symbols used from libc to |
10611 # link with -lc, and that would cause any symbols used from libc to |
10225 # always be unresolved, which means just about no library would |
10612 # always be unresolved, which means just about no library would |
10226 # ever link correctly. If we're not using GNU ld we use -z text |
10613 # ever link correctly. If we're not using GNU ld we use -z text |
10227 # though, which does catch some bad symbols but isn't as heavy-handed |
10614 # though, which does catch some bad symbols but isn't as heavy-handed |
10228 # as -z defs. |
10615 # as -z defs. |
10229 no_undefined_flag='${wl}-z,text' |
10616 no_undefined_flag='$wl-z,text' |
10230 allow_undefined_flag='${wl}-z,nodefs' |
10617 allow_undefined_flag='$wl-z,nodefs' |
10231 archive_cmds_need_lc=no |
10618 archive_cmds_need_lc=no |
10232 hardcode_shlibpath_var=no |
10619 hardcode_shlibpath_var=no |
10233 hardcode_libdir_flag_spec='${wl}-R,$libdir' |
10620 hardcode_libdir_flag_spec='$wl-R,$libdir' |
10234 hardcode_libdir_separator=':' |
10621 hardcode_libdir_separator=':' |
10235 link_all_deplibs=yes |
10622 link_all_deplibs=yes |
10236 export_dynamic_flag_spec='${wl}-Bexport' |
10623 export_dynamic_flag_spec='$wl-Bexport' |
10237 runpath_var='LD_RUN_PATH' |
10624 runpath_var='LD_RUN_PATH' |
10238 |
10625 |
10239 if test "$GCC" = yes; then |
10626 if test yes = "$GCC"; then |
10240 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10627 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10241 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10628 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10242 else |
10629 else |
10243 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10630 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10244 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10631 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
10245 fi |
10632 fi |
10246 ;; |
10633 ;; |
10247 |
10634 |
10248 uts4*) |
10635 uts4*) |
10249 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10636 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
10254 *) |
10641 *) |
10255 ld_shlibs=no |
10642 ld_shlibs=no |
10256 ;; |
10643 ;; |
10257 esac |
10644 esac |
10258 |
10645 |
10259 if test x$host_vendor = xsni; then |
10646 if test sni = "$host_vendor"; then |
10260 case $host in |
10647 case $host in |
10261 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
10648 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
10262 export_dynamic_flag_spec='${wl}-Blargedynsym' |
10649 export_dynamic_flag_spec='$wl-Blargedynsym' |
10263 ;; |
10650 ;; |
10264 esac |
10651 esac |
10265 fi |
10652 fi |
10266 fi |
10653 fi |
10267 |
10654 |
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
10269 $as_echo "$ld_shlibs" >&6; } |
10656 $as_echo "$ld_shlibs" >&6; } |
10270 test "$ld_shlibs" = no && can_build_shared=no |
10657 test no = "$ld_shlibs" && can_build_shared=no |
10271 |
10658 |
10272 with_gnu_ld=$with_gnu_ld |
10659 with_gnu_ld=$with_gnu_ld |
10273 |
10660 |
10274 |
10661 |
10275 |
10662 |
10291 case "x$archive_cmds_need_lc" in |
10678 case "x$archive_cmds_need_lc" in |
10292 x|xyes) |
10679 x|xyes) |
10293 # Assume -lc should be added |
10680 # Assume -lc should be added |
10294 archive_cmds_need_lc=yes |
10681 archive_cmds_need_lc=yes |
10295 |
10682 |
10296 if test "$enable_shared" = yes && test "$GCC" = yes; then |
10683 if test yes,yes = "$GCC,$enable_shared"; then |
10297 case $archive_cmds in |
10684 case $archive_cmds in |
10298 *'~'*) |
10685 *'~'*) |
10299 # FIXME: we may have to deal with multi-command sequences. |
10686 # FIXME: we may have to deal with multi-command sequences. |
10300 ;; |
10687 ;; |
10301 '$CC '*) |
10688 '$CC '*) |
10506 |
10893 |
10507 |
10894 |
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
10509 $as_echo_n "checking dynamic linker characteristics... " >&6; } |
10896 $as_echo_n "checking dynamic linker characteristics... " >&6; } |
10510 |
10897 |
10511 if test "$GCC" = yes; then |
10898 if test yes = "$GCC"; then |
10512 case $host_os in |
10899 case $host_os in |
10513 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
10900 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; |
10514 *) lt_awk_arg="/^libraries:/" ;; |
10901 *) lt_awk_arg='/^libraries:/' ;; |
10515 esac |
10902 esac |
10516 case $host_os in |
10903 case $host_os in |
10517 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
10904 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
10518 *) lt_sed_strip_eq="s,=/,/,g" ;; |
10905 *) lt_sed_strip_eq='s|=/|/|g' ;; |
10519 esac |
10906 esac |
10520 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
10907 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
10521 case $lt_search_path_spec in |
10908 case $lt_search_path_spec in |
10522 *\;*) |
10909 *\;*) |
10523 # if the path contains ";" then we assume it to be the separator |
10910 # if the path contains ";" then we assume it to be the separator |
10529 *) |
10916 *) |
10530 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
10917 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
10531 ;; |
10918 ;; |
10532 esac |
10919 esac |
10533 # Ok, now we have the path, separated by spaces, we can step through it |
10920 # Ok, now we have the path, separated by spaces, we can step through it |
10534 # and add multilib dir if necessary. |
10921 # and add multilib dir if necessary... |
10535 lt_tmp_lt_search_path_spec= |
10922 lt_tmp_lt_search_path_spec= |
10536 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
10923 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
10924 # ...but if some path component already ends with the multilib dir we assume |
|
10925 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
|
10926 case "$lt_multi_os_dir; $lt_search_path_spec " in |
|
10927 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
|
10928 lt_multi_os_dir= |
|
10929 ;; |
|
10930 esac |
|
10537 for lt_sys_path in $lt_search_path_spec; do |
10931 for lt_sys_path in $lt_search_path_spec; do |
10538 if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
10932 if test -d "$lt_sys_path$lt_multi_os_dir"; then |
10539 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
10933 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
10540 else |
10934 elif test -n "$lt_multi_os_dir"; then |
10541 test -d "$lt_sys_path" && \ |
10935 test -d "$lt_sys_path" && \ |
10542 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
10936 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
10543 fi |
10937 fi |
10544 done |
10938 done |
10545 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
10939 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
10546 BEGIN {RS=" "; FS="/|\n";} { |
10940 BEGIN {RS = " "; FS = "/|\n";} { |
10547 lt_foo=""; |
10941 lt_foo = ""; |
10548 lt_count=0; |
10942 lt_count = 0; |
10549 for (lt_i = NF; lt_i > 0; lt_i--) { |
10943 for (lt_i = NF; lt_i > 0; lt_i--) { |
10550 if ($lt_i != "" && $lt_i != ".") { |
10944 if ($lt_i != "" && $lt_i != ".") { |
10551 if ($lt_i == "..") { |
10945 if ($lt_i == "..") { |
10552 lt_count++; |
10946 lt_count++; |
10553 } else { |
10947 } else { |
10554 if (lt_count == 0) { |
10948 if (lt_count == 0) { |
10555 lt_foo="/" $lt_i lt_foo; |
10949 lt_foo = "/" $lt_i lt_foo; |
10556 } else { |
10950 } else { |
10557 lt_count--; |
10951 lt_count--; |
10558 } |
10952 } |
10559 } |
10953 } |
10560 } |
10954 } |
10564 }'` |
10958 }'` |
10565 # AWK program above erroneously prepends '/' to C:/dos/paths |
10959 # AWK program above erroneously prepends '/' to C:/dos/paths |
10566 # for these hosts. |
10960 # for these hosts. |
10567 case $host_os in |
10961 case $host_os in |
10568 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
10962 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
10569 $SED 's,/\([A-Za-z]:\),\1,g'` ;; |
10963 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
10570 esac |
10964 esac |
10571 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
10965 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
10572 else |
10966 else |
10573 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
10967 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
10574 fi |
10968 fi |
10575 library_names_spec= |
10969 library_names_spec= |
10576 libname_spec='lib$name' |
10970 libname_spec='lib$name' |
10577 soname_spec= |
10971 soname_spec= |
10578 shrext_cmds=".so" |
10972 shrext_cmds=.so |
10579 postinstall_cmds= |
10973 postinstall_cmds= |
10580 postuninstall_cmds= |
10974 postuninstall_cmds= |
10581 finish_cmds= |
10975 finish_cmds= |
10582 finish_eval= |
10976 finish_eval= |
10583 shlibpath_var= |
10977 shlibpath_var= |
10590 |
10984 |
10591 # when you set need_version to no, make sure it does not cause -set_version |
10985 # when you set need_version to no, make sure it does not cause -set_version |
10592 # flags to be left without arguments |
10986 # flags to be left without arguments |
10593 need_version=unknown |
10987 need_version=unknown |
10594 |
10988 |
10989 |
|
10990 |
|
10595 case $host_os in |
10991 case $host_os in |
10596 aix3*) |
10992 aix3*) |
10597 version_type=linux # correct to gnu/linux during the next big refactor |
10993 version_type=linux # correct to gnu/linux during the next big refactor |
10598 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10994 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
10599 shlibpath_var=LIBPATH |
10995 shlibpath_var=LIBPATH |
10600 |
10996 |
10601 # AIX 3 has no versioning support, so we append a major version to the name. |
10997 # AIX 3 has no versioning support, so we append a major version to the name. |
10602 soname_spec='${libname}${release}${shared_ext}$major' |
10998 soname_spec='$libname$release$shared_ext$major' |
10603 ;; |
10999 ;; |
10604 |
11000 |
10605 aix[4-9]*) |
11001 aix[4-9]*) |
10606 version_type=linux # correct to gnu/linux during the next big refactor |
11002 version_type=linux # correct to gnu/linux during the next big refactor |
10607 need_lib_prefix=no |
11003 need_lib_prefix=no |
10608 need_version=no |
11004 need_version=no |
10609 hardcode_into_libs=yes |
11005 hardcode_into_libs=yes |
10610 if test "$host_cpu" = ia64; then |
11006 if test ia64 = "$host_cpu"; then |
10611 # AIX 5 supports IA64 |
11007 # AIX 5 supports IA64 |
10612 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
11008 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
10613 shlibpath_var=LD_LIBRARY_PATH |
11009 shlibpath_var=LD_LIBRARY_PATH |
10614 else |
11010 else |
10615 # With GCC up to 2.95.x, collect2 would create an import file |
11011 # With GCC up to 2.95.x, collect2 would create an import file |
10616 # for dependence libraries. The import file would start with |
11012 # for dependence libraries. The import file would start with |
10617 # the line `#! .'. This would cause the generated library to |
11013 # the line '#! .'. This would cause the generated library to |
10618 # depend on `.', always an invalid library. This was fixed in |
11014 # depend on '.', always an invalid library. This was fixed in |
10619 # development snapshots of GCC prior to 3.0. |
11015 # development snapshots of GCC prior to 3.0. |
10620 case $host_os in |
11016 case $host_os in |
10621 aix4 | aix4.[01] | aix4.[01].*) |
11017 aix4 | aix4.[01] | aix4.[01].*) |
10622 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
11018 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
10623 echo ' yes ' |
11019 echo ' yes ' |
10624 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
11020 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
10625 : |
11021 : |
10626 else |
11022 else |
10627 can_build_shared=no |
11023 can_build_shared=no |
10628 fi |
11024 fi |
10629 ;; |
11025 ;; |
10630 esac |
11026 esac |
10631 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
11027 # Using Import Files as archive members, it is possible to support |
11028 # filename-based versioning of shared library archives on AIX. While |
|
11029 # this would work for both with and without runtime linking, it will |
|
11030 # prevent static linking of such archives. So we do filename-based |
|
11031 # shared library versioning with .so extension only, which is used |
|
11032 # when both runtime linking and shared linking is enabled. |
|
11033 # Unfortunately, runtime linking may impact performance, so we do |
|
11034 # not want this to be the default eventually. Also, we use the |
|
11035 # versioned .so libs for executables only if there is the -brtl |
|
11036 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. |
|
11037 # To allow for filename-based versioning support, we need to create |
|
11038 # libNAME.so.V as an archive file, containing: |
|
11039 # *) an Import File, referring to the versioned filename of the |
|
11040 # archive as well as the shared archive member, telling the |
|
11041 # bitwidth (32 or 64) of that shared object, and providing the |
|
11042 # list of exported symbols of that shared object, eventually |
|
11043 # decorated with the 'weak' keyword |
|
11044 # *) the shared object with the F_LOADONLY flag set, to really avoid |
|
11045 # it being seen by the linker. |
|
11046 # At run time we better use the real file rather than another symlink, |
|
11047 # but for link time we create the symlink libNAME.so -> libNAME.so.V |
|
11048 |
|
11049 case $with_aix_soname,$aix_use_runtimelinking in |
|
11050 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
|
10632 # soname into executable. Probably we can add versioning support to |
11051 # soname into executable. Probably we can add versioning support to |
10633 # collect2, so additional links can be useful in future. |
11052 # collect2, so additional links can be useful in future. |
10634 if test "$aix_use_runtimelinking" = yes; then |
11053 aix,yes) # traditional libtool |
11054 dynamic_linker='AIX unversionable lib.so' |
|
10635 # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
11055 # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
10636 # instead of lib<name>.a to let people know that these are not |
11056 # instead of lib<name>.a to let people know that these are not |
10637 # typical AIX shared libraries. |
11057 # typical AIX shared libraries. |
10638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11058 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10639 else |
11059 ;; |
11060 aix,no) # traditional AIX only |
|
11061 dynamic_linker='AIX lib.a(lib.so.V)' |
|
10640 # We preserve .a as extension for shared libraries through AIX4.2 |
11062 # We preserve .a as extension for shared libraries through AIX4.2 |
10641 # and later when we are not doing run time linking. |
11063 # and later when we are not doing run time linking. |
10642 library_names_spec='${libname}${release}.a $libname.a' |
11064 library_names_spec='$libname$release.a $libname.a' |
10643 soname_spec='${libname}${release}${shared_ext}$major' |
11065 soname_spec='$libname$release$shared_ext$major' |
10644 fi |
11066 ;; |
11067 svr4,*) # full svr4 only |
|
11068 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
|
11069 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
|
11070 # We do not specify a path in Import Files, so LIBPATH fires. |
|
11071 shlibpath_overrides_runpath=yes |
|
11072 ;; |
|
11073 *,yes) # both, prefer svr4 |
|
11074 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
|
11075 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
|
11076 # unpreferred sharedlib libNAME.a needs extra handling |
|
11077 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"' |
|
11078 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"' |
|
11079 # We do not specify a path in Import Files, so LIBPATH fires. |
|
11080 shlibpath_overrides_runpath=yes |
|
11081 ;; |
|
11082 *,no) # both, prefer aix |
|
11083 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
|
11084 library_names_spec='$libname$release.a $libname.a' |
|
11085 soname_spec='$libname$release$shared_ext$major' |
|
11086 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
|
11087 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)' |
|
11088 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"' |
|
11089 ;; |
|
11090 esac |
|
10645 shlibpath_var=LIBPATH |
11091 shlibpath_var=LIBPATH |
10646 fi |
11092 fi |
10647 ;; |
11093 ;; |
10648 |
11094 |
10649 amigaos*) |
11095 amigaos*) |
10650 case $host_cpu in |
11096 case $host_cpu in |
10651 powerpc) |
11097 powerpc) |
10652 # Since July 2007 AmigaOS4 officially supports .so libraries. |
11098 # Since July 2007 AmigaOS4 officially supports .so libraries. |
10653 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
11099 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11100 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10655 ;; |
11101 ;; |
10656 m68k) |
11102 m68k) |
10657 library_names_spec='$libname.ixlibrary $libname.a' |
11103 library_names_spec='$libname.ixlibrary $libname.a' |
10658 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
11104 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
10659 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' |
11105 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' |
10660 ;; |
11106 ;; |
10661 esac |
11107 esac |
10662 ;; |
11108 ;; |
10663 |
11109 |
10664 beos*) |
11110 beos*) |
10665 library_names_spec='${libname}${shared_ext}' |
11111 library_names_spec='$libname$shared_ext' |
10666 dynamic_linker="$host_os ld.so" |
11112 dynamic_linker="$host_os ld.so" |
10667 shlibpath_var=LIBRARY_PATH |
11113 shlibpath_var=LIBRARY_PATH |
10668 ;; |
11114 ;; |
10669 |
11115 |
10670 bsdi[45]*) |
11116 bsdi[45]*) |
10671 version_type=linux # correct to gnu/linux during the next big refactor |
11117 version_type=linux # correct to gnu/linux during the next big refactor |
10672 need_version=no |
11118 need_version=no |
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11119 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10674 soname_spec='${libname}${release}${shared_ext}$major' |
11120 soname_spec='$libname$release$shared_ext$major' |
10675 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
11121 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
10676 shlibpath_var=LD_LIBRARY_PATH |
11122 shlibpath_var=LD_LIBRARY_PATH |
10677 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
11123 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
10678 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
11124 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
10679 # the default ld.so.conf also contains /usr/contrib/lib and |
11125 # the default ld.so.conf also contains /usr/contrib/lib and |
10681 # libtool to hard-code these into programs |
11127 # libtool to hard-code these into programs |
10682 ;; |
11128 ;; |
10683 |
11129 |
10684 cygwin* | mingw* | pw32* | cegcc*) |
11130 cygwin* | mingw* | pw32* | cegcc*) |
10685 version_type=windows |
11131 version_type=windows |
10686 shrext_cmds=".dll" |
11132 shrext_cmds=.dll |
10687 need_version=no |
11133 need_version=no |
10688 need_lib_prefix=no |
11134 need_lib_prefix=no |
10689 |
11135 |
10690 case $GCC,$cc_basename in |
11136 case $GCC,$cc_basename in |
10691 yes,*) |
11137 yes,*) |
10692 # gcc |
11138 # gcc |
10693 library_names_spec='$libname.dll.a' |
11139 library_names_spec='$libname.dll.a' |
10694 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
11140 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
10695 postinstall_cmds='base_file=`basename \${file}`~ |
11141 postinstall_cmds='base_file=`basename \$file`~ |
10696 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
11142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
10697 dldir=$destdir/`dirname \$dlpath`~ |
11143 dldir=$destdir/`dirname \$dlpath`~ |
10698 test -d \$dldir || mkdir -p \$dldir~ |
11144 test -d \$dldir || mkdir -p \$dldir~ |
10699 $install_prog $dir/$dlname \$dldir/$dlname~ |
11145 $install_prog $dir/$dlname \$dldir/$dlname~ |
10700 chmod a+x \$dldir/$dlname~ |
11146 chmod a+x \$dldir/$dlname~ |
10701 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
11147 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
10707 shlibpath_overrides_runpath=yes |
11153 shlibpath_overrides_runpath=yes |
10708 |
11154 |
10709 case $host_os in |
11155 case $host_os in |
10710 cygwin*) |
11156 cygwin*) |
10711 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
11157 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10712 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
11158 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10713 |
11159 |
10714 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
11160 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10715 ;; |
11161 ;; |
10716 mingw* | cegcc*) |
11162 mingw* | cegcc*) |
10717 # MinGW DLLs use traditional 'lib' prefix |
11163 # MinGW DLLs use traditional 'lib' prefix |
10718 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
11164 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10719 ;; |
11165 ;; |
10720 pw32*) |
11166 pw32*) |
10721 # pw32 DLLs use 'pw' prefix rather than 'lib' |
11167 # pw32 DLLs use 'pw' prefix rather than 'lib' |
10722 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
11168 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10723 ;; |
11169 ;; |
10724 esac |
11170 esac |
10725 dynamic_linker='Win32 ld.exe' |
11171 dynamic_linker='Win32 ld.exe' |
10726 ;; |
11172 ;; |
10727 |
11173 |
10728 *,cl*) |
11174 *,cl*) |
10729 # Native MSVC |
11175 # Native MSVC |
10730 libname_spec='$name' |
11176 libname_spec='$name' |
10731 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
11177 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
10732 library_names_spec='${libname}.dll.lib' |
11178 library_names_spec='$libname.dll.lib' |
10733 |
11179 |
10734 case $build_os in |
11180 case $build_os in |
10735 mingw*) |
11181 mingw*) |
10736 sys_lib_search_path_spec= |
11182 sys_lib_search_path_spec= |
10737 lt_save_ifs=$IFS |
11183 lt_save_ifs=$IFS |
10754 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
11200 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10755 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
11201 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
10756 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
11202 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10757 ;; |
11203 ;; |
10758 *) |
11204 *) |
10759 sys_lib_search_path_spec="$LIB" |
11205 sys_lib_search_path_spec=$LIB |
10760 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
11206 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
10761 # It is most probably a Windows format PATH. |
11207 # It is most probably a Windows format PATH. |
10762 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
11208 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
10763 else |
11209 else |
10764 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
11210 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10767 # common. (e.g. "Program Files" -> "PROGRA~1") |
11213 # common. (e.g. "Program Files" -> "PROGRA~1") |
10768 ;; |
11214 ;; |
10769 esac |
11215 esac |
10770 |
11216 |
10771 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
11217 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
10772 postinstall_cmds='base_file=`basename \${file}`~ |
11218 postinstall_cmds='base_file=`basename \$file`~ |
10773 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
11219 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
10774 dldir=$destdir/`dirname \$dlpath`~ |
11220 dldir=$destdir/`dirname \$dlpath`~ |
10775 test -d \$dldir || mkdir -p \$dldir~ |
11221 test -d \$dldir || mkdir -p \$dldir~ |
10776 $install_prog $dir/$dlname \$dldir/$dlname' |
11222 $install_prog $dir/$dlname \$dldir/$dlname' |
10777 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
11223 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10778 dlpath=$dir/\$dldll~ |
11224 dlpath=$dir/\$dldll~ |
10781 dynamic_linker='Win32 link.exe' |
11227 dynamic_linker='Win32 link.exe' |
10782 ;; |
11228 ;; |
10783 |
11229 |
10784 *) |
11230 *) |
10785 # Assume MSVC wrapper |
11231 # Assume MSVC wrapper |
10786 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
11232 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
10787 dynamic_linker='Win32 ld.exe' |
11233 dynamic_linker='Win32 ld.exe' |
10788 ;; |
11234 ;; |
10789 esac |
11235 esac |
10790 # FIXME: first we should search . and the directory the executable is in |
11236 # FIXME: first we should search . and the directory the executable is in |
10791 shlibpath_var=PATH |
11237 shlibpath_var=PATH |
10794 darwin* | rhapsody*) |
11240 darwin* | rhapsody*) |
10795 dynamic_linker="$host_os dyld" |
11241 dynamic_linker="$host_os dyld" |
10796 version_type=darwin |
11242 version_type=darwin |
10797 need_lib_prefix=no |
11243 need_lib_prefix=no |
10798 need_version=no |
11244 need_version=no |
10799 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
11245 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
10800 soname_spec='${libname}${release}${major}$shared_ext' |
11246 soname_spec='$libname$release$major$shared_ext' |
10801 shlibpath_overrides_runpath=yes |
11247 shlibpath_overrides_runpath=yes |
10802 shlibpath_var=DYLD_LIBRARY_PATH |
11248 shlibpath_var=DYLD_LIBRARY_PATH |
10803 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
11249 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
10804 |
11250 |
10805 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
11251 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
10808 |
11254 |
10809 dgux*) |
11255 dgux*) |
10810 version_type=linux # correct to gnu/linux during the next big refactor |
11256 version_type=linux # correct to gnu/linux during the next big refactor |
10811 need_lib_prefix=no |
11257 need_lib_prefix=no |
10812 need_version=no |
11258 need_version=no |
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
11259 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10814 soname_spec='${libname}${release}${shared_ext}$major' |
11260 soname_spec='$libname$release$shared_ext$major' |
10815 shlibpath_var=LD_LIBRARY_PATH |
11261 shlibpath_var=LD_LIBRARY_PATH |
10816 ;; |
11262 ;; |
10817 |
11263 |
10818 freebsd* | dragonfly*) |
11264 freebsd* | dragonfly*) |
10819 # DragonFly does not have aout. When/if they implement a new |
11265 # DragonFly does not have aout. When/if they implement a new |
10827 esac |
11273 esac |
10828 fi |
11274 fi |
10829 version_type=freebsd-$objformat |
11275 version_type=freebsd-$objformat |
10830 case $version_type in |
11276 case $version_type in |
10831 freebsd-elf*) |
11277 freebsd-elf*) |
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
11278 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11279 soname_spec='$libname$release$shared_ext$major' |
|
10833 need_version=no |
11280 need_version=no |
10834 need_lib_prefix=no |
11281 need_lib_prefix=no |
10835 ;; |
11282 ;; |
10836 freebsd-*) |
11283 freebsd-*) |
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
11284 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
10838 need_version=yes |
11285 need_version=yes |
10839 ;; |
11286 ;; |
10840 esac |
11287 esac |
10841 shlibpath_var=LD_LIBRARY_PATH |
11288 shlibpath_var=LD_LIBRARY_PATH |
10842 case $host_os in |
11289 case $host_os in |
10857 hardcode_into_libs=yes |
11304 hardcode_into_libs=yes |
10858 ;; |
11305 ;; |
10859 esac |
11306 esac |
10860 ;; |
11307 ;; |
10861 |
11308 |
10862 gnu*) |
|
10863 version_type=linux # correct to gnu/linux during the next big refactor |
|
10864 need_lib_prefix=no |
|
10865 need_version=no |
|
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
10867 soname_spec='${libname}${release}${shared_ext}$major' |
|
10868 shlibpath_var=LD_LIBRARY_PATH |
|
10869 shlibpath_overrides_runpath=no |
|
10870 hardcode_into_libs=yes |
|
10871 ;; |
|
10872 |
|
10873 haiku*) |
11309 haiku*) |
10874 version_type=linux # correct to gnu/linux during the next big refactor |
11310 version_type=linux # correct to gnu/linux during the next big refactor |
10875 need_lib_prefix=no |
11311 need_lib_prefix=no |
10876 need_version=no |
11312 need_version=no |
10877 dynamic_linker="$host_os runtime_loader" |
11313 dynamic_linker="$host_os runtime_loader" |
10878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
11314 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10879 soname_spec='${libname}${release}${shared_ext}$major' |
11315 soname_spec='$libname$release$shared_ext$major' |
10880 shlibpath_var=LIBRARY_PATH |
11316 shlibpath_var=LIBRARY_PATH |
10881 shlibpath_overrides_runpath=yes |
11317 shlibpath_overrides_runpath=no |
10882 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
11318 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
10883 hardcode_into_libs=yes |
11319 hardcode_into_libs=yes |
10884 ;; |
11320 ;; |
10885 |
11321 |
10886 hpux9* | hpux10* | hpux11*) |
11322 hpux9* | hpux10* | hpux11*) |
10894 shrext_cmds='.so' |
11330 shrext_cmds='.so' |
10895 hardcode_into_libs=yes |
11331 hardcode_into_libs=yes |
10896 dynamic_linker="$host_os dld.so" |
11332 dynamic_linker="$host_os dld.so" |
10897 shlibpath_var=LD_LIBRARY_PATH |
11333 shlibpath_var=LD_LIBRARY_PATH |
10898 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
11334 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11335 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10900 soname_spec='${libname}${release}${shared_ext}$major' |
11336 soname_spec='$libname$release$shared_ext$major' |
10901 if test "X$HPUX_IA64_MODE" = X32; then |
11337 if test 32 = "$HPUX_IA64_MODE"; then |
10902 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
11338 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
11339 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
|
10903 else |
11340 else |
10904 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
11341 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
11342 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
|
10905 fi |
11343 fi |
10906 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
10907 ;; |
11344 ;; |
10908 hppa*64*) |
11345 hppa*64*) |
10909 shrext_cmds='.sl' |
11346 shrext_cmds='.sl' |
10910 hardcode_into_libs=yes |
11347 hardcode_into_libs=yes |
10911 dynamic_linker="$host_os dld.sl" |
11348 dynamic_linker="$host_os dld.sl" |
10912 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
11349 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
10913 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
11350 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11351 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10915 soname_spec='${libname}${release}${shared_ext}$major' |
11352 soname_spec='$libname$release$shared_ext$major' |
10916 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
11353 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
10917 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11354 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
10918 ;; |
11355 ;; |
10919 *) |
11356 *) |
10920 shrext_cmds='.sl' |
11357 shrext_cmds='.sl' |
10921 dynamic_linker="$host_os dld.sl" |
11358 dynamic_linker="$host_os dld.sl" |
10922 shlibpath_var=SHLIB_PATH |
11359 shlibpath_var=SHLIB_PATH |
10923 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
11360 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11361 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10925 soname_spec='${libname}${release}${shared_ext}$major' |
11362 soname_spec='$libname$release$shared_ext$major' |
10926 ;; |
11363 ;; |
10927 esac |
11364 esac |
10928 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
11365 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
10929 postinstall_cmds='chmod 555 $lib' |
11366 postinstall_cmds='chmod 555 $lib' |
10930 # or fails outright, so override atomically: |
11367 # or fails outright, so override atomically: |
10933 |
11370 |
10934 interix[3-9]*) |
11371 interix[3-9]*) |
10935 version_type=linux # correct to gnu/linux during the next big refactor |
11372 version_type=linux # correct to gnu/linux during the next big refactor |
10936 need_lib_prefix=no |
11373 need_lib_prefix=no |
10937 need_version=no |
11374 need_version=no |
10938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11375 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10939 soname_spec='${libname}${release}${shared_ext}$major' |
11376 soname_spec='$libname$release$shared_ext$major' |
10940 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
11377 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
10941 shlibpath_var=LD_LIBRARY_PATH |
11378 shlibpath_var=LD_LIBRARY_PATH |
10942 shlibpath_overrides_runpath=no |
11379 shlibpath_overrides_runpath=no |
10943 hardcode_into_libs=yes |
11380 hardcode_into_libs=yes |
10944 ;; |
11381 ;; |
10945 |
11382 |
10946 irix5* | irix6* | nonstopux*) |
11383 irix5* | irix6* | nonstopux*) |
10947 case $host_os in |
11384 case $host_os in |
10948 nonstopux*) version_type=nonstopux ;; |
11385 nonstopux*) version_type=nonstopux ;; |
10949 *) |
11386 *) |
10950 if test "$lt_cv_prog_gnu_ld" = yes; then |
11387 if test yes = "$lt_cv_prog_gnu_ld"; then |
10951 version_type=linux # correct to gnu/linux during the next big refactor |
11388 version_type=linux # correct to gnu/linux during the next big refactor |
10952 else |
11389 else |
10953 version_type=irix |
11390 version_type=irix |
10954 fi ;; |
11391 fi ;; |
10955 esac |
11392 esac |
10956 need_lib_prefix=no |
11393 need_lib_prefix=no |
10957 need_version=no |
11394 need_version=no |
10958 soname_spec='${libname}${release}${shared_ext}$major' |
11395 soname_spec='$libname$release$shared_ext$major' |
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
11396 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
10960 case $host_os in |
11397 case $host_os in |
10961 irix5* | nonstopux*) |
11398 irix5* | nonstopux*) |
10962 libsuff= shlibsuff= |
11399 libsuff= shlibsuff= |
10963 ;; |
11400 ;; |
10964 *) |
11401 *) |
10973 esac |
11410 esac |
10974 ;; |
11411 ;; |
10975 esac |
11412 esac |
10976 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
11413 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
10977 shlibpath_overrides_runpath=no |
11414 shlibpath_overrides_runpath=no |
10978 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
11415 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
10979 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
11416 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
10980 hardcode_into_libs=yes |
11417 hardcode_into_libs=yes |
10981 ;; |
11418 ;; |
10982 |
11419 |
10983 # No shared lib support for Linux oldld, aout, or coff. |
11420 # No shared lib support for Linux oldld, aout, or coff. |
10984 linux*oldld* | linux*aout* | linux*coff*) |
11421 linux*oldld* | linux*aout* | linux*coff*) |
10985 dynamic_linker=no |
11422 dynamic_linker=no |
10986 ;; |
11423 ;; |
10987 |
11424 |
11425 linux*android*) |
|
11426 version_type=none # Android doesn't support versioned libraries. |
|
11427 need_lib_prefix=no |
|
11428 need_version=no |
|
11429 library_names_spec='$libname$release$shared_ext' |
|
11430 soname_spec='$libname$release$shared_ext' |
|
11431 finish_cmds= |
|
11432 shlibpath_var=LD_LIBRARY_PATH |
|
11433 shlibpath_overrides_runpath=yes |
|
11434 |
|
11435 # This implies no fast_install, which is unacceptable. |
|
11436 # Some rework will be needed to allow for fast_install |
|
11437 # before this can be enabled. |
|
11438 hardcode_into_libs=yes |
|
11439 |
|
11440 dynamic_linker='Android linker' |
|
11441 # Don't embed -rpath directories since the linker doesn't support them. |
|
11442 hardcode_libdir_flag_spec='-L$libdir' |
|
11443 ;; |
|
11444 |
|
10988 # This must be glibc/ELF. |
11445 # This must be glibc/ELF. |
10989 linux* | k*bsd*-gnu | kopensolaris*-gnu) |
11446 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
10990 version_type=linux # correct to gnu/linux during the next big refactor |
11447 version_type=linux # correct to gnu/linux during the next big refactor |
10991 need_lib_prefix=no |
11448 need_lib_prefix=no |
10992 need_version=no |
11449 need_version=no |
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11450 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
10994 soname_spec='${libname}${release}${shared_ext}$major' |
11451 soname_spec='$libname$release$shared_ext$major' |
10995 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
11452 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
10996 shlibpath_var=LD_LIBRARY_PATH |
11453 shlibpath_var=LD_LIBRARY_PATH |
10997 shlibpath_overrides_runpath=no |
11454 shlibpath_overrides_runpath=no |
10998 |
11455 |
10999 # Some binutils ld are patched to set DT_RUNPATH |
11456 # Some binutils ld are patched to set DT_RUNPATH |
11033 # This implies no fast_install, which is unacceptable. |
11490 # This implies no fast_install, which is unacceptable. |
11034 # Some rework will be needed to allow for fast_install |
11491 # Some rework will be needed to allow for fast_install |
11035 # before this can be enabled. |
11492 # before this can be enabled. |
11036 hardcode_into_libs=yes |
11493 hardcode_into_libs=yes |
11037 |
11494 |
11038 # Append ld.so.conf contents to the search path |
11495 # Ideally, we could use ldconfig to report *all* directores which are |
11496 # searched for libraries, however this is still not possible. Aside from not |
|
11497 # being certain /sbin/ldconfig is available, command |
|
11498 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
|
11499 # even though it is searched at run-time. Try to do the best guess by |
|
11500 # appending ld.so.conf contents (and includes) to the search path. |
|
11039 if test -f /etc/ld.so.conf; then |
11501 if test -f /etc/ld.so.conf; then |
11040 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' ' '` |
11502 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' ' '` |
11041 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11503 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11042 fi |
11504 fi |
11043 |
11505 |
11048 # people can always --disable-shared, the test was removed, and we |
11510 # people can always --disable-shared, the test was removed, and we |
11049 # assume the GNU/Linux dynamic linker is in use. |
11511 # assume the GNU/Linux dynamic linker is in use. |
11050 dynamic_linker='GNU/Linux ld.so' |
11512 dynamic_linker='GNU/Linux ld.so' |
11051 ;; |
11513 ;; |
11052 |
11514 |
11515 netbsdelf*-gnu) |
|
11516 version_type=linux |
|
11517 need_lib_prefix=no |
|
11518 need_version=no |
|
11519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
11520 soname_spec='${libname}${release}${shared_ext}$major' |
|
11521 shlibpath_var=LD_LIBRARY_PATH |
|
11522 shlibpath_overrides_runpath=no |
|
11523 hardcode_into_libs=yes |
|
11524 dynamic_linker='NetBSD ld.elf_so' |
|
11525 ;; |
|
11526 |
|
11053 netbsd*) |
11527 netbsd*) |
11054 version_type=sunos |
11528 version_type=sunos |
11055 need_lib_prefix=no |
11529 need_lib_prefix=no |
11056 need_version=no |
11530 need_version=no |
11057 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
11531 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
11058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11532 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
11059 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11533 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11060 dynamic_linker='NetBSD (a.out) ld.so' |
11534 dynamic_linker='NetBSD (a.out) ld.so' |
11061 else |
11535 else |
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11536 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11063 soname_spec='${libname}${release}${shared_ext}$major' |
11537 soname_spec='$libname$release$shared_ext$major' |
11064 dynamic_linker='NetBSD ld.elf_so' |
11538 dynamic_linker='NetBSD ld.elf_so' |
11065 fi |
11539 fi |
11066 shlibpath_var=LD_LIBRARY_PATH |
11540 shlibpath_var=LD_LIBRARY_PATH |
11067 shlibpath_overrides_runpath=yes |
11541 shlibpath_overrides_runpath=yes |
11068 hardcode_into_libs=yes |
11542 hardcode_into_libs=yes |
11069 ;; |
11543 ;; |
11070 |
11544 |
11071 newsos6) |
11545 newsos6) |
11072 version_type=linux # correct to gnu/linux during the next big refactor |
11546 version_type=linux # correct to gnu/linux during the next big refactor |
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11547 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11074 shlibpath_var=LD_LIBRARY_PATH |
11548 shlibpath_var=LD_LIBRARY_PATH |
11075 shlibpath_overrides_runpath=yes |
11549 shlibpath_overrides_runpath=yes |
11076 ;; |
11550 ;; |
11077 |
11551 |
11078 *nto* | *qnx*) |
11552 *nto* | *qnx*) |
11079 version_type=qnx |
11553 version_type=qnx |
11080 need_lib_prefix=no |
11554 need_lib_prefix=no |
11081 need_version=no |
11555 need_version=no |
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11556 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11083 soname_spec='${libname}${release}${shared_ext}$major' |
11557 soname_spec='$libname$release$shared_ext$major' |
11084 shlibpath_var=LD_LIBRARY_PATH |
11558 shlibpath_var=LD_LIBRARY_PATH |
11085 shlibpath_overrides_runpath=no |
11559 shlibpath_overrides_runpath=no |
11086 hardcode_into_libs=yes |
11560 hardcode_into_libs=yes |
11087 dynamic_linker='ldqnx.so' |
11561 dynamic_linker='ldqnx.so' |
11088 ;; |
11562 ;; |
11089 |
11563 |
11090 openbsd*) |
11564 openbsd* | bitrig*) |
11091 version_type=sunos |
11565 version_type=sunos |
11092 sys_lib_dlsearch_path_spec="/usr/lib" |
11566 sys_lib_dlsearch_path_spec=/usr/lib |
11093 need_lib_prefix=no |
11567 need_lib_prefix=no |
11094 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
11568 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
11095 case $host_os in |
11569 need_version=no |
11096 openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
11570 else |
11097 *) need_version=no ;; |
11571 need_version=yes |
11098 esac |
11572 fi |
11099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11573 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
11100 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11574 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11101 shlibpath_var=LD_LIBRARY_PATH |
11575 shlibpath_var=LD_LIBRARY_PATH |
11102 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
11576 shlibpath_overrides_runpath=yes |
11103 case $host_os in |
|
11104 openbsd2.[89] | openbsd2.[89].*) |
|
11105 shlibpath_overrides_runpath=no |
|
11106 ;; |
|
11107 *) |
|
11108 shlibpath_overrides_runpath=yes |
|
11109 ;; |
|
11110 esac |
|
11111 else |
|
11112 shlibpath_overrides_runpath=yes |
|
11113 fi |
|
11114 ;; |
11577 ;; |
11115 |
11578 |
11116 os2*) |
11579 os2*) |
11117 libname_spec='$name' |
11580 libname_spec='$name' |
11118 shrext_cmds=".dll" |
11581 version_type=windows |
11582 shrext_cmds=.dll |
|
11583 need_version=no |
|
11119 need_lib_prefix=no |
11584 need_lib_prefix=no |
11120 library_names_spec='$libname${shared_ext} $libname.a' |
11585 # OS/2 can only load a DLL with a base name of 8 characters or less. |
11586 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
|
11587 v=$($ECHO $release$versuffix | tr -d .-); |
|
11588 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
|
11589 $ECHO $n$v`$shared_ext' |
|
11590 library_names_spec='${libname}_dll.$libext' |
|
11121 dynamic_linker='OS/2 ld.exe' |
11591 dynamic_linker='OS/2 ld.exe' |
11122 shlibpath_var=LIBPATH |
11592 shlibpath_var=BEGINLIBPATH |
11593 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
11594 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
11595 postinstall_cmds='base_file=`basename \$file`~ |
|
11596 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
|
11597 dldir=$destdir/`dirname \$dlpath`~ |
|
11598 test -d \$dldir || mkdir -p \$dldir~ |
|
11599 $install_prog $dir/$dlname \$dldir/$dlname~ |
|
11600 chmod a+x \$dldir/$dlname~ |
|
11601 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
|
11602 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
|
11603 fi' |
|
11604 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
|
11605 dlpath=$dir/\$dldll~ |
|
11606 $RM \$dlpath' |
|
11123 ;; |
11607 ;; |
11124 |
11608 |
11125 osf3* | osf4* | osf5*) |
11609 osf3* | osf4* | osf5*) |
11126 version_type=osf |
11610 version_type=osf |
11127 need_lib_prefix=no |
11611 need_lib_prefix=no |
11128 need_version=no |
11612 need_version=no |
11129 soname_spec='${libname}${release}${shared_ext}$major' |
11613 soname_spec='$libname$release$shared_ext$major' |
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11614 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11131 shlibpath_var=LD_LIBRARY_PATH |
11615 shlibpath_var=LD_LIBRARY_PATH |
11132 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
11616 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
11133 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
11617 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11134 ;; |
11618 ;; |
11135 |
11619 |
11136 rdos*) |
11620 rdos*) |
11137 dynamic_linker=no |
11621 dynamic_linker=no |
11138 ;; |
11622 ;; |
11139 |
11623 |
11140 solaris*) |
11624 solaris*) |
11141 version_type=linux # correct to gnu/linux during the next big refactor |
11625 version_type=linux # correct to gnu/linux during the next big refactor |
11142 need_lib_prefix=no |
11626 need_lib_prefix=no |
11143 need_version=no |
11627 need_version=no |
11144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11628 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11145 soname_spec='${libname}${release}${shared_ext}$major' |
11629 soname_spec='$libname$release$shared_ext$major' |
11146 shlibpath_var=LD_LIBRARY_PATH |
11630 shlibpath_var=LD_LIBRARY_PATH |
11147 shlibpath_overrides_runpath=yes |
11631 shlibpath_overrides_runpath=yes |
11148 hardcode_into_libs=yes |
11632 hardcode_into_libs=yes |
11149 # ldd complains unless libraries are executable |
11633 # ldd complains unless libraries are executable |
11150 postinstall_cmds='chmod +x $lib' |
11634 postinstall_cmds='chmod +x $lib' |
11151 ;; |
11635 ;; |
11152 |
11636 |
11153 sunos4*) |
11637 sunos4*) |
11154 version_type=sunos |
11638 version_type=sunos |
11155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11639 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
11156 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
11640 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
11157 shlibpath_var=LD_LIBRARY_PATH |
11641 shlibpath_var=LD_LIBRARY_PATH |
11158 shlibpath_overrides_runpath=yes |
11642 shlibpath_overrides_runpath=yes |
11159 if test "$with_gnu_ld" = yes; then |
11643 if test yes = "$with_gnu_ld"; then |
11160 need_lib_prefix=no |
11644 need_lib_prefix=no |
11161 fi |
11645 fi |
11162 need_version=yes |
11646 need_version=yes |
11163 ;; |
11647 ;; |
11164 |
11648 |
11165 sysv4 | sysv4.3*) |
11649 sysv4 | sysv4.3*) |
11166 version_type=linux # correct to gnu/linux during the next big refactor |
11650 version_type=linux # correct to gnu/linux during the next big refactor |
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11651 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11168 soname_spec='${libname}${release}${shared_ext}$major' |
11652 soname_spec='$libname$release$shared_ext$major' |
11169 shlibpath_var=LD_LIBRARY_PATH |
11653 shlibpath_var=LD_LIBRARY_PATH |
11170 case $host_vendor in |
11654 case $host_vendor in |
11171 sni) |
11655 sni) |
11172 shlibpath_overrides_runpath=no |
11656 shlibpath_overrides_runpath=no |
11173 need_lib_prefix=no |
11657 need_lib_prefix=no |
11184 ;; |
11668 ;; |
11185 esac |
11669 esac |
11186 ;; |
11670 ;; |
11187 |
11671 |
11188 sysv4*MP*) |
11672 sysv4*MP*) |
11189 if test -d /usr/nec ;then |
11673 if test -d /usr/nec; then |
11190 version_type=linux # correct to gnu/linux during the next big refactor |
11674 version_type=linux # correct to gnu/linux during the next big refactor |
11191 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
11675 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
11192 soname_spec='$libname${shared_ext}.$major' |
11676 soname_spec='$libname$shared_ext.$major' |
11193 shlibpath_var=LD_LIBRARY_PATH |
11677 shlibpath_var=LD_LIBRARY_PATH |
11194 fi |
11678 fi |
11195 ;; |
11679 ;; |
11196 |
11680 |
11197 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
11681 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
11198 version_type=freebsd-elf |
11682 version_type=sco |
11199 need_lib_prefix=no |
11683 need_lib_prefix=no |
11200 need_version=no |
11684 need_version=no |
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
11685 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
11202 soname_spec='${libname}${release}${shared_ext}$major' |
11686 soname_spec='$libname$release$shared_ext$major' |
11203 shlibpath_var=LD_LIBRARY_PATH |
11687 shlibpath_var=LD_LIBRARY_PATH |
11204 shlibpath_overrides_runpath=yes |
11688 shlibpath_overrides_runpath=yes |
11205 hardcode_into_libs=yes |
11689 hardcode_into_libs=yes |
11206 if test "$with_gnu_ld" = yes; then |
11690 if test yes = "$with_gnu_ld"; then |
11207 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
11691 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
11208 else |
11692 else |
11209 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
11693 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
11210 case $host_os in |
11694 case $host_os in |
11211 sco3.2v5*) |
11695 sco3.2v5*) |
11219 tpf*) |
11703 tpf*) |
11220 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
11704 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
11221 version_type=linux # correct to gnu/linux during the next big refactor |
11705 version_type=linux # correct to gnu/linux during the next big refactor |
11222 need_lib_prefix=no |
11706 need_lib_prefix=no |
11223 need_version=no |
11707 need_version=no |
11224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11708 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11225 shlibpath_var=LD_LIBRARY_PATH |
11709 shlibpath_var=LD_LIBRARY_PATH |
11226 shlibpath_overrides_runpath=no |
11710 shlibpath_overrides_runpath=no |
11227 hardcode_into_libs=yes |
11711 hardcode_into_libs=yes |
11228 ;; |
11712 ;; |
11229 |
11713 |
11230 uts4*) |
11714 uts4*) |
11231 version_type=linux # correct to gnu/linux during the next big refactor |
11715 version_type=linux # correct to gnu/linux during the next big refactor |
11232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11716 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
11233 soname_spec='${libname}${release}${shared_ext}$major' |
11717 soname_spec='$libname$release$shared_ext$major' |
11234 shlibpath_var=LD_LIBRARY_PATH |
11718 shlibpath_var=LD_LIBRARY_PATH |
11235 ;; |
11719 ;; |
11236 |
11720 |
11237 *) |
11721 *) |
11238 dynamic_linker=no |
11722 dynamic_linker=no |
11239 ;; |
11723 ;; |
11240 esac |
11724 esac |
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
11242 $as_echo "$dynamic_linker" >&6; } |
11726 $as_echo "$dynamic_linker" >&6; } |
11243 test "$dynamic_linker" = no && can_build_shared=no |
11727 test no = "$dynamic_linker" && can_build_shared=no |
11244 |
11728 |
11245 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
11729 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
11246 if test "$GCC" = yes; then |
11730 if test yes = "$GCC"; then |
11247 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
11731 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
11248 fi |
11732 fi |
11249 |
11733 |
11250 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
11734 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
11251 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
11735 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
11252 fi |
11736 fi |
11253 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
11737 |
11254 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
11738 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
11255 fi |
11739 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
11740 fi |
|
11741 |
|
11742 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
|
11743 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
|
11744 |
|
11745 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
|
11746 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
|
11747 |
|
11748 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
|
11749 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
|
11750 |
|
11751 |
|
11752 |
|
11753 |
|
11754 |
|
11256 |
11755 |
11257 |
11756 |
11258 |
11757 |
11259 |
11758 |
11260 |
11759 |
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11349 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
11848 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
11350 hardcode_action= |
11849 hardcode_action= |
11351 if test -n "$hardcode_libdir_flag_spec" || |
11850 if test -n "$hardcode_libdir_flag_spec" || |
11352 test -n "$runpath_var" || |
11851 test -n "$runpath_var" || |
11353 test "X$hardcode_automatic" = "Xyes" ; then |
11852 test yes = "$hardcode_automatic"; then |
11354 |
11853 |
11355 # We can hardcode non-existent directories. |
11854 # We can hardcode non-existent directories. |
11356 if test "$hardcode_direct" != no && |
11855 if test no != "$hardcode_direct" && |
11357 # If the only mechanism to avoid hardcoding is shlibpath_var, we |
11856 # If the only mechanism to avoid hardcoding is shlibpath_var, we |
11358 # have to relink, otherwise we might link with an installed library |
11857 # have to relink, otherwise we might link with an installed library |
11359 # when we should be linking with a yet-to-be-installed one |
11858 # when we should be linking with a yet-to-be-installed one |
11360 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
11859 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
11361 test "$hardcode_minus_L" != no; then |
11860 test no != "$hardcode_minus_L"; then |
11362 # Linking always hardcodes the temporary library directory. |
11861 # Linking always hardcodes the temporary library directory. |
11363 hardcode_action=relink |
11862 hardcode_action=relink |
11364 else |
11863 else |
11365 # We can link without hardcoding, and we can hardcode nonexisting dirs. |
11864 # We can link without hardcoding, and we can hardcode nonexisting dirs. |
11366 hardcode_action=immediate |
11865 hardcode_action=immediate |
11371 hardcode_action=unsupported |
11870 hardcode_action=unsupported |
11372 fi |
11871 fi |
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
11374 $as_echo "$hardcode_action" >&6; } |
11873 $as_echo "$hardcode_action" >&6; } |
11375 |
11874 |
11376 if test "$hardcode_action" = relink || |
11875 if test relink = "$hardcode_action" || |
11377 test "$inherit_rpath" = yes; then |
11876 test yes = "$inherit_rpath"; then |
11378 # Fast installation is not supported |
11877 # Fast installation is not supported |
11379 enable_fast_install=no |
11878 enable_fast_install=no |
11380 elif test "$shlibpath_overrides_runpath" = yes || |
11879 elif test yes = "$shlibpath_overrides_runpath" || |
11381 test "$enable_shared" = no; then |
11880 test no = "$enable_shared"; then |
11382 # Fast installation is not necessary |
11881 # Fast installation is not necessary |
11383 enable_fast_install=needless |
11882 enable_fast_install=needless |
11384 fi |
11883 fi |
11385 |
11884 |
11386 |
11885 |
11387 |
11886 |
11388 |
11887 |
11389 |
11888 |
11390 |
11889 |
11391 if test "x$enable_dlopen" != xyes; then |
11890 if test yes != "$enable_dlopen"; then |
11392 enable_dlopen=unknown |
11891 enable_dlopen=unknown |
11393 enable_dlopen_self=unknown |
11892 enable_dlopen_self=unknown |
11394 enable_dlopen_self_static=unknown |
11893 enable_dlopen_self_static=unknown |
11395 else |
11894 else |
11396 lt_cv_dlopen=no |
11895 lt_cv_dlopen=no |
11397 lt_cv_dlopen_libs= |
11896 lt_cv_dlopen_libs= |
11398 |
11897 |
11399 case $host_os in |
11898 case $host_os in |
11400 beos*) |
11899 beos*) |
11401 lt_cv_dlopen="load_add_on" |
11900 lt_cv_dlopen=load_add_on |
11402 lt_cv_dlopen_libs= |
11901 lt_cv_dlopen_libs= |
11403 lt_cv_dlopen_self=yes |
11902 lt_cv_dlopen_self=yes |
11404 ;; |
11903 ;; |
11405 |
11904 |
11406 mingw* | pw32* | cegcc*) |
11905 mingw* | pw32* | cegcc*) |
11407 lt_cv_dlopen="LoadLibrary" |
11906 lt_cv_dlopen=LoadLibrary |
11408 lt_cv_dlopen_libs= |
11907 lt_cv_dlopen_libs= |
11409 ;; |
11908 ;; |
11410 |
11909 |
11411 cygwin*) |
11910 cygwin*) |
11412 lt_cv_dlopen="dlopen" |
11911 lt_cv_dlopen=dlopen |
11413 lt_cv_dlopen_libs= |
11912 lt_cv_dlopen_libs= |
11414 ;; |
11913 ;; |
11415 |
11914 |
11416 darwin*) |
11915 darwin*) |
11417 # if libdl is installed we need to link against it |
11916 # if libdl is installed we need to link against it |
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11419 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
11918 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
11420 if ${ac_cv_lib_dl_dlopen+:} false; then : |
11919 if ${ac_cv_lib_dl_dlopen+:} false; then : |
11421 $as_echo_n "(cached) " >&6 |
11920 $as_echo_n "(cached) " >&6 |
11422 else |
11921 else |
11450 LIBS=$ac_check_lib_save_LIBS |
11949 LIBS=$ac_check_lib_save_LIBS |
11451 fi |
11950 fi |
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11453 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11952 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11454 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11953 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11455 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11954 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
11456 else |
11955 else |
11457 |
11956 |
11458 lt_cv_dlopen="dyld" |
11957 lt_cv_dlopen=dyld |
11459 lt_cv_dlopen_libs= |
11958 lt_cv_dlopen_libs= |
11460 lt_cv_dlopen_self=yes |
11959 lt_cv_dlopen_self=yes |
11461 |
11960 |
11462 fi |
11961 fi |
11463 |
11962 |
11963 ;; |
|
11964 |
|
11965 tpf*) |
|
11966 # Don't try to run any link tests for TPF. We know it's impossible |
|
11967 # because TPF is a cross-compiler, and we know how we open DSOs. |
|
11968 lt_cv_dlopen=dlopen |
|
11969 lt_cv_dlopen_libs= |
|
11970 lt_cv_dlopen_self=no |
|
11464 ;; |
11971 ;; |
11465 |
11972 |
11466 *) |
11973 *) |
11467 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11974 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11468 if test "x$ac_cv_func_shl_load" = xyes; then : |
11975 if test "x$ac_cv_func_shl_load" = xyes; then : |
11469 lt_cv_dlopen="shl_load" |
11976 lt_cv_dlopen=shl_load |
11470 else |
11977 else |
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11472 $as_echo_n "checking for shl_load in -ldld... " >&6; } |
11979 $as_echo_n "checking for shl_load in -ldld... " >&6; } |
11473 if ${ac_cv_lib_dld_shl_load+:} false; then : |
11980 if ${ac_cv_lib_dld_shl_load+:} false; then : |
11474 $as_echo_n "(cached) " >&6 |
11981 $as_echo_n "(cached) " >&6 |
11503 LIBS=$ac_check_lib_save_LIBS |
12010 LIBS=$ac_check_lib_save_LIBS |
11504 fi |
12011 fi |
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
11506 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
12013 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
11507 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
12014 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
11508 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
12015 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
11509 else |
12016 else |
11510 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
12017 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
11511 if test "x$ac_cv_func_dlopen" = xyes; then : |
12018 if test "x$ac_cv_func_dlopen" = xyes; then : |
11512 lt_cv_dlopen="dlopen" |
12019 lt_cv_dlopen=dlopen |
11513 else |
12020 else |
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11515 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
12022 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
11516 if ${ac_cv_lib_dl_dlopen+:} false; then : |
12023 if ${ac_cv_lib_dl_dlopen+:} false; then : |
11517 $as_echo_n "(cached) " >&6 |
12024 $as_echo_n "(cached) " >&6 |
11546 LIBS=$ac_check_lib_save_LIBS |
12053 LIBS=$ac_check_lib_save_LIBS |
11547 fi |
12054 fi |
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11549 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
12056 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11550 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
12057 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11551 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
12058 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
11552 else |
12059 else |
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
11554 $as_echo_n "checking for dlopen in -lsvld... " >&6; } |
12061 $as_echo_n "checking for dlopen in -lsvld... " >&6; } |
11555 if ${ac_cv_lib_svld_dlopen+:} false; then : |
12062 if ${ac_cv_lib_svld_dlopen+:} false; then : |
11556 $as_echo_n "(cached) " >&6 |
12063 $as_echo_n "(cached) " >&6 |
11585 LIBS=$ac_check_lib_save_LIBS |
12092 LIBS=$ac_check_lib_save_LIBS |
11586 fi |
12093 fi |
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
11588 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
12095 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
11589 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
12096 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
11590 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
12097 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
11591 else |
12098 else |
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
11593 $as_echo_n "checking for dld_link in -ldld... " >&6; } |
12100 $as_echo_n "checking for dld_link in -ldld... " >&6; } |
11594 if ${ac_cv_lib_dld_dld_link+:} false; then : |
12101 if ${ac_cv_lib_dld_dld_link+:} false; then : |
11595 $as_echo_n "(cached) " >&6 |
12102 $as_echo_n "(cached) " >&6 |
11624 LIBS=$ac_check_lib_save_LIBS |
12131 LIBS=$ac_check_lib_save_LIBS |
11625 fi |
12132 fi |
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
11627 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
12134 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
11628 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
12135 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
11629 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
12136 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
11630 fi |
12137 fi |
11631 |
12138 |
11632 |
12139 |
11633 fi |
12140 fi |
11634 |
12141 |
11645 fi |
12152 fi |
11646 |
12153 |
11647 ;; |
12154 ;; |
11648 esac |
12155 esac |
11649 |
12156 |
11650 if test "x$lt_cv_dlopen" != xno; then |
12157 if test no = "$lt_cv_dlopen"; then |
12158 enable_dlopen=no |
|
12159 else |
|
11651 enable_dlopen=yes |
12160 enable_dlopen=yes |
11652 else |
|
11653 enable_dlopen=no |
|
11654 fi |
12161 fi |
11655 |
12162 |
11656 case $lt_cv_dlopen in |
12163 case $lt_cv_dlopen in |
11657 dlopen) |
12164 dlopen) |
11658 save_CPPFLAGS="$CPPFLAGS" |
12165 save_CPPFLAGS=$CPPFLAGS |
11659 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
12166 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
11660 |
12167 |
11661 save_LDFLAGS="$LDFLAGS" |
12168 save_LDFLAGS=$LDFLAGS |
11662 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
12169 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
11663 |
12170 |
11664 save_LIBS="$LIBS" |
12171 save_LIBS=$LIBS |
11665 LIBS="$lt_cv_dlopen_libs $LIBS" |
12172 LIBS="$lt_cv_dlopen_libs $LIBS" |
11666 |
12173 |
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
11668 $as_echo_n "checking whether a program can dlopen itself... " >&6; } |
12175 $as_echo_n "checking whether a program can dlopen itself... " >&6; } |
11669 if ${lt_cv_dlopen_self+:} false; then : |
12176 if ${lt_cv_dlopen_self+:} false; then : |
11670 $as_echo_n "(cached) " >&6 |
12177 $as_echo_n "(cached) " >&6 |
11671 else |
12178 else |
11672 if test "$cross_compiling" = yes; then : |
12179 if test yes = "$cross_compiling"; then : |
11673 lt_cv_dlopen_self=cross |
12180 lt_cv_dlopen_self=cross |
11674 else |
12181 else |
11675 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12182 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11676 lt_status=$lt_dlunknown |
12183 lt_status=$lt_dlunknown |
11677 cat > conftest.$ac_ext <<_LT_EOF |
12184 cat > conftest.$ac_ext <<_LT_EOF |
11714 # endif |
12221 # endif |
11715 # endif |
12222 # endif |
11716 # endif |
12223 # endif |
11717 #endif |
12224 #endif |
11718 |
12225 |
11719 /* When -fvisbility=hidden is used, assume the code has been annotated |
12226 /* When -fvisibility=hidden is used, assume the code has been annotated |
11720 correspondingly for the symbols needed. */ |
12227 correspondingly for the symbols needed. */ |
11721 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12228 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11722 int fnord () __attribute__((visibility("default"))); |
12229 int fnord () __attribute__((visibility("default"))); |
11723 #endif |
12230 #endif |
11724 |
12231 |
11725 int fnord () { return 42; } |
12232 int fnord () { return 42; } |
11726 int main () |
12233 int main () |
11746 _LT_EOF |
12253 _LT_EOF |
11747 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
12254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
11748 (eval $ac_link) 2>&5 |
12255 (eval $ac_link) 2>&5 |
11749 ac_status=$? |
12256 ac_status=$? |
11750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11751 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
12258 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
11752 (./conftest; exit; ) >&5 2>/dev/null |
12259 (./conftest; exit; ) >&5 2>/dev/null |
11753 lt_status=$? |
12260 lt_status=$? |
11754 case x$lt_status in |
12261 case x$lt_status in |
11755 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
12262 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
11756 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
12263 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
11766 |
12273 |
11767 fi |
12274 fi |
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
11769 $as_echo "$lt_cv_dlopen_self" >&6; } |
12276 $as_echo "$lt_cv_dlopen_self" >&6; } |
11770 |
12277 |
11771 if test "x$lt_cv_dlopen_self" = xyes; then |
12278 if test yes = "$lt_cv_dlopen_self"; then |
11772 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
12279 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
11774 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
12281 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
11775 if ${lt_cv_dlopen_self_static+:} false; then : |
12282 if ${lt_cv_dlopen_self_static+:} false; then : |
11776 $as_echo_n "(cached) " >&6 |
12283 $as_echo_n "(cached) " >&6 |
11777 else |
12284 else |
11778 if test "$cross_compiling" = yes; then : |
12285 if test yes = "$cross_compiling"; then : |
11779 lt_cv_dlopen_self_static=cross |
12286 lt_cv_dlopen_self_static=cross |
11780 else |
12287 else |
11781 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12288 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11782 lt_status=$lt_dlunknown |
12289 lt_status=$lt_dlunknown |
11783 cat > conftest.$ac_ext <<_LT_EOF |
12290 cat > conftest.$ac_ext <<_LT_EOF |
11820 # endif |
12327 # endif |
11821 # endif |
12328 # endif |
11822 # endif |
12329 # endif |
11823 #endif |
12330 #endif |
11824 |
12331 |
11825 /* When -fvisbility=hidden is used, assume the code has been annotated |
12332 /* When -fvisibility=hidden is used, assume the code has been annotated |
11826 correspondingly for the symbols needed. */ |
12333 correspondingly for the symbols needed. */ |
11827 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12334 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11828 int fnord () __attribute__((visibility("default"))); |
12335 int fnord () __attribute__((visibility("default"))); |
11829 #endif |
12336 #endif |
11830 |
12337 |
11831 int fnord () { return 42; } |
12338 int fnord () { return 42; } |
11832 int main () |
12339 int main () |
11852 _LT_EOF |
12359 _LT_EOF |
11853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
12360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
11854 (eval $ac_link) 2>&5 |
12361 (eval $ac_link) 2>&5 |
11855 ac_status=$? |
12362 ac_status=$? |
11856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11857 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
12364 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
11858 (./conftest; exit; ) >&5 2>/dev/null |
12365 (./conftest; exit; ) >&5 2>/dev/null |
11859 lt_status=$? |
12366 lt_status=$? |
11860 case x$lt_status in |
12367 case x$lt_status in |
11861 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
12368 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
11862 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
12369 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
11873 fi |
12380 fi |
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
11875 $as_echo "$lt_cv_dlopen_self_static" >&6; } |
12382 $as_echo "$lt_cv_dlopen_self_static" >&6; } |
11876 fi |
12383 fi |
11877 |
12384 |
11878 CPPFLAGS="$save_CPPFLAGS" |
12385 CPPFLAGS=$save_CPPFLAGS |
11879 LDFLAGS="$save_LDFLAGS" |
12386 LDFLAGS=$save_LDFLAGS |
11880 LIBS="$save_LIBS" |
12387 LIBS=$save_LIBS |
11881 ;; |
12388 ;; |
11882 esac |
12389 esac |
11883 |
12390 |
11884 case $lt_cv_dlopen_self in |
12391 case $lt_cv_dlopen_self in |
11885 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
12392 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
11919 $as_echo "yes" >&6; } |
12426 $as_echo "yes" >&6; } |
11920 else |
12427 else |
11921 # FIXME - insert some real tests, host_os isn't really good enough |
12428 # FIXME - insert some real tests, host_os isn't really good enough |
11922 case $host_os in |
12429 case $host_os in |
11923 darwin*) |
12430 darwin*) |
11924 if test -n "$STRIP" ; then |
12431 if test -n "$STRIP"; then |
11925 striplib="$STRIP -x" |
12432 striplib="$STRIP -x" |
11926 old_striplib="$STRIP -S" |
12433 old_striplib="$STRIP -S" |
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11928 $as_echo "yes" >&6; } |
12435 $as_echo "yes" >&6; } |
11929 else |
12436 else |
11947 |
12454 |
11948 |
12455 |
11949 |
12456 |
11950 |
12457 |
11951 |
12458 |
11952 # Report which library types will actually be built |
12459 # Report what library types will actually be built |
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
11954 $as_echo_n "checking if libtool supports shared libraries... " >&6; } |
12461 $as_echo_n "checking if libtool supports shared libraries... " >&6; } |
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
11956 $as_echo "$can_build_shared" >&6; } |
12463 $as_echo "$can_build_shared" >&6; } |
11957 |
12464 |
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
11959 $as_echo_n "checking whether to build shared libraries... " >&6; } |
12466 $as_echo_n "checking whether to build shared libraries... " >&6; } |
11960 test "$can_build_shared" = "no" && enable_shared=no |
12467 test no = "$can_build_shared" && enable_shared=no |
11961 |
12468 |
11962 # On AIX, shared libraries and static libraries use the same namespace, and |
12469 # On AIX, shared libraries and static libraries use the same namespace, and |
11963 # are all built from PIC. |
12470 # are all built from PIC. |
11964 case $host_os in |
12471 case $host_os in |
11965 aix3*) |
12472 aix3*) |
11966 test "$enable_shared" = yes && enable_static=no |
12473 test yes = "$enable_shared" && enable_static=no |
11967 if test -n "$RANLIB"; then |
12474 if test -n "$RANLIB"; then |
11968 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
12475 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
11969 postinstall_cmds='$RANLIB $lib' |
12476 postinstall_cmds='$RANLIB $lib' |
11970 fi |
12477 fi |
11971 ;; |
12478 ;; |
11972 |
12479 |
11973 aix[4-9]*) |
12480 aix[4-9]*) |
11974 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
12481 if test ia64 != "$host_cpu"; then |
11975 test "$enable_shared" = yes && enable_static=no |
12482 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
12483 yes,aix,yes) ;; # shared object as lib.so file only |
|
12484 yes,svr4,*) ;; # shared object as lib.so archive member only |
|
12485 yes,*) enable_static=no ;; # shared object in lib.a archive as well |
|
12486 esac |
|
11976 fi |
12487 fi |
11977 ;; |
12488 ;; |
11978 esac |
12489 esac |
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
11980 $as_echo "$enable_shared" >&6; } |
12491 $as_echo "$enable_shared" >&6; } |
11981 |
12492 |
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
11983 $as_echo_n "checking whether to build static libraries... " >&6; } |
12494 $as_echo_n "checking whether to build static libraries... " >&6; } |
11984 # Make sure either enable_shared or enable_static is yes. |
12495 # Make sure either enable_shared or enable_static is yes. |
11985 test "$enable_shared" = yes || enable_static=yes |
12496 test yes = "$enable_shared" || enable_static=yes |
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
11987 $as_echo "$enable_static" >&6; } |
12498 $as_echo "$enable_static" >&6; } |
11988 |
12499 |
11989 |
12500 |
11990 |
12501 |
11994 ac_cpp='$CPP $CPPFLAGS' |
12505 ac_cpp='$CPP $CPPFLAGS' |
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12508 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
11998 |
12509 |
11999 CC="$lt_save_CC" |
12510 CC=$lt_save_CC |
12000 |
12511 |
12001 |
12512 |
12002 |
12513 |
12003 |
12514 |
12004 |
12515 |
12027 yes) enable_shared=yes ;; |
12538 yes) enable_shared=yes ;; |
12028 no) enable_shared=no ;; |
12539 no) enable_shared=no ;; |
12029 *) |
12540 *) |
12030 enable_shared=no |
12541 enable_shared=no |
12031 # Look at the argument we got. We use all the common list separators. |
12542 # Look at the argument we got. We use all the common list separators. |
12032 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
12543 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
12033 for pkg in $enableval; do |
12544 for pkg in $enableval; do |
12034 IFS="$lt_save_ifs" |
12545 IFS=$lt_save_ifs |
12035 if test "X$pkg" = "X$p"; then |
12546 if test "X$pkg" = "X$p"; then |
12036 enable_shared=yes |
12547 enable_shared=yes |
12037 fi |
12548 fi |
12038 done |
12549 done |
12039 IFS="$lt_save_ifs" |
12550 IFS=$lt_save_ifs |
12040 ;; |
12551 ;; |
12041 esac |
12552 esac |
12042 else |
12553 else |
12043 enable_shared=yes |
12554 enable_shared=yes |
12044 fi |
12555 fi |
13378 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
13889 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
13379 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
13890 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
13380 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
13891 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
13381 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
13892 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
13382 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
13893 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
13894 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
|
13383 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
13895 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
13384 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
13896 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
13385 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
13897 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
13386 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
13898 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
13387 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
13899 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
13425 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
13937 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
13426 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
13938 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
13427 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
13939 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
13428 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
13940 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
13429 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
13941 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
13942 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
|
13430 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
13943 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
13431 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"`' |
13944 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"`' |
13945 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
|
13432 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
13946 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
13433 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
13947 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
13948 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
|
13434 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
13949 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
13435 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
13950 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
13436 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
13951 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
13437 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
13952 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
13438 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
13953 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
13493 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
14008 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
13494 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
14009 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
13495 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
14010 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
13496 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
14011 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
13497 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
14012 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
13498 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
14013 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
14014 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
|
13499 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
14015 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
13500 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
14016 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
13501 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
14017 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
13502 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
14018 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
13503 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
14019 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
13545 CC \ |
14061 CC \ |
13546 CFLAGS \ |
14062 CFLAGS \ |
13547 compiler \ |
14063 compiler \ |
13548 lt_cv_sys_global_symbol_pipe \ |
14064 lt_cv_sys_global_symbol_pipe \ |
13549 lt_cv_sys_global_symbol_to_cdecl \ |
14065 lt_cv_sys_global_symbol_to_cdecl \ |
14066 lt_cv_sys_global_symbol_to_import \ |
|
13550 lt_cv_sys_global_symbol_to_c_name_address \ |
14067 lt_cv_sys_global_symbol_to_c_name_address \ |
13551 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
14068 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
14069 lt_cv_nm_interface \ |
|
13552 nm_file_list_spec \ |
14070 nm_file_list_spec \ |
14071 lt_cv_truncate_bin \ |
|
13553 lt_prog_compiler_no_builtin_flag \ |
14072 lt_prog_compiler_no_builtin_flag \ |
13554 lt_prog_compiler_pic \ |
14073 lt_prog_compiler_pic \ |
13555 lt_prog_compiler_wl \ |
14074 lt_prog_compiler_wl \ |
13556 lt_prog_compiler_static \ |
14075 lt_prog_compiler_static \ |
13557 lt_cv_prog_compiler_c_o \ |
14076 lt_cv_prog_compiler_c_o \ |
13582 finish_eval \ |
14101 finish_eval \ |
13583 old_striplib \ |
14102 old_striplib \ |
13584 striplib; do |
14103 striplib; do |
13585 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
14104 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
13586 *[\\\\\\\`\\"\\\$]*) |
14105 *[\\\\\\\`\\"\\\$]*) |
13587 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
14106 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
13588 ;; |
14107 ;; |
13589 *) |
14108 *) |
13590 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
14109 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
13591 ;; |
14110 ;; |
13592 esac |
14111 esac |
13609 postlink_cmds \ |
14128 postlink_cmds \ |
13610 postinstall_cmds \ |
14129 postinstall_cmds \ |
13611 postuninstall_cmds \ |
14130 postuninstall_cmds \ |
13612 finish_cmds \ |
14131 finish_cmds \ |
13613 sys_lib_search_path_spec \ |
14132 sys_lib_search_path_spec \ |
13614 sys_lib_dlsearch_path_spec; do |
14133 configure_time_dlsearch_path \ |
14134 configure_time_lt_sys_library_path; do |
|
13615 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
14135 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
13616 *[\\\\\\\`\\"\\\$]*) |
14136 *[\\\\\\\`\\"\\\$]*) |
13617 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
14137 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
13618 ;; |
14138 ;; |
13619 *) |
14139 *) |
13620 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
14140 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
13621 ;; |
14141 ;; |
13622 esac |
14142 esac |
13623 done |
14143 done |
13624 |
14144 |
13625 ac_aux_dir='$ac_aux_dir' |
14145 ac_aux_dir='$ac_aux_dir' |
13626 xsi_shell='$xsi_shell' |
14146 |
13627 lt_shell_append='$lt_shell_append' |
14147 # See if we are running on zsh, and set the options that allow our |
13628 |
|
13629 # See if we are running on zsh, and set the options which allow our |
|
13630 # commands through without removal of \ escapes INIT. |
14148 # commands through without removal of \ escapes INIT. |
13631 if test -n "\${ZSH_VERSION+set}" ; then |
14149 if test -n "\${ZSH_VERSION+set}"; then |
13632 setopt NO_GLOB_SUBST |
14150 setopt NO_GLOB_SUBST |
13633 fi |
14151 fi |
13634 |
14152 |
13635 |
14153 |
13636 PACKAGE='$PACKAGE' |
14154 PACKAGE='$PACKAGE' |
13637 VERSION='$VERSION' |
14155 VERSION='$VERSION' |
13638 TIMESTAMP='$TIMESTAMP' |
|
13639 RM='$RM' |
14156 RM='$RM' |
13640 ofile='$ofile' |
14157 ofile='$ofile' |
13641 |
14158 |
13642 |
14159 |
13643 |
14160 |
14350 done |
14867 done |
14351 } |
14868 } |
14352 ;; |
14869 ;; |
14353 "libtool":C) |
14870 "libtool":C) |
14354 |
14871 |
14355 # See if we are running on zsh, and set the options which allow our |
14872 # See if we are running on zsh, and set the options that allow our |
14356 # commands through without removal of \ escapes. |
14873 # commands through without removal of \ escapes. |
14357 if test -n "${ZSH_VERSION+set}" ; then |
14874 if test -n "${ZSH_VERSION+set}"; then |
14358 setopt NO_GLOB_SUBST |
14875 setopt NO_GLOB_SUBST |
14359 fi |
14876 fi |
14360 |
14877 |
14361 cfgfile="${ofile}T" |
14878 cfgfile=${ofile}T |
14362 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
14879 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
14363 $RM "$cfgfile" |
14880 $RM "$cfgfile" |
14364 |
14881 |
14365 cat <<_LT_EOF >> "$cfgfile" |
14882 cat <<_LT_EOF >> "$cfgfile" |
14366 #! $SHELL |
14883 #! $SHELL |
14367 |
14884 # Generated automatically by $as_me ($PACKAGE) $VERSION |
14368 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
14369 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
|
14370 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
14885 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
14371 # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
14886 # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
14887 |
|
14888 # Provide generalized library-building support services. |
|
14889 # Written by Gordon Matzigkeit, 1996 |
|
14890 |
|
14891 # Copyright (C) 2014 Free Software Foundation, Inc. |
|
14892 # This is free software; see the source for copying conditions. There is NO |
|
14893 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
14894 |
|
14895 # GNU Libtool is free software; you can redistribute it and/or modify |
|
14896 # it under the terms of the GNU General Public License as published by |
|
14897 # the Free Software Foundation; either version 2 of of the License, or |
|
14898 # (at your option) any later version. |
|
14372 # |
14899 # |
14373 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
14900 # As a special exception to the GNU General Public License, if you |
14374 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
14901 # distribute this file as part of a program or library that is built |
14375 # Foundation, Inc. |
14902 # using GNU Libtool, you may include this file under the same |
14376 # Written by Gordon Matzigkeit, 1996 |
14903 # distribution terms that you use for the rest of that program. |
14377 # |
14904 # |
14378 # This file is part of GNU Libtool. |
14905 # GNU Libtool is distributed in the hope that it will be useful, but |
14379 # |
14906 # WITHOUT ANY WARRANTY; without even the implied warranty of |
14380 # GNU Libtool is free software; you can redistribute it and/or |
|
14381 # modify it under the terms of the GNU General Public License as |
|
14382 # published by the Free Software Foundation; either version 2 of |
|
14383 # the License, or (at your option) any later version. |
|
14384 # |
|
14385 # As a special exception to the GNU General Public License, |
|
14386 # if you distribute this file as part of a program or library that |
|
14387 # is built using GNU Libtool, you may include this file under the |
|
14388 # same distribution terms that you use for the rest of that program. |
|
14389 # |
|
14390 # GNU Libtool is distributed in the hope that it will be useful, |
|
14391 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14392 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14907 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14393 # GNU General Public License for more details. |
14908 # GNU General Public License for more details. |
14394 # |
14909 # |
14395 # You should have received a copy of the GNU General Public License |
14910 # You should have received a copy of the GNU General Public License |
14396 # along with GNU Libtool; see the file COPYING. If not, a copy |
14911 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
14397 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
|
14398 # obtained by writing to the Free Software Foundation, Inc., |
|
14399 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
14400 |
14912 |
14401 |
14913 |
14402 # The names of the tagged configurations supported by this script. |
14914 # The names of the tagged configurations supported by this script. |
14403 available_tags="" |
14915 available_tags='' |
14916 |
|
14917 # Configured defaults for sys_lib_dlsearch_path munging. |
|
14918 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
|
14404 |
14919 |
14405 # ### BEGIN LIBTOOL CONFIG |
14920 # ### BEGIN LIBTOOL CONFIG |
14406 |
14921 |
14407 # Assembler program. |
14922 # Assembler program. |
14408 AS=$lt_AS |
14923 AS=$lt_AS |
14426 # What type of objects to build. |
14941 # What type of objects to build. |
14427 pic_mode=$pic_mode |
14942 pic_mode=$pic_mode |
14428 |
14943 |
14429 # Whether or not to optimize for fast installation. |
14944 # Whether or not to optimize for fast installation. |
14430 fast_install=$enable_fast_install |
14945 fast_install=$enable_fast_install |
14946 |
|
14947 # Shared archive member basename,for filename based shared library versioning on AIX. |
|
14948 shared_archive_member_spec=$shared_archive_member_spec |
|
14431 |
14949 |
14432 # Shell to use when invoking shell scripts. |
14950 # Shell to use when invoking shell scripts. |
14433 SHELL=$lt_SHELL |
14951 SHELL=$lt_SHELL |
14434 |
14952 |
14435 # An echo program that protects backslashes. |
14953 # An echo program that protects backslashes. |
14538 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
15056 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
14539 |
15057 |
14540 # Transform the output of nm in a proper C declaration. |
15058 # Transform the output of nm in a proper C declaration. |
14541 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
15059 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
14542 |
15060 |
15061 # Transform the output of nm into a list of symbols to manually relocate. |
|
15062 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
|
15063 |
|
14543 # Transform the output of nm in a C name address pair. |
15064 # Transform the output of nm in a C name address pair. |
14544 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
15065 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
14545 |
15066 |
14546 # Transform the output of nm in a C name address pair when lib prefix is needed. |
15067 # Transform the output of nm in a C name address pair when lib prefix is needed. |
14547 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
15068 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
14548 |
15069 |
15070 # The name lister interface. |
|
15071 nm_interface=$lt_lt_cv_nm_interface |
|
15072 |
|
14549 # Specify filename containing input files for \$NM. |
15073 # Specify filename containing input files for \$NM. |
14550 nm_file_list_spec=$lt_nm_file_list_spec |
15074 nm_file_list_spec=$lt_nm_file_list_spec |
14551 |
15075 |
14552 # The root where to search for dependent libraries,and in which our libraries should be installed. |
15076 # The root where to search for dependent libraries,and where our libraries should be installed. |
14553 lt_sysroot=$lt_sysroot |
15077 lt_sysroot=$lt_sysroot |
15078 |
|
15079 # Command to truncate a binary pipe. |
|
15080 lt_truncate_bin=$lt_lt_cv_truncate_bin |
|
14554 |
15081 |
14555 # The name of the directory that contains temporary libtool files. |
15082 # The name of the directory that contains temporary libtool files. |
14556 objdir=$objdir |
15083 objdir=$objdir |
14557 |
15084 |
14558 # Used to examine libraries when file_magic_cmd begins with "file". |
15085 # Used to examine libraries when file_magic_cmd begins with "file". |
14640 hardcode_into_libs=$hardcode_into_libs |
15167 hardcode_into_libs=$hardcode_into_libs |
14641 |
15168 |
14642 # Compile-time system search path for libraries. |
15169 # Compile-time system search path for libraries. |
14643 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
15170 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
14644 |
15171 |
14645 # Run-time system search path for libraries. |
15172 # Detected run-time system search path for libraries. |
14646 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
15173 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
15174 |
|
15175 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
|
15176 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
|
14647 |
15177 |
14648 # Whether dlopen is supported. |
15178 # Whether dlopen is supported. |
14649 dlopen_support=$enable_dlopen |
15179 dlopen_support=$enable_dlopen |
14650 |
15180 |
14651 # Whether dlopen of programs is supported. |
15181 # Whether dlopen of programs is supported. |
14734 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
15264 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
14735 |
15265 |
14736 # Whether we need a single "-rpath" flag with a separated argument. |
15266 # Whether we need a single "-rpath" flag with a separated argument. |
14737 hardcode_libdir_separator=$lt_hardcode_libdir_separator |
15267 hardcode_libdir_separator=$lt_hardcode_libdir_separator |
14738 |
15268 |
14739 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
15269 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
14740 # DIR into the resulting binary. |
15270 # DIR into the resulting binary. |
14741 hardcode_direct=$hardcode_direct |
15271 hardcode_direct=$hardcode_direct |
14742 |
15272 |
14743 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
15273 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
14744 # DIR into the resulting binary and the resulting library dependency is |
15274 # DIR into the resulting binary and the resulting library dependency is |
14745 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
15275 # "absolute",i.e impossible to change by setting \$shlibpath_var if the |
14746 # library is relocated. |
15276 # library is relocated. |
14747 hardcode_direct_absolute=$hardcode_direct_absolute |
15277 hardcode_direct_absolute=$hardcode_direct_absolute |
14748 |
15278 |
14749 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
15279 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
14750 # into the resulting binary. |
15280 # into the resulting binary. |
14789 |
15319 |
14790 # How to hardcode a shared library path into an executable. |
15320 # How to hardcode a shared library path into an executable. |
14791 hardcode_action=$hardcode_action |
15321 hardcode_action=$hardcode_action |
14792 |
15322 |
14793 # ### END LIBTOOL CONFIG |
15323 # ### END LIBTOOL CONFIG |
15324 |
|
15325 _LT_EOF |
|
15326 |
|
15327 cat <<'_LT_EOF' >> "$cfgfile" |
|
15328 |
|
15329 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
|
15330 |
|
15331 # func_munge_path_list VARIABLE PATH |
|
15332 # ----------------------------------- |
|
15333 # VARIABLE is name of variable containing _space_ separated list of |
|
15334 # directories to be munged by the contents of PATH, which is string |
|
15335 # having a format: |
|
15336 # "DIR[:DIR]:" |
|
15337 # string "DIR[ DIR]" will be prepended to VARIABLE |
|
15338 # ":DIR[:DIR]" |
|
15339 # string "DIR[ DIR]" will be appended to VARIABLE |
|
15340 # "DIRP[:DIRP]::[DIRA:]DIRA" |
|
15341 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
|
15342 # "DIRA[ DIRA]" will be appended to VARIABLE |
|
15343 # "DIR[:DIR]" |
|
15344 # VARIABLE will be replaced by "DIR[ DIR]" |
|
15345 func_munge_path_list () |
|
15346 { |
|
15347 case x$2 in |
|
15348 x) |
|
15349 ;; |
|
15350 *:) |
|
15351 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
|
15352 ;; |
|
15353 x:*) |
|
15354 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
|
15355 ;; |
|
15356 *::*) |
|
15357 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
|
15358 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
|
15359 ;; |
|
15360 *) |
|
15361 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
|
15362 ;; |
|
15363 esac |
|
15364 } |
|
15365 |
|
15366 |
|
15367 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
|
15368 func_cc_basename () |
|
15369 { |
|
15370 for cc_temp in $*""; do |
|
15371 case $cc_temp in |
|
15372 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
15373 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
15374 \-*) ;; |
|
15375 *) break;; |
|
15376 esac |
|
15377 done |
|
15378 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
15379 } |
|
15380 |
|
15381 |
|
15382 # ### END FUNCTIONS SHARED WITH CONFIGURE |
|
14794 |
15383 |
14795 _LT_EOF |
15384 _LT_EOF |
14796 |
15385 |
14797 case $host_os in |
15386 case $host_os in |
14798 aix3*) |
15387 aix3*) |
14799 cat <<\_LT_EOF >> "$cfgfile" |
15388 cat <<\_LT_EOF >> "$cfgfile" |
14800 # AIX sometimes has problems with the GCC collect2 program. For some |
15389 # AIX sometimes has problems with the GCC collect2 program. For some |
14801 # reason, if we set the COLLECT_NAMES environment variable, the problems |
15390 # reason, if we set the COLLECT_NAMES environment variable, the problems |
14802 # vanish in a puff of smoke. |
15391 # vanish in a puff of smoke. |
14803 if test "X${COLLECT_NAMES+set}" != Xset; then |
15392 if test set != "${COLLECT_NAMES+set}"; then |
14804 COLLECT_NAMES= |
15393 COLLECT_NAMES= |
14805 export COLLECT_NAMES |
15394 export COLLECT_NAMES |
14806 fi |
15395 fi |
14807 _LT_EOF |
15396 _LT_EOF |
14808 ;; |
15397 ;; |
14809 esac |
15398 esac |
14810 |
15399 |
14811 |
15400 |
14812 ltmain="$ac_aux_dir/ltmain.sh" |
15401 ltmain=$ac_aux_dir/ltmain.sh |
14813 |
15402 |
14814 |
15403 |
14815 # We use sed instead of cat because bash on DJGPP gets confused if |
15404 # We use sed instead of cat because bash on DJGPP gets confused if |
14816 # if finds mixed CR/LF and LF-only lines. Since sed operates in |
15405 # if finds mixed CR/LF and LF-only lines. Since sed operates in |
14817 # text mode, it properly converts lines to CR/LF. This bash problem |
15406 # text mode, it properly converts lines to CR/LF. This bash problem |
14818 # is reportedly fixed, but why not run on old versions too? |
15407 # is reportedly fixed, but why not run on old versions too? |
14819 sed '$q' "$ltmain" >> "$cfgfile" \ |
15408 sed '$q' "$ltmain" >> "$cfgfile" \ |
14820 || (rm -f "$cfgfile"; exit 1) |
15409 || (rm -f "$cfgfile"; exit 1) |
14821 |
|
14822 if test x"$xsi_shell" = xyes; then |
|
14823 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
|
14824 func_dirname ()\ |
|
14825 {\ |
|
14826 \ case ${1} in\ |
|
14827 \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
14828 \ * ) func_dirname_result="${3}" ;;\ |
|
14829 \ esac\ |
|
14830 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14831 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14832 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14833 test 0 -eq $? || _lt_function_replace_fail=: |
|
14834 |
|
14835 |
|
14836 sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
|
14837 func_basename ()\ |
|
14838 {\ |
|
14839 \ func_basename_result="${1##*/}"\ |
|
14840 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14841 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14842 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14843 test 0 -eq $? || _lt_function_replace_fail=: |
|
14844 |
|
14845 |
|
14846 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
|
14847 func_dirname_and_basename ()\ |
|
14848 {\ |
|
14849 \ case ${1} in\ |
|
14850 \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
|
14851 \ * ) func_dirname_result="${3}" ;;\ |
|
14852 \ esac\ |
|
14853 \ func_basename_result="${1##*/}"\ |
|
14854 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14855 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14857 test 0 -eq $? || _lt_function_replace_fail=: |
|
14858 |
|
14859 |
|
14860 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
|
14861 func_stripname ()\ |
|
14862 {\ |
|
14863 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
|
14864 \ # positional parameters, so assign one to ordinary parameter first.\ |
|
14865 \ func_stripname_result=${3}\ |
|
14866 \ func_stripname_result=${func_stripname_result#"${1}"}\ |
|
14867 \ func_stripname_result=${func_stripname_result%"${2}"}\ |
|
14868 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14869 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14870 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14871 test 0 -eq $? || _lt_function_replace_fail=: |
|
14872 |
|
14873 |
|
14874 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
|
14875 func_split_long_opt ()\ |
|
14876 {\ |
|
14877 \ func_split_long_opt_name=${1%%=*}\ |
|
14878 \ func_split_long_opt_arg=${1#*=}\ |
|
14879 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14880 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14881 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14882 test 0 -eq $? || _lt_function_replace_fail=: |
|
14883 |
|
14884 |
|
14885 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
|
14886 func_split_short_opt ()\ |
|
14887 {\ |
|
14888 \ func_split_short_opt_arg=${1#??}\ |
|
14889 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
|
14890 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14891 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14892 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14893 test 0 -eq $? || _lt_function_replace_fail=: |
|
14894 |
|
14895 |
|
14896 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
|
14897 func_lo2o ()\ |
|
14898 {\ |
|
14899 \ case ${1} in\ |
|
14900 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
|
14901 \ *) func_lo2o_result=${1} ;;\ |
|
14902 \ esac\ |
|
14903 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14904 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14905 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14906 test 0 -eq $? || _lt_function_replace_fail=: |
|
14907 |
|
14908 |
|
14909 sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
|
14910 func_xform ()\ |
|
14911 {\ |
|
14912 func_xform_result=${1%.*}.lo\ |
|
14913 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14914 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14915 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14916 test 0 -eq $? || _lt_function_replace_fail=: |
|
14917 |
|
14918 |
|
14919 sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
|
14920 func_arith ()\ |
|
14921 {\ |
|
14922 func_arith_result=$(( $* ))\ |
|
14923 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14924 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14926 test 0 -eq $? || _lt_function_replace_fail=: |
|
14927 |
|
14928 |
|
14929 sed -e '/^func_len ()$/,/^} # func_len /c\ |
|
14930 func_len ()\ |
|
14931 {\ |
|
14932 func_len_result=${#1}\ |
|
14933 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14934 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14935 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14936 test 0 -eq $? || _lt_function_replace_fail=: |
|
14937 |
|
14938 fi |
|
14939 |
|
14940 if test x"$lt_shell_append" = xyes; then |
|
14941 sed -e '/^func_append ()$/,/^} # func_append /c\ |
|
14942 func_append ()\ |
|
14943 {\ |
|
14944 eval "${1}+=\\${2}"\ |
|
14945 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14946 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14947 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14948 test 0 -eq $? || _lt_function_replace_fail=: |
|
14949 |
|
14950 |
|
14951 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
|
14952 func_append_quoted ()\ |
|
14953 {\ |
|
14954 \ func_quote_for_eval "${2}"\ |
|
14955 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
|
14956 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
|
14957 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14958 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14959 test 0 -eq $? || _lt_function_replace_fail=: |
|
14960 |
|
14961 |
|
14962 # Save a `func_append' function call where possible by direct use of '+=' |
|
14963 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
|
14964 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14965 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14966 test 0 -eq $? || _lt_function_replace_fail=: |
|
14967 else |
|
14968 # Save a `func_append' function call even when '+=' is not available |
|
14969 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
|
14970 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
|
14971 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
|
14972 test 0 -eq $? || _lt_function_replace_fail=: |
|
14973 fi |
|
14974 |
|
14975 if test x"$_lt_function_replace_fail" = x":"; then |
|
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
|
14977 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
|
14978 fi |
|
14979 |
|
14980 |
15410 |
14981 mv -f "$cfgfile" "$ofile" || |
15411 mv -f "$cfgfile" "$ofile" || |
14982 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
15412 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
14983 chmod +x "$ofile" |
15413 chmod +x "$ofile" |
14984 |
15414 |