Changeset 5474 for trunk/admin

Show
Ignore:
Timestamp:
09/30/07 01:58:12 (14 months ago)
Author:
erijo
Message:

Upgraded libtool and friends from debian's libtool 1.5.24-1 and
autotools-dev 20070725.1.

Location:
trunk/admin
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/config.guess

    r4665 r5474  
    55#   Inc. 
    66 
    7 timestamp='2006-07-02' 
     7timestamp='2007-07-22' 
    88 
    99# This file is free software; you can redistribute it and/or modify it 
     
    162162        sh3el) machine=shl-unknown ;; 
    163163        sh3eb) machine=sh-unknown ;; 
     164        sh5el) machine=sh5le-unknown ;; 
    164165        *) machine=${UNAME_MACHINE_ARCH}-unknown ;; 
    165166    esac 
     
    330331    echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    331332    exit ;; 
    332     i86pc:SunOS:5.*:*) 
     333    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 
    333334    echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 
    334335    exit ;; 
     
    781782    echo ${UNAME_MACHINE}-pc-cygwin 
    782783    exit ;; 
    783     i*:MINGW*:*) 
     784    *:MINGW*:*) 
    784785    echo ${UNAME_MACHINE}-pc-mingw32 
    785786    exit ;; 
     
    791792    echo ${UNAME_MACHINE}-pc-pw32 
    792793    exit ;; 
    793     x86:Interix*:[3456]*) 
    794     echo i586-pc-interix${UNAME_RELEASE} 
    795     exit ;; 
    796     EM64T:Interix*:[3456]*) 
    797     echo x86_64-unknown-interix${UNAME_RELEASE} 
    798     exit ;; 
     794    *:Interix*:[3456]*) 
     795        case ${UNAME_MACHINE} in 
     796        x86) 
     797        echo i586-pc-interix${UNAME_RELEASE} 
     798        exit ;; 
     799        EM64T | authenticamd) 
     800        echo x86_64-unknown-interix${UNAME_RELEASE} 
     801        exit ;; 
     802    esac ;; 
    799803    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 
    800804    echo i${UNAME_MACHINE}-pc-mks 
     
    950954    x86_64:Linux:*:*) 
    951955    echo x86_64-unknown-linux-gnu 
     956    exit ;; 
     957    xtensa:Linux:*:*) 
     958        echo xtensa-unknown-linux-gnu 
    952959    exit ;; 
    953960    i*86:Linux:*:*) 
     
    12091216    echo sx6-nec-superux${UNAME_RELEASE} 
    12101217    exit ;; 
     1218    SX-7:SUPER-UX:*:*) 
     1219    echo sx7-nec-superux${UNAME_RELEASE} 
     1220    exit ;; 
     1221    SX-8:SUPER-UX:*:*) 
     1222    echo sx8-nec-superux${UNAME_RELEASE} 
     1223    exit ;; 
     1224    SX-8R:SUPER-UX:*:*) 
     1225    echo sx8r-nec-superux${UNAME_RELEASE} 
     1226    exit ;; 
    12111227    Power*:Rhapsody:*:*) 
    12121228    echo powerpc-apple-rhapsody${UNAME_RELEASE} 
  • trunk/admin/config.sub

    r4685 r5474  
    55#   Inc. 
    66 
    7 timestamp='2006-09-20' 
     7timestamp='2007-06-28' 
    88 
    99# This file is (in principle) common to ALL GNU software. 
     
    246246    | c4x | clipper \ 
    247247    | d10v | d30v | dlx | dsp16xx \ 
    248     | fr30 | frv \ 
     248    | fido | fr30 | frv \ 
    249249    | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 
    250250    | i370 | i860 | i960 | ia64 \ 
    251251    | ip2k | iq2000 \ 
    252252    | m32c | m32r | m32rle | m68000 | m68k | m88k \ 
    253     | maxq | mb | microblaze | mcore \ 
     253    | maxq | mb | microblaze | mcore | mep \ 
    254254    | mips | mipsbe | mipseb | mipsel | mipsle \ 
    255255    | mips16 \ 
     
    325325    | d10v-* | d30v-* | dlx-* \ 
    326326    | elxsi-* \ 
    327     | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ 
     327    | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 
    328328    | h8300-* | h8500-* \ 
    329329    | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 
     
    476476        os=-unicosmp 
    477477        ;; 
    478     cr16c) 
    479         basic_machine=cr16c-unknown 
     478    cr16) 
     479        basic_machine=cr16-unknown 
    480480        os=-elf 
    481481        ;; 
     
    683683        basic_machine=i386-pc 
    684684        os=-mingw32 
     685        ;; 
     686    mingw32ce) 
     687        basic_machine=arm-unknown 
     688        os=-mingw32ce 
    685689        ;; 
    686690    miniframe) 
     
    925929        basic_machine=sh-hitachi 
    926930        os=-hms 
     931        ;; 
     932    sh5el) 
     933        basic_machine=sh5le-unknown 
    927934        ;; 
    928935    sh64) 
     
    12201227          | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 
    12211228          | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 
    1222           | -skyos* | -haiku* | -rdos* | -toppers*) 
     1229          | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 
    12231230    # Remember, each alternative MUST END IN *, to match a version number. 
    12241231        ;; 
     
    14151422        os=-aout 
    14161423        ;; 
     1424        mep-*) 
     1425        os=-elf 
     1426        ;; 
    14171427    mips*-cisco) 
    14181428        os=-elf 
  • trunk/admin/libtool.m4.in

    r4665 r5474  
    11# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    2 ## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 
     2## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 
    33## Free Software Foundation, Inc. 
    44## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 
     
    88## modifications, as long as this notice is preserved. 
    99 
    10 # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL 
     10# serial 51 Debian 1.5.24-1 AC_PROG_LIBTOOL 
    1111 
    1212 
     
    171171 
    172172# Determine commands to create old-style static archives. 
    173 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 
     173old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 
    174174old_postinstall_cmds='chmod 644 $oldlib' 
    175175old_postuninstall_cmds= 
     
    258258# the simple compiler test code. 
    259259AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
    260 [ac_outfile=conftest.$ac_objext 
    261 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
     260[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     261ac_outfile=conftest.$ac_objext 
     262echo "$lt_simple_compile_test_code" >conftest.$ac_ext 
    262263eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    263264_lt_compiler_boilerplate=`cat conftest.err` 
     
    271272# the simple link test code. 
    272273AC_DEFUN([_LT_LINKER_BOILERPLATE], 
    273 [ac_outfile=conftest.$ac_objext 
    274 printf "$lt_simple_link_test_code" >conftest.$ac_ext 
     274[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     275ac_outfile=conftest.$ac_objext 
     276echo "$lt_simple_link_test_code" >conftest.$ac_ext 
    275277eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    276278_lt_linker_boilerplate=`cat conftest.err` 
     
    288290# to the aix ld manual. 
    289291AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 
    290 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
    291 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
    292 }'` 
     292[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     293AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
     294lt_aix_libpath_sed=' 
     295    /Import File Strings/,/^$/ { 
     296    /^0/ { 
     297        s/^0  *\(.*\)$/\1/ 
     298        p 
     299    } 
     300    }' 
     301aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
    293302# Check for a 64-bit object if we didn't find anything. 
    294 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
    295 }'`; fi],[]) 
     303if test -z "$aix_libpath"; then 
     304  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
     305fi],[]) 
    296306if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
    297307])# _LT_AC_SYS_LIBPATH_AIX 
     
    524534  ;; 
    525535 
    526 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 
     536x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 
     537s390*-*linux*|sparc*-*linux*) 
    527538  # Find out which ABI we are using. 
    528539  echo 'int i;' > conftest.$ac_ext 
     
    531542    *32-bit*) 
    532543      case $host in 
     544        x86_64-*kfreebsd*-gnu) 
     545          LD="${LD-ld} -m elf_i386_fbsd" 
     546          ;; 
    533547        x86_64-*linux*) 
    534548          LD="${LD-ld} -m elf_i386" 
     
    547561    *64-bit*) 
    548562      case $host in 
     563        x86_64-*kfreebsd*-gnu) 
     564          LD="${LD-ld} -m elf_x86_64_fbsd" 
     565          ;; 
    549566        x86_64-*linux*) 
    550567          LD="${LD-ld} -m elf_x86_64" 
     
    618635  [$2=no 
    619636  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
    620    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
     637   echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    621638   lt_compiler_flag="$3" 
    622639   # Insert the option either (1) after the last *FLAGS variable, or 
     
    659676# Check whether the given compiler option works 
    660677AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 
    661 [AC_CACHE_CHECK([$1], [$2], 
     678[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     679AC_CACHE_CHECK([$1], [$2], 
    662680  [$2=no 
    663681   save_LDFLAGS="$LDFLAGS" 
    664682   LDFLAGS="$LDFLAGS $3" 
    665    printf "$lt_simple_link_test_code" > conftest.$ac_ext 
     683   echo "$lt_simple_link_test_code" > conftest.$ac_ext 
    666684   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    667685     # The linker can only warn and ignore the option if not recognized 
     
    777795    ;; 
    778796  *) 
    779     # If test is not a shell built-in, we'll probably end up computing a 
    780     # maximum length that is only half of the actual maximum length, but 
    781     # we can't tell. 
    782     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
    783     while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
     797    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 
     798    if test -n "$lt_cv_sys_max_cmd_len"; then 
     799      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
     800      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
     801    else 
     802      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
     803      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
    784804           = "XX$teststring") >/dev/null 2>&1 && 
    785         new_result=`expr "X$teststring" : ".*" 2>&1` && 
    786         lt_cv_sys_max_cmd_len=$new_result && 
    787         test $i != 17 # 1/2 MB should be enough 
    788     do 
    789       i=`expr $i + 1` 
    790       teststring=$teststring$teststring 
    791     done 
    792     teststring= 
    793     # Add a significant safety factor because C++ compilers can tack on massive 
    794     # amounts of additional arguments before passing them to the linker. 
    795     # It appears as though 1/2 is a usable value. 
    796     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
     805          new_result=`expr "X$teststring" : ".*" 2>&1` && 
     806          lt_cv_sys_max_cmd_len=$new_result && 
     807          test $i != 17 # 1/2 MB should be enough 
     808      do 
     809        i=`expr $i + 1` 
     810        teststring=$teststring$teststring 
     811      done 
     812      teststring= 
     813      # Add a significant safety factor because C++ compilers can tack on massive 
     814      # amounts of additional arguments before passing them to the linker. 
     815      # It appears as though 1/2 is a usable value. 
     816      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
     817    fi 
    797818    ;; 
    798819  esac 
     
    10211042# Check to see if options -c and -o are simultaneously supported by compiler 
    10221043AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], 
    1023 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
     1044[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1045AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
    10241046AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 
    10251047  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], 
     
    10291051   cd conftest 
    10301052   mkdir out 
    1031    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
     1053   echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    10321054 
    10331055   lt_compiler_flag="-o out/conftest2.$ac_objext" 
     
    11691191       if test -n "$STRIP" ; then 
    11701192         striplib="$STRIP -x" 
     1193         old_striplib="$STRIP -S" 
    11711194         AC_MSG_RESULT([yes]) 
    11721195       else 
     
    11861209# PORTME Fill in your ld.so characteristics 
    11871210AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], 
    1188 [AC_MSG_CHECKING([dynamic linker characteristics]) 
     1211[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1212AC_MSG_CHECKING([dynamic linker characteristics]) 
    11891213library_names_spec= 
    11901214libname_spec='lib$name' 
     
    12001224dynamic_linker="$host_os ld.so" 
    12011225sys_lib_dlsearch_path_spec="/lib /usr/lib" 
     1226m4_if($1,[],[ 
    12021227if test "$GCC" = yes; then 
    1203   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
    1204   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 
     1228  case $host_os in 
     1229    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 
     1230    *) lt_awk_arg="/^libraries:/" ;; 
     1231  esac 
     1232  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
     1233  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then 
    12051234    # if the path contains ";" then we assume it to be the separator 
    12061235    # otherwise default to the standard path separator (i.e. ":") - it is 
    12071236    # assumed that no part of a normal pathname contains ";" but that should 
    12081237    # okay in the real world where ";" in dirpaths is itself problematic. 
    1209     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
     1238    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` 
    12101239  else 
    1211     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
     1240    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    12121241  fi 
     1242  # Ok, now we have the path, separated by spaces, we can step through it 
     1243  # and add multilib dir if necessary. 
     1244  lt_tmp_lt_search_path_spec= 
     1245  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 
     1246  for lt_sys_path in $lt_search_path_spec; do 
     1247    if test -d "$lt_sys_path/$lt_multi_os_dir"; then 
     1248      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 
     1249    else 
     1250      test -d "$lt_sys_path" && \ 
     1251    lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 
     1252    fi 
     1253  done 
     1254  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' 
     1255BEGIN {RS=" "; FS="/|\n";} { 
     1256  lt_foo=""; 
     1257  lt_count=0; 
     1258  for (lt_i = NF; lt_i > 0; lt_i--) { 
     1259    if ($lt_i != "" && $lt_i != ".") { 
     1260      if ($lt_i == "..") { 
     1261        lt_count++; 
     1262      } else { 
     1263        if (lt_count == 0) { 
     1264          lt_foo="/" $lt_i lt_foo; 
     1265        } else { 
     1266          lt_count--; 
     1267        } 
     1268      } 
     1269    } 
     1270  } 
     1271  if (lt_foo != "") { lt_freq[[lt_foo]]++; } 
     1272  if (lt_freq[[lt_foo]] == 1) { print lt_foo; } 
     1273}'` 
     1274  sys_lib_search_path_spec=`echo $lt_search_path_spec` 
    12131275else 
    12141276  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
    1215 fi 
     1277fi]) 
    12161278need_lib_prefix=unknown 
    12171279hardcode_into_libs=no 
     
    13701432  shlibpath_var=DYLD_LIBRARY_PATH 
    13711433  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 
    1372   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
    1373   if test "$GCC" = yes; then 
    1374     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"` 
    1375   else 
    1376     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 
    1377   fi 
     1434  m4_if([$1], [],[ 
     1435  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])  
    13781436  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 
    13791437  ;; 
     
    14291487    hardcode_into_libs=yes 
    14301488    ;; 
    1431   freebsd*) # from 4.6 on 
     1489  *) # from 4.6 on, and DragonFly 
    14321490    shlibpath_overrides_runpath=yes 
    14331491    hardcode_into_libs=yes 
     
    14921550  ;; 
    14931551 
    1494 interix3*) 
     1552interix[[3-9]]*) 
    14951553  version_type=linux 
    14961554  need_lib_prefix=no 
     
    15631621  # Append ld.so.conf contents to the search path 
    15641622  if test -f /etc/ld.so.conf; then 
    1565     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 
     1623    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[    ]/d;s/[:,   ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 
    15661624    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
    15671625  fi 
     
    16671725  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
    16681726  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
     1727  ;; 
     1728 
     1729rdos*) 
     1730  dynamic_linker=no 
    16691731  ;; 
    16701732 
     
    17741836# ---------------- 
    17751837AC_DEFUN([_LT_AC_TAGCONFIG], 
    1776 [AC_ARG_WITH([tags], 
     1838[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1839AC_ARG_WITH([tags], 
    17771840    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 
    17781841        [include additional configurations @<:@automatic@:>@])], 
     
    20352098# AC_PATH_TOOL_PREFIX 
    20362099# ------------------- 
    2037 # find a file program which can recognise shared library 
     2100# find a file program which can recognize shared library 
    20382101AC_DEFUN([AC_PATH_TOOL_PREFIX], 
    20392102[AC_REQUIRE([AC_PROG_EGREP])dnl 
     
    20982161# AC_PATH_MAGIC 
    20992162# ------------- 
    2100 # find a file program which can recognise a shared library 
     2163# find a file program which can recognize a shared library 
    21012164AC_DEFUN([AC_PATH_MAGIC], 
    21022165[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) 
     
    22452308#  -- PORTME fill in with the dynamic library characteristics 
    22462309AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 
    2247 [AC_CACHE_CHECK([how to recognise dependent libraries], 
     2310[AC_CACHE_CHECK([how to recognize dependent libraries], 
    22482311lt_cv_deplibs_check_method, 
    22492312[lt_cv_file_magic_cmd='$MAGIC_CMD' 
     
    22842347mingw* | pw32*) 
    22852348  # Base MSYS/MinGW do not provide the 'file' command needed by 
    2286   # func_win32_libid shell function, so use a weaker test based on 'objdump'. 
    2287   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 
    2288   lt_cv_file_magic_cmd='$OBJDUMP -f' 
     2349  # func_win32_libid shell function, so use a weaker test based on 'objdump', 
     2350  # unless we find 'file', for example because we are cross-compiling. 
     2351  if ( file / ) >/dev/null 2>&1; then 
     2352    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 
     2353    lt_cv_file_magic_cmd='func_win32_libid' 
     2354  else 
     2355    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 
     2356    lt_cv_file_magic_cmd='$OBJDUMP -f' 
     2357  fi 
    22892358  ;; 
    22902359 
     
    23312400  ;; 
    23322401 
    2333 interix3*) 
     2402interix[[3-9]]*) 
    23342403  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
    23352404  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 
     
    23782447 
    23792448osf3* | osf4* | osf5*) 
     2449  lt_cv_deplibs_check_method=pass_all 
     2450  ;; 
     2451 
     2452rdos*) 
    23802453  lt_cv_deplibs_check_method=pass_all 
    23812454  ;; 
     
    24332506else 
    24342507  lt_nm_to_check="${ac_tool_prefix}nm" 
    2435   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then  
     2508  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
    24362509    lt_nm_to_check="$lt_nm_to_check nm" 
    24372510  fi 
     
    26492722 
    26502723# Code to be used in simple compile tests 
    2651 lt_simple_compile_test_code="int some_variable = 0;\n" 
     2724lt_simple_compile_test_code="int some_variable = 0;" 
    26522725 
    26532726# Code to be used in simple link tests 
    2654 lt_simple_link_test_code='int main(){return(0);}\n' 
     2727lt_simple_link_test_code='int main(){return(0);}' 
    26552728 
    26562729_LT_AC_SYS_COMPILER 
     
    27582831 
    27592832# Code to be used in simple compile tests 
    2760 lt_simple_compile_test_code="int some_variable = 0;\n" 
     2833lt_simple_compile_test_code="int some_variable = 0;" 
    27612834 
    27622835# Code to be used in simple link tests 
    2763 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' 
     2836lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' 
    27642837 
    27652838# ltmain only uses $CC for tagged configurations so make sure $CC is set. 
     
    29072980    then 
    29082981      # We have reworked collect2 
    2909       _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
     2982      : 
    29102983    else 
    29112984      # We have old collect2 
     
    30663139        xlc*) 
    30673140         output_verbose_link_cmd='echo' 
    3068           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 
     3141          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 
    30693142          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    30703143          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 
    3071           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
     3144          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    30723145          _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}' 
    30733146          ;; 
     
    31523225 
    31533226      case $host_cpu in 
    3154       hppa*64*|ia64*) 
    3155     _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 
    3156         ;; 
     3227      hppa*64*|ia64*) ;; 
    31573228      *) 
    31583229    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
     
    32223293    esac 
    32233294    ;; 
    3224   interix3*) 
     3295  interix[[3-9]]*) 
    32253296    _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    32263297    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
     
    33423413    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 
    33433414    ;; 
     3415      *) 
     3416    case `$CC -V 2>&1 | sed 5q` in 
     3417    *Sun\ C*) 
     3418      # Sun C++ 5.9 
     3419      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 
     3420      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
     3421      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 
     3422      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
     3423      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 
     3424 
     3425      # Not sure whether something based on 
     3426      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 
     3427      # would be better. 
     3428      output_verbose_link_cmd='echo' 
     3429 
     3430      # Archives containing C++ object files must be created using 
     3431      # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
     3432      # necessary to make sure instantiated templates are included 
     3433      # in the archive. 
     3434      _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 
     3435      ;; 
     3436    esac 
     3437    ;; 
    33443438    esac 
    33453439    ;; 
     
    33803474    ;; 
    33813475  openbsd*) 
    3382     _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    3383     _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    3384     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
    3385     _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    3386     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    3387       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 
    3388       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    3389       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
     3476    if test -f /usr/libexec/ld.so; then 
     3477      _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
     3478