Changeset 2125 for trunk/psModules/configure
- Timestamp:
- Oct 14, 2004, 9:01:37 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psModules/configure (modified) (448 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/configure
r1890 r2125 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 7.3 # Generated by GNU Autoconf 2.59. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6 # Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. … … 21 20 set -o posix 22 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 23 24 24 # Support unset when possible. 25 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 26 as_unset=unset 27 27 else … … 42 42 LC_TELEPHONE LC_TIME 43 43 do 44 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 45 eval $as_var=C; export $as_var 46 46 else … … 219 219 as_mkdir_p=: 220 220 else 221 test -d ./-p && rmdir ./-p 221 222 as_mkdir_p=false 222 223 fi … … 225 226 226 227 # Sed expression to map a string onto a valid CPP name. 227 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 228 229 229 230 # Sed expression to map a string onto a valid variable name. 230 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 231 232 232 233 … … 391 392 392 393 393 tagnames= `echo "$tagnames,CXX" | sed 's/^,//'`394 395 tagnames= `echo "$tagnames,F77" | sed 's/^,//'`394 tagnames=${tagnames+${tagnames},}CXX 395 396 tagnames=${tagnames+${tagnames},}F77 396 397 397 398 # Name of the host. … … 463 464 #endif" 464 465 465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS'466 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS' 466 467 ac_subst_files='' 467 468 … … 822 823 # Be sure to have absolute paths. 823 824 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 824 localstatedir libdir includedir oldincludedir infodir mandir825 localstatedir libdir includedir oldincludedir infodir mandir 825 826 do 826 827 eval ac_val=$`echo $ac_var` … … 862 863 ac_confdir=`(dirname "$0") 2>/dev/null || 863 864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 864 X"$0" : 'X\(//\)[^/]' \| \865 X"$0" : 'X\(//\)$' \| \866 X"$0" : 'X\(/\)' \| \867 . : '\(.\)' 2>/dev/null ||865 X"$0" : 'X\(//\)[^/]' \| \ 866 X"$0" : 'X\(//\)$' \| \ 867 X"$0" : 'X\(/\)' \| \ 868 . : '\(.\)' 2>/dev/null || 868 869 echo X"$0" | 869 870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 977 978 Installation directories: 978 979 --prefix=PREFIX install architecture-independent files in PREFIX 979 [$ac_default_prefix]980 [$ac_default_prefix] 980 981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 981 [PREFIX]982 [PREFIX] 982 983 983 984 By default, \`make install' will install all the files in … … 1023 1024 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1024 1025 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1025 --disable-dependency-tracking Speeds up one-time builds1026 --enable-dependency-tracking Do not reject slow dependency extractors1026 --disable-dependency-tracking speeds up one-time build 1027 --enable-dependency-tracking do not reject slow dependency extractors 1027 1028 --enable-shared[=PKGS] 1028 1029 build shared libraries [default=yes] … … 1097 1098 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1098 1099 esac 1099 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 1100 # absolute. 1101 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 1102 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 1103 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 1104 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 1100 1101 # Do not use `cd foo && pwd` to compute absolute paths, because 1102 # the directories may not exist. 1103 case `pwd` in 1104 .) ac_abs_builddir="$ac_dir";; 1105 *) 1106 case "$ac_dir" in 1107 .) ac_abs_builddir=`pwd`;; 1108 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1109 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1110 esac;; 1111 esac 1112 case $ac_abs_builddir in 1113 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1114 *) 1115 case ${ac_top_builddir}. in 1116 .) ac_abs_top_builddir=$ac_abs_builddir;; 1117 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1118 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1119 esac;; 1120 esac 1121 case $ac_abs_builddir in 1122 .) ac_abs_srcdir=$ac_srcdir;; 1123 *) 1124 case $ac_srcdir in 1125 .) ac_abs_srcdir=$ac_abs_builddir;; 1126 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1127 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1128 esac;; 1129 esac 1130 case $ac_abs_builddir in 1131 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1132 *) 1133 case $ac_top_srcdir in 1134 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1135 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1136 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1137 esac;; 1138 esac 1105 1139 1106 1140 cd $ac_dir … … 1113 1147 $SHELL $ac_srcdir/configure --help=recursive 1114 1148 elif test -f $ac_srcdir/configure.ac || 1115 test -f $ac_srcdir/configure.in; then1149 test -f $ac_srcdir/configure.in; then 1116 1150 echo 1117 1151 $ac_configure --help … … 1127 1161 cat <<\_ACEOF 1128 1162 1129 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 1130 Free Software Foundation, Inc. 1163 Copyright (C) 2003 Free Software Foundation, Inc. 1131 1164 This configure script is free software; the Free Software Foundation 1132 1165 gives unlimited permission to copy, distribute and modify it. … … 1140 1173 1141 1174 It was created by $as_me, which was 1142 generated by GNU Autoconf 2.5 7. Invocation command line was1175 generated by GNU Autoconf 2.59. Invocation command line was 1143 1176 1144 1177 $ $0 $@ … … 1217 1250 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1218 1251 if test $ac_must_keep_next = true; then 1219 ac_must_keep_next=false # Got value, back to normal.1252 ac_must_keep_next=false # Got value, back to normal. 1220 1253 else 1221 case $ac_arg in1222 *=* | --config-cache | -C | -disable-* | --disable-* \1223 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \1224 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \1225 | -with-* | --with-* | -without-* | --without-* | --x)1226 case "$ac_configure_args0 " in1227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;1228 esac1229 ;;1230 -* ) ac_must_keep_next=true ;;1231 esac1254 case $ac_arg in 1255 *=* | --config-cache | -C | -disable-* | --disable-* \ 1256 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1257 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1258 | -with-* | --with-* | -without-* | --without-* | --x) 1259 case "$ac_configure_args0 " in 1260 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1261 esac 1262 ;; 1263 -* ) ac_must_keep_next=true ;; 1264 esac 1232 1265 fi 1233 1266 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1263 1296 *ac_space=\ *) 1264 1297 sed -n \ 1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"1298 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1267 1300 ;; 1268 1301 *) 1269 1302 sed -n \ 1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"1303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1271 1304 ;; 1272 1305 esac; … … 1297 1330 do 1298 1331 eval ac_val=$`echo $ac_var` 1299 echo "$ac_var='"'"'$ac_val'"'"'"1332 echo "$ac_var='"'"'$ac_val'"'"'" 1300 1333 done | sort 1301 1334 echo … … 1316 1349 echo "$as_me: exit $exit_status" 1317 1350 } >&5 1318 rm -f core core.**.core &&1351 rm -f core *.core && 1319 1352 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1320 1353 exit $exit_status … … 1396 1429 ac_cache_corrupted=false 1397 1430 for ac_var in `(set) 2>&1 | 1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do1431 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1399 1432 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1400 1433 eval ac_new_set=\$ac_env_${ac_var}_set … … 1413 1446 *) 1414 1447 if test "x$ac_old_val" != "x$ac_new_val"; then 1415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&51448 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1416 1449 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&51450 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1418 1451 echo "$as_me: former value: $ac_old_val" >&2;} 1419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&51452 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1420 1453 echo "$as_me: current value: $ac_new_val" >&2;} 1421 ac_cache_corrupted=:1454 ac_cache_corrupted=: 1422 1455 fi;; 1423 1456 esac … … 1470 1503 ac_config_headers="$ac_config_headers src/config.h" 1471 1504 1472 am__api_version="1. 7"1505 am__api_version="1.8" 1473 1506 ac_aux_dir= 1474 1507 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do … … 1507 1540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1508 1541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1542 # OS/2's system install, which has a completely different semantic 1509 1543 # ./install, which can be erroneously created by make from ./install.sh. 1510 1544 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 1523 1557 ./ | .// | /cC/* | \ 1524 1558 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1559 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1525 1560 /usr/ucb/* ) ;; 1526 1561 *) … … 1530 1565 for ac_prog in ginstall scoinst install; do 1531 1566 for ac_exec_ext in '' $ac_executable_extensions; do 1532 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then1533 if test $ac_prog = install &&1534 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1535 # AIX install. It has an incompatible calling convention.1536 :1537 elif test $ac_prog = install &&1538 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1539 # program-specific install script used by HP pwplus--don't use.1540 :1541 else1542 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"1543 break 31544 fi1545 fi1567 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1568 if test $ac_prog = install && 1569 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1570 # AIX install. It has an incompatible calling convention. 1571 : 1572 elif test $ac_prog = install && 1573 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1574 # program-specific install script used by HP pwplus--don't use. 1575 : 1576 else 1577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1578 break 3 1579 fi 1580 fi 1546 1581 done 1547 1582 done … … 1631 1666 rm conftest.sed 1632 1667 1633 1634 1668 # expand $ac_aux_dir to an absolute path 1635 1669 am_aux_dir=`cd $ac_aux_dir && pwd` … … 1643 1677 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1644 1678 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1679 fi 1680 1681 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1682 # Keeping the `.' argument allows $(mkdir_p) to be used without 1683 # argument. Indeed, we sometimes output rules like 1684 # $(mkdir_p) $(somedir) 1685 # where $(somedir) is conditionally defined. 1686 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 1687 # expensive solution, as it forces Make to start a sub-shell.) 1688 mkdir_p='mkdir -p -- .' 1689 else 1690 # On NextStep and OpenStep, the `mkdir' command does not 1691 # recognize any option. It will interpret all options as 1692 # directories to create, and then abort because `.' already 1693 # exists. 1694 for d in ./-p ./--version; 1695 do 1696 test -d $d && rmdir $d 1697 done 1698 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1699 if test -f "$ac_aux_dir/mkinstalldirs"; then 1700 mkdir_p='$(mkinstalldirs)' 1701 else 1702 mkdir_p='$(install_sh) -d' 1703 fi 1645 1704 fi 1646 1705 … … 1687 1746 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1688 1747 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1689 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, ./+-,__p_,'`1748 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1690 1749 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1691 1750 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1723 1782 rmdir .tst 2>/dev/null 1724 1783 1725 # test to see if srcdir already configured1784 # test to see if srcdir already configured 1726 1785 if test "`cd $srcdir && pwd`" != "`pwd`" && 1727 1786 test -f $srcdir/config.status; then … … 2212 2271 2213 2272 cat >conftest.$ac_ext <<_ACEOF 2214 #line $LINENO "configure"2215 2273 /* confdefs.h. */ 2216 2274 _ACEOF … … 2232 2290 # It will help us diagnose broken compilers, and finding out an intuition 2233 2291 # of exeext. 2234 echo "$as_me:$LINENO: checking for C compiler default output " >&52235 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&62292 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2293 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2236 2294 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2237 2295 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 2253 2311 case $ac_file in 2254 2312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2255 ;;2313 ;; 2256 2314 conftest.$ac_ext ) 2257 # This is the source file.2258 ;;2315 # This is the source file. 2316 ;; 2259 2317 [ab].out ) 2260 # We found the default executable, but exeext='' is most2261 # certainly right.2262 break;;2318 # We found the default executable, but exeext='' is most 2319 # certainly right. 2320 break;; 2263 2321 *.* ) 2264 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2265 # FIXME: I believe we export ac_cv_exeext for Libtool,2266 # but it would be cool to find out if it's true. Does anybody2267 # maintain Libtool? --akim.2268 export ac_cv_exeext2269 break;;2322 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2323 # FIXME: I believe we export ac_cv_exeext for Libtool, 2324 # but it would be cool to find out if it's true. Does anybody 2325 # maintain Libtool? --akim. 2326 export ac_cv_exeext 2327 break;; 2270 2328 * ) 2271 break;;2329 break;; 2272 2330 esac 2273 2331 done … … 2343 2401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2344 2402 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2345 export ac_cv_exeext2346 break;;2403 export ac_cv_exeext 2404 break;; 2347 2405 * ) break;; 2348 2406 esac … … 2369 2427 else 2370 2428 cat >conftest.$ac_ext <<_ACEOF 2371 #line $LINENO "configure"2372 2429 /* confdefs.h. */ 2373 2430 _ACEOF … … 2420 2477 else 2421 2478 cat >conftest.$ac_ext <<_ACEOF 2422 #line $LINENO "configure"2423 2479 /* confdefs.h. */ 2424 2480 _ACEOF … … 2440 2496 rm -f conftest.$ac_objext 2441 2497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2442 (eval $ac_compile) 2>&5 2498 (eval $ac_compile) 2>conftest.er1 2499 ac_status=$? 2500 grep -v '^ *+' conftest.er1 >conftest.err 2501 rm -f conftest.er1 2502 cat conftest.err >&5 2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2504 (exit $ac_status); } && 2505 { ac_try='test -z "$ac_c_werror_flag" 2506 || test ! -s conftest.err' 2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2508 (eval $ac_try) 2>&5 2443 2509 ac_status=$? 2444 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); } &&2446 { ac_try='test -s conftest.$ac_objext'2511 (exit $ac_status); }; } && 2512 { ac_try='test -s conftest.$ac_objext' 2447 2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2448 2514 (eval $ac_try) 2>&5 … … 2457 2523 ac_compiler_gnu=no 2458 2524 fi 2459 rm -f conftest. $ac_objext conftest.$ac_ext2525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2460 2526 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2461 2527 … … 2473 2539 else 2474 2540 cat >conftest.$ac_ext <<_ACEOF 2475 #line $LINENO "configure"2476 2541 /* confdefs.h. */ 2477 2542 _ACEOF … … 2490 2555 rm -f conftest.$ac_objext 2491 2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2492 (eval $ac_compile) 2>&5 2557 (eval $ac_compile) 2>conftest.er1 2558 ac_status=$? 2559 grep -v '^ *+' conftest.er1 >conftest.err 2560 rm -f conftest.er1 2561 cat conftest.err >&5 2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2563 (exit $ac_status); } && 2564 { ac_try='test -z "$ac_c_werror_flag" 2565 || test ! -s conftest.err' 2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2567 (eval $ac_try) 2>&5 2493 2568 ac_status=$? 2494 2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } &&2496 { ac_try='test -s conftest.$ac_objext'2570 (exit $ac_status); }; } && 2571 { ac_try='test -s conftest.$ac_objext' 2497 2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2498 2573 (eval $ac_try) 2>&5 … … 2507 2582 ac_cv_prog_cc_g=no 2508 2583 fi 2509 rm -f conftest. $ac_objext conftest.$ac_ext2584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2510 2585 fi 2511 2586 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2534 2609 ac_save_CC=$CC 2535 2610 cat >conftest.$ac_ext <<_ACEOF 2536 #line $LINENO "configure"2537 2611 /* confdefs.h. */ 2538 2612 _ACEOF … … 2562 2636 return s; 2563 2637 } 2638 2639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2640 function prototypes and stuff, but not '\xHH' hex character constants. 2641 These don't provoke an error unfortunately, instead are silently treated 2642 as 'x'. The following induces an error, until -std1 is added to get 2643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2644 array size at least. It's necessary to write '\x00'==0 to get something 2645 that's true only with -std1. */ 2646 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2647 2564 2648 int test (int i, double x); 2565 2649 struct s1 {int (*f) (int a);}; … … 2588 2672 rm -f conftest.$ac_objext 2589 2673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2590 (eval $ac_compile) 2>&5 2674 (eval $ac_compile) 2>conftest.er1 2675 ac_status=$? 2676 grep -v '^ *+' conftest.er1 >conftest.err 2677 rm -f conftest.er1 2678 cat conftest.err >&5 2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 (exit $ac_status); } && 2681 { ac_try='test -z "$ac_c_werror_flag" 2682 || test ! -s conftest.err' 2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2684 (eval $ac_try) 2>&5 2591 2685 ac_status=$? 2592 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 (exit $ac_status); } &&2594 { ac_try='test -s conftest.$ac_objext'2687 (exit $ac_status); }; } && 2688 { ac_try='test -s conftest.$ac_objext' 2595 2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2596 2690 (eval $ac_try) 2>&5 … … 2605 2699 2606 2700 fi 2607 rm -f conftest. $ac_objext2701 rm -f conftest.err conftest.$ac_objext 2608 2702 done 2609 2703 rm -f conftest.$ac_ext conftest.$ac_objext … … 2633 2727 rm -f conftest.$ac_objext 2634 2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2635 (eval $ac_compile) 2>&5 2729 (eval $ac_compile) 2>conftest.er1 2730 ac_status=$? 2731 grep -v '^ *+' conftest.er1 >conftest.err 2732 rm -f conftest.er1 2733 cat conftest.err >&5 2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2735 (exit $ac_status); } && 2736 { ac_try='test -z "$ac_c_werror_flag" 2737 || test ! -s conftest.err' 2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2739 (eval $ac_try) 2>&5 2636 2740 ac_status=$? 2637 2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2638 (exit $ac_status); } &&2639 { ac_try='test -s conftest.$ac_objext'2742 (exit $ac_status); }; } && 2743 { ac_try='test -s conftest.$ac_objext' 2640 2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2641 2745 (eval $ac_try) 2>&5 … … 2644 2748 (exit $ac_status); }; }; then 2645 2749 for ac_declaration in \ 2646 ''\ 2647 '#include <stdlib.h>' \ 2750 '' \ 2648 2751 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2649 2752 'extern "C" void std::exit (int); using std::exit;' \ … … 2653 2756 do 2654 2757 cat >conftest.$ac_ext <<_ACEOF 2655 #line $LINENO "configure"2656 2758 /* confdefs.h. */ 2657 2759 _ACEOF … … 2659 2761 cat >>conftest.$ac_ext <<_ACEOF 2660 2762 /* end confdefs.h. */ 2763 $ac_declaration 2661 2764 #include <stdlib.h> 2662 $ac_declaration2663 2765 int 2664 2766 main () … … 2671 2773 rm -f conftest.$ac_objext 2672 2774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2673 (eval $ac_compile) 2>&5 2775 (eval $ac_compile) 2>conftest.er1 2776 ac_status=$? 2777 grep -v '^ *+' conftest.er1 >conftest.err 2778 rm -f conftest.er1 2779 cat conftest.err >&5 2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2781 (exit $ac_status); } && 2782 { ac_try='test -z "$ac_c_werror_flag" 2783 || test ! -s conftest.err' 2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2785 (eval $ac_try) 2>&5 2674 2786 ac_status=$? 2675 2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); } &&2677 { ac_try='test -s conftest.$ac_objext'2788 (exit $ac_status); }; } && 2789 { ac_try='test -s conftest.$ac_objext' 2678 2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2679 2791 (eval $ac_try) 2>&5 … … 2688 2800 continue 2689 2801 fi 2690 rm -f conftest. $ac_objext conftest.$ac_ext2802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2691 2803 cat >conftest.$ac_ext <<_ACEOF 2692 #line $LINENO "configure"2693 2804 /* confdefs.h. */ 2694 2805 _ACEOF … … 2707 2818 rm -f conftest.$ac_objext 2708 2819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2709 (eval $ac_compile) 2>&5 2820 (eval $ac_compile) 2>conftest.er1 2821 ac_status=$? 2822 grep -v '^ *+' conftest.er1 >conftest.err 2823 rm -f conftest.er1 2824 cat conftest.err >&5 2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2826 (exit $ac_status); } && 2827 { ac_try='test -z "$ac_c_werror_flag" 2828 || test ! -s conftest.err' 2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2830 (eval $ac_try) 2>&5 2710 2831 ac_status=$? 2711 2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2712 (exit $ac_status); } &&2713 { ac_try='test -s conftest.$ac_objext'2833 (exit $ac_status); }; } && 2834 { ac_try='test -s conftest.$ac_objext' 2714 2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2715 2836 (eval $ac_try) 2>&5 … … 2723 2844 2724 2845 fi 2725 rm -f conftest. $ac_objext conftest.$ac_ext2846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2726 2847 done 2727 2848 rm -f conftest* … … 2737 2858 2738 2859 fi 2739 rm -f conftest. $ac_objext conftest.$ac_ext2860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2740 2861 ac_ext=c 2741 2862 ac_cpp='$CPP $CPPFLAGS' … … 2850 2971 for i in 1 2 3 4 5 6; do 2851 2972 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2852 : > sub/conftst$i.h 2973 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2974 # Solaris 8's {/usr,}/bin/sh. 2975 touch sub/conftst$i.h 2853 2976 done 2854 2977 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 2927 3050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2928 3051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3052 # OS/2's system install, which has a completely different semantic 2929 3053 # ./install, which can be erroneously created by make from ./install.sh. 2930 3054 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 2943 3067 ./ | .// | /cC/* | \ 2944 3068 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3069 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2945 3070 /usr/ucb/* ) ;; 2946 3071 *) … … 2950 3075 for ac_prog in ginstall scoinst install; do 2951 3076 for ac_exec_ext in '' $ac_executable_extensions; do 2952 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2953 if test $ac_prog = install &&2954 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2955 # AIX install. It has an incompatible calling convention.2956 :2957 elif test $ac_prog = install &&2958 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2959 # program-specific install script used by HP pwplus--don't use.2960 :2961 else2962 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2963 break 32964 fi2965 fi3077 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3078 if test $ac_prog = install && 3079 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3080 # AIX install. It has an incompatible calling convention. 3081 : 3082 elif test $ac_prog = install && 3083 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3084 # program-specific install script used by HP pwplus--don't use. 3085 : 3086 else 3087 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3088 break 3 3089 fi 3090 fi 2966 3091 done 2967 3092 done … … 3215 3340 [\\/]* | ?:[\\/]*) 3216 3341 re_direlt='/[^/][^/]*/\.\./' 3217 # Canonicalize the path of ld3342 # Canonicalize the pathname of ld 3218 3343 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 3219 3344 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 3405 3530 ;; 3406 3531 3407 cygwin* | mingw* | pw32*)3408 # win32_libid is a shell function defined in ltmain.sh3532 cygwin*) 3533 # func_win32_libid is a shell function defined in ltmain.sh 3409 3534 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 3410 lt_cv_file_magic_cmd=' win32_libid'3535 lt_cv_file_magic_cmd='func_win32_libid' 3411 3536 ;; 3412 3537 3538 mingw* | pw32*) 3539 # Base MSYS/MinGW do not provide the 'file' command needed by 3540 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 3541 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 3542 lt_cv_file_magic_cmd='$OBJDUMP -f' 3543 ;; 3544 3413 3545 darwin* | rhapsody*) 3414 # this will be overwritten by pass_all, but leave it in just in case3415 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'3416 lt_cv_file_magic_cmd='/usr/bin/file -L'3417 case "$host_os" in3418 rhapsody* | darwin1.[012])3419 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`3420 ;;3421 *) # Darwin 1.3 on3422 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'3423 ;;3424 esac3425 3546 lt_cv_deplibs_check_method=pass_all 3426 3547 ;; 3427 3548 3428 freebsd* )3549 freebsd* | kfreebsd*-gnu) 3429 3550 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 3430 3551 case $host_cpu in … … 3465 3586 3466 3587 irix5* | irix6* | nonstopux*) 3467 case $host_os in 3468 irix5* | nonstopux*) 3469 # this will be overridden with pass_all, but let us keep it just in case 3470 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 3471 ;; 3472 *) 3473 case $LD in 3474 *-32|*"-32 ") libmagic=32-bit;; 3475 *-n32|*"-n32 ") libmagic=N32;; 3476 *-64|*"-64 ") libmagic=64-bit;; 3477 *) libmagic=never-match;; 3478 esac 3479 # this will be overridden with pass_all, but let us keep it just in case 3480 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 3481 ;; 3588 case $LD in 3589 *-32|*"-32 ") libmagic=32-bit;; 3590 *-n32|*"-n32 ") libmagic=N32;; 3591 *-64|*"-64 ") libmagic=64-bit;; 3592 *) libmagic=never-match;; 3482 3593 esac 3483 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`3484 3594 lt_cv_deplibs_check_method=pass_all 3485 3595 ;; … … 3488 3598 linux*) 3489 3599 case $host_cpu in 3490 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* |x86_64*)3600 alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) 3491 3601 lt_cv_deplibs_check_method=pass_all ;; 3492 3602 *) 3493 3603 # glibc up to 2.1.1 does not perform some relocations on ARM 3604 # this will be overridden with pass_all, but let us keep it just in case 3494 3605 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 3495 3606 esac 3496 3607 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 3608 lt_cv_deplibs_check_method=pass_all 3497 3609 ;; 3498 3610 … … 3511 3623 ;; 3512 3624 3513 nto-qnx )3625 nto-qnx*) 3514 3626 lt_cv_deplibs_check_method=unknown 3515 3627 ;; … … 3526 3638 3527 3639 osf3* | osf4* | osf5*) 3528 # this will be overridden with pass_all, but let us keep it just in case3529 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'3530 lt_cv_file_magic_test_file=/shlib/libc.so3531 3640 lt_cv_deplibs_check_method=pass_all 3532 3641 ;; … … 3538 3647 solaris*) 3539 3648 lt_cv_deplibs_check_method=pass_all 3540 lt_cv_file_magic_test_file=/lib/libc.so3541 3649 ;; 3542 3650 … … 3618 3726 *-*-irix6*) 3619 3727 # Find out which ABI we are using. 3620 echo '#line 3 620"configure"' > conftest.$ac_ext3728 echo '#line 3728 "configure"' > conftest.$ac_ext 3621 3729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3622 3730 (eval $ac_compile) 2>&5 … … 3667 3775 LD="${LD-ld} -m elf_i386" 3668 3776 ;; 3669 ppc64-*linux* )3777 ppc64-*linux*|powerpc64-*linux*) 3670 3778 LD="${LD-ld} -m elf32ppclinux" 3671 3779 ;; … … 3715 3823 3716 3824 cat >conftest.$ac_ext <<_ACEOF 3717 #line $LINENO "configure"3718 3825 /* confdefs.h. */ 3719 3826 _ACEOF … … 3732 3839 rm -f conftest.$ac_objext conftest$ac_exeext 3733 3840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3734 (eval $ac_link) 2>&5 3841 (eval $ac_link) 2>conftest.er1 3842 ac_status=$? 3843 grep -v '^ *+' conftest.er1 >conftest.err 3844 rm -f conftest.er1 3845 cat conftest.err >&5 3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3847 (exit $ac_status); } && 3848 { ac_try='test -z "$ac_c_werror_flag" 3849 || test ! -s conftest.err' 3850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3851 (eval $ac_try) 2>&5 3735 3852 ac_status=$? 3736 3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3737 (exit $ac_status); } &&3738 { ac_try='test -s conftest$ac_exeext'3854 (exit $ac_status); }; } && 3855 { ac_try='test -s conftest$ac_exeext' 3739 3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3740 3857 (eval $ac_try) 2>&5 … … 3749 3866 lt_cv_cc_needs_belf=no 3750 3867 fi 3751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3868 rm -f conftest.err conftest.$ac_objext \ 3869 conftest$ac_exeext conftest.$ac_ext 3752 3870 ac_ext=c 3753 3871 ac_cpp='$CPP $CPPFLAGS' … … 3798 3916 # not just through cpp. "Syntax error" is here to catch this case. 3799 3917 cat >conftest.$ac_ext <<_ACEOF 3800 #line $LINENO "configure"3801 3918 /* confdefs.h. */ 3802 3919 _ACEOF … … 3809 3926 # include <assert.h> 3810 3927 #endif 3811 Syntax error3928 Syntax error 3812 3929 _ACEOF 3813 3930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3821 3938 if test -s conftest.err; then 3822 3939 ac_cpp_err=$ac_c_preproc_warn_flag 3940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3823 3941 else 3824 3942 ac_cpp_err= … … 3841 3959 # can be detected and how. 3842 3960 cat >conftest.$ac_ext <<_ACEOF 3843 #line $LINENO "configure"3844 3961 /* confdefs.h. */ 3845 3962 _ACEOF … … 3859 3976 if test -s conftest.err; then 3860 3977 ac_cpp_err=$ac_c_preproc_warn_flag 3978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3861 3979 else 3862 3980 ac_cpp_err= … … 3905 4023 # not just through cpp. "Syntax error" is here to catch this case. 3906 4024 cat >conftest.$ac_ext <<_ACEOF 3907 #line $LINENO "configure"3908 4025 /* confdefs.h. */ 3909 4026 _ACEOF … … 3916 4033 # include <assert.h> 3917 4034 #endif 3918 Syntax error4035 Syntax error 3919 4036 _ACEOF 3920 4037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 3928 4045 if test -s conftest.err; then 3929 4046 ac_cpp_err=$ac_c_preproc_warn_flag 4047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3930 4048 else 3931 4049 ac_cpp_err= … … 3948 4066 # can be detected and how. 3949 4067 cat >conftest.$ac_ext <<_ACEOF 3950 #line $LINENO "configure"3951 4068 /* confdefs.h. */ 3952 4069 _ACEOF … … 3966 4083 if test -s conftest.err; then 3967 4084 ac_cpp_err=$ac_c_preproc_warn_flag 4085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3968 4086 else 3969 4087 ac_cpp_err= … … 4011 4129 else 4012 4130 cat >conftest.$ac_ext <<_ACEOF 4013 #line $LINENO "configure"4014 4131 /* confdefs.h. */ 4015 4132 _ACEOF … … 4032 4149 rm -f conftest.$ac_objext 4033 4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4034 (eval $ac_compile) 2>&5 4151 (eval $ac_compile) 2>conftest.er1 4152 ac_status=$? 4153 grep -v '^ *+' conftest.er1 >conftest.err 4154 rm -f conftest.er1 4155 cat conftest.err >&5 4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4157 (exit $ac_status); } && 4158 { ac_try='test -z "$ac_c_werror_flag" 4159 || test ! -s conftest.err' 4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4161 (eval $ac_try) 2>&5 4035 4162 ac_status=$? 4036 4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4037 (exit $ac_status); } &&4038 { ac_try='test -s conftest.$ac_objext'4164 (exit $ac_status); }; } && 4165 { ac_try='test -s conftest.$ac_objext' 4039 4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4040 4167 (eval $ac_try) 2>&5 … … 4049 4176 ac_cv_header_stdc=no 4050 4177 fi 4051 rm -f conftest. $ac_objext conftest.$ac_ext4178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4052 4179 4053 4180 if test $ac_cv_header_stdc = yes; then 4054 4181 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4055 4182 cat >conftest.$ac_ext <<_ACEOF 4056 #line $LINENO "configure"4057 4183 /* confdefs.h. */ 4058 4184 _ACEOF … … 4076 4202 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4077 4203 cat >conftest.$ac_ext <<_ACEOF 4078 #line $LINENO "configure"4079 4204 /* confdefs.h. */ 4080 4205 _ACEOF … … 4101 4226 else 4102 4227 cat >conftest.$ac_ext <<_ACEOF 4103 #line $LINENO "configure"4104 4228 /* confdefs.h. */ 4105 4229 _ACEOF … … 4113 4237 #else 4114 4238 # define ISLOWER(c) \ 4115 (('a' <= (c) && (c) <= 'i') \4116 || ('j' <= (c) && (c) <= 'r') \4117 || ('s' <= (c) && (c) <= 'z'))4239 (('a' <= (c) && (c) <= 'i') \ 4240 || ('j' <= (c) && (c) <= 'r') \ 4241 || ('s' <= (c) && (c) <= 'z')) 4118 4242 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4119 4243 #endif … … 4126 4250 for (i = 0; i < 256; i++) 4127 4251 if (XOR (islower (i), ISLOWER (i)) 4128 || toupper (i) != TOUPPER (i))4252 || toupper (i) != TOUPPER (i)) 4129 4253 exit(2); 4130 4254 exit (0); … … 4151 4275 ac_cv_header_stdc=no 4152 4276 fi 4153 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext4277 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4154 4278 fi 4155 4279 fi … … 4176 4300 4177 4301 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4178 inttypes.h stdint.h unistd.h4302 inttypes.h stdint.h unistd.h 4179 4303 do 4180 4304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4185 4309 else 4186 4310 cat >conftest.$ac_ext <<_ACEOF 4187 #line $LINENO "configure"4188 4311 /* confdefs.h. */ 4189 4312 _ACEOF … … 4197 4320 rm -f conftest.$ac_objext 4198 4321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4199 (eval $ac_compile) 2>&5 4322 (eval $ac_compile) 2>conftest.er1 4323 ac_status=$? 4324 grep -v '^ *+' conftest.er1 >conftest.err 4325 rm -f conftest.er1 4326 cat conftest.err >&5 4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4328 (exit $ac_status); } && 4329 { ac_try='test -z "$ac_c_werror_flag" 4330 || test ! -s conftest.err' 4331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4332 (eval $ac_try) 2>&5 4200 4333 ac_status=$? 4201 4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4202 (exit $ac_status); } &&4203 { ac_try='test -s conftest.$ac_objext'4335 (exit $ac_status); }; } && 4336 { ac_try='test -s conftest.$ac_objext' 4204 4337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4205 4338 (eval $ac_try) 2>&5 … … 4214 4347 eval "$as_ac_Header=no" 4215 4348 fi 4216 rm -f conftest. $ac_objext conftest.$ac_ext4349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4217 4350 fi 4218 4351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4245 4378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4246 4379 cat >conftest.$ac_ext <<_ACEOF 4247 #line $LINENO "configure"4248 4380 /* confdefs.h. */ 4249 4381 _ACEOF … … 4256 4388 rm -f conftest.$ac_objext 4257 4389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4258 (eval $ac_compile) 2>&5 4390 (eval $ac_compile) 2>conftest.er1 4391 ac_status=$? 4392 grep -v '^ *+' conftest.er1 >conftest.err 4393 rm -f conftest.er1 4394 cat conftest.err >&5 4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4396 (exit $ac_status); } && 4397 { ac_try='test -z "$ac_c_werror_flag" 4398 || test ! -s conftest.err' 4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4400 (eval $ac_try) 2>&5 4259 4401 ac_status=$? 4260 4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4261 (exit $ac_status); } &&4262 { ac_try='test -s conftest.$ac_objext'4403 (exit $ac_status); }; } && 4404 { ac_try='test -s conftest.$ac_objext' 4263 4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4264 4406 (eval $ac_try) 2>&5 … … 4273 4415 ac_header_compiler=no 4274 4416 fi 4275 rm -f conftest. $ac_objext conftest.$ac_ext4417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4276 4418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4277 4419 echo "${ECHO_T}$ac_header_compiler" >&6 … … 4281 4423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4282 4424 cat >conftest.$ac_ext <<_ACEOF 4283 #line $LINENO "configure"4284 4425 /* confdefs.h. */ 4285 4426 _ACEOF … … 4299 4440 if test -s conftest.err; then 4300 4441 ac_cpp_err=$ac_c_preproc_warn_flag 4442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4301 4443 else 4302 4444 ac_cpp_err= … … 4318 4460 4319 4461 # So? What about this header? 4320 case $ac_header_compiler:$ac_header_preproc in4321 yes:no )4462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4463 yes:no: ) 4322 4464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4323 4465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4468 ac_header_preproc=yes 4469 ;; 4470 no:yes:* ) 4471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4324 4479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4325 4480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4326 4483 ( 4327 4484 cat <<\_ASBOX 4328 ## ------------------------------------ ## 4329 ## Report this to bug-autoconf@gnu.org. ## 4330 ## ------------------------------------ ## 4331 _ASBOX 4332 ) | 4333 sed "s/^/$as_me: WARNING: /" >&2 4334 ;; 4335 no:yes ) 4336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4342 ( 4343 cat <<\_ASBOX 4344 ## ------------------------------------ ## 4345 ## Report this to bug-autoconf@gnu.org. ## 4346 ## ------------------------------------ ## 4485 ## ------------------------------------------ ## 4486 ## Report this to the AC_PACKAGE_NAME lists. ## 4487 ## ------------------------------------------ ## 4347 4488 _ASBOX 4348 4489 ) | … … 4355 4496 echo $ECHO_N "(cached) $ECHO_C" >&6 4356 4497 else 4357 eval "$as_ac_Header= $ac_header_preproc"4498 eval "$as_ac_Header=\$ac_header_preproc" 4358 4499 fi 4359 4500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 4489 4630 else 4490 4631 cat >conftest.$ac_ext <<_ACEOF 4491 #line $LINENO "configure"4492 4632 /* confdefs.h. */ 4493 4633 _ACEOF … … 4509 4649 rm -f conftest.$ac_objext 4510 4650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4511 (eval $ac_compile) 2>&5 4651 (eval $ac_compile) 2>conftest.er1 4652 ac_status=$? 4653 grep -v '^ *+' conftest.er1 >conftest.err 4654 rm -f conftest.er1 4655 cat conftest.err >&5 4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 (exit $ac_status); } && 4658 { ac_try='test -z "$ac_cxx_werror_flag" 4659 || test ! -s conftest.err' 4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4661 (eval $ac_try) 2>&5 4512 4662 ac_status=$? 4513 4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4514 (exit $ac_status); } &&4515 { ac_try='test -s conftest.$ac_objext'4664 (exit $ac_status); }; } && 4665 { ac_try='test -s conftest.$ac_objext' 4516 4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4517 4667 (eval $ac_try) 2>&5 … … 4526 4676 ac_compiler_gnu=no 4527 4677 fi 4528 rm -f conftest. $ac_objext conftest.$ac_ext4678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4529 4679 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4530 4680 … … 4542 4692 else 4543 4693 cat >conftest.$ac_ext <<_ACEOF 4544 #line $LINENO "configure"4545 4694 /* confdefs.h. */ 4546 4695 _ACEOF … … 4559 4708 rm -f conftest.$ac_objext 4560 4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4561 (eval $ac_compile) 2>&5 4710 (eval $ac_compile) 2>conftest.er1 4711 ac_status=$? 4712 grep -v '^ *+' conftest.er1 >conftest.err 4713 rm -f conftest.er1 4714 cat conftest.err >&5 4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4716 (exit $ac_status); } && 4717 { ac_try='test -z "$ac_cxx_werror_flag" 4718 || test ! -s conftest.err' 4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4720 (eval $ac_try) 2>&5 4562 4721 ac_status=$? 4563 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4564 (exit $ac_status); } &&4565 { ac_try='test -s conftest.$ac_objext'4723 (exit $ac_status); }; } && 4724 { ac_try='test -s conftest.$ac_objext' 4566 4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4567 4726 (eval $ac_try) 2>&5 … … 4576 4735 ac_cv_prog_cxx_g=no 4577 4736 fi 4578 rm -f conftest. $ac_objext conftest.$ac_ext4737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4579 4738 fi 4580 4739 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 … … 4596 4755 fi 4597 4756 for ac_declaration in \ 4598 ''\ 4599 '#include <stdlib.h>' \ 4757 '' \ 4600 4758 'extern "C" void std::exit (int) throw (); using std::exit;' \ 4601 4759 'extern "C" void std::exit (int); using std::exit;' \ … … 4605 4763 do 4606 4764 cat >conftest.$ac_ext <<_ACEOF 4607 #line $LINENO "configure"4608 4765 /* confdefs.h. */ 4609 4766 _ACEOF … … 4611 4768 cat >>conftest.$ac_ext <<_ACEOF 4612 4769 /* end confdefs.h. */ 4770 $ac_declaration 4613 4771 #include <stdlib.h> 4614 $ac_declaration4615 4772 int 4616 4773 main () … … 4623 4780 rm -f conftest.$ac_objext 4624 4781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4625 (eval $ac_compile) 2>&5 4782 (eval $ac_compile) 2>conftest.er1 4783 ac_status=$? 4784 grep -v '^ *+' conftest.er1 >conftest.err 4785 rm -f conftest.er1 4786 cat conftest.err >&5 4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4788 (exit $ac_status); } && 4789 { ac_try='test -z "$ac_cxx_werror_flag" 4790 || test ! -s conftest.err' 4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4792 (eval $ac_try) 2>&5 4626 4793 ac_status=$? 4627 4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4628 (exit $ac_status); } &&4629 { ac_try='test -s conftest.$ac_objext'4795 (exit $ac_status); }; } && 4796 { ac_try='test -s conftest.$ac_objext' 4630 4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4631 4798 (eval $ac_try) 2>&5 … … 4640 4807 continue 4641 4808 fi 4642 rm -f conftest. $ac_objext conftest.$ac_ext4809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4643 4810 cat >conftest.$ac_ext <<_ACEOF 4644 #line $LINENO "configure"4645 4811 /* confdefs.h. */ 4646 4812 _ACEOF … … 4659 4825 rm -f conftest.$ac_objext 4660 4826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4661 (eval $ac_compile) 2>&5 4827 (eval $ac_compile) 2>conftest.er1 4828 ac_status=$? 4829 grep -v '^ *+' conftest.er1 >conftest.err 4830 rm -f conftest.er1 4831 cat conftest.err >&5 4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4833 (exit $ac_status); } && 4834 { ac_try='test -z "$ac_cxx_werror_flag" 4835 || test ! -s conftest.err' 4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4837 (eval $ac_try) 2>&5 4662 4838 ac_status=$? 4663 4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4664 (exit $ac_status); } &&4665 { ac_try='test -s conftest.$ac_objext'4840 (exit $ac_status); }; } && 4841 { ac_try='test -s conftest.$ac_objext' 4666 4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4667 4843 (eval $ac_try) 2>&5 … … 4675 4851 4676 4852 fi 4677 rm -f conftest. $ac_objext conftest.$ac_ext4853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4678 4854 done 4679 4855 rm -f conftest* … … 4731 4907 for i in 1 2 3 4 5 6; do 4732 4908 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4733 : > sub/conftst$i.h 4909 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4910 # Solaris 8's {/usr,}/bin/sh. 4911 touch sub/conftst$i.h 4734 4912 done 4735 4913 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 4816 4994 # not just through cpp. "Syntax error" is here to catch this case. 4817 4995 cat >conftest.$ac_ext <<_ACEOF 4818 #line $LINENO "configure"4819 4996 /* confdefs.h. */ 4820 4997 _ACEOF … … 4827 5004 # include <assert.h> 4828 5005 #endif 4829 Syntax error5006 Syntax error 4830 5007 _ACEOF 4831 5008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 4839 5016 if test -s conftest.err; then 4840 5017 ac_cpp_err=$ac_cxx_preproc_warn_flag 5018 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4841 5019 else 4842 5020 ac_cpp_err= … … 4859 5037 # can be detected and how. 4860 5038 cat >conftest.$ac_ext <<_ACEOF 4861 #line $LINENO "configure"4862 5039 /* confdefs.h. */ 4863 5040 _ACEOF … … 4877 5054 if test -s conftest.err; then 4878 5055 ac_cpp_err=$ac_cxx_preproc_warn_flag 5056 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4879 5057 else 4880 5058 ac_cpp_err= … … 4923 5101 # not just through cpp. "Syntax error" is here to catch this case. 4924 5102 cat >conftest.$ac_ext <<_ACEOF 4925 #line $LINENO "configure"4926 5103 /* confdefs.h. */ 4927 5104 _ACEOF … … 4934 5111 # include <assert.h> 4935 5112 #endif 4936 Syntax error5113 Syntax error 4937 5114 _ACEOF 4938 5115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 4946 5123 if test -s conftest.err; then 4947 5124 ac_cpp_err=$ac_cxx_preproc_warn_flag 5125 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4948 5126 else 4949 5127 ac_cpp_err= … … 4966 5144 # can be detected and how. 4967 5145 cat >conftest.$ac_ext <<_ACEOF 4968 #line $LINENO "configure"4969 5146 /* confdefs.h. */ 4970 5147 _ACEOF … … 4984 5161 if test -s conftest.err; then 4985 5162 ac_cpp_err=$ac_cxx_preproc_warn_flag 5163 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 4986 5164 else 4987 5165 ac_cpp_err= … … 5028 5206 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 5029 5207 if test -n "$ac_tool_prefix"; then 5030 for ac_prog in g77 f77 xlf frt pgf77 f l32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g955208 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran 5031 5209 do 5032 5210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. … … 5070 5248 if test -z "$F77"; then 5071 5249 ac_ct_F77=$F77 5072 for ac_prog in g77 f77 xlf frt pgf77 f l32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g955250 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran 5073 5251 do 5074 5252 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 5115 5293 5116 5294 # Provide some information about the compiler. 5117 echo "$as_me:5 117:" \5295 echo "$as_me:5295:" \ 5118 5296 "checking for Fortran 77 compiler version" >&5 5119 5297 ac_compiler=`set X $ac_compile; echo $2` … … 5133 5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5134 5312 (exit $ac_status); } 5313 rm -f a.out 5135 5314 5136 5315 # If we don't use `.F' as extension, the preprocessor is not run on the 5137 # input file. 5316 # input file. (Note that this only needs to work for GNU compilers.) 5138 5317 ac_save_ext=$ac_ext 5139 5318 ac_ext=F … … 5153 5332 rm -f conftest.$ac_objext 5154 5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5155 (eval $ac_compile) 2>&5 5334 (eval $ac_compile) 2>conftest.er1 5335 ac_status=$? 5336 grep -v '^ *+' conftest.er1 >conftest.err 5337 rm -f conftest.er1 5338 cat conftest.err >&5 5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5340 (exit $ac_status); } && 5341 { ac_try='test -z "$ac_f77_werror_flag" 5342 || test ! -s conftest.err' 5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5344 (eval $ac_try) 2>&5 5156 5345 ac_status=$? 5157 5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5158 (exit $ac_status); } &&5159 { ac_try='test -s conftest.$ac_objext'5347 (exit $ac_status); }; } && 5348 { ac_try='test -s conftest.$ac_objext' 5160 5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5161 5350 (eval $ac_try) 2>&5 … … 5170 5359 ac_compiler_gnu=no 5171 5360 fi 5172 rm -f conftest. $ac_objext conftest.$ac_ext5361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5173 5362 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 5174 5363 … … 5177 5366 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 5178 5367 ac_ext=$ac_save_ext 5179 G77=`test $ac_compiler_gnu = yes && echo yes`5180 5368 ac_test_FFLAGS=${FFLAGS+set} 5181 5369 ac_save_FFLAGS=$FFLAGS … … 5194 5382 rm -f conftest.$ac_objext 5195 5383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5196 (eval $ac_compile) 2>&5 5384 (eval $ac_compile) 2>conftest.er1 5385 ac_status=$? 5386 grep -v '^ *+' conftest.er1 >conftest.err 5387 rm -f conftest.er1 5388 cat conftest.err >&5 5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5390 (exit $ac_status); } && 5391 { ac_try='test -z "$ac_f77_werror_flag" 5392 || test ! -s conftest.err' 5393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5394 (eval $ac_try) 2>&5 5197 5395 ac_status=$? 5198 5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5199 (exit $ac_status); } &&5200 { ac_try='test -s conftest.$ac_objext'5397 (exit $ac_status); }; } && 5398 { ac_try='test -s conftest.$ac_objext' 5201 5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5202 5400 (eval $ac_try) 2>&5 … … 5211 5409 ac_cv_prog_f77_g=no 5212 5410 fi 5213 rm -f conftest. $ac_objext conftest.$ac_ext5411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5214 5412 5215 5413 fi … … 5219 5417 FFLAGS=$ac_save_FFLAGS 5220 5418 elif test $ac_cv_prog_f77_g = yes; then 5221 if test " $G77" =yes; then5419 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 5222 5420 FFLAGS="-g -O2" 5223 5421 else … … 5225 5423 fi 5226 5424 else 5227 if test " $G77" =yes; then5425 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 5228 5426 FFLAGS="-O2" 5229 5427 else … … 5231 5429 fi 5232 5430 fi 5431 5432 G77=`test $ac_compiler_gnu = yes && echo yes` 5233 5433 ac_ext=c 5234 5434 ac_cpp='$CPP $CPPFLAGS' … … 5248 5448 else 5249 5449 i=0 5250 test ring="ABCD"5450 teststring="ABCD" 5251 5451 5252 5452 case $build_os in … … 5277 5477 ;; 5278 5478 5479 amigaos*) 5480 # On AmigaOS with pdksh, this test takes hours, literally. 5481 # So we just punt and use a minimum line length of 8192. 5482 lt_cv_sys_max_cmd_len=8192; 5483 ;; 5484 5279 5485 *) 5280 5486 # If test is not a shell built-in, we'll probably end up computing a 5281 5487 # maximum length that is only half of the actual maximum length, but 5282 5488 # we can't tell. 5283 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$test ring" 2>/dev/null` \5284 = "XX$test ring") >/dev/null 2>&1 &&5285 new_result=`expr "X$test ring" : ".*" 2>&1` &&5489 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ 5490 = "XX$teststring") >/dev/null 2>&1 && 5491 new_result=`expr "X$teststring" : ".*" 2>&1` && 5286 5492 lt_cv_sys_max_cmd_len=$new_result && 5287 5493 test $i != 17 # 1/2 MB should be enough 5288 5494 do 5289 5495 i=`expr $i + 1` 5290 test ring=$testring$testring5496 teststring=$teststring$teststring 5291 5497 done 5292 test ring=5498 teststring= 5293 5499 # Add a significant safety factor because C++ compilers can tack on massive 5294 5500 # amounts of additional arguments before passing them to the linker. … … 6102 6308 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 6103 6309 6104 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6310 6311 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 6105 6312 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 6106 6313 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 6120 6327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6121 6328 -e 's:$: $lt_compiler_flag:'` 6122 (eval echo "\"\$as_me:6 122: $lt_compile\"" >&5)6329 (eval echo "\"\$as_me:6329: $lt_compile\"" >&5) 6123 6330 (eval "$lt_compile" 2>conftest.err) 6124 6331 ac_status=$? 6125 6332 cat conftest.err >&5 6126 echo "$as_me:6 126: \$? = $ac_status" >&56333 echo "$as_me:6333: \$? = $ac_status" >&5 6127 6334 if (exit $ac_status) && test -s "$ac_outfile"; then 6128 6335 # The compiler can only warn and ignore the option if not recognized … … 6267 6474 linux*) 6268 6475 case $CC in 6269 icc |ecc)6476 icc* | ecc*) 6270 6477 lt_prog_compiler_wl='-Wl,' 6271 6478 lt_prog_compiler_pic='-KPIC' 6272 6479 lt_prog_compiler_static='-static' 6273 6480 ;; 6274 ccc )6481 ccc*) 6275 6482 lt_prog_compiler_wl='-Wl,' 6276 6483 # All Alpha code is PIC. … … 6334 6541 # 6335 6542 if test -n "$lt_prog_compiler_pic"; then 6336 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6543 6544 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 6337 6545 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 6338 6546 if test "${lt_prog_compiler_pic_works+set}" = set; then … … 6352 6560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6353 6561 -e 's:$: $lt_compiler_flag:'` 6354 (eval echo "\"\$as_me:6 354: $lt_compile\"" >&5)6562 (eval echo "\"\$as_me:6562: $lt_compile\"" >&5) 6355 6563 (eval "$lt_compile" 2>conftest.err) 6356 6564 ac_status=$? 6357 6565 cat conftest.err >&5 6358 echo "$as_me:6 358: \$? = $ac_status" >&56566 echo "$as_me:6566: \$? = $ac_status" >&5 6359 6567 if (exit $ac_status) && test -s "$ac_outfile"; then 6360 6568 # The compiler can only warn and ignore the option if not recognized … … 6403 6611 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 6404 6612 6405 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers6406 # that will create temporary files in the current directory regardless of6407 # the output directory. Thus, making CWD read-only will cause this test6408 # to fail, enabling locking or at least warning the user not to do parallel6409 # builds.6410 chmod -w .6411 6412 6613 lt_compiler_flag="-o out/conftest2.$ac_objext" 6413 6614 # Insert the option either (1) after the last *FLAGS variable, or … … 6419 6620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6420 6621 -e 's:$: $lt_compiler_flag:'` 6421 (eval echo "\"\$as_me:6 421: $lt_compile\"" >&5)6622 (eval echo "\"\$as_me:6622: $lt_compile\"" >&5) 6422 6623 (eval "$lt_compile" 2>out/conftest.err) 6423 6624 ac_status=$? 6424 6625 cat out/conftest.err >&5 6425 echo "$as_me:6 425: \$? = $ac_status" >&56626 echo "$as_me:6626: \$? = $ac_status" >&5 6426 6627 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6427 6628 then … … 6433 6634 fi 6434 6635 chmod u+w . 6435 $rm conftest* out/* 6436 rmdir out 6636 $rm conftest* 6637 # SGI C++ compiler will create directory out/ii_files/ for 6638 # template instantiation 6639 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 6640 $rm out/* && rmdir out 6437 6641 cd .. 6438 6642 rmdir conftest … … 6632 6836 6633 6837 linux*) 6634 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then6838 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 6635 6839 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 6636 6840 archive_cmds="$tmp_archive_cmds" … … 6784 6988 # Determine the default libpath from the value encoded in an empty executable. 6785 6989 cat >conftest.$ac_ext <<_ACEOF 6786 #line $LINENO "configure"6787 6990 /* confdefs.h. */ 6788 6991 _ACEOF … … 6801 7004 rm -f conftest.$ac_objext conftest$ac_exeext 6802 7005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6803 (eval $ac_link) 2>&5 7006 (eval $ac_link) 2>conftest.er1 7007 ac_status=$? 7008 grep -v '^ *+' conftest.er1 >conftest.err 7009 rm -f conftest.er1 7010 cat conftest.err >&5 7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7012 (exit $ac_status); } && 7013 { ac_try='test -z "$ac_c_werror_flag" 7014 || test ! -s conftest.err' 7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7016 (eval $ac_try) 2>&5 6804 7017 ac_status=$? 6805 7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6806 (exit $ac_status); } &&6807 { ac_try='test -s conftest$ac_exeext'7019 (exit $ac_status); }; } && 7020 { ac_try='test -s conftest$ac_exeext' 6808 7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6809 7022 (eval $ac_try) 2>&5 … … 6822 7035 6823 7036 fi 6824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7037 rm -f conftest.err conftest.$ac_objext \ 7038 conftest$ac_exeext conftest.$ac_ext 6825 7039 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 6826 7040 … … 6835 7049 # Determine the default libpath from the value encoded in an empty executable. 6836 7050 cat >conftest.$ac_ext <<_ACEOF 6837 #line $LINENO "configure"6838 7051 /* confdefs.h. */ 6839 7052 _ACEOF … … 6852 7065 rm -f conftest.$ac_objext conftest$ac_exeext 6853 7066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6854 (eval $ac_link) 2>&5 7067 (eval $ac_link) 2>conftest.er1 7068 ac_status=$? 7069 grep -v '^ *+' conftest.er1 >conftest.err 7070 rm -f conftest.er1 7071 cat conftest.err >&5 7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7073 (exit $ac_status); } && 7074 { ac_try='test -z "$ac_c_werror_flag" 7075 || test ! -s conftest.err' 7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7077 (eval $ac_try) 2>&5 6855 7078 ac_status=$? 6856 7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6857 (exit $ac_status); } &&6858 { ac_try='test -s conftest$ac_exeext'7080 (exit $ac_status); }; } && 7081 { ac_try='test -s conftest$ac_exeext' 6859 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6860 7083 (eval $ac_try) 2>&5 … … 6873 7096 6874 7097 fi 6875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7098 rm -f conftest.err conftest.$ac_objext \ 7099 conftest$ac_exeext conftest.$ac_ext 6876 7100 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 6877 7101 … … 6914 7138 libext=lib 6915 7139 # Tell ltmain to make .dll files, not .so files. 6916 shrext =".dll"7140 shrext_cmds=".dll" 6917 7141 # FIXME: Setting linknames here is a bad hack. 6918 7142 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' … … 6926 7150 6927 7151 darwin* | rhapsody*) 6928 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then7152 if test "$GXX" = yes ; then 6929 7153 archive_cmds_need_lc=no 6930 7154 case "$host_os" in … … 6933 7157 ;; 6934 7158 *) # Darwin 1.3 on 6935 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 7159 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 7160 allow_undefined_flag='-flat_namespace -undefined suppress' 7161 else 7162 case ${MACOSX_DEPLOYMENT_TARGET} in 7163 10.[012]) 7164 allow_undefined_flag='-flat_namespace -undefined suppress' 7165 ;; 7166 10.*) 7167 allow_undefined_flag='-undefined dynamic_lookup' 7168 ;; 7169 esac 7170 fi 6936 7171 ;; 6937 7172 esac 6938 # FIXME: Relying on posixy $() will cause problems for6939 # cross-compilation, but unfortunately the echo tests do not6940 # yet detect zsh echo's removal of \ escapes. Also zsh mangles6941 # `"' quotes if we put them in here... so don't!6942 7173 lt_int_apple_cc_single_mod=no 6943 7174 output_verbose_link_cmd='echo' … … 6950 7181 archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6951 7182 fi 6952 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'7183 module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6953 7184 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 6954 7185 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then … … 6957 7188 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6958 7189 fi 6959 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'7190 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6960 7191 hardcode_direct=no 6961 7192 hardcode_automatic=yes … … 6963 7194 whole_archive_flag_spec='-all_load $convenience' 6964 7195 link_all_deplibs=yes 7196 else 7197 ld_shlibs=no 6965 7198 fi 6966 7199 ;; … … 6996 7229 6997 7230 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 6998 freebsd* )7231 freebsd* | kfreebsd*-gnu) 6999 7232 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 7000 7233 hardcode_libdir_flag_spec='-R$libdir' … … 7356 7589 esac 7357 7590 7358 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&57359 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&67360 hardcode_action=7361 if test -n "$hardcode_libdir_flag_spec" || \7362 test -n "$runpath_var " || \7363 test "X$hardcode_automatic"="Xyes" ; then7364 7365 # We can hardcode non-existant directories.7366 if test "$hardcode_direct" != no &&7367 # If the only mechanism to avoid hardcoding is shlibpath_var, we7368 # have to relink, otherwise we might link with an installed library7369 # when we should be linking with a yet-to-be-installed one7370 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&7371 test "$hardcode_minus_L" != no; then7372 # Linking always hardcodes the temporary library directory.7373 hardcode_action=relink7374 else7375 # We can link without hardcoding, and we can hardcode nonexisting dirs.7376 hardcode_action=immediate7377 fi7378 else7379 # We cannot hardcode anything, or else we can only hardcode existing7380 # directories.7381 hardcode_action=unsupported7382 fi7383 echo "$as_me:$LINENO: result: $hardcode_action" >&57384 echo "${ECHO_T}$hardcode_action" >&67385 7386 if test "$hardcode_action" = relink; then7387 # Fast installation is not supported7388 enable_fast_install=no7389 elif test "$shlibpath_overrides_runpath" = yes ||7390 test "$enable_shared" = no; then7391 # Fast installation is not necessary7392 enable_fast_install=needless7393 fi7394 7395 striplib=7396 old_striplib=7397 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&57398 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&67399 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then7400 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"7401 test -z "$striplib" && striplib="$STRIP --strip-unneeded"7402 echo "$as_me:$LINENO: result: yes" >&57403 echo "${ECHO_T}yes" >&67404 else7405 # FIXME - insert some real tests, host_os isn't really good enough7406 case $host_os in7407 darwin*)7408 if test -n "$STRIP" ; then7409 striplib="$STRIP -x"7410 echo "$as_me:$LINENO: result: yes" >&57411 echo "${ECHO_T}yes" >&67412 else7413 echo "$as_me:$LINENO: result: no" >&57414 echo "${ECHO_T}no" >&67415 fi7416 ;;7417 *)7418 echo "$as_me:$LINENO: result: no" >&57419 echo "${ECHO_T}no" >&67420 ;;7421 esac7422 fi7423 7424 7591 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 7425 7592 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 7427 7594 libname_spec='lib$name' 7428 7595 soname_spec= 7429 shrext =".so"7596 shrext_cmds=".so" 7430 7597 postinstall_cmds= 7431 7598 postuninstall_cmds= … … 7515 7682 library_names_spec='$libname.ixlibrary $libname.a' 7516 7683 # Create ${libname}_ixlibrary.a entries in /sys/libs. 7517 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'7684 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' 7518 7685 ;; 7519 7686 … … 7540 7707 cygwin* | mingw* | pw32*) 7541 7708 version_type=windows 7542 shrext =".dll"7709 shrext_cmds=".dll" 7543 7710 need_version=no 7544 7711 need_lib_prefix=no … … 7562 7729 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 7563 7730 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 7564 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"7731 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 7565 7732 ;; 7566 7733 mingw*) … … 7601 7768 need_lib_prefix=no 7602 7769 need_version=no 7603 # FIXME: Relying on posixy $() will cause problems for7604 # cross-compilation, but unfortunately the echo tests do not7605 # yet detect zsh echo's removal of \ escapes.7606 7770 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 7607 7771 soname_spec='${libname}${release}${major}$shared_ext' 7608 7772 shlibpath_overrides_runpath=yes 7609 7773 shlibpath_var=DYLD_LIBRARY_PATH 7610 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'7774 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 7611 7775 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 7612 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 7613 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 7776 if test "$GCC" = yes; then 7777 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 7778 else 7779 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 7614 7780 fi 7615 7781 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 7627 7793 freebsd1*) 7628 7794 dynamic_linker=no 7795 ;; 7796 7797 kfreebsd*-gnu) 7798 version_type=linux 7799 need_lib_prefix=no 7800 need_version=no 7801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 7802 soname_spec='${libname}${release}${shared_ext}$major' 7803 shlibpath_var=LD_LIBRARY_PATH 7804 shlibpath_overrides_runpath=no 7805 hardcode_into_libs=yes 7806 dynamic_linker='GNU ld.so' 7629 7807 ;; 7630 7808 … … 7677 7855 case "$host_cpu" in 7678 7856 ia64*) 7679 shrext ='.so'7857 shrext_cmds='.so' 7680 7858 hardcode_into_libs=yes 7681 7859 dynamic_linker="$host_os dld.so" … … 7692 7870 ;; 7693 7871 hppa*64*) 7694 shrext ='.sl'7872 shrext_cmds='.sl' 7695 7873 hardcode_into_libs=yes 7696 7874 dynamic_linker="$host_os dld.sl" … … 7703 7881 ;; 7704 7882 *) 7705 shrext ='.sl'7883 shrext_cmds='.sl' 7706 7884 dynamic_linker="$host_os dld.sl" 7707 7885 shlibpath_var=SHLIB_PATH … … 7772 7950 hardcode_into_libs=yes 7773 7951 7774 # We used to test for /lib/ld.so.1 and disable shared libraries on 7775 # powerpc, because MkLinux only supported shared libraries with the 7776 # GNU dynamic linker. Since this was broken with cross compilers, 7777 # most powerpc-linux boxes support dynamic linking these days and 7778 # people can always --disable-shared, the test was removed, and we 7779 # assume the GNU/Linux dynamic linker is in use. 7780 dynamic_linker='GNU/Linux ld.so' 7781 7782 # Find out which ABI we are using (multilib Linux x86_64 hack). 7952 # find out which ABI we are using 7783 7953 libsuff= 7784 7954 case "$host_cpu" in 7785 7955 x86_64*|s390x*|powerpc64*) 7786 echo '#line 7 786 "configure"' > conftest.$ac_ext7956 echo '#line 7956 "configure"' > conftest.$ac_ext 7787 7957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7788 7958 (eval $ac_compile) 2>&5 … … 7793 7963 *64-bit*) 7794 7964 libsuff=64 7965 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 7795 7966 ;; 7796 7967 esac … … 7798 7969 rm -rf conftest* 7799 7970 ;; 7800 *)7801 ;;7802 7971 esac 7803 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 7804 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 7972 7973 # Append ld.so.conf contents to the search path 7974 if test -f /etc/ld.so.conf; then 7975 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 7976 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 7977 fi 7978 7979 # We used to test for /lib/ld.so.1 and disable shared libraries on 7980 # powerpc, because MkLinux only supported shared libraries with the 7981 # GNU dynamic linker. Since this was broken with cross compilers, 7982 # most powerpc-linux boxes support dynamic linking these days and 7983 # people can always --disable-shared, the test was removed, and we 7984 # assume the GNU/Linux dynamic linker is in use. 7985 dynamic_linker='GNU/Linux ld.so' 7986 ;; 7987 7988 knetbsd*-gnu) 7989 version_type=linux 7990 need_lib_prefix=no 7991 need_version=no 7992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 7993 soname_spec='${libname}${release}${shared_ext}$major' 7994 shlibpath_var=LD_LIBRARY_PATH 7995 shlibpath_overrides_runpath=no 7996 hardcode_into_libs=yes 7997 dynamic_linker='GNU ld.so' 7805 7998 ;; 7806 7999 … … 7814 8007 dynamic_linker='NetBSD (a.out) ld.so' 7815 8008 else 7816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'8009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 7817 8010 soname_spec='${libname}${release}${shared_ext}$major' 7818 8011 dynamic_linker='NetBSD ld.elf_so' … … 7830 8023 ;; 7831 8024 7832 nto-qnx )8025 nto-qnx*) 7833 8026 version_type=linux 7834 8027 need_lib_prefix=no … … 7843 8036 version_type=sunos 7844 8037 need_lib_prefix=no 7845 need_version= no8038 need_version=yes 7846 8039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 7847 8040 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 7863 8056 os2*) 7864 8057 libname_spec='$name' 7865 shrext =".dll"8058 shrext_cmds=".dll" 7866 8059 need_lib_prefix=no 7867 8060 library_names_spec='$libname${shared_ext} $libname.a' … … 7961 8154 test "$dynamic_linker" = no && can_build_shared=no 7962 8155 8156 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 8157 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 8158 hardcode_action= 8159 if test -n "$hardcode_libdir_flag_spec" || \ 8160 test -n "$runpath_var " || \ 8161 test "X$hardcode_automatic"="Xyes" ; then 8162 8163 # We can hardcode non-existant directories. 8164 if test "$hardcode_direct" != no && 8165 # If the only mechanism to avoid hardcoding is shlibpath_var, we 8166 # have to relink, otherwise we might link with an installed library 8167 # when we should be linking with a yet-to-be-installed one 8168 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && 8169 test "$hardcode_minus_L" != no; then 8170 # Linking always hardcodes the temporary library directory. 8171 hardcode_action=relink 8172 else 8173 # We can link without hardcoding, and we can hardcode nonexisting dirs. 8174 hardcode_action=immediate 8175 fi 8176 else 8177 # We cannot hardcode anything, or else we can only hardcode existing 8178 # directories. 8179 hardcode_action=unsupported 8180 fi 8181 echo "$as_me:$LINENO: result: $hardcode_action" >&5 8182 echo "${ECHO_T}$hardcode_action" >&6 8183 8184 if test "$hardcode_action" = relink; then 8185 # Fast installation is not supported 8186 enable_fast_install=no 8187 elif test "$shlibpath_overrides_runpath" = yes || 8188 test "$enable_shared" = no; then 8189 # Fast installation is not necessary 8190 enable_fast_install=needless 8191 fi 8192 8193 striplib= 8194 old_striplib= 8195 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 8196 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 8197 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 8198 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 8199 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 8200 echo "$as_me:$LINENO: result: yes" >&5 8201 echo "${ECHO_T}yes" >&6 8202 else 8203 # FIXME - insert some real tests, host_os isn't really good enough 8204 case $host_os in 8205 darwin*) 8206 if test -n "$STRIP" ; then 8207 striplib="$STRIP -x" 8208 echo "$as_me:$LINENO: result: yes" >&5 8209 echo "${ECHO_T}yes" >&6 8210 else 8211 echo "$as_me:$LINENO: result: no" >&5 8212 echo "${ECHO_T}no" >&6 8213 fi 8214 ;; 8215 *) 8216 echo "$as_me:$LINENO: result: no" >&5 8217 echo "${ECHO_T}no" >&6 8218 ;; 8219 esac 8220 fi 8221 7963 8222 if test "x$enable_dlopen" != xyes; then 7964 8223 enable_dlopen=unknown … … 7996 8255 LIBS="-ldl $LIBS" 7997 8256 cat >conftest.$ac_ext <<_ACEOF 7998 #line $LINENO "configure"7999 8257 /* confdefs.h. */ 8000 8258 _ACEOF … … 8020 8278 rm -f conftest.$ac_objext conftest$ac_exeext 8021 8279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8022 (eval $ac_link) 2>&5 8280 (eval $ac_link) 2>conftest.er1 8281 ac_status=$? 8282 grep -v '^ *+' conftest.er1 >conftest.err 8283 rm -f conftest.er1 8284 cat conftest.err >&5 8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8286 (exit $ac_status); } && 8287 { ac_try='test -z "$ac_c_werror_flag" 8288 || test ! -s conftest.err' 8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8290 (eval $ac_try) 2>&5 8023 8291 ac_status=$? 8024 8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8025 (exit $ac_status); } &&8026 { ac_try='test -s conftest$ac_exeext'8293 (exit $ac_status); }; } && 8294 { ac_try='test -s conftest$ac_exeext' 8027 8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8028 8296 (eval $ac_try) 2>&5 … … 8037 8305 ac_cv_lib_dl_dlopen=no 8038 8306 fi 8039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8307 rm -f conftest.err conftest.$ac_objext \ 8308 conftest$ac_exeext conftest.$ac_ext 8040 8309 LIBS=$ac_check_lib_save_LIBS 8041 8310 fi … … 8061 8330 else 8062 8331 cat >conftest.$ac_ext <<_ACEOF 8063 #line $LINENO "configure"8064 8332 /* confdefs.h. */ 8065 8333 _ACEOF … … 8067 8335 cat >>conftest.$ac_ext <<_ACEOF 8068 8336 /* end confdefs.h. */ 8337 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 8338 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8339 #define shl_load innocuous_shl_load 8340 8069 8341 /* System header to define __stub macros and hopefully few prototypes, 8070 8342 which can conflict with char shl_load (); below. 8071 8343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8072 8344 <limits.h> exists even on freestanding compilers. */ 8345 8073 8346 #ifdef __STDC__ 8074 8347 # include <limits.h> … … 8076 8349 # include <assert.h> 8077 8350 #endif 8351 8352 #undef shl_load 8353 8078 8354 /* Override any gcc2 internal prototype to avoid an error. */ 8079 8355 #ifdef __cplusplus … … 8106 8382 rm -f conftest.$ac_objext conftest$ac_exeext 8107 8383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8108 (eval $ac_link) 2>&5 8384 (eval $ac_link) 2>conftest.er1 8385 ac_status=$? 8386 grep -v '^ *+' conftest.er1 >conftest.err 8387 rm -f conftest.er1 8388 cat conftest.err >&5 8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8390 (exit $ac_status); } && 8391 { ac_try='test -z "$ac_c_werror_flag" 8392 || test ! -s conftest.err' 8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8394 (eval $ac_try) 2>&5 8109 8395 ac_status=$? 8110 8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8111 (exit $ac_status); } &&8112 { ac_try='test -s conftest$ac_exeext'8397 (exit $ac_status); }; } && 8398 { ac_try='test -s conftest$ac_exeext' 8113 8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8114 8400 (eval $ac_try) 2>&5 … … 8123 8409 ac_cv_func_shl_load=no 8124 8410 fi 8125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8411 rm -f conftest.err conftest.$ac_objext \ 8412 conftest$ac_exeext conftest.$ac_ext 8126 8413 fi 8127 8414 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 8138 8425 LIBS="-ldld $LIBS" 8139 8426 cat >conftest.$ac_ext <<_ACEOF 8140 #line $LINENO "configure"8141 8427 /* confdefs.h. */ 8142 8428 _ACEOF … … 8162 8448 rm -f conftest.$ac_objext conftest$ac_exeext 8163 8449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8164 (eval $ac_link) 2>&5 8450 (eval $ac_link) 2>conftest.er1 8451 ac_status=$? 8452 grep -v '^ *+' conftest.er1 >conftest.err 8453 rm -f conftest.er1 8454 cat conftest.err >&5 8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8456 (exit $ac_status); } && 8457 { ac_try='test -z "$ac_c_werror_flag" 8458 || test ! -s conftest.err' 8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8460 (eval $ac_try) 2>&5 8165 8461 ac_status=$? 8166 8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8167 (exit $ac_status); } &&8168 { ac_try='test -s conftest$ac_exeext'8463 (exit $ac_status); }; } && 8464 { ac_try='test -s conftest$ac_exeext' 8169 8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8170 8466 (eval $ac_try) 2>&5 … … 8179 8475 ac_cv_lib_dld_shl_load=no 8180 8476 fi 8181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8477 rm -f conftest.err conftest.$ac_objext \ 8478 conftest$ac_exeext conftest.$ac_ext 8182 8479 LIBS=$ac_check_lib_save_LIBS 8183 8480 fi … … 8193 8490 else 8194 8491 cat >conftest.$ac_ext <<_ACEOF 8195 #line $LINENO "configure"8196 8492 /* confdefs.h. */ 8197 8493 _ACEOF … … 8199 8495 cat >>conftest.$ac_ext <<_ACEOF 8200 8496 /* end confdefs.h. */ 8497 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 8498 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8499 #define dlopen innocuous_dlopen 8500 8201 8501 /* System header to define __stub macros and hopefully few prototypes, 8202 8502 which can conflict with char dlopen (); below. 8203 8503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8204 8504 <limits.h> exists even on freestanding compilers. */ 8505 8205 8506 #ifdef __STDC__ 8206 8507 # include <limits.h> … … 8208 8509 # include <assert.h> 8209 8510 #endif 8511 8512 #undef dlopen 8513 8210 8514 /* Override any gcc2 internal prototype to avoid an error. */ 8211 8515 #ifdef __cplusplus … … 8238 8542 rm -f conftest.$ac_objext conftest$ac_exeext 8239 8543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8240 (eval $ac_link) 2>&5 8544 (eval $ac_link) 2>conftest.er1 8545 ac_status=$? 8546 grep -v '^ *+' conftest.er1 >conftest.err 8547 rm -f conftest.er1 8548 cat conftest.err >&5 8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8550 (exit $ac_status); } && 8551 { ac_try='test -z "$ac_c_werror_flag" 8552 || test ! -s conftest.err' 8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8554 (eval $ac_try) 2>&5 8241 8555 ac_status=$? 8242 8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8243 (exit $ac_status); } &&8244 { ac_try='test -s conftest$ac_exeext'8557 (exit $ac_status); }; } && 8558 { ac_try='test -s conftest$ac_exeext' 8245 8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8246 8560 (eval $ac_try) 2>&5 … … 8255 8569 ac_cv_func_dlopen=no 8256 8570 fi 8257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8571 rm -f conftest.err conftest.$ac_objext \ 8572 conftest$ac_exeext conftest.$ac_ext 8258 8573 fi 8259 8574 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 8270 8585 LIBS="-ldl $LIBS" 8271 8586 cat >conftest.$ac_ext <<_ACEOF 8272 #line $LINENO "configure"8273 8587 /* confdefs.h. */ 8274 8588 _ACEOF … … 8294 8608 rm -f conftest.$ac_objext conftest$ac_exeext 8295 8609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8296 (eval $ac_link) 2>&5 8610 (eval $ac_link) 2>conftest.er1 8611 ac_status=$? 8612 grep -v '^ *+' conftest.er1 >conftest.err 8613 rm -f conftest.er1 8614 cat conftest.err >&5 8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8616 (exit $ac_status); } && 8617 { ac_try='test -z "$ac_c_werror_flag" 8618 || test ! -s conftest.err' 8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8620 (eval $ac_try) 2>&5 8297 8621 ac_status=$? 8298 8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8299 (exit $ac_status); } &&8300 { ac_try='test -s conftest$ac_exeext'8623 (exit $ac_status); }; } && 8624 { ac_try='test -s conftest$ac_exeext' 8301 8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8302 8626 (eval $ac_try) 2>&5 … … 8311 8635 ac_cv_lib_dl_dlopen=no 8312 8636 fi 8313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8637 rm -f conftest.err conftest.$ac_objext \ 8638 conftest$ac_exeext conftest.$ac_ext 8314 8639 LIBS=$ac_check_lib_save_LIBS 8315 8640 fi … … 8327 8652 LIBS="-lsvld $LIBS" 8328 8653 cat >conftest.$ac_ext <<_ACEOF 8329 #line $LINENO "configure"8330 8654 /* confdefs.h. */ 8331 8655 _ACEOF … … 8351 8675 rm -f conftest.$ac_objext conftest$ac_exeext 8352 8676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8353 (eval $ac_link) 2>&5 8677 (eval $ac_link) 2>conftest.er1 8678 ac_status=$? 8679 grep -v '^ *+' conftest.er1 >conftest.err 8680 rm -f conftest.er1 8681 cat conftest.err >&5 8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8683 (exit $ac_status); } && 8684 { ac_try='test -z "$ac_c_werror_flag" 8685 || test ! -s conftest.err' 8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8687 (eval $ac_try) 2>&5 8354 8688 ac_status=$? 8355 8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8356 (exit $ac_status); } &&8357 { ac_try='test -s conftest$ac_exeext'8690 (exit $ac_status); }; } && 8691 { ac_try='test -s conftest$ac_exeext' 8358 8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8359 8693 (eval $ac_try) 2>&5 … … 8368 8702 ac_cv_lib_svld_dlopen=no 8369 8703 fi 8370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8704 rm -f conftest.err conftest.$ac_objext \ 8705 conftest$ac_exeext conftest.$ac_ext 8371 8706 LIBS=$ac_check_lib_save_LIBS 8372 8707 fi … … 8384 8719 LIBS="-ldld $LIBS" 8385 8720 cat >conftest.$ac_ext <<_ACEOF 8386 #line $LINENO "configure"8387 8721 /* confdefs.h. */ 8388 8722 _ACEOF … … 8408 8742 rm -f conftest.$ac_objext conftest$ac_exeext 8409 8743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8410 (eval $ac_link) 2>&5 8744 (eval $ac_link) 2>conftest.er1 8745 ac_status=$? 8746 grep -v '^ *+' conftest.er1 >conftest.err 8747 rm -f conftest.er1 8748 cat conftest.err >&5 8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8750 (exit $ac_status); } && 8751 { ac_try='test -z "$ac_c_werror_flag" 8752 || test ! -s conftest.err' 8753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8754 (eval $ac_try) 2>&5 8411 8755 ac_status=$? 8412 8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8413 (exit $ac_status); } &&8414 { ac_try='test -s conftest$ac_exeext'8757 (exit $ac_status); }; } && 8758 { ac_try='test -s conftest$ac_exeext' 8415 8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8416 8760 (eval $ac_try) 2>&5 … … 8425 8769 ac_cv_lib_dld_dld_link=no 8426 8770 fi 8427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8771 rm -f conftest.err conftest.$ac_objext \ 8772 conftest$ac_exeext conftest.$ac_ext 8428 8773 LIBS=$ac_check_lib_save_LIBS 8429 8774 fi … … 8480 8825 lt_status=$lt_dlunknown 8481 8826 cat > conftest.$ac_ext <<EOF 8482 #line 8 482"configure"8827 #line 8827 "configure" 8483 8828 #include "confdefs.h" 8484 8829 … … 8578 8923 lt_status=$lt_dlunknown 8579 8924 cat > conftest.$ac_ext <<EOF 8580 #line 8 580"configure"8925 #line 8925 "configure" 8581 8926 #include "confdefs.h" 8582 8927 … … 8703 9048 ;; 8704 9049 8705 aix4* )9050 aix4* | aix5*) 8706 9051 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 8707 9052 test "$enable_shared" = yes && enable_static=no … … 8709 9054 ;; 8710 9055 darwin* | rhapsody*) 8711 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then9056 if test "$GCC" = yes; then 8712 9057 archive_cmds_need_lc=no 8713 9058 case "$host_os" in … … 8716 9061 ;; 8717 9062 *) # Darwin 1.3 on 8718 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' 9063 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 9064 allow_undefined_flag='-flat_namespace -undefined suppress' 9065 else 9066 case ${MACOSX_DEPLOYMENT_TARGET} in 9067 10.[012]) 9068 allow_undefined_flag='-flat_namespace -undefined suppress' 9069 ;; 9070 10.*) 9071 allow_undefined_flag='-undefined dynamic_lookup' 9072 ;; 9073 esac 9074 fi 8719 9075 ;; 8720 9076 esac 8721 # FIXME: Relying on posixy $() will cause problems for 8722 # cross-compilation, but unfortunately the echo tests do not 8723 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 8724 # `"' quotes if we put them in here... so don't! 8725 output_verbose_link_cmd='echo' 9077 output_verbose_link_cmd='echo' 8726 9078 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 8727 module_cmds='$CC -bundle $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'9079 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8728 9080 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 8729 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'8730 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'9081 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9082 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8731 9083 hardcode_direct=no 8732 9084 hardcode_automatic=yes … … 8734 9086 whole_archive_flag_spec='-all_load $convenience' 8735 9087 link_all_deplibs=yes 8736 fi 9088 else 9089 ld_shlibs=no 9090 fi 8737 9091 ;; 8738 9092 esac … … 8760 9114 # careful not to overquote the AC_SUBSTed values. We take copies of the 8761 9115 # variables and quote the copies for generation of the libtool script. 8762 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 9116 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 9117 SED SHELL STRIP \ 8763 9118 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 8764 9119 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 8938 9293 8939 9294 # A symbol stripping program 8940 STRIP=$ STRIP9295 STRIP=$lt_STRIP 8941 9296 8942 9297 # Used to examine libraries when file_magic_cmd begins "file" … … 8969 9324 8970 9325 # Shared library suffix (normally ".so"). 8971 shrext ='$shrext'9326 shrext_cmds='$shrext_cmds' 8972 9327 8973 9328 # Executable file suffix (normally ""). … … 9211 9566 # `config.status --recheck' to rerun these tests and create the 9212 9567 # libtool script then. 9213 test -f Makefile && make "$ltmain" 9568 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 9569 if test -f "$ltmain_in"; then 9570 test -f Makefile && make "$ltmain" 9571 fi 9214 9572 fi 9215 9573 … … 9392 9750 [\\/]* | ?:[\\/]*) 9393 9751 re_direlt='/[^/][^/]*/\.\./' 9394 # Canonicalize the path of ld9752 # Canonicalize the pathname of ld 9395 9753 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 9396 9754 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 9614 9972 # Determine the default libpath from the value encoded in an empty executable. 9615 9973 cat >conftest.$ac_ext <<_ACEOF 9616 #line $LINENO "configure"9617 9974 /* confdefs.h. */ 9618 9975 _ACEOF … … 9631 9988 rm -f conftest.$ac_objext conftest$ac_exeext 9632 9989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9633 (eval $ac_link) 2>&5 9990 (eval $ac_link) 2>conftest.er1 9991 ac_status=$? 9992 grep -v '^ *+' conftest.er1 >conftest.err 9993 rm -f conftest.er1 9994 cat conftest.err >&5 9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9996 (exit $ac_status); } && 9997 { ac_try='test -z "$ac_cxx_werror_flag" 9998 || test ! -s conftest.err' 9999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10000 (eval $ac_try) 2>&5 9634 10001 ac_status=$? 9635 10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9636 (exit $ac_status); } &&9637 { ac_try='test -s conftest$ac_exeext'10003 (exit $ac_status); }; } && 10004 { ac_try='test -s conftest$ac_exeext' 9638 10005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9639 10006 (eval $ac_try) 2>&5 … … 9652 10019 9653 10020 fi 9654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10021 rm -f conftest.err conftest.$ac_objext \ 10022 conftest$ac_exeext conftest.$ac_ext 9655 10023 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9656 10024 … … 9666 10034 # Determine the default libpath from the value encoded in an empty executable. 9667 10035 cat >conftest.$ac_ext <<_ACEOF 9668 #line $LINENO "configure"9669 10036 /* confdefs.h. */ 9670 10037 _ACEOF … … 9683 10050 rm -f conftest.$ac_objext conftest$ac_exeext 9684 10051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9685 (eval $ac_link) 2>&5 10052 (eval $ac_link) 2>conftest.er1 10053 ac_status=$? 10054 grep -v '^ *+' conftest.er1 >conftest.err 10055 rm -f conftest.er1 10056 cat conftest.err >&5 10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10058 (exit $ac_status); } && 10059 { ac_try='test -z "$ac_cxx_werror_flag" 10060 || test ! -s conftest.err' 10061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10062 (eval $ac_try) 2>&5 9686 10063 ac_status=$? 9687 10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9688 (exit $ac_status); } &&9689 { ac_try='test -s conftest$ac_exeext'10065 (exit $ac_status); }; } && 10066 { ac_try='test -s conftest$ac_exeext' 9690 10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9691 10068 (eval $ac_try) 2>&5 … … 9704 10081 9705 10082 fi 9706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10083 rm -f conftest.err conftest.$ac_objext \ 10084 conftest$ac_exeext conftest.$ac_ext 9707 10085 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9708 10086 … … 9756 10134 9757 10135 darwin* | rhapsody*) 9758 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then10136 if test "$GXX" = yes; then 9759 10137 archive_cmds_need_lc_CXX=no 9760 10138 case "$host_os" in … … 9763 10141 ;; 9764 10142 *) # Darwin 1.3 on 9765 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10143 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 10144 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10145 else 10146 case ${MACOSX_DEPLOYMENT_TARGET} in 10147 10.[012]) 10148 allow_undefined_flag_CXX='-flat_namespace -undefined suppress' 10149 ;; 10150 10.*) 10151 allow_undefined_flag_CXX='-undefined dynamic_lookup' 10152 ;; 10153 esac 10154 fi 9766 10155 ;; 9767 10156 esac 9768 lt_int_apple_cc_single_mod=no9769 output_verbose_link_cmd='echo'9770 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then9771 lt_int_apple_cc_single_mod=yes9772 fi9773 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then9774 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'9775 else9776 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'9777 fi9778 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'10157 lt_int_apple_cc_single_mod=no 10158 output_verbose_link_cmd='echo' 10159 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 10160 lt_int_apple_cc_single_mod=yes 10161 fi 10162 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10163 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10164 else 10165 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 10166 fi 10167 module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 9779 10168 9780 10169 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 9781 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then9782 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'9783 else9784 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'9785 fi9786 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'10170 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10171 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10172 else 10173 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10174 fi 10175 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 9787 10176 hardcode_direct_CXX=no 9788 10177 hardcode_automatic_CXX=yes … … 9790 10179 whole_archive_flag_spec_CXX='-all_load $convenience' 9791 10180 link_all_deplibs_CXX=yes 9792 fi 10181 else 10182 ld_shlibs_CXX=no 10183 fi 9793 10184 ;; 9794 10185 … … 9817 10208 archive_cmds_need_lc_CXX=no 9818 10209 ;; 9819 freebsd* )10210 freebsd* | kfreebsd*-gnu) 9820 10211 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 9821 10212 # conventions … … 9848 10239 # from the output so that they don't get included in the library 9849 10240 # dependencies. 9850 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'10241 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 9851 10242 ;; 9852 10243 *) … … 10524 10915 esac 10525 10916 ;; 10526 freebsd* )10917 freebsd* | kfreebsd*-gnu) 10527 10918 # FreeBSD uses GNU C++ 10528 10919 ;; … … 10692 11083 # 10693 11084 if test -n "$lt_prog_compiler_pic_CXX"; then 10694 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 11085 11086 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 10695 11087 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 10696 11088 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then … … 10710 11102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10711 11103 -e 's:$: $lt_compiler_flag:'` 10712 (eval echo "\"\$as_me:1 0712: $lt_compile\"" >&5)11104 (eval echo "\"\$as_me:11104: $lt_compile\"" >&5) 10713 11105 (eval "$lt_compile" 2>conftest.err) 10714 11106 ac_status=$? 10715 11107 cat conftest.err >&5 10716 echo "$as_me:1 0716: \$? = $ac_status" >&511108 echo "$as_me:11108: \$? = $ac_status" >&5 10717 11109 if (exit $ac_status) && test -s "$ac_outfile"; then 10718 11110 # The compiler can only warn and ignore the option if not recognized … … 10761 11153 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 10762 11154 10763 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers10764 # that will create temporary files in the current directory regardless of10765 # the output directory. Thus, making CWD read-only will cause this test10766 # to fail, enabling locking or at least warning the user not to do parallel10767 # builds.10768 chmod -w .10769 10770 11155 lt_compiler_flag="-o out/conftest2.$ac_objext" 10771 11156 # Insert the option either (1) after the last *FLAGS variable, or … … 10777 11162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10778 11163 -e 's:$: $lt_compiler_flag:'` 10779 (eval echo "\"\$as_me:1 0779: $lt_compile\"" >&5)11164 (eval echo "\"\$as_me:11164: $lt_compile\"" >&5) 10780 11165 (eval "$lt_compile" 2>out/conftest.err) 10781 11166 ac_status=$? 10782 11167 cat out/conftest.err >&5 10783 echo "$as_me:1 0783: \$? = $ac_status" >&511168 echo "$as_me:11168: \$? = $ac_status" >&5 10784 11169 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10785 11170 then … … 10791 11176 fi 10792 11177 chmod u+w . 10793 $rm conftest* out/* 10794 rmdir out 11178 $rm conftest* 11179 # SGI C++ compiler will create directory out/ii_files/ for 11180 # template instantiation 11181 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 11182 $rm out/* && rmdir out 10795 11183 cd .. 10796 11184 rmdir conftest … … 10920 11308 esac 10921 11309 10922 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&510923 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&610924 hardcode_action_CXX=10925 if test -n "$hardcode_libdir_flag_spec_CXX" || \10926 test -n "$runpath_var CXX" || \10927 test "X$hardcode_automatic_CXX"="Xyes" ; then10928 10929 # We can hardcode non-existant directories.10930 if test "$hardcode_direct_CXX" != no &&10931 # If the only mechanism to avoid hardcoding is shlibpath_var, we10932 # have to relink, otherwise we might link with an installed library10933 # when we should be linking with a yet-to-be-installed one10934 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&10935 test "$hardcode_minus_L_CXX" != no; then10936 # Linking always hardcodes the temporary library directory.10937 hardcode_action_CXX=relink10938 else10939 # We can link without hardcoding, and we can hardcode nonexisting dirs.10940 hardcode_action_CXX=immediate10941 fi10942 else10943 # We cannot hardcode anything, or else we can only hardcode existing10944 # directories.10945 hardcode_action_CXX=unsupported10946 fi10947 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&510948 echo "${ECHO_T}$hardcode_action_CXX" >&610949 10950 if test "$hardcode_action_CXX" = relink; then10951 # Fast installation is not supported10952 enable_fast_install=no10953 elif test "$shlibpath_overrides_runpath" = yes ||10954 test "$enable_shared" = no; then10955 # Fast installation is not necessary10956 enable_fast_install=needless10957 fi10958 10959 striplib=10960 old_striplib=10961 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&510962 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&610963 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then10964 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"10965 test -z "$striplib" && striplib="$STRIP --strip-unneeded"10966 echo "$as_me:$LINENO: result: yes" >&510967 echo "${ECHO_T}yes" >&610968 else10969 # FIXME - insert some real tests, host_os isn't really good enough10970 case $host_os in10971 darwin*)10972 if test -n "$STRIP" ; then10973 striplib="$STRIP -x"10974 echo "$as_me:$LINENO: result: yes" >&510975 echo "${ECHO_T}yes" >&610976 else10977 echo "$as_me:$LINENO: result: no" >&510978 echo "${ECHO_T}no" >&610979 fi10980 ;;10981 *)10982 echo "$as_me:$LINENO: result: no" >&510983 echo "${ECHO_T}no" >&610984 ;;10985 esac10986 fi10987 10988 11310 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10989 11311 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 10991 11313 libname_spec='lib$name' 10992 11314 soname_spec= 10993 shrext =".so"11315 shrext_cmds=".so" 10994 11316 postinstall_cmds= 10995 11317 postuninstall_cmds= … … 11079 11401 library_names_spec='$libname.ixlibrary $libname.a' 11080 11402 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11081 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'11403 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' 11082 11404 ;; 11083 11405 … … 11104 11426 cygwin* | mingw* | pw32*) 11105 11427 version_type=windows 11106 shrext =".dll"11428 shrext_cmds=".dll" 11107 11429 need_version=no 11108 11430 need_lib_prefix=no … … 11126 11448 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11127 11449 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 11128 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"11450 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 11129 11451 ;; 11130 11452 mingw*) … … 11165 11487 need_lib_prefix=no 11166 11488 need_version=no 11167 # FIXME: Relying on posixy $() will cause problems for11168 # cross-compilation, but unfortunately the echo tests do not11169 # yet detect zsh echo's removal of \ escapes.11170 11489 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 11171 11490 soname_spec='${libname}${release}${major}$shared_ext' 11172 11491 shlibpath_overrides_runpath=yes 11173 11492 shlibpath_var=DYLD_LIBRARY_PATH 11174 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'11493 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 11175 11494 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 11176 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 11177 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 11495 if test "$GCC" = yes; then 11496 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 11497 else 11498 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 11178 11499 fi 11179 11500 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 11191 11512 freebsd1*) 11192 11513 dynamic_linker=no 11514 ;; 11515 11516 kfreebsd*-gnu) 11517 version_type=linux 11518 need_lib_prefix=no 11519 need_version=no 11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11521 soname_spec='${libname}${release}${shared_ext}$major' 11522 shlibpath_var=LD_LIBRARY_PATH 11523 shlibpath_overrides_runpath=no 11524 hardcode_into_libs=yes 11525 dynamic_linker='GNU ld.so' 11193 11526 ;; 11194 11527 … … 11241 11574 case "$host_cpu" in 11242 11575 ia64*) 11243 shrext ='.so'11576 shrext_cmds='.so' 11244 11577 hardcode_into_libs=yes 11245 11578 dynamic_linker="$host_os dld.so" … … 11256 11589 ;; 11257 11590 hppa*64*) 11258 shrext ='.sl'11591 shrext_cmds='.sl' 11259 11592 hardcode_into_libs=yes 11260 11593 dynamic_linker="$host_os dld.sl" … … 11267 11600 ;; 11268 11601 *) 11269 shrext ='.sl'11602 shrext_cmds='.sl' 11270 11603 dynamic_linker="$host_os dld.sl" 11271 11604 shlibpath_var=SHLIB_PATH … … 11336 11669 hardcode_into_libs=yes 11337 11670 11338 # We used to test for /lib/ld.so.1 and disable shared libraries on 11339 # powerpc, because MkLinux only supported shared libraries with the 11340 # GNU dynamic linker. Since this was broken with cross compilers, 11341 # most powerpc-linux boxes support dynamic linking these days and 11342 # people can always --disable-shared, the test was removed, and we 11343 # assume the GNU/Linux dynamic linker is in use. 11344 dynamic_linker='GNU/Linux ld.so' 11345 11346 # Find out which ABI we are using (multilib Linux x86_64 hack). 11671 # find out which ABI we are using 11347 11672 libsuff= 11348 11673 case "$host_cpu" in 11349 11674 x86_64*|s390x*|powerpc64*) 11350 echo '#line 11 350"configure"' > conftest.$ac_ext11675 echo '#line 11675 "configure"' > conftest.$ac_ext 11351 11676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11352 11677 (eval $ac_compile) 2>&5 … … 11357 11682 *64-bit*) 11358 11683 libsuff=64 11684 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 11359 11685 ;; 11360 11686 esac … … 11362 11688 rm -rf conftest* 11363 11689 ;; 11364 *)11365 ;;11366 11690 esac 11367 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 11368 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 11691 11692 # Append ld.so.conf contents to the search path 11693 if test -f /etc/ld.so.conf; then 11694 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 11695 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 11696 fi 11697 11698 # We used to test for /lib/ld.so.1 and disable shared libraries on 11699 # powerpc, because MkLinux only supported shared libraries with the 11700 # GNU dynamic linker. Since this was broken with cross compilers, 11701 # most powerpc-linux boxes support dynamic linking these days and 11702 # people can always --disable-shared, the test was removed, and we 11703 # assume the GNU/Linux dynamic linker is in use. 11704 dynamic_linker='GNU/Linux ld.so' 11705 ;; 11706 11707 knetbsd*-gnu) 11708 version_type=linux 11709 need_lib_prefix=no 11710 need_version=no 11711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11712 soname_spec='${libname}${release}${shared_ext}$major' 11713 shlibpath_var=LD_LIBRARY_PATH 11714 shlibpath_overrides_runpath=no 11715 hardcode_into_libs=yes 11716 dynamic_linker='GNU ld.so' 11369 11717 ;; 11370 11718 … … 11378 11726 dynamic_linker='NetBSD (a.out) ld.so' 11379 11727 else 11380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11381 11729 soname_spec='${libname}${release}${shared_ext}$major' 11382 11730 dynamic_linker='NetBSD ld.elf_so' … … 11394 11742 ;; 11395 11743 11396 nto-qnx )11744 nto-qnx*) 11397 11745 version_type=linux 11398 11746 need_lib_prefix=no … … 11407 11755 version_type=sunos 11408 11756 need_lib_prefix=no 11409 need_version= no11757 need_version=yes 11410 11758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11411 11759 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 11427 11775 os2*) 11428 11776 libname_spec='$name' 11429 shrext =".dll"11777 shrext_cmds=".dll" 11430 11778 need_lib_prefix=no 11431 11779 library_names_spec='$libname${shared_ext} $libname.a' … … 11525 11873 test "$dynamic_linker" = no && can_build_shared=no 11526 11874 11875 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 11876 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 11877 hardcode_action_CXX= 11878 if test -n "$hardcode_libdir_flag_spec_CXX" || \ 11879 test -n "$runpath_var CXX" || \ 11880 test "X$hardcode_automatic_CXX"="Xyes" ; then 11881 11882 # We can hardcode non-existant directories. 11883 if test "$hardcode_direct_CXX" != no && 11884 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11885 # have to relink, otherwise we might link with an installed library 11886 # when we should be linking with a yet-to-be-installed one 11887 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 11888 test "$hardcode_minus_L_CXX" != no; then 11889 # Linking always hardcodes the temporary library directory. 11890 hardcode_action_CXX=relink 11891 else 11892 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11893 hardcode_action_CXX=immediate 11894 fi 11895 else 11896 # We cannot hardcode anything, or else we can only hardcode existing 11897 # directories. 11898 hardcode_action_CXX=unsupported 11899 fi 11900 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 11901 echo "${ECHO_T}$hardcode_action_CXX" >&6 11902 11903 if test "$hardcode_action_CXX" = relink; then 11904 # Fast installation is not supported 11905 enable_fast_install=no 11906 elif test "$shlibpath_overrides_runpath" = yes || 11907 test "$enable_shared" = no; then 11908 # Fast installation is not necessary 11909 enable_fast_install=needless 11910 fi 11911 11912 striplib= 11913 old_striplib= 11914 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11915 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 11916 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 11917 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11918 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11919 echo "$as_me:$LINENO: result: yes" >&5 11920 echo "${ECHO_T}yes" >&6 11921 else 11922 # FIXME - insert some real tests, host_os isn't really good enough 11923 case $host_os in 11924 darwin*) 11925 if test -n "$STRIP" ; then 11926 striplib="$STRIP -x" 11927 echo "$as_me:$LINENO: result: yes" >&5 11928 echo "${ECHO_T}yes" >&6 11929 else 11930 echo "$as_me:$LINENO: result: no" >&5 11931 echo "${ECHO_T}no" >&6 11932 fi 11933 ;; 11934 *) 11935 echo "$as_me:$LINENO: result: no" >&5 11936 echo "${ECHO_T}no" >&6 11937 ;; 11938 esac 11939 fi 11940 11527 11941 if test "x$enable_dlopen" != xyes; then 11528 11942 enable_dlopen=unknown … … 11560 11974 LIBS="-ldl $LIBS" 11561 11975 cat >conftest.$ac_ext <<_ACEOF 11562 #line $LINENO "configure"11563 11976 /* confdefs.h. */ 11564 11977 _ACEOF … … 11584 11997 rm -f conftest.$ac_objext conftest$ac_exeext 11585 11998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11586 (eval $ac_link) 2>&5 11999 (eval $ac_link) 2>conftest.er1 12000 ac_status=$? 12001 grep -v '^ *+' conftest.er1 >conftest.err 12002 rm -f conftest.er1 12003 cat conftest.err >&5 12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12005 (exit $ac_status); } && 12006 { ac_try='test -z "$ac_cxx_werror_flag" 12007 || test ! -s conftest.err' 12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12009 (eval $ac_try) 2>&5 11587 12010 ac_status=$? 11588 12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11589 (exit $ac_status); } &&11590 { ac_try='test -s conftest$ac_exeext'12012 (exit $ac_status); }; } && 12013 { ac_try='test -s conftest$ac_exeext' 11591 12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11592 12015 (eval $ac_try) 2>&5 … … 11601 12024 ac_cv_lib_dl_dlopen=no 11602 12025 fi 11603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12026 rm -f conftest.err conftest.$ac_objext \ 12027 conftest$ac_exeext conftest.$ac_ext 11604 12028 LIBS=$ac_check_lib_save_LIBS 11605 12029 fi … … 11625 12049 else 11626 12050 cat >conftest.$ac_ext <<_ACEOF 11627 #line $LINENO "configure"11628 12051 /* confdefs.h. */ 11629 12052 _ACEOF … … 11631 12054 cat >>conftest.$ac_ext <<_ACEOF 11632 12055 /* end confdefs.h. */ 12056 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 12057 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12058 #define shl_load innocuous_shl_load 12059 11633 12060 /* System header to define __stub macros and hopefully few prototypes, 11634 12061 which can conflict with char shl_load (); below. 11635 12062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11636 12063 <limits.h> exists even on freestanding compilers. */ 12064 11637 12065 #ifdef __STDC__ 11638 12066 # include <limits.h> … … 11640 12068 # include <assert.h> 11641 12069 #endif 12070 12071 #undef shl_load 12072 11642 12073 /* Override any gcc2 internal prototype to avoid an error. */ 11643 12074 #ifdef __cplusplus … … 11670 12101 rm -f conftest.$ac_objext conftest$ac_exeext 11671 12102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11672 (eval $ac_link) 2>&5 12103 (eval $ac_link) 2>conftest.er1 12104 ac_status=$? 12105 grep -v '^ *+' conftest.er1 >conftest.err 12106 rm -f conftest.er1 12107 cat conftest.err >&5 12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12109 (exit $ac_status); } && 12110 { ac_try='test -z "$ac_cxx_werror_flag" 12111 || test ! -s conftest.err' 12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12113 (eval $ac_try) 2>&5 11673 12114 ac_status=$? 11674 12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11675 (exit $ac_status); } &&11676 { ac_try='test -s conftest$ac_exeext'12116 (exit $ac_status); }; } && 12117 { ac_try='test -s conftest$ac_exeext' 11677 12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11678 12119 (eval $ac_try) 2>&5 … … 11687 12128 ac_cv_func_shl_load=no 11688 12129 fi 11689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12130 rm -f conftest.err conftest.$ac_objext \ 12131 conftest$ac_exeext conftest.$ac_ext 11690 12132 fi 11691 12133 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 11702 12144 LIBS="-ldld $LIBS" 11703 12145 cat >conftest.$ac_ext <<_ACEOF 11704 #line $LINENO "configure"11705 12146 /* confdefs.h. */ 11706 12147 _ACEOF … … 11726 12167 rm -f conftest.$ac_objext conftest$ac_exeext 11727 12168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11728 (eval $ac_link) 2>&5 12169 (eval $ac_link) 2>conftest.er1 12170 ac_status=$? 12171 grep -v '^ *+' conftest.er1 >conftest.err 12172 rm -f conftest.er1 12173 cat conftest.err >&5 12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12175 (exit $ac_status); } && 12176 { ac_try='test -z "$ac_cxx_werror_flag" 12177 || test ! -s conftest.err' 12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12179 (eval $ac_try) 2>&5 11729 12180 ac_status=$? 11730 12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11731 (exit $ac_status); } &&11732 { ac_try='test -s conftest$ac_exeext'12182 (exit $ac_status); }; } && 12183 { ac_try='test -s conftest$ac_exeext' 11733 12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11734 12185 (eval $ac_try) 2>&5 … … 11743 12194 ac_cv_lib_dld_shl_load=no 11744 12195 fi 11745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12196 rm -f conftest.err conftest.$ac_objext \ 12197 conftest$ac_exeext conftest.$ac_ext 11746 12198 LIBS=$ac_check_lib_save_LIBS 11747 12199 fi … … 11757 12209 else 11758 12210 cat >conftest.$ac_ext <<_ACEOF 11759 #line $LINENO "configure"11760 12211 /* confdefs.h. */ 11761 12212 _ACEOF … … 11763 12214 cat >>conftest.$ac_ext <<_ACEOF 11764 12215 /* end confdefs.h. */ 12216 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 12217 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12218 #define dlopen innocuous_dlopen 12219 11765 12220 /* System header to define __stub macros and hopefully few prototypes, 11766 12221 which can conflict with char dlopen (); below. 11767 12222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11768 12223 <limits.h> exists even on freestanding compilers. */ 12224 11769 12225 #ifdef __STDC__ 11770 12226 # include <limits.h> … … 11772 12228 # include <assert.h> 11773 12229 #endif 12230 12231 #undef dlopen 12232 11774 12233 /* Override any gcc2 internal prototype to avoid an error. */ 11775 12234 #ifdef __cplusplus … … 11802 12261 rm -f conftest.$ac_objext conftest$ac_exeext 11803 12262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11804 (eval $ac_link) 2>&5 12263 (eval $ac_link) 2>conftest.er1 12264 ac_status=$? 12265 grep -v '^ *+' conftest.er1 >conftest.err 12266 rm -f conftest.er1 12267 cat conftest.err >&5 12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12269 (exit $ac_status); } && 12270 { ac_try='test -z "$ac_cxx_werror_flag" 12271 || test ! -s conftest.err' 12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12273 (eval $ac_try) 2>&5 11805 12274 ac_status=$? 11806 12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11807 (exit $ac_status); } &&11808 { ac_try='test -s conftest$ac_exeext'12276 (exit $ac_status); }; } && 12277 { ac_try='test -s conftest$ac_exeext' 11809 12278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11810 12279 (eval $ac_try) 2>&5 … … 11819 12288 ac_cv_func_dlopen=no 11820 12289 fi 11821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12290 rm -f conftest.err conftest.$ac_objext \ 12291 conftest$ac_exeext conftest.$ac_ext 11822 12292 fi 11823 12293 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 11834 12304 LIBS="-ldl $LIBS" 11835 12305 cat >conftest.$ac_ext <<_ACEOF 11836 #line $LINENO "configure"11837 12306 /* confdefs.h. */ 11838 12307 _ACEOF … … 11858 12327 rm -f conftest.$ac_objext conftest$ac_exeext 11859 12328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11860 (eval $ac_link) 2>&5 12329 (eval $ac_link) 2>conftest.er1 12330 ac_status=$? 12331 grep -v '^ *+' conftest.er1 >conftest.err 12332 rm -f conftest.er1 12333 cat conftest.err >&5 12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12335 (exit $ac_status); } && 12336 { ac_try='test -z "$ac_cxx_werror_flag" 12337 || test ! -s conftest.err' 12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12339 (eval $ac_try) 2>&5 11861 12340 ac_status=$? 11862 12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11863 (exit $ac_status); } &&11864 { ac_try='test -s conftest$ac_exeext'12342 (exit $ac_status); }; } && 12343 { ac_try='test -s conftest$ac_exeext' 11865 12344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11866 12345 (eval $ac_try) 2>&5 … … 11875 12354 ac_cv_lib_dl_dlopen=no 11876 12355 fi 11877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12356 rm -f conftest.err conftest.$ac_objext \ 12357 conftest$ac_exeext conftest.$ac_ext 11878 12358 LIBS=$ac_check_lib_save_LIBS 11879 12359 fi … … 11891 12371 LIBS="-lsvld $LIBS" 11892 12372 cat >conftest.$ac_ext <<_ACEOF 11893 #line $LINENO "configure"11894 12373 /* confdefs.h. */ 11895 12374 _ACEOF … … 11915 12394 rm -f conftest.$ac_objext conftest$ac_exeext 11916 12395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11917 (eval $ac_link) 2>&5 12396 (eval $ac_link) 2>conftest.er1 12397 ac_status=$? 12398 grep -v '^ *+' conftest.er1 >conftest.err 12399 rm -f conftest.er1 12400 cat conftest.err >&5 12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12402 (exit $ac_status); } && 12403 { ac_try='test -z "$ac_cxx_werror_flag" 12404 || test ! -s conftest.err' 12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12406 (eval $ac_try) 2>&5 11918 12407 ac_status=$? 11919 12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11920 (exit $ac_status); } &&11921 { ac_try='test -s conftest$ac_exeext'12409 (exit $ac_status); }; } && 12410 { ac_try='test -s conftest$ac_exeext' 11922 12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11923 12412 (eval $ac_try) 2>&5 … … 11932 12421 ac_cv_lib_svld_dlopen=no 11933 12422 fi 11934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12423 rm -f conftest.err conftest.$ac_objext \ 12424 conftest$ac_exeext conftest.$ac_ext 11935 12425 LIBS=$ac_check_lib_save_LIBS 11936 12426 fi … … 11948 12438 LIBS="-ldld $LIBS" 11949 12439 cat >conftest.$ac_ext <<_ACEOF 11950 #line $LINENO "configure"11951 12440 /* confdefs.h. */ 11952 12441 _ACEOF … … 11972 12461 rm -f conftest.$ac_objext conftest$ac_exeext 11973 12462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11974 (eval $ac_link) 2>&5 12463 (eval $ac_link) 2>conftest.er1 12464 ac_status=$? 12465 grep -v '^ *+' conftest.er1 >conftest.err 12466 rm -f conftest.er1 12467 cat conftest.err >&5 12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12469 (exit $ac_status); } && 12470 { ac_try='test -z "$ac_cxx_werror_flag" 12471 || test ! -s conftest.err' 12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12473 (eval $ac_try) 2>&5 11975 12474 ac_status=$? 11976 12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11977 (exit $ac_status); } &&11978 { ac_try='test -s conftest$ac_exeext'12476 (exit $ac_status); }; } && 12477 { ac_try='test -s conftest$ac_exeext' 11979 12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11980 12479 (eval $ac_try) 2>&5 … … 11989 12488 ac_cv_lib_dld_dld_link=no 11990 12489 fi 11991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12490 rm -f conftest.err conftest.$ac_objext \ 12491 conftest$ac_exeext conftest.$ac_ext 11992 12492 LIBS=$ac_check_lib_save_LIBS 11993 12493 fi … … 12044 12544 lt_status=$lt_dlunknown 12045 12545 cat > conftest.$ac_ext <<EOF 12046 #line 12 046 "configure"12546 #line 12546 "configure" 12047 12547 #include "confdefs.h" 12048 12548 … … 12142 12642 lt_status=$lt_dlunknown 12143 12643 cat > conftest.$ac_ext <<EOF 12144 #line 12 144 "configure"12644 #line 12644 "configure" 12145 12645 #include "confdefs.h" 12146 12646 … … 12259 12759 # careful not to overquote the AC_SUBSTed values. We take copies of the 12260 12760 # variables and quote the copies for generation of the libtool script. 12261 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 12761 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 12762 SED SHELL STRIP \ 12262 12763 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 12263 12764 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 12389 12890 12390 12891 # A symbol stripping program 12391 STRIP=$ STRIP12892 STRIP=$lt_STRIP 12392 12893 12393 12894 # Used to examine libraries when file_magic_cmd begins "file" … … 12420 12921 12421 12922 # Shared library suffix (normally ".so"). 12422 shrext ='$shrext'12923 shrext_cmds='$shrext_cmds' 12423 12924 12424 12925 # Executable file suffix (normally ""). … … 12637 13138 # `config.status --recheck' to rerun these tests and create the 12638 13139 # libtool script then. 12639 test -f Makefile && make "$ltmain" 13140 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 13141 if test -f "$ltmain_in"; then 13142 test -f Makefile && make "$ltmain" 13143 fi 12640 13144 fi 12641 13145 … … 12739 13243 fi 12740 13244 ;; 12741 aix4* )13245 aix4* | aix5*) 12742 13246 test "$enable_shared" = yes && enable_static=no 12743 13247 ;; … … 12879 13383 linux*) 12880 13384 case $CC in 12881 icc |ecc)13385 icc* | ecc*) 12882 13386 lt_prog_compiler_wl_F77='-Wl,' 12883 13387 lt_prog_compiler_pic_F77='-KPIC' 12884 13388 lt_prog_compiler_static_F77='-static' 12885 13389 ;; 12886 ccc )13390 ccc*) 12887 13391 lt_prog_compiler_wl_F77='-Wl,' 12888 13392 # All Alpha code is PIC. … … 12946 13450 # 12947 13451 if test -n "$lt_prog_compiler_pic_F77"; then 12948 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 13452 13453 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 12949 13454 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 12950 13455 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then … … 12964 13469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12965 13470 -e 's:$: $lt_compiler_flag:'` 12966 (eval echo "\"\$as_me:1 2966: $lt_compile\"" >&5)13471 (eval echo "\"\$as_me:13471: $lt_compile\"" >&5) 12967 13472 (eval "$lt_compile" 2>conftest.err) 12968 13473 ac_status=$? 12969 13474 cat conftest.err >&5 12970 echo "$as_me:1 2970: \$? = $ac_status" >&513475 echo "$as_me:13475: \$? = $ac_status" >&5 12971 13476 if (exit $ac_status) && test -s "$ac_outfile"; then 12972 13477 # The compiler can only warn and ignore the option if not recognized … … 13015 13520 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 13016 13521 13017 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers13018 # that will create temporary files in the current directory regardless of13019 # the output directory. Thus, making CWD read-only will cause this test13020 # to fail, enabling locking or at least warning the user not to do parallel13021 # builds.13022 chmod -w .13023 13024 13522 lt_compiler_flag="-o out/conftest2.$ac_objext" 13025 13523 # Insert the option either (1) after the last *FLAGS variable, or … … 13031 13529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13032 13530 -e 's:$: $lt_compiler_flag:'` 13033 (eval echo "\"\$as_me:13 033: $lt_compile\"" >&5)13531 (eval echo "\"\$as_me:13531: $lt_compile\"" >&5) 13034 13532 (eval "$lt_compile" 2>out/conftest.err) 13035 13533 ac_status=$? 13036 13534 cat out/conftest.err >&5 13037 echo "$as_me:13 037: \$? = $ac_status" >&513535 echo "$as_me:13535: \$? = $ac_status" >&5 13038 13536 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13039 13537 then … … 13045 13543 fi 13046 13544 chmod u+w . 13047 $rm conftest* out/* 13048 rmdir out 13545 $rm conftest* 13546 # SGI C++ compiler will create directory out/ii_files/ for 13547 # template instantiation 13548 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 13549 $rm out/* && rmdir out 13049 13550 cd .. 13050 13551 rmdir conftest … … 13244 13745 13245 13746 linux*) 13246 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then13747 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 13247 13748 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13248 13749 archive_cmds_F77="$tmp_archive_cmds" … … 13402 13903 rm -f conftest.$ac_objext conftest$ac_exeext 13403 13904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13404 (eval $ac_link) 2>&5 13905 (eval $ac_link) 2>conftest.er1 13906 ac_status=$? 13907 grep -v '^ *+' conftest.er1 >conftest.err 13908 rm -f conftest.er1 13909 cat conftest.err >&5 13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13911 (exit $ac_status); } && 13912 { ac_try='test -z "$ac_f77_werror_flag" 13913 || test ! -s conftest.err' 13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13915 (eval $ac_try) 2>&5 13405 13916 ac_status=$? 13406 13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13407 (exit $ac_status); } &&13408 { ac_try='test -s conftest$ac_exeext'13918 (exit $ac_status); }; } && 13919 { ac_try='test -s conftest$ac_exeext' 13409 13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13410 13921 (eval $ac_try) 2>&5 … … 13423 13934 13424 13935 fi 13425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13936 rm -f conftest.err conftest.$ac_objext \ 13937 conftest$ac_exeext conftest.$ac_ext 13426 13938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13427 13939 … … 13442 13954 rm -f conftest.$ac_objext conftest$ac_exeext 13443 13955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13444 (eval $ac_link) 2>&5 13956 (eval $ac_link) 2>conftest.er1 13957 ac_status=$? 13958 grep -v '^ *+' conftest.er1 >conftest.err 13959 rm -f conftest.er1 13960 cat conftest.err >&5 13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13962 (exit $ac_status); } && 13963 { ac_try='test -z "$ac_f77_werror_flag" 13964 || test ! -s conftest.err' 13965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13966 (eval $ac_try) 2>&5 13445 13967 ac_status=$? 13446 13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13447 (exit $ac_status); } &&13448 { ac_try='test -s conftest$ac_exeext'13969 (exit $ac_status); }; } && 13970 { ac_try='test -s conftest$ac_exeext' 13449 13971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13450 13972 (eval $ac_try) 2>&5 … … 13463 13985 13464 13986 fi 13465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13987 rm -f conftest.err conftest.$ac_objext \ 13988 conftest$ac_exeext conftest.$ac_ext 13466 13989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 13467 13990 … … 13504 14027 libext=lib 13505 14028 # Tell ltmain to make .dll files, not .so files. 13506 shrext =".dll"14029 shrext_cmds=".dll" 13507 14030 # FIXME: Setting linknames here is a bad hack. 13508 14031 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' … … 13516 14039 13517 14040 darwin* | rhapsody*) 13518 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then14041 if test "$GXX" = yes ; then 13519 14042 archive_cmds_need_lc_F77=no 13520 14043 case "$host_os" in … … 13523 14046 ;; 13524 14047 *) # Darwin 1.3 on 13525 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14048 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 14049 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14050 else 14051 case ${MACOSX_DEPLOYMENT_TARGET} in 14052 10.[012]) 14053 allow_undefined_flag_F77='-flat_namespace -undefined suppress' 14054 ;; 14055 10.*) 14056 allow_undefined_flag_F77='-undefined dynamic_lookup' 14057 ;; 14058 esac 14059 fi 13526 14060 ;; 13527 14061 esac 13528 # FIXME: Relying on posixy $() will cause problems for13529 # cross-compilation, but unfortunately the echo tests do not13530 # yet detect zsh echo's removal of \ escapes. Also zsh mangles13531 # `"' quotes if we put them in here... so don't!13532 14062 lt_int_apple_cc_single_mod=no 13533 14063 output_verbose_link_cmd='echo' … … 13540 14070 archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 13541 14071 fi 13542 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'14072 module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 13543 14073 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 13544 14074 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then … … 13547 14077 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13548 14078 fi 13549 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'14079 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 13550 14080 hardcode_direct_F77=no 13551 14081 hardcode_automatic_F77=yes … … 13553 14083 whole_archive_flag_spec_F77='-all_load $convenience' 13554 14084 link_all_deplibs_F77=yes 14085 else 14086 ld_shlibs_F77=no 13555 14087 fi 13556 14088 ;; … … 13586 14118 13587 14119 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 13588 freebsd* )14120 freebsd* | kfreebsd*-gnu) 13589 14121 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 13590 14122 hardcode_libdir_flag_spec_F77='-R$libdir' … … 13946 14478 esac 13947 14479 13948 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&513949 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&613950 hardcode_action_F77=13951 if test -n "$hardcode_libdir_flag_spec_F77" || \13952 test -n "$runpath_var F77" || \13953 test "X$hardcode_automatic_F77"="Xyes" ; then13954 13955 # We can hardcode non-existant directories.13956 if test "$hardcode_direct_F77" != no &&13957 # If the only mechanism to avoid hardcoding is shlibpath_var, we13958 # have to relink, otherwise we might link with an installed library13959 # when we should be linking with a yet-to-be-installed one13960 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&13961 test "$hardcode_minus_L_F77" != no; then13962 # Linking always hardcodes the temporary library directory.13963 hardcode_action_F77=relink13964 else13965 # We can link without hardcoding, and we can hardcode nonexisting dirs.13966 hardcode_action_F77=immediate13967 fi13968 else13969 # We cannot hardcode anything, or else we can only hardcode existing13970 # directories.13971 hardcode_action_F77=unsupported13972 fi13973 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&513974 echo "${ECHO_T}$hardcode_action_F77" >&613975 13976 if test "$hardcode_action_F77" = relink; then13977 # Fast installation is not supported13978 enable_fast_install=no13979 elif test "$shlibpath_overrides_runpath" = yes ||13980 test "$enable_shared" = no; then13981 # Fast installation is not necessary13982 enable_fast_install=needless13983 fi13984 13985 striplib=13986 old_striplib=13987 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&513988 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&613989 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then13990 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"13991 test -z "$striplib" && striplib="$STRIP --strip-unneeded"13992 echo "$as_me:$LINENO: result: yes" >&513993 echo "${ECHO_T}yes" >&613994 else13995 # FIXME - insert some real tests, host_os isn't really good enough13996 case $host_os in13997 darwin*)13998 if test -n "$STRIP" ; then13999 striplib="$STRIP -x"14000 echo "$as_me:$LINENO: result: yes" >&514001 echo "${ECHO_T}yes" >&614002 else14003 echo "$as_me:$LINENO: result: no" >&514004 echo "${ECHO_T}no" >&614005 fi14006 ;;14007 *)14008 echo "$as_me:$LINENO: result: no" >&514009 echo "${ECHO_T}no" >&614010 ;;14011 esac14012 fi14013 14014 14480 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 14015 14481 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 14017 14483 libname_spec='lib$name' 14018 14484 soname_spec= 14019 shrext =".so"14485 shrext_cmds=".so" 14020 14486 postinstall_cmds= 14021 14487 postuninstall_cmds= … … 14105 14571 library_names_spec='$libname.ixlibrary $libname.a' 14106 14572 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14107 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'14573 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' 14108 14574 ;; 14109 14575 … … 14130 14596 cygwin* | mingw* | pw32*) 14131 14597 version_type=windows 14132 shrext =".dll"14598 shrext_cmds=".dll" 14133 14599 need_version=no 14134 14600 need_lib_prefix=no … … 14152 14618 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14153 14619 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14154 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"14620 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 14155 14621 ;; 14156 14622 mingw*) … … 14191 14657 need_lib_prefix=no 14192 14658 need_version=no 14193 # FIXME: Relying on posixy $() will cause problems for14194 # cross-compilation, but unfortunately the echo tests do not14195 # yet detect zsh echo's removal of \ escapes.14196 14659 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14197 14660 soname_spec='${libname}${release}${major}$shared_ext' 14198 14661 shlibpath_overrides_runpath=yes 14199 14662 shlibpath_var=DYLD_LIBRARY_PATH 14200 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'14663 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 14201 14664 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 14202 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 14203 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 14665 if test "$GCC" = yes; then 14666 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 14667 else 14668 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 14204 14669 fi 14205 14670 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 14217 14682 freebsd1*) 14218 14683 dynamic_linker=no 14684 ;; 14685 14686 kfreebsd*-gnu) 14687 version_type=linux 14688 need_lib_prefix=no 14689 need_version=no 14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14691 soname_spec='${libname}${release}${shared_ext}$major' 14692 shlibpath_var=LD_LIBRARY_PATH 14693 shlibpath_overrides_runpath=no 14694 hardcode_into_libs=yes 14695 dynamic_linker='GNU ld.so' 14219 14696 ;; 14220 14697 … … 14267 14744 case "$host_cpu" in 14268 14745 ia64*) 14269 shrext ='.so'14746 shrext_cmds='.so' 14270 14747 hardcode_into_libs=yes 14271 14748 dynamic_linker="$host_os dld.so" … … 14282 14759 ;; 14283 14760 hppa*64*) 14284 shrext ='.sl'14761 shrext_cmds='.sl' 14285 14762 hardcode_into_libs=yes 14286 14763 dynamic_linker="$host_os dld.sl" … … 14293 14770 ;; 14294 14771 *) 14295 shrext ='.sl'14772 shrext_cmds='.sl' 14296 14773 dynamic_linker="$host_os dld.sl" 14297 14774 shlibpath_var=SHLIB_PATH … … 14362 14839 hardcode_into_libs=yes 14363 14840 14364 # We used to test for /lib/ld.so.1 and disable shared libraries on 14365 # powerpc, because MkLinux only supported shared libraries with the 14366 # GNU dynamic linker. Since this was broken with cross compilers, 14367 # most powerpc-linux boxes support dynamic linking these days and 14368 # people can always --disable-shared, the test was removed, and we 14369 # assume the GNU/Linux dynamic linker is in use. 14370 dynamic_linker='GNU/Linux ld.so' 14371 14372 # Find out which ABI we are using (multilib Linux x86_64 hack). 14841 # find out which ABI we are using 14373 14842 libsuff= 14374 14843 case "$host_cpu" in 14375 14844 x86_64*|s390x*|powerpc64*) 14376 echo '#line 14 376"configure"' > conftest.$ac_ext14845 echo '#line 14845 "configure"' > conftest.$ac_ext 14377 14846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14378 14847 (eval $ac_compile) 2>&5 … … 14383 14852 *64-bit*) 14384 14853 libsuff=64 14854 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 14385 14855 ;; 14386 14856 esac … … 14388 14858 rm -rf conftest* 14389 14859 ;; 14390 *)14391 ;;14392 14860 esac 14393 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 14394 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 14861 14862 # Append ld.so.conf contents to the search path 14863 if test -f /etc/ld.so.conf; then 14864 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 14865 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 14866 fi 14867 14868 # We used to test for /lib/ld.so.1 and disable shared libraries on 14869 # powerpc, because MkLinux only supported shared libraries with the 14870 # GNU dynamic linker. Since this was broken with cross compilers, 14871 # most powerpc-linux boxes support dynamic linking these days and 14872 # people can always --disable-shared, the test was removed, and we 14873 # assume the GNU/Linux dynamic linker is in use. 14874 dynamic_linker='GNU/Linux ld.so' 14875 ;; 14876 14877 knetbsd*-gnu) 14878 version_type=linux 14879 need_lib_prefix=no 14880 need_version=no 14881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14882 soname_spec='${libname}${release}${shared_ext}$major' 14883 shlibpath_var=LD_LIBRARY_PATH 14884 shlibpath_overrides_runpath=no 14885 hardcode_into_libs=yes 14886 dynamic_linker='GNU ld.so' 14395 14887 ;; 14396 14888 … … 14404 14896 dynamic_linker='NetBSD (a.out) ld.so' 14405 14897 else 14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'14898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14407 14899 soname_spec='${libname}${release}${shared_ext}$major' 14408 14900 dynamic_linker='NetBSD ld.elf_so' … … 14420 14912 ;; 14421 14913 14422 nto-qnx )14914 nto-qnx*) 14423 14915 version_type=linux 14424 14916 need_lib_prefix=no … … 14433 14925 version_type=sunos 14434 14926 need_lib_prefix=no 14435 need_version= no14927 need_version=yes 14436 14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14437 14929 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 14453 14945 os2*) 14454 14946 libname_spec='$name' 14455 shrext =".dll"14947 shrext_cmds=".dll" 14456 14948 need_lib_prefix=no 14457 14949 library_names_spec='$libname${shared_ext} $libname.a' … … 14550 15042 echo "${ECHO_T}$dynamic_linker" >&6 14551 15043 test "$dynamic_linker" = no && can_build_shared=no 15044 15045 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 15046 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 15047 hardcode_action_F77= 15048 if test -n "$hardcode_libdir_flag_spec_F77" || \ 15049 test -n "$runpath_var F77" || \ 15050 test "X$hardcode_automatic_F77"="Xyes" ; then 15051 15052 # We can hardcode non-existant directories. 15053 if test "$hardcode_direct_F77" != no && 15054 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15055 # have to relink, otherwise we might link with an installed library 15056 # when we should be linking with a yet-to-be-installed one 15057 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && 15058 test "$hardcode_minus_L_F77" != no; then 15059 # Linking always hardcodes the temporary library directory. 15060 hardcode_action_F77=relink 15061 else 15062 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15063 hardcode_action_F77=immediate 15064 fi 15065 else 15066 # We cannot hardcode anything, or else we can only hardcode existing 15067 # directories. 15068 hardcode_action_F77=unsupported 15069 fi 15070 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 15071 echo "${ECHO_T}$hardcode_action_F77" >&6 15072 15073 if test "$hardcode_action_F77" = relink; then 15074 # Fast installation is not supported 15075 enable_fast_install=no 15076 elif test "$shlibpath_overrides_runpath" = yes || 15077 test "$enable_shared" = no; then 15078 # Fast installation is not necessary 15079 enable_fast_install=needless 15080 fi 15081 15082 striplib= 15083 old_striplib= 15084 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 15085 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 15086 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 15087 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 15088 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 15089 echo "$as_me:$LINENO: result: yes" >&5 15090 echo "${ECHO_T}yes" >&6 15091 else 15092 # FIXME - insert some real tests, host_os isn't really good enough 15093 case $host_os in 15094 darwin*) 15095 if test -n "$STRIP" ; then 15096 striplib="$STRIP -x" 15097 echo "$as_me:$LINENO: result: yes" >&5 15098 echo "${ECHO_T}yes" >&6 15099 else 15100 echo "$as_me:$LINENO: result: no" >&5 15101 echo "${ECHO_T}no" >&6 15102 fi 15103 ;; 15104 *) 15105 echo "$as_me:$LINENO: result: no" >&5 15106 echo "${ECHO_T}no" >&6 15107 ;; 15108 esac 15109 fi 15110 14552 15111 14553 15112 … … 14565 15124 # careful not to overquote the AC_SUBSTed values. We take copies of the 14566 15125 # variables and quote the copies for generation of the libtool script. 14567 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 15126 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 15127 SED SHELL STRIP \ 14568 15128 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 14569 15129 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 14695 15255 14696 15256 # A symbol stripping program 14697 STRIP=$ STRIP15257 STRIP=$lt_STRIP 14698 15258 14699 15259 # Used to examine libraries when file_magic_cmd begins "file" … … 14726 15286 14727 15287 # Shared library suffix (normally ".so"). 14728 shrext ='$shrext'15288 shrext_cmds='$shrext_cmds' 14729 15289 14730 15290 # Executable file suffix (normally ""). … … 14943 15503 # `config.status --recheck' to rerun these tests and create the 14944 15504 # libtool script then. 14945 test -f Makefile && make "$ltmain" 15505 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 15506 if test -f "$ltmain_in"; then 15507 test -f Makefile && make "$ltmain" 15508 fi 14946 15509 fi 14947 15510 … … 15002 15565 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' 15003 15566 15004 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 15567 15568 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 15005 15569 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 15006 15570 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then … … 15020 15584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15021 15585 -e 's:$: $lt_compiler_flag:'` 15022 (eval echo "\"\$as_me:15 022: $lt_compile\"" >&5)15586 (eval echo "\"\$as_me:15586: $lt_compile\"" >&5) 15023 15587 (eval "$lt_compile" 2>conftest.err) 15024 15588 ac_status=$? 15025 15589 cat conftest.err >&5 15026 echo "$as_me:15 026: \$? = $ac_status" >&515590 echo "$as_me:15590: \$? = $ac_status" >&5 15027 15591 if (exit $ac_status) && test -s "$ac_outfile"; then 15028 15592 # The compiler can only warn and ignore the option if not recognized … … 15167 15731 linux*) 15168 15732 case $CC in 15169 icc |ecc)15733 icc* | ecc*) 15170 15734 lt_prog_compiler_wl_GCJ='-Wl,' 15171 15735 lt_prog_compiler_pic_GCJ='-KPIC' 15172 15736 lt_prog_compiler_static_GCJ='-static' 15173 15737 ;; 15174 ccc )15738 ccc*) 15175 15739 lt_prog_compiler_wl_GCJ='-Wl,' 15176 15740 # All Alpha code is PIC. … … 15234 15798 # 15235 15799 if test -n "$lt_prog_compiler_pic_GCJ"; then 15236 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15800 15801 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 15237 15802 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 15238 15803 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then … … 15252 15817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15253 15818 -e 's:$: $lt_compiler_flag:'` 15254 (eval echo "\"\$as_me:15 254: $lt_compile\"" >&5)15819 (eval echo "\"\$as_me:15819: $lt_compile\"" >&5) 15255 15820 (eval "$lt_compile" 2>conftest.err) 15256 15821 ac_status=$? 15257 15822 cat conftest.err >&5 15258 echo "$as_me:15 258: \$? = $ac_status" >&515823 echo "$as_me:15823: \$? = $ac_status" >&5 15259 15824 if (exit $ac_status) && test -s "$ac_outfile"; then 15260 15825 # The compiler can only warn and ignore the option if not recognized … … 15303 15868 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 15304 15869 15305 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers15306 # that will create temporary files in the current directory regardless of15307 # the output directory. Thus, making CWD read-only will cause this test15308 # to fail, enabling locking or at least warning the user not to do parallel15309 # builds.15310 chmod -w .15311 15312 15870 lt_compiler_flag="-o out/conftest2.$ac_objext" 15313 15871 # Insert the option either (1) after the last *FLAGS variable, or … … 15319 15877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15320 15878 -e 's:$: $lt_compiler_flag:'` 15321 (eval echo "\"\$as_me:15 321: $lt_compile\"" >&5)15879 (eval echo "\"\$as_me:15879: $lt_compile\"" >&5) 15322 15880 (eval "$lt_compile" 2>out/conftest.err) 15323 15881 ac_status=$? 15324 15882 cat out/conftest.err >&5 15325 echo "$as_me:15 325: \$? = $ac_status" >&515883 echo "$as_me:15883: \$? = $ac_status" >&5 15326 15884 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15327 15885 then … … 15333 15891 fi 15334 15892 chmod u+w . 15335 $rm conftest* out/* 15336 rmdir out 15893 $rm conftest* 15894 # SGI C++ compiler will create directory out/ii_files/ for 15895 # template instantiation 15896 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 15897 $rm out/* && rmdir out 15337 15898 cd .. 15338 15899 rmdir conftest … … 15532 16093 15533 16094 linux*) 15534 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then16095 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 15535 16096 tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 15536 16097 archive_cmds_GCJ="$tmp_archive_cmds" … … 15684 16245 # Determine the default libpath from the value encoded in an empty executable. 15685 16246 cat >conftest.$ac_ext <<_ACEOF 15686 #line $LINENO "configure"15687 16247 /* confdefs.h. */ 15688 16248 _ACEOF … … 15701 16261 rm -f conftest.$ac_objext conftest$ac_exeext 15702 16262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15703 (eval $ac_link) 2>&5 16263 (eval $ac_link) 2>conftest.er1 16264 ac_status=$? 16265 grep -v '^ *+' conftest.er1 >conftest.err 16266 rm -f conftest.er1 16267 cat conftest.err >&5 16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16269 (exit $ac_status); } && 16270 { ac_try='test -z "$ac_c_werror_flag" 16271 || test ! -s conftest.err' 16272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16273 (eval $ac_try) 2>&5 15704 16274 ac_status=$? 15705 16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15706 (exit $ac_status); } &&15707 { ac_try='test -s conftest$ac_exeext'16276 (exit $ac_status); }; } && 16277 { ac_try='test -s conftest$ac_exeext' 15708 16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15709 16279 (eval $ac_try) 2>&5 … … 15722 16292 15723 16293 fi 15724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16294 rm -f conftest.err conftest.$ac_objext \ 16295 conftest$ac_exeext conftest.$ac_ext 15725 16296 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15726 16297 … … 15735 16306 # Determine the default libpath from the value encoded in an empty executable. 15736 16307 cat >conftest.$ac_ext <<_ACEOF 15737 #line $LINENO "configure"15738 16308 /* confdefs.h. */ 15739 16309 _ACEOF … … 15752 16322 rm -f conftest.$ac_objext conftest$ac_exeext 15753 16323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15754 (eval $ac_link) 2>&5 16324 (eval $ac_link) 2>conftest.er1 16325 ac_status=$? 16326 grep -v '^ *+' conftest.er1 >conftest.err 16327 rm -f conftest.er1 16328 cat conftest.err >&5 16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16330 (exit $ac_status); } && 16331 { ac_try='test -z "$ac_c_werror_flag" 16332 || test ! -s conftest.err' 16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16334 (eval $ac_try) 2>&5 15755 16335 ac_status=$? 15756 16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15757 (exit $ac_status); } &&15758 { ac_try='test -s conftest$ac_exeext'16337 (exit $ac_status); }; } && 16338 { ac_try='test -s conftest$ac_exeext' 15759 16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15760 16340 (eval $ac_try) 2>&5 … … 15773 16353 15774 16354 fi 15775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16355 rm -f conftest.err conftest.$ac_objext \ 16356 conftest$ac_exeext conftest.$ac_ext 15776 16357 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 15777 16358 … … 15814 16395 libext=lib 15815 16396 # Tell ltmain to make .dll files, not .so files. 15816 shrext =".dll"16397 shrext_cmds=".dll" 15817 16398 # FIXME: Setting linknames here is a bad hack. 15818 16399 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' … … 15826 16407 15827 16408 darwin* | rhapsody*) 15828 if $CC -v 2>&1 | grep 'Apple' >/dev/null; then16409 if test "$GXX" = yes ; then 15829 16410 archive_cmds_need_lc_GCJ=no 15830 16411 case "$host_os" in … … 15833 16414 ;; 15834 16415 *) # Darwin 1.3 on 15835 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16416 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 16417 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16418 else 16419 case ${MACOSX_DEPLOYMENT_TARGET} in 16420 10.[012]) 16421 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' 16422 ;; 16423 10.*) 16424 allow_undefined_flag_GCJ='-undefined dynamic_lookup' 16425 ;; 16426 esac 16427 fi 15836 16428 ;; 15837 16429 esac 15838 # FIXME: Relying on posixy $() will cause problems for15839 # cross-compilation, but unfortunately the echo tests do not15840 # yet detect zsh echo's removal of \ escapes. Also zsh mangles15841 # `"' quotes if we put them in here... so don't!15842 16430 lt_int_apple_cc_single_mod=no 15843 16431 output_verbose_link_cmd='echo' … … 15850 16438 archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15851 16439 fi 15852 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags'16440 module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15853 16441 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 15854 16442 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then … … 15857 16445 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15858 16446 fi 15859 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib$libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'16447 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15860 16448 hardcode_direct_GCJ=no 15861 16449 hardcode_automatic_GCJ=yes … … 15863 16451 whole_archive_flag_spec_GCJ='-all_load $convenience' 15864 16452 link_all_deplibs_GCJ=yes 16453 else 16454 ld_shlibs_GCJ=no 15865 16455 fi 15866 16456 ;; … … 15896 16486 15897 16487 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15898 freebsd* )16488 freebsd* | kfreebsd*-gnu) 15899 16489 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 15900 16490 hardcode_libdir_flag_spec_GCJ='-R$libdir' … … 16256 16846 esac 16257 16847 16258 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&516259 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&616260 hardcode_action_GCJ=16261 if test -n "$hardcode_libdir_flag_spec_GCJ" || \16262 test -n "$runpath_var GCJ" || \16263 test "X$hardcode_automatic_GCJ"="Xyes" ; then16264 16265 # We can hardcode non-existant directories.16266 if test "$hardcode_direct_GCJ" != no &&16267 # If the only mechanism to avoid hardcoding is shlibpath_var, we16268 # have to relink, otherwise we might link with an installed library16269 # when we should be linking with a yet-to-be-installed one16270 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&16271 test "$hardcode_minus_L_GCJ" != no; then16272 # Linking always hardcodes the temporary library directory.16273 hardcode_action_GCJ=relink16274 else16275 # We can link without hardcoding, and we can hardcode nonexisting dirs.16276 hardcode_action_GCJ=immediate16277 fi16278 else16279 # We cannot hardcode anything, or else we can only hardcode existing16280 # directories.16281 hardcode_action_GCJ=unsupported16282 fi16283 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&516284 echo "${ECHO_T}$hardcode_action_GCJ" >&616285 16286 if test "$hardcode_action_GCJ" = relink; then16287 # Fast installation is not supported16288 enable_fast_install=no16289 elif test "$shlibpath_overrides_runpath" = yes ||16290 test "$enable_shared" = no; then16291 # Fast installation is not necessary16292 enable_fast_install=needless16293 fi16294 16295 striplib=16296 old_striplib=16297 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&516298 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&616299 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then16300 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"16301 test -z "$striplib" && striplib="$STRIP --strip-unneeded"16302 echo "$as_me:$LINENO: result: yes" >&516303 echo "${ECHO_T}yes" >&616304 else16305 # FIXME - insert some real tests, host_os isn't really good enough16306 case $host_os in16307 darwin*)16308 if test -n "$STRIP" ; then16309 striplib="$STRIP -x"16310 echo "$as_me:$LINENO: result: yes" >&516311 echo "${ECHO_T}yes" >&616312 else16313 echo "$as_me:$LINENO: result: no" >&516314 echo "${ECHO_T}no" >&616315 fi16316 ;;16317 *)16318 echo "$as_me:$LINENO: result: no" >&516319 echo "${ECHO_T}no" >&616320 ;;16321 esac16322 fi16323 16324 16848 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 16325 16849 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 … … 16327 16851 libname_spec='lib$name' 16328 16852 soname_spec= 16329 shrext =".so"16853 shrext_cmds=".so" 16330 16854 postinstall_cmds= 16331 16855 postuninstall_cmds= … … 16415 16939 library_names_spec='$libname.ixlibrary $libname.a' 16416 16940 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16417 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'16941 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' 16418 16942 ;; 16419 16943 … … 16440 16964 cygwin* | mingw* | pw32*) 16441 16965 version_type=windows 16442 shrext =".dll"16966 shrext_cmds=".dll" 16443 16967 need_version=no 16444 16968 need_lib_prefix=no … … 16462 16986 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16463 16987 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16464 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"16988 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 16465 16989 ;; 16466 16990 mingw*) … … 16501 17025 need_lib_prefix=no 16502 17026 need_version=no 16503 # FIXME: Relying on posixy $() will cause problems for16504 # cross-compilation, but unfortunately the echo tests do not16505 # yet detect zsh echo's removal of \ escapes.16506 17027 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16507 17028 soname_spec='${libname}${release}${major}$shared_ext' 16508 17029 shlibpath_overrides_runpath=yes 16509 17030 shlibpath_var=DYLD_LIBRARY_PATH 16510 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'17031 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 16511 17032 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 16512 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 16513 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 17033 if test "$GCC" = yes; then 17034 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 17035 else 17036 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 16514 17037 fi 16515 17038 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 16527 17050 freebsd1*) 16528 17051 dynamic_linker=no 17052 ;; 17053 17054 kfreebsd*-gnu) 17055 version_type=linux 17056 need_lib_prefix=no 17057 need_version=no 17058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 17059 soname_spec='${libname}${release}${shared_ext}$major' 17060 shlibpath_var=LD_LIBRARY_PATH 17061 shlibpath_overrides_runpath=no 17062 hardcode_into_libs=yes 17063 dynamic_linker='GNU ld.so' 16529 17064 ;; 16530 17065 … … 16577 17112 case "$host_cpu" in 16578 17113 ia64*) 16579 shrext ='.so'17114 shrext_cmds='.so' 16580 17115 hardcode_into_libs=yes 16581 17116 dynamic_linker="$host_os dld.so" … … 16592 17127 ;; 16593 17128 hppa*64*) 16594 shrext ='.sl'17129 shrext_cmds='.sl' 16595 17130 hardcode_into_libs=yes 16596 17131 dynamic_linker="$host_os dld.sl" … … 16603 17138 ;; 16604 17139 *) 16605 shrext ='.sl'17140 shrext_cmds='.sl' 16606 17141 dynamic_linker="$host_os dld.sl" 16607 17142 shlibpath_var=SHLIB_PATH … … 16672 17207 hardcode_into_libs=yes 16673 17208 16674 # We used to test for /lib/ld.so.1 and disable shared libraries on 16675 # powerpc, because MkLinux only supported shared libraries with the 16676 # GNU dynamic linker. Since this was broken with cross compilers, 16677 # most powerpc-linux boxes support dynamic linking these days and 16678 # people can always --disable-shared, the test was removed, and we 16679 # assume the GNU/Linux dynamic linker is in use. 16680 dynamic_linker='GNU/Linux ld.so' 16681 16682 # Find out which ABI we are using (multilib Linux x86_64 hack). 17209 # find out which ABI we are using 16683 17210 libsuff= 16684 17211 case "$host_cpu" in 16685 17212 x86_64*|s390x*|powerpc64*) 16686 echo '#line 1 6686"configure"' > conftest.$ac_ext17213 echo '#line 17213 "configure"' > conftest.$ac_ext 16687 17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16688 17215 (eval $ac_compile) 2>&5 … … 16693 17220 *64-bit*) 16694 17221 libsuff=64 17222 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 16695 17223 ;; 16696 17224 esac … … 16698 17226 rm -rf conftest* 16699 17227 ;; 16700 *)16701 ;;16702 17228 esac 16703 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" 16704 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 17229 17230 # Append ld.so.conf contents to the search path 17231 if test -f /etc/ld.so.conf; then 17232 lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` 17233 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 17234 fi 17235 17236 # We used to test for /lib/ld.so.1 and disable shared libraries on 17237 # powerpc, because MkLinux only supported shared libraries with the 17238 # GNU dynamic linker. Since this was broken with cross compilers, 17239 # most powerpc-linux boxes support dynamic linking these days and 17240 # people can always --disable-shared, the test was removed, and we 17241 # assume the GNU/Linux dynamic linker is in use. 17242 dynamic_linker='GNU/Linux ld.so' 17243 ;; 17244 17245 knetbsd*-gnu) 17246 version_type=linux 17247 need_lib_prefix=no 17248 need_version=no 17249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 17250 soname_spec='${libname}${release}${shared_ext}$major' 17251 shlibpath_var=LD_LIBRARY_PATH 17252 shlibpath_overrides_runpath=no 17253 hardcode_into_libs=yes 17254 dynamic_linker='GNU ld.so' 16705 17255 ;; 16706 17256 … … 16714 17264 dynamic_linker='NetBSD (a.out) ld.so' 16715 17265 else 16716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'17266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16717 17267 soname_spec='${libname}${release}${shared_ext}$major' 16718 17268 dynamic_linker='NetBSD ld.elf_so' … … 16730 17280 ;; 16731 17281 16732 nto-qnx )17282 nto-qnx*) 16733 17283 version_type=linux 16734 17284 need_lib_prefix=no … … 16743 17293 version_type=sunos 16744 17294 need_lib_prefix=no 16745 need_version= no17295 need_version=yes 16746 17296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16747 17297 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 16763 17313 os2*) 16764 17314 libname_spec='$name' 16765 shrext =".dll"17315 shrext_cmds=".dll" 16766 17316 need_lib_prefix=no 16767 17317 library_names_spec='$libname${shared_ext} $libname.a' … … 16861 17411 test "$dynamic_linker" = no && can_build_shared=no 16862 17412 17413 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 17414 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 17415 hardcode_action_GCJ= 17416 if test -n "$hardcode_libdir_flag_spec_GCJ" || \ 17417 test -n "$runpath_var GCJ" || \ 17418 test "X$hardcode_automatic_GCJ"="Xyes" ; then 17419 17420 # We can hardcode non-existant directories. 17421 if test "$hardcode_direct_GCJ" != no && 17422 # If the only mechanism to avoid hardcoding is shlibpath_var, we 17423 # have to relink, otherwise we might link with an installed library 17424 # when we should be linking with a yet-to-be-installed one 17425 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && 17426 test "$hardcode_minus_L_GCJ" != no; then 17427 # Linking always hardcodes the temporary library directory. 17428 hardcode_action_GCJ=relink 17429 else 17430 # We can link without hardcoding, and we can hardcode nonexisting dirs. 17431 hardcode_action_GCJ=immediate 17432 fi 17433 else 17434 # We cannot hardcode anything, or else we can only hardcode existing 17435 # directories. 17436 hardcode_action_GCJ=unsupported 17437 fi 17438 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 17439 echo "${ECHO_T}$hardcode_action_GCJ" >&6 17440 17441 if test "$hardcode_action_GCJ" = relink; then 17442 # Fast installation is not supported 17443 enable_fast_install=no 17444 elif test "$shlibpath_overrides_runpath" = yes || 17445 test "$enable_shared" = no; then 17446 # Fast installation is not necessary 17447 enable_fast_install=needless 17448 fi 17449 17450 striplib= 17451 old_striplib= 17452 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 17453 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 17454 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then 17455 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 17456 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 17457 echo "$as_me:$LINENO: result: yes" >&5 17458 echo "${ECHO_T}yes" >&6 17459 else 17460 # FIXME - insert some real tests, host_os isn't really good enough 17461 case $host_os in 17462 darwin*) 17463 if test -n "$STRIP" ; then 17464 striplib="$STRIP -x" 17465 echo "$as_me:$LINENO: result: yes" >&5 17466 echo "${ECHO_T}yes" >&6 17467 else 17468 echo "$as_me:$LINENO: result: no" >&5 17469 echo "${ECHO_T}no" >&6 17470 fi 17471 ;; 17472 *) 17473 echo "$as_me:$LINENO: result: no" >&5 17474 echo "${ECHO_T}no" >&6 17475 ;; 17476 esac 17477 fi 17478 16863 17479 if test "x$enable_dlopen" != xyes; then 16864 17480 enable_dlopen=unknown … … 16896 17512 LIBS="-ldl $LIBS" 16897 17513 cat >conftest.$ac_ext <<_ACEOF 16898 #line $LINENO "configure"16899 17514 /* confdefs.h. */ 16900 17515 _ACEOF … … 16920 17535 rm -f conftest.$ac_objext conftest$ac_exeext 16921 17536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16922 (eval $ac_link) 2>&5 17537 (eval $ac_link) 2>conftest.er1 17538 ac_status=$? 17539 grep -v '^ *+' conftest.er1 >conftest.err 17540 rm -f conftest.er1 17541 cat conftest.err >&5 17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17543 (exit $ac_status); } && 17544 { ac_try='test -z "$ac_c_werror_flag" 17545 || test ! -s conftest.err' 17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17547 (eval $ac_try) 2>&5 16923 17548 ac_status=$? 16924 17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16925 (exit $ac_status); } &&16926 { ac_try='test -s conftest$ac_exeext'17550 (exit $ac_status); }; } && 17551 { ac_try='test -s conftest$ac_exeext' 16927 17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16928 17553 (eval $ac_try) 2>&5 … … 16937 17562 ac_cv_lib_dl_dlopen=no 16938 17563 fi 16939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17564 rm -f conftest.err conftest.$ac_objext \ 17565 conftest$ac_exeext conftest.$ac_ext 16940 17566 LIBS=$ac_check_lib_save_LIBS 16941 17567 fi … … 16961 17587 else 16962 17588 cat >conftest.$ac_ext <<_ACEOF 16963 #line $LINENO "configure"16964 17589 /* confdefs.h. */ 16965 17590 _ACEOF … … 16967 17592 cat >>conftest.$ac_ext <<_ACEOF 16968 17593 /* end confdefs.h. */ 17594 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 17595 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17596 #define shl_load innocuous_shl_load 17597 16969 17598 /* System header to define __stub macros and hopefully few prototypes, 16970 17599 which can conflict with char shl_load (); below. 16971 17600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16972 17601 <limits.h> exists even on freestanding compilers. */ 17602 16973 17603 #ifdef __STDC__ 16974 17604 # include <limits.h> … … 16976 17606 # include <assert.h> 16977 17607 #endif 17608 17609 #undef shl_load 17610 16978 17611 /* Override any gcc2 internal prototype to avoid an error. */ 16979 17612 #ifdef __cplusplus … … 17006 17639 rm -f conftest.$ac_objext conftest$ac_exeext 17007 17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17008 (eval $ac_link) 2>&5 17641 (eval $ac_link) 2>conftest.er1 17642 ac_status=$? 17643 grep -v '^ *+' conftest.er1 >conftest.err 17644 rm -f conftest.er1 17645 cat conftest.err >&5 17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17647 (exit $ac_status); } && 17648 { ac_try='test -z "$ac_c_werror_flag" 17649 || test ! -s conftest.err' 17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17651 (eval $ac_try) 2>&5 17009 17652 ac_status=$? 17010 17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17011 (exit $ac_status); } &&17012 { ac_try='test -s conftest$ac_exeext'17654 (exit $ac_status); }; } && 17655 { ac_try='test -s conftest$ac_exeext' 17013 17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17014 17657 (eval $ac_try) 2>&5 … … 17023 17666 ac_cv_func_shl_load=no 17024 17667 fi 17025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17668 rm -f conftest.err conftest.$ac_objext \ 17669 conftest$ac_exeext conftest.$ac_ext 17026 17670 fi 17027 17671 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 17038 17682 LIBS="-ldld $LIBS" 17039 17683 cat >conftest.$ac_ext <<_ACEOF 17040 #line $LINENO "configure"17041 17684 /* confdefs.h. */ 17042 17685 _ACEOF … … 17062 17705 rm -f conftest.$ac_objext conftest$ac_exeext 17063 17706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17064 (eval $ac_link) 2>&5 17707 (eval $ac_link) 2>conftest.er1 17708 ac_status=$? 17709 grep -v '^ *+' conftest.er1 >conftest.err 17710 rm -f conftest.er1 17711 cat conftest.err >&5 17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17713 (exit $ac_status); } && 17714 { ac_try='test -z "$ac_c_werror_flag" 17715 || test ! -s conftest.err' 17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17717 (eval $ac_try) 2>&5 17065 17718 ac_status=$? 17066 17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17067 (exit $ac_status); } &&17068 { ac_try='test -s conftest$ac_exeext'17720 (exit $ac_status); }; } && 17721 { ac_try='test -s conftest$ac_exeext' 17069 17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17070 17723 (eval $ac_try) 2>&5 … … 17079 17732 ac_cv_lib_dld_shl_load=no 17080 17733 fi 17081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17734 rm -f conftest.err conftest.$ac_objext \ 17735 conftest$ac_exeext conftest.$ac_ext 17082 17736 LIBS=$ac_check_lib_save_LIBS 17083 17737 fi … … 17093 17747 else 17094 17748 cat >conftest.$ac_ext <<_ACEOF 17095 #line $LINENO "configure"17096 17749 /* confdefs.h. */ 17097 17750 _ACEOF … … 17099 17752 cat >>conftest.$ac_ext <<_ACEOF 17100 17753 /* end confdefs.h. */ 17754 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 17755 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17756 #define dlopen innocuous_dlopen 17757 17101 17758 /* System header to define __stub macros and hopefully few prototypes, 17102 17759 which can conflict with char dlopen (); below. 17103 17760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17104 17761 <limits.h> exists even on freestanding compilers. */ 17762 17105 17763 #ifdef __STDC__ 17106 17764 # include <limits.h> … … 17108 17766 # include <assert.h> 17109 17767 #endif 17768 17769 #undef dlopen 17770 17110 17771 /* Override any gcc2 internal prototype to avoid an error. */ 17111 17772 #ifdef __cplusplus … … 17138 17799 rm -f conftest.$ac_objext conftest$ac_exeext 17139 17800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17140 (eval $ac_link) 2>&5 17801 (eval $ac_link) 2>conftest.er1 17802 ac_status=$? 17803 grep -v '^ *+' conftest.er1 >conftest.err 17804 rm -f conftest.er1 17805 cat conftest.err >&5 17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17807 (exit $ac_status); } && 17808 { ac_try='test -z "$ac_c_werror_flag" 17809 || test ! -s conftest.err' 17810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17811 (eval $ac_try) 2>&5 17141 17812 ac_status=$? 17142 17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17143 (exit $ac_status); } &&17144 { ac_try='test -s conftest$ac_exeext'17814 (exit $ac_status); }; } && 17815 { ac_try='test -s conftest$ac_exeext' 17145 17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17146 17817 (eval $ac_try) 2>&5 … … 17155 17826 ac_cv_func_dlopen=no 17156 17827 fi 17157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17828 rm -f conftest.err conftest.$ac_objext \ 17829 conftest$ac_exeext conftest.$ac_ext 17158 17830 fi 17159 17831 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 17170 17842 LIBS="-ldl $LIBS" 17171 17843 cat >conftest.$ac_ext <<_ACEOF 17172 #line $LINENO "configure"17173 17844 /* confdefs.h. */ 17174 17845 _ACEOF … … 17194 17865 rm -f conftest.$ac_objext conftest$ac_exeext 17195 17866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17196 (eval $ac_link) 2>&5 17867 (eval $ac_link) 2>conftest.er1 17868 ac_status=$? 17869 grep -v '^ *+' conftest.er1 >conftest.err 17870 rm -f conftest.er1 17871 cat conftest.err >&5 17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17873 (exit $ac_status); } && 17874 { ac_try='test -z "$ac_c_werror_flag" 17875 || test ! -s conftest.err' 17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17877 (eval $ac_try) 2>&5 17197 17878 ac_status=$? 17198 17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17199 (exit $ac_status); } &&17200 { ac_try='test -s conftest$ac_exeext'17880 (exit $ac_status); }; } && 17881 { ac_try='test -s conftest$ac_exeext' 17201 17882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17202 17883 (eval $ac_try) 2>&5 … … 17211 17892 ac_cv_lib_dl_dlopen=no 17212 17893 fi 17213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17894 rm -f conftest.err conftest.$ac_objext \ 17895 conftest$ac_exeext conftest.$ac_ext 17214 17896 LIBS=$ac_check_lib_save_LIBS 17215 17897 fi … … 17227 17909 LIBS="-lsvld $LIBS" 17228 17910 cat >conftest.$ac_ext <<_ACEOF 17229 #line $LINENO "configure"17230 17911 /* confdefs.h. */ 17231 17912 _ACEOF … … 17251 17932 rm -f conftest.$ac_objext conftest$ac_exeext 17252 17933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17253 (eval $ac_link) 2>&5 17934 (eval $ac_link) 2>conftest.er1 17935 ac_status=$? 17936 grep -v '^ *+' conftest.er1 >conftest.err 17937 rm -f conftest.er1 17938 cat conftest.err >&5 17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17940 (exit $ac_status); } && 17941 { ac_try='test -z "$ac_c_werror_flag" 17942 || test ! -s conftest.err' 17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17944 (eval $ac_try) 2>&5 17254 17945 ac_status=$? 17255 17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17256 (exit $ac_status); } &&17257 { ac_try='test -s conftest$ac_exeext'17947 (exit $ac_status); }; } && 17948 { ac_try='test -s conftest$ac_exeext' 17258 17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17259 17950 (eval $ac_try) 2>&5 … … 17268 17959 ac_cv_lib_svld_dlopen=no 17269 17960 fi 17270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 17961 rm -f conftest.err conftest.$ac_objext \ 17962 conftest$ac_exeext conftest.$ac_ext 17271 17963 LIBS=$ac_check_lib_save_LIBS 17272 17964 fi … … 17284 17976 LIBS="-ldld $LIBS" 17285 17977 cat >conftest.$ac_ext <<_ACEOF 17286 #line $LINENO "configure"17287 17978 /* confdefs.h. */ 17288 17979 _ACEOF … … 17308 17999 rm -f conftest.$ac_objext conftest$ac_exeext 17309 18000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17310 (eval $ac_link) 2>&5 18001 (eval $ac_link) 2>conftest.er1 18002 ac_status=$? 18003 grep -v '^ *+' conftest.er1 >conftest.err 18004 rm -f conftest.er1 18005 cat conftest.err >&5 18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18007 (exit $ac_status); } && 18008 { ac_try='test -z "$ac_c_werror_flag" 18009 || test ! -s conftest.err' 18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18011 (eval $ac_try) 2>&5 17311 18012 ac_status=$? 17312 18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17313 (exit $ac_status); } &&17314 { ac_try='test -s conftest$ac_exeext'18014 (exit $ac_status); }; } && 18015 { ac_try='test -s conftest$ac_exeext' 17315 18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17316 18017 (eval $ac_try) 2>&5 … … 17325 18026 ac_cv_lib_dld_dld_link=no 17326 18027 fi 17327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 18028 rm -f conftest.err conftest.$ac_objext \ 18029 conftest$ac_exeext conftest.$ac_ext 17328 18030 LIBS=$ac_check_lib_save_LIBS 17329 18031 fi … … 17380 18082 lt_status=$lt_dlunknown 17381 18083 cat > conftest.$ac_ext <<EOF 17382 #line 1 7382"configure"18084 #line 18084 "configure" 17383 18085 #include "confdefs.h" 17384 18086 … … 17478 18180 lt_status=$lt_dlunknown 17479 18181 cat > conftest.$ac_ext <<EOF 17480 #line 1 7480"configure"18182 #line 18182 "configure" 17481 18183 #include "confdefs.h" 17482 18184 … … 17595 18297 # careful not to overquote the AC_SUBSTed values. We take copies of the 17596 18298 # variables and quote the copies for generation of the libtool script. 17597 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18299 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18300 SED SHELL STRIP \ 17598 18301 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 17599 18302 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 17725 18428 17726 18429 # A symbol stripping program 17727 STRIP=$ STRIP18430 STRIP=$lt_STRIP 17728 18431 17729 18432 # Used to examine libraries when file_magic_cmd begins "file" … … 17756 18459 17757 18460 # Shared library suffix (normally ".so"). 17758 shrext ='$shrext'18461 shrext_cmds='$shrext_cmds' 17759 18462 17760 18463 # Executable file suffix (normally ""). … … 17973 18676 # `config.status --recheck' to rerun these tests and create the 17974 18677 # libtool script then. 17975 test -f Makefile && make "$ltmain" 18678 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 18679 if test -f "$ltmain_in"; then 18680 test -f Makefile && make "$ltmain" 18681 fi 17976 18682 fi 17977 18683 … … 18036 18742 # careful not to overquote the AC_SUBSTed values. We take copies of the 18037 18743 # variables and quote the copies for generation of the libtool script. 18038 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ 18744 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 18745 SED SHELL STRIP \ 18039 18746 libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 18040 18747 old_striplib striplib file_magic_cmd finish_cmds finish_eval \ … … 18166 18873 18167 18874 # A symbol stripping program 18168 STRIP=$ STRIP18875 STRIP=$lt_STRIP 18169 18876 18170 18877 # Used to examine libraries when file_magic_cmd begins "file" … … 18197 18904 18198 18905 # Shared library suffix (normally ".so"). 18199 shrext ='$shrext'18906 shrext_cmds='$shrext_cmds' 18200 18907 18201 18908 # Executable file suffix (normally ""). … … 18414 19121 # `config.status --recheck' to rerun these tests and create the 18415 19122 # libtool script then. 18416 test -f Makefile && make "$ltmain" 19123 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` 19124 if test -f "$ltmain_in"; then 19125 test -f Makefile && make "$ltmain" 19126 fi 18417 19127 fi 18418 19128 … … 18627 19337 LIBS="-lsla $LIBS" 18628 19338 cat >conftest.$ac_ext <<_ACEOF 18629 #line $LINENO "configure"18630 19339 /* confdefs.h. */ 18631 19340 _ACEOF … … 18645 19354 rm -f conftest.$ac_objext conftest$ac_exeext 18646 19355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18647 (eval $ac_link) 2>&5 19356 (eval $ac_link) 2>conftest.er1 19357 ac_status=$? 19358 grep -v '^ *+' conftest.er1 >conftest.err 19359 rm -f conftest.er1 19360 cat conftest.err >&5 19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19362 (exit $ac_status); } && 19363 { ac_try='test -z "$ac_c_werror_flag" 19364 || test ! -s conftest.err' 19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19366 (eval $ac_try) 2>&5 18648 19367 ac_status=$? 18649 19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18650 (exit $ac_status); } &&18651 { ac_try='test -s conftest$ac_exeext'19369 (exit $ac_status); }; } && 19370 { ac_try='test -s conftest$ac_exeext' 18652 19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18653 19372 (eval $ac_try) 2>&5 … … 18662 19381 ac_cv_lib_sla_main=no 18663 19382 fi 18664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19383 rm -f conftest.err conftest.$ac_objext \ 19384 conftest$ac_exeext conftest.$ac_ext 18665 19385 LIBS=$ac_check_lib_save_LIBS 18666 19386 fi … … 18689 19409 LIBS="-lcfitsio $LIBS" 18690 19410 cat >conftest.$ac_ext <<_ACEOF 18691 #line $LINENO "configure"18692 19411 /* confdefs.h. */ 18693 19412 _ACEOF … … 18707 19426 rm -f conftest.$ac_objext conftest$ac_exeext 18708 19427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18709 (eval $ac_link) 2>&5 19428 (eval $ac_link) 2>conftest.er1 19429 ac_status=$? 19430 grep -v '^ *+' conftest.er1 >conftest.err 19431 rm -f conftest.er1 19432 cat conftest.err >&5 19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19434 (exit $ac_status); } && 19435 { ac_try='test -z "$ac_c_werror_flag" 19436 || test ! -s conftest.err' 19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19438 (eval $ac_try) 2>&5 18710 19439 ac_status=$? 18711 19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18712 (exit $ac_status); } &&18713 { ac_try='test -s conftest$ac_exeext'19441 (exit $ac_status); }; } && 19442 { ac_try='test -s conftest$ac_exeext' 18714 19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18715 19444 (eval $ac_try) 2>&5 … … 18724 19453 ac_cv_lib_cfitsio_main=no 18725 19454 fi 18726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19455 rm -f conftest.err conftest.$ac_objext \ 19456 conftest$ac_exeext conftest.$ac_ext 18727 19457 LIBS=$ac_check_lib_save_LIBS 18728 19458 fi … … 18751 19481 LIBS="-lfftw3f $LIBS" 18752 19482 cat >conftest.$ac_ext <<_ACEOF 18753 #line $LINENO "configure"18754 19483 /* confdefs.h. */ 18755 19484 _ACEOF … … 18769 19498 rm -f conftest.$ac_objext conftest$ac_exeext 18770 19499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18771 (eval $ac_link) 2>&5 19500 (eval $ac_link) 2>conftest.er1 19501 ac_status=$? 19502 grep -v '^ *+' conftest.er1 >conftest.err 19503 rm -f conftest.er1 19504 cat conftest.err >&5 19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19506 (exit $ac_status); } && 19507 { ac_try='test -z "$ac_c_werror_flag" 19508 || test ! -s conftest.err' 19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19510 (eval $ac_try) 2>&5 18772 19511 ac_status=$? 18773 19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18774 (exit $ac_status); } &&18775 { ac_try='test -s conftest$ac_exeext'19513 (exit $ac_status); }; } && 19514 { ac_try='test -s conftest$ac_exeext' 18776 19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18777 19516 (eval $ac_try) 2>&5 … … 18786 19525 ac_cv_lib_fftw3f_main=no 18787 19526 fi 18788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19527 rm -f conftest.err conftest.$ac_objext \ 19528 conftest$ac_exeext conftest.$ac_ext 18789 19529 LIBS=$ac_check_lib_save_LIBS 18790 19530 fi … … 18813 19553 LIBS="-lgsl $LIBS" 18814 19554 cat >conftest.$ac_ext <<_ACEOF 18815 #line $LINENO "configure"18816 19555 /* confdefs.h. */ 18817 19556 _ACEOF … … 18831 19570 rm -f conftest.$ac_objext conftest$ac_exeext 18832 19571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18833 (eval $ac_link) 2>&5 19572 (eval $ac_link) 2>conftest.er1 19573 ac_status=$? 19574 grep -v '^ *+' conftest.er1 >conftest.err 19575 rm -f conftest.er1 19576 cat conftest.err >&5 19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19578 (exit $ac_status); } && 19579 { ac_try='test -z "$ac_c_werror_flag" 19580 || test ! -s conftest.err' 19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19582 (eval $ac_try) 2>&5 18834 19583 ac_status=$? 18835 19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18836 (exit $ac_status); } &&18837 { ac_try='test -s conftest$ac_exeext'19585 (exit $ac_status); }; } && 19586 { ac_try='test -s conftest$ac_exeext' 18838 19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18839 19588 (eval $ac_try) 2>&5 … … 18848 19597 ac_cv_lib_gsl_main=no 18849 19598 fi 18850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19599 rm -f conftest.err conftest.$ac_objext \ 19600 conftest$ac_exeext conftest.$ac_ext 18851 19601 LIBS=$ac_check_lib_save_LIBS 18852 19602 fi … … 18875 19625 LIBS="-lgslcblas $LIBS" 18876 19626 cat >conftest.$ac_ext <<_ACEOF 18877 #line $LINENO "configure"18878 19627 /* confdefs.h. */ 18879 19628 _ACEOF … … 18893 19642 rm -f conftest.$ac_objext conftest$ac_exeext 18894 19643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18895 (eval $ac_link) 2>&5 19644 (eval $ac_link) 2>conftest.er1 19645 ac_status=$? 19646 grep -v '^ *+' conftest.er1 >conftest.err 19647 rm -f conftest.er1 19648 cat conftest.err >&5 19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19650 (exit $ac_status); } && 19651 { ac_try='test -z "$ac_c_werror_flag" 19652 || test ! -s conftest.err' 19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19654 (eval $ac_try) 2>&5 18896 19655 ac_status=$? 18897 19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18898 (exit $ac_status); } &&18899 { ac_try='test -s conftest$ac_exeext'19657 (exit $ac_status); }; } && 19658 { ac_try='test -s conftest$ac_exeext' 18900 19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18901 19660 (eval $ac_try) 2>&5 … … 18910 19669 ac_cv_lib_gslcblas_main=no 18911 19670 fi 18912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19671 rm -f conftest.err conftest.$ac_objext \ 19672 conftest$ac_exeext conftest.$ac_ext 18913 19673 LIBS=$ac_check_lib_save_LIBS 18914 19674 fi … … 18937 19697 LIBS="-lpslib $LIBS" 18938 19698 cat >conftest.$ac_ext <<_ACEOF 18939 #line $LINENO "configure"18940 19699 /* confdefs.h. */ 18941 19700 _ACEOF … … 18955 19714 rm -f conftest.$ac_objext conftest$ac_exeext 18956 19715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18957 (eval $ac_link) 2>&5 19716 (eval $ac_link) 2>conftest.er1 19717 ac_status=$? 19718 grep -v '^ *+' conftest.er1 >conftest.err 19719 rm -f conftest.er1 19720 cat conftest.err >&5 19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19722 (exit $ac_status); } && 19723 { ac_try='test -z "$ac_c_werror_flag" 19724 || test ! -s conftest.err' 19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19726 (eval $ac_try) 2>&5 18958 19727 ac_status=$? 18959 19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18960 (exit $ac_status); } &&18961 { ac_try='test -s conftest$ac_exeext'19729 (exit $ac_status); }; } && 19730 { ac_try='test -s conftest$ac_exeext' 18962 19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18963 19732 (eval $ac_try) 2>&5 … … 18972 19741 ac_cv_lib_pslib_main=no 18973 19742 fi 18974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19743 rm -f conftest.err conftest.$ac_objext \ 19744 conftest$ac_exeext conftest.$ac_ext 18975 19745 LIBS=$ac_check_lib_save_LIBS 18976 19746 fi … … 19020 19790 # substitution turns \\\\ into \\, and sed turns \\ into \). 19021 19791 sed -n \ 19022 "s/'/'\\\\''/g;19023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"19792 "s/'/'\\\\''/g; 19793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 19024 19794 ;; 19025 19795 *) 19026 19796 # `set' quotes correctly as required by POSIX, so do not add quotes. 19027 19797 sed -n \ 19028 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"19798 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 19029 19799 ;; 19030 19800 esac; … … 19056 19826 # (actually we leave an empty line to preserve line numbers). 19057 19827 if test "x$srcdir" = x.; then 19058 ac_vpsub='/^[ ]*VPATH[]*=/{19828 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 19059 19829 s/:*\$(srcdir):*/:/; 19060 19830 s/:*\${srcdir}:*/:/; 19061 19831 s/:*@srcdir@:*/:/; 19062 s/^\([^=]*=[ ]*\):*/\1/;19832 s/^\([^=]*=[ ]*\):*/\1/; 19063 19833 s/:*$//; 19064 s/^[^=]*=[ ]*$//;19834 s/^[^=]*=[ ]*$//; 19065 19835 }' 19066 19836 fi … … 19073 19843 # 1. Remove the extension, and $U if already installed. 19074 19844 ac_i=`echo "$ac_i" | 19075 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`19845 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 19076 19846 # 2. Add them. 19077 19847 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" … … 19138 19908 set -o posix 19139 19909 fi 19910 DUALCASE=1; export DUALCASE # for MKS sh 19140 19911 19141 19912 # Support unset when possible. 19142 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then19913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 19143 19914 as_unset=unset 19144 19915 else … … 19159 19930 LC_TELEPHONE LC_TIME 19160 19931 do 19161 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then19932 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 19162 19933 eval $as_var=C; export $as_var 19163 19934 else … … 19338 20109 as_mkdir_p=: 19339 20110 else 20111 test -d ./-p && rmdir ./-p 19340 20112 as_mkdir_p=false 19341 20113 fi … … 19344 20116 19345 20117 # Sed expression to map a string onto a valid CPP name. 19346 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"20118 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 19347 20119 19348 20120 # Sed expression to map a string onto a valid variable name. 19349 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"20121 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 19350 20122 19351 20123 … … 19374 20146 19375 20147 This file was extended by $as_me, which was 19376 generated by GNU Autoconf 2.5 7. Invocation command line was20148 generated by GNU Autoconf 2.59. Invocation command line was 19377 20149 19378 20150 CONFIG_FILES = $CONFIG_FILES … … 19418 20190 --recheck update $as_me by reconfiguring in the same conditions 19419 20191 --file=FILE[:TEMPLATE] 19420 instantiate the configuration file FILE20192 instantiate the configuration file FILE 19421 20193 --header=FILE[:TEMPLATE] 19422 instantiate the configuration header FILE20194 instantiate the configuration header FILE 19423 20195 19424 20196 Configuration files: … … 19437 20209 ac_cs_version="\\ 19438 20210 config.status 19439 configured by $0, generated by GNU Autoconf 2.5 7,20211 configured by $0, generated by GNU Autoconf 2.59, 19440 20212 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 19441 20213 19442 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 19443 Free Software Foundation, Inc. 20214 Copyright (C) 2003 Free Software Foundation, Inc. 19444 20215 This config.status script is free software; the Free Software Foundation 19445 20216 gives unlimited permission to copy, distribute and modify it." … … 19653 20424 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 19654 20425 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 20426 s,@mkdir_p@,$mkdir_p,;t t 19655 20427 s,@AWK@,$AWK,;t t 19656 20428 s,@SET_MAKE@,$SET_MAKE,;t t … … 19731 20503 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 19732 20504 if test -z "$ac_sed_cmds"; then 19733 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"20505 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 19734 20506 else 19735 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"20507 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 19736 20508 fi 19737 20509 ac_sed_frag=`expr $ac_sed_frag + 1` … … 19751 20523 case $ac_file in 19752 20524 - | *:- | *:-:* ) # input from stdin 19753 cat >$tmp/stdin19754 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`19755 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20525 cat >$tmp/stdin 20526 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 20527 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19756 20528 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 19757 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20529 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19758 20530 * ) ac_file_in=$ac_file.in ;; 19759 20531 esac … … 19762 20534 ac_dir=`(dirname "$ac_file") 2>/dev/null || 19763 20535 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19764 X"$ac_file" : 'X\(//\)[^/]' \| \19765 X"$ac_file" : 'X\(//\)$' \| \19766 X"$ac_file" : 'X\(/\)' \| \19767 . : '\(.\)' 2>/dev/null ||20536 X"$ac_file" : 'X\(//\)[^/]' \| \ 20537 X"$ac_file" : 'X\(//\)$' \| \ 20538 X"$ac_file" : 'X\(/\)' \| \ 20539 . : '\(.\)' 2>/dev/null || 19768 20540 echo X"$ac_file" | 19769 20541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 19781 20553 as_dir=`(dirname "$as_dir") 2>/dev/null || 19782 20554 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19783 X"$as_dir" : 'X\(//\)[^/]' \| \19784 X"$as_dir" : 'X\(//\)$' \| \19785 X"$as_dir" : 'X\(/\)' \| \19786 . : '\(.\)' 2>/dev/null ||20555 X"$as_dir" : 'X\(//\)[^/]' \| \ 20556 X"$as_dir" : 'X\(//\)$' \| \ 20557 X"$as_dir" : 'X\(/\)' \| \ 20558 . : '\(.\)' 2>/dev/null || 19787 20559 echo X"$as_dir" | 19788 20560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 19822 20594 ac_top_srcdir=$ac_top_builddir$srcdir ;; 19823 20595 esac 19824 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 19825 # absolute. 19826 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 19827 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 19828 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 19829 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 20596 20597 # Do not use `cd foo && pwd` to compute absolute paths, because 20598 # the directories may not exist. 20599 case `pwd` in 20600 .) ac_abs_builddir="$ac_dir";; 20601 *) 20602 case "$ac_dir" in 20603 .) ac_abs_builddir=`pwd`;; 20604 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 20605 *) ac_abs_builddir=`pwd`/"$ac_dir";; 20606 esac;; 20607 esac 20608 case $ac_abs_builddir in 20609 .) ac_abs_top_builddir=${ac_top_builddir}.;; 20610 *) 20611 case ${ac_top_builddir}. in 20612 .) ac_abs_top_builddir=$ac_abs_builddir;; 20613 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 20614 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 20615 esac;; 20616 esac 20617 case $ac_abs_builddir in 20618 .) ac_abs_srcdir=$ac_srcdir;; 20619 *) 20620 case $ac_srcdir in 20621 .) ac_abs_srcdir=$ac_abs_builddir;; 20622 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 20623 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 20624 esac;; 20625 esac 20626 case $ac_abs_builddir in 20627 .) ac_abs_top_srcdir=$ac_top_srcdir;; 20628 *) 20629 case $ac_top_srcdir in 20630 .) ac_abs_top_srcdir=$ac_abs_builddir;; 20631 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 20632 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 20633 esac;; 20634 esac 19830 20635 19831 20636 … … 19849 20654 fi 19850 20655 configure_input=$configure_input"Generated from `echo $ac_file_in | 19851 sed 's,.*/,,'` by configure."20656 sed 's,.*/,,'` by configure." 19852 20657 19853 20658 # First look for the input files in the build tree, otherwise in the … … 19858 20663 -) echo $tmp/stdin ;; 19859 20664 [\\/$]*) 19860 # Absolute (can't be DOS-style, as IFS=:)19861 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520665 # Absolute (can't be DOS-style, as IFS=:) 20666 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19862 20667 echo "$as_me: error: cannot find input file: $f" >&2;} 19863 20668 { (exit 1); exit 1; }; } 19864 echo $f;;20669 echo "$f";; 19865 20670 *) # Relative 19866 if test -f "$f"; then19867 # Build tree19868 echo $f 19869 elif test -f "$srcdir/$f"; then19870 # Source tree19871 echo $srcdir/$f 19872 else19873 # /dev/null tree19874 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520671 if test -f "$f"; then 20672 # Build tree 20673 echo "$f" 20674 elif test -f "$srcdir/$f"; then 20675 # Source tree 20676 echo "$srcdir/$f" 20677 else 20678 # /dev/null tree 20679 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19875 20680 echo "$as_me: error: cannot find input file: $f" >&2;} 19876 20681 { (exit 1); exit 1; }; } 19877 fi;;20682 fi;; 19878 20683 esac 19879 20684 done` || { (exit 1); exit 1; } … … 19917 20722 # 19918 20723 # ac_d sets the value in "#define NAME VALUE" lines. 19919 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'19920 ac_dB='[ ].*$,\1#\2'20724 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 20725 ac_dB='[ ].*$,\1#\2' 19921 20726 ac_dC=' ' 19922 20727 ac_dD=',;t' 19923 20728 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 19924 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'20729 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 19925 20730 ac_uB='$,\1#\2define\3' 19926 20731 ac_uC=' ' … … 19931 20736 case $ac_file in 19932 20737 - | *:- | *:-:* ) # input from stdin 19933 cat >$tmp/stdin19934 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`19935 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20738 cat >$tmp/stdin 20739 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 20740 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19936 20741 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 19937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;20742 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 19938 20743 * ) ac_file_in=$ac_file.in ;; 19939 20744 esac … … 19949 20754 -) echo $tmp/stdin ;; 19950 20755 [\\/$]*) 19951 # Absolute (can't be DOS-style, as IFS=:)19952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520756 # Absolute (can't be DOS-style, as IFS=:) 20757 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19953 20758 echo "$as_me: error: cannot find input file: $f" >&2;} 19954 20759 { (exit 1); exit 1; }; } 19955 echo $f;; 20760 # Do quote $f, to prevent DOS paths from being IFS'd. 20761 echo "$f";; 19956 20762 *) # Relative 19957 if test -f "$f"; then19958 # Build tree19959 echo $f 19960 elif test -f "$srcdir/$f"; then19961 # Source tree19962 echo $srcdir/$f 19963 else19964 # /dev/null tree19965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&520763 if test -f "$f"; then 20764 # Build tree 20765 echo "$f" 20766 elif test -f "$srcdir/$f"; then 20767 # Source tree 20768 echo "$srcdir/$f" 20769 else 20770 # /dev/null tree 20771 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 19966 20772 echo "$as_me: error: cannot find input file: $f" >&2;} 19967 20773 { (exit 1); exit 1; }; } 19968 fi;;20774 fi;; 19969 20775 esac 19970 20776 done` || { (exit 1); exit 1; } 19971 20777 # Remove the trailing spaces. 19972 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in20778 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 19973 20779 19974 20780 _ACEOF … … 19993 20799 t clear 19994 20800 : clear 19995 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp20801 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 19996 20802 t end 19997 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp20803 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 19998 20804 : end 19999 20805 _ACEOF … … 20009 20815 # on some systems where configure will not decide to define it. 20010 20816 cat >>conftest.undefs <<\_ACEOF 20011 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,20817 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 20012 20818 _ACEOF 20013 20819 … … 20015 20821 # of here documents, and old seds have small limits too (100 cmds). 20016 20822 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 20017 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS20823 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 20018 20824 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 20019 20825 echo ' :' >>$CONFIG_STATUS … … 20024 20830 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 20025 20831 # Speed up: don't consider the non `#define' lines. 20026 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS20832 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 20027 20833 # Work around the forget-to-reset-the-flag bug. 20028 20834 echo 't clr' >>$CONFIG_STATUS … … 20051 20857 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 20052 20858 # Speed up: don't consider the non `#undef' 20053 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS20859 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 20054 20860 # Work around the forget-to-reset-the-flag bug. 20055 20861 echo 't clr' >>$CONFIG_STATUS … … 20085 20891 ac_dir=`(dirname "$ac_file") 2>/dev/null || 20086 20892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20087 X"$ac_file" : 'X\(//\)[^/]' \| \20088 X"$ac_file" : 'X\(//\)$' \| \20089 X"$ac_file" : 'X\(/\)' \| \20090 . : '\(.\)' 2>/dev/null ||20893 X"$ac_file" : 'X\(//\)[^/]' \| \ 20894 X"$ac_file" : 'X\(//\)$' \| \ 20895 X"$ac_file" : 'X\(/\)' \| \ 20896 . : '\(.\)' 2>/dev/null || 20091 20897 echo X"$ac_file" | 20092 20898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20104 20910 as_dir=`(dirname "$as_dir") 2>/dev/null || 20105 20911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20106 X"$as_dir" : 'X\(//\)[^/]' \| \20107 X"$as_dir" : 'X\(//\)$' \| \20108 X"$as_dir" : 'X\(/\)' \| \20109 . : '\(.\)' 2>/dev/null ||20912 X"$as_dir" : 'X\(//\)[^/]' \| \ 20913 X"$as_dir" : 'X\(//\)$' \| \ 20914 X"$as_dir" : 'X\(/\)' \| \ 20915 . : '\(.\)' 2>/dev/null || 20110 20916 echo X"$as_dir" | 20111 20917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20139 20945 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 20140 20946 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20141 X$ac_file : 'X\(//\)[^/]' \| \20142 X$ac_file : 'X\(//\)$' \| \20143 X$ac_file : 'X\(/\)' \| \20144 . : '\(.\)' 2>/dev/null ||20947 X$ac_file : 'X\(//\)[^/]' \| \ 20948 X$ac_file : 'X\(//\)$' \| \ 20949 X$ac_file : 'X\(/\)' \| \ 20950 . : '\(.\)' 2>/dev/null || 20145 20951 echo X$ac_file | 20146 20952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20161 20967 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 20162 20968 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20163 X"$ac_dest" : 'X\(//\)[^/]' \| \20164 X"$ac_dest" : 'X\(//\)$' \| \20165 X"$ac_dest" : 'X\(/\)' \| \20166 . : '\(.\)' 2>/dev/null ||20969 X"$ac_dest" : 'X\(//\)[^/]' \| \ 20970 X"$ac_dest" : 'X\(//\)$' \| \ 20971 X"$ac_dest" : 'X\(/\)' \| \ 20972 . : '\(.\)' 2>/dev/null || 20167 20973 echo X"$ac_dest" | 20168 20974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20171 20977 /^X\(\/\).*/{ s//\1/; q; } 20172 20978 s/.*/./; q'` 20979 { if $as_mkdir_p; then 20980 mkdir -p "$ac_dir" 20981 else 20982 as_dir="$ac_dir" 20983 as_dirs= 20984 while test ! -d "$as_dir"; do 20985 as_dirs="$as_dir $as_dirs" 20986 as_dir=`(dirname "$as_dir") 2>/dev/null || 20987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20988 X"$as_dir" : 'X\(//\)[^/]' \| \ 20989 X"$as_dir" : 'X\(//\)$' \| \ 20990 X"$as_dir" : 'X\(/\)' \| \ 20991 . : '\(.\)' 2>/dev/null || 20992 echo X"$as_dir" | 20993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 20994 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 20995 /^X\(\/\/\)$/{ s//\1/; q; } 20996 /^X\(\/\).*/{ s//\1/; q; } 20997 s/.*/./; q'` 20998 done 20999 test ! -n "$as_dirs" || mkdir $as_dirs 21000 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 21001 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 21002 { (exit 1); exit 1; }; }; } 21003 20173 21004 ac_builddir=. 20174 21005 … … 20196 21027 ac_top_srcdir=$ac_top_builddir$srcdir ;; 20197 21028 esac 20198 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 20199 # absolute. 20200 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 20201 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 20202 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 20203 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 21029 21030 # Do not use `cd foo && pwd` to compute absolute paths, because 21031 # the directories may not exist. 21032 case `pwd` in 21033 .) ac_abs_builddir="$ac_dir";; 21034 *) 21035 case "$ac_dir" in 21036 .) ac_abs_builddir=`pwd`;; 21037 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 21038 *) ac_abs_builddir=`pwd`/"$ac_dir";; 21039 esac;; 21040 esac 21041 case $ac_abs_builddir in 21042 .) ac_abs_top_builddir=${ac_top_builddir}.;; 21043 *) 21044 case ${ac_top_builddir}. in 21045 .) ac_abs_top_builddir=$ac_abs_builddir;; 21046 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 21047 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 21048 esac;; 21049 esac 21050 case $ac_abs_builddir in 21051 .) ac_abs_srcdir=$ac_srcdir;; 21052 *) 21053 case $ac_srcdir in 21054 .) ac_abs_srcdir=$ac_abs_builddir;; 21055 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 21056 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 21057 esac;; 21058 esac 21059 case $ac_abs_builddir in 21060 .) ac_abs_top_srcdir=$ac_top_srcdir;; 21061 *) 21062 case $ac_top_srcdir in 21063 .) ac_abs_top_srcdir=$ac_abs_builddir;; 21064 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 21065 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 21066 esac;; 21067 esac 20204 21068 20205 21069 … … 20219 21083 dirpart=`(dirname "$mf") 2>/dev/null || 20220 21084 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20221 X"$mf" : 'X\(//\)[^/]' \| \20222 X"$mf" : 'X\(//\)$' \| \20223 X"$mf" : 'X\(/\)' \| \20224 . : '\(.\)' 2>/dev/null ||21085 X"$mf" : 'X\(//\)[^/]' \| \ 21086 X"$mf" : 'X\(//\)$' \| \ 21087 X"$mf" : 'X\(/\)' \| \ 21088 . : '\(.\)' 2>/dev/null || 20225 21089 echo X"$mf" | 20226 21090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20235 21099 # Extract the definition of DEP_FILES from the Makefile without 20236 21100 # running `make'. 20237 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`21101 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 20238 21102 test -z "$DEPDIR" && continue 20239 21103 # When using ansi2knr, U may be empty or an underscore; expand it 20240 U=`sed -n -e '/^U = / s///p' < "$mf"`21104 U=`sed -n 's/^U = //p' < "$mf"` 20241 21105 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 20242 21106 # We invoke sed twice because it is the simplest approach to 20243 21107 # changing $(DEPDIR) to its actual value in the expansion. 20244 for file in `sed -n -e'21108 for file in `sed -n ' 20245 21109 /^DEP_FILES = .*\\\\$/ { 20246 21110 s/^DEP_FILES = // … … 20258 21122 fdir=`(dirname "$file") 2>/dev/null || 20259 21123 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20260 X"$file" : 'X\(//\)[^/]' \| \20261 X"$file" : 'X\(//\)$' \| \20262 X"$file" : 'X\(/\)' \| \20263 . : '\(.\)' 2>/dev/null ||21124 X"$file" : 'X\(//\)[^/]' \| \ 21125 X"$file" : 'X\(//\)$' \| \ 21126 X"$file" : 'X\(/\)' \| \ 21127 . : '\(.\)' 2>/dev/null || 20264 21128 echo X"$file" | 20265 21129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 20277 21141 as_dir=`(dirname "$as_dir") 2>/dev/null || 20278 21142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20279 X"$as_dir" : 'X\(//\)[^/]' \| \20280 X"$as_dir" : 'X\(//\)$' \| \20281 X"$as_dir" : 'X\(/\)' \| \20282 . : '\(.\)' 2>/dev/null ||21143 X"$as_dir" : 'X\(//\)[^/]' \| \ 21144 X"$as_dir" : 'X\(//\)$' \| \ 21145 X"$as_dir" : 'X\(/\)' \| \ 21146 . : '\(.\)' 2>/dev/null || 20283 21147 echo X"$as_dir" | 20284 21148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
Note:
See TracChangeset
for help on using the changeset viewer.
