Changeset 2086

Show
Ignore:
Timestamp:
03/13/08 21:42:13 (2 months ago)
Author:
karpet
Message:

add setenv* to Makefile

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • swish-e/trunk/aclocal.m4

    r2084 r2086  
    1 # generated automatically by aclocal 1.10 -*- Autoconf -*- 
     1# generated automatically by aclocal 1.9.6 -*- Autoconf -*- 
    22 
    33# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
    4 # 2005, 2006  Free Software Foundation, Inc. 
     4# 2005  Free Software Foundation, Inc. 
    55# This file is free software; the Free Software Foundation 
    66# gives unlimited permission to copy and/or distribute it, 
     
    1212# PARTICULAR PURPOSE. 
    1313 
    14 m4_if(m4_PACKAGE_VERSION, [2.61],, 
    15 [m4_fatal([this file was generated for autoconf 2.61. 
    16 You have another version of autoconf.  If you want to use that, 
    17 you should regenerate the build system entirely.], [63])]) 
    18  
    1914# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    2015 
    21 # serial 51 AC_PROG_LIBTOOL 
     16# serial 48 AC_PROG_LIBTOOL 
    2217 
    2318 
     
    182177 
    183178# Determine commands to create old-style static archives. 
    184 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs
     179old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs
    185180old_postinstall_cmds='chmod 644 $oldlib' 
    186181old_postuninstall_cmds= 
     
    269264# the simple compiler test code. 
    270265AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
    271 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    272 ac_outfile=conftest.$ac_objext 
    273 echo "$lt_simple_compile_test_code" >conftest.$ac_ext 
     266[ac_outfile=conftest.$ac_objext 
     267printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
    274268eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    275269_lt_compiler_boilerplate=`cat conftest.err` 
     
    283277# the simple link test code. 
    284278AC_DEFUN([_LT_LINKER_BOILERPLATE], 
    285 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    286 ac_outfile=conftest.$ac_objext 
    287 echo "$lt_simple_link_test_code" >conftest.$ac_ext 
     279[ac_outfile=conftest.$ac_objext 
     280printf "$lt_simple_link_test_code" >conftest.$ac_ext 
    288281eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    289282_lt_linker_boilerplate=`cat conftest.err` 
     
    301294# to the aix ld manual. 
    302295AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 
    303 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    304 AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
    305 lt_aix_libpath_sed=' 
    306     /Import File Strings/,/^$/ { 
    307         /^0/ { 
    308             s/^0  *\(.*\)$/\1/ 
    309             p 
    310         } 
    311     }' 
    312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
     296[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
     297aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
     298}'` 
    313299# Check for a 64-bit object if we didn't find anything. 
    314 if test -z "$aix_libpath"; then 
    315   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
    316 fi],[]) 
     300if 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; } 
     301}'`; fi],[]) 
    317302if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
    318303])# _LT_AC_SYS_LIBPATH_AIX 
     
    545530  ;; 
    546531 
    547 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 
    548 s390*-*linux*|sparc*-*linux*) 
     532x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 
    549533  # Find out which ABI we are using. 
    550534  echo 'int i;' > conftest.$ac_ext 
     
    553537    *32-bit*) 
    554538      case $host in 
    555         x86_64-*kfreebsd*-gnu) 
    556           LD="${LD-ld} -m elf_i386_fbsd" 
    557           ;; 
    558539        x86_64-*linux*) 
    559540          LD="${LD-ld} -m elf_i386" 
     
    572553    *64-bit*) 
    573554      case $host in 
    574         x86_64-*kfreebsd*-gnu) 
    575           LD="${LD-ld} -m elf_x86_64_fbsd" 
    576           ;; 
    577555        x86_64-*linux*) 
    578556          LD="${LD-ld} -m elf_x86_64" 
     
    646624  [$2=no 
    647625  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
    648    echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
     626   printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
    649627   lt_compiler_flag="$3" 
    650628   # Insert the option either (1) after the last *FLAGS variable, or 
     
    687665# Check whether the given compiler option works 
    688666AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 
    689 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    690 AC_CACHE_CHECK([$1], [$2], 
     667[AC_CACHE_CHECK([$1], [$2], 
    691668  [$2=no 
    692669   save_LDFLAGS="$LDFLAGS" 
    693670   LDFLAGS="$LDFLAGS $3" 
    694    echo "$lt_simple_link_test_code" > conftest.$ac_ext 
     671   printf "$lt_simple_link_test_code" > conftest.$ac_ext 
    695672   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    696673     # The linker can only warn and ignore the option if not recognized 
     
    806783    ;; 
    807784  *) 
    808     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 
    809     if test -n "$lt_cv_sys_max_cmd_len"; then 
    810       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
    811       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
    812     else 
    813       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
    814       while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
     785    # If test is not a shell built-in, we'll probably end up computing a 
     786    # maximum length that is only half of the actual maximum length, but 
     787    # we can't tell. 
     788    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
     789    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
    815790               = "XX$teststring") >/dev/null 2>&1 && 
    816               new_result=`expr "X$teststring" : ".*" 2>&1` && 
    817               lt_cv_sys_max_cmd_len=$new_result && 
    818               test $i != 17 # 1/2 MB should be enough 
    819       do 
    820         i=`expr $i + 1` 
    821         teststring=$teststring$teststring 
    822       done 
    823       teststring= 
    824       # Add a significant safety factor because C++ compilers can tack on massive 
    825       # amounts of additional arguments before passing them to the linker. 
    826       # It appears as though 1/2 is a usable value. 
    827       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
    828     fi 
     791            new_result=`expr "X$teststring" : ".*" 2>&1` && 
     792            lt_cv_sys_max_cmd_len=$new_result && 
     793            test $i != 17 # 1/2 MB should be enough 
     794    do 
     795      i=`expr $i + 1` 
     796      teststring=$teststring$teststring 
     797    done 
     798    teststring= 
     799    # Add a significant safety factor because C++ compilers can tack on massive 
     800    # amounts of additional arguments before passing them to the linker. 
     801    # It appears as though 1/2 is a usable value. 
     802    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
    829803    ;; 
    830804  esac 
     
    10531027# Check to see if options -c and -o are simultaneously supported by compiler 
    10541028AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], 
    1055 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    1056 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
     1029[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
    10571030AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 
    10581031  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], 
     
    10621035   cd conftest 
    10631036   mkdir out 
    1064    echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
     1037   printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
    10651038 
    10661039   lt_compiler_flag="-o out/conftest2.$ac_objext" 
     
    12021175       if test -n "$STRIP" ; then 
    12031176         striplib="$STRIP -x" 
    1204          old_striplib="$STRIP -S" 
    12051177         AC_MSG_RESULT([yes]) 
    12061178       else 
     
    12201192# PORTME Fill in your ld.so characteristics 
    12211193AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], 
    1222 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    1223 AC_MSG_CHECKING([dynamic linker characteristics]) 
     1194[AC_MSG_CHECKING([dynamic linker characteristics]) 
    12241195library_names_spec= 
    12251196libname_spec='lib$name' 
     
    12351206dynamic_linker="$host_os ld.so" 
    12361207sys_lib_dlsearch_path_spec="/lib /usr/lib" 
    1237 m4_if($1,[],[ 
    12381208if test "$GCC" = yes; then 
    1239   case $host_os in 
    1240     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 
    1241     *) lt_awk_arg="/^libraries:/" ;; 
    1242   esac 
    1243   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
    1244   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then 
     1209  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
     1210  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then 
    12451211    # if the path contains ";" then we assume it to be the separator 
    12461212    # otherwise default to the standard path separator (i.e. ":") - it is 
    12471213    # assumed that no part of a normal pathname contains ";" but that should 
    12481214    # okay in the real world where ";" in dirpaths is itself problematic. 
    1249     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` 
     1215    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
    12501216  else 
    1251     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
     1217    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    12521218  fi 
    1253   # Ok, now we have the path, separated by spaces, we can step through it 
    1254   # and add multilib dir if necessary. 
    1255   lt_tmp_lt_search_path_spec= 
    1256   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 
    1257   for lt_sys_path in $lt_search_path_spec; do 
    1258     if test -d "$lt_sys_path/$lt_multi_os_dir"; then 
    1259       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 
    1260     else 
    1261       test -d "$lt_sys_path" && \ 
    1262         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 
    1263     fi 
    1264   done 
    1265   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' 
    1266 BEGIN {RS=" "; FS="/|\n";} { 
    1267   lt_foo=""; 
    1268   lt_count=0; 
    1269   for (lt_i = NF; lt_i > 0; lt_i--) { 
    1270     if ($lt_i != "" && $lt_i != ".") { 
    1271       if ($lt_i == "..") { 
    1272         lt_count++; 
    1273       } else { 
    1274         if (lt_count == 0) { 
    1275           lt_foo="/" $lt_i lt_foo; 
    1276         } else { 
    1277           lt_count--; 
    1278         } 
    1279       } 
    1280     } 
    1281   } 
    1282   if (lt_foo != "") { lt_freq[[lt_foo]]++; } 
    1283   if (lt_freq[[lt_foo]] == 1) { print lt_foo; } 
    1284 }'` 
    1285   sys_lib_search_path_spec=`echo $lt_search_path_spec` 
    12861219else 
    12871220  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
    1288 fi]) 
     1221fi 
    12891222need_lib_prefix=unknown 
    12901223hardcode_into_libs=no 
     
    14431376  shlibpath_var=DYLD_LIBRARY_PATH 
    14441377  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 
    1445   m4_if([$1], [],[ 
    1446   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])  
     1378  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
     1379  if test "$GCC" = yes; then 
     1380    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"` 
     1381  else 
     1382    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 
     1383  fi 
    14471384  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 
    14481385  ;; 
     
    14591396freebsd1*) 
    14601397  dynamic_linker=no 
     1398  ;; 
     1399 
     1400kfreebsd*-gnu) 
     1401  version_type=linux 
     1402  need_lib_prefix=no 
     1403  need_version=no 
     1404  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     1405  soname_spec='${libname}${release}${shared_ext}$major' 
     1406  shlibpath_var=LD_LIBRARY_PATH 
     1407  shlibpath_overrides_runpath=no 
     1408  hardcode_into_libs=yes 
     1409  dynamic_linker='GNU ld.so' 
    14611410  ;; 
    14621411 
     
    14981447    hardcode_into_libs=yes 
    14991448    ;; 
    1500   *) # from 4.6 on, and DragonFly 
     1449  freebsd*) # from 4.6 on 
    15011450    shlibpath_overrides_runpath=yes 
    15021451    hardcode_into_libs=yes 
     
    15611510  ;; 
    15621511 
    1563 interix[[3-9]]*) 
     1512interix3*) 
    15641513  version_type=linux 
    15651514  need_lib_prefix=no 
     
    16161565 
    16171566# This must be Linux ELF. 
    1618 linux* | k*bsd*-gnu
     1567linux*
    16191568  version_type=linux 
    16201569  need_lib_prefix=no 
     
    16301579  hardcode_into_libs=yes 
    16311580 
     1581  # find out which ABI we are using 
     1582  libsuff= 
     1583  case "$host_cpu" in 
     1584  x86_64*|s390x*|powerpc64*) 
     1585    echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
     1586    if AC_TRY_EVAL(ac_compile); then 
     1587      case `/usr/bin/file conftest.$ac_objext` in 
     1588      *64-bit*) 
     1589        libsuff=64 
     1590        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 
     1591        ;; 
     1592      esac 
     1593    fi 
     1594    rm -rf conftest* 
     1595    ;; 
     1596  esac 
     1597 
    16321598  # Append ld.so.conf contents to the search path 
    16331599  if test -f /etc/ld.so.conf; then 
    1634     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' ' '` 
    1635     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
     1600    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/#.*//;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 
     1601    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 
    16361602  fi 
    16371603 
     
    16431609  # assume the GNU/Linux dynamic linker is in use. 
    16441610  dynamic_linker='GNU/Linux ld.so' 
     1611  ;; 
     1612 
     1613knetbsd*-gnu) 
     1614  version_type=linux 
     1615  need_lib_prefix=no 
     1616  need_version=no 
     1617  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     1618  soname_spec='${libname}${release}${shared_ext}$major' 
     1619  shlibpath_var=LD_LIBRARY_PATH 
     1620  shlibpath_overrides_runpath=no 
     1621  hardcode_into_libs=yes 
     1622  dynamic_linker='GNU ld.so' 
    16451623  ;; 
    16461624 
     
    17241702  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
    17251703  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
    1726   ;; 
    1727  
    1728 rdos*) 
    1729   dynamic_linker=no 
    17301704  ;; 
    17311705 
     
    18351809# ---------------- 
    18361810AC_DEFUN([_LT_AC_TAGCONFIG], 
    1837 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    1838 AC_ARG_WITH([tags], 
     1811[AC_ARG_WITH([tags], 
    18391812    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 
    18401813        [include additional configurations @<:@automatic@:>@])], 
     
    20972070# AC_PATH_TOOL_PREFIX 
    20982071# ------------------- 
    2099 # find a file program which can recognize shared library 
     2072# find a file program which can recognise shared library 
    21002073AC_DEFUN([AC_PATH_TOOL_PREFIX], 
    21012074[AC_REQUIRE([AC_PROG_EGREP])dnl 
     
    21602133# AC_PATH_MAGIC 
    21612134# ------------- 
    2162 # find a file program which can recognize a shared library 
     2135# find a file program which can recognise a shared library 
    21632136AC_DEFUN([AC_PATH_MAGIC], 
    21642137[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) 
     
    23072280#  -- PORTME fill in with the dynamic library characteristics 
    23082281AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 
    2309 [AC_CACHE_CHECK([how to recognize dependent libraries], 
     2282[AC_CACHE_CHECK([how to recognise dependent libraries], 
    23102283lt_cv_deplibs_check_method, 
    23112284[lt_cv_file_magic_cmd='$MAGIC_CMD' 
     
    23462319mingw* | pw32*) 
    23472320  # Base MSYS/MinGW do not provide the 'file' command needed by 
    2348   # func_win32_libid shell function, so use a weaker test based on 'objdump', 
    2349   # unless we find 'file', for example because we are cross-compiling. 
    2350   if ( file / ) >/dev/null 2>&1; then 
    2351     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 
    2352     lt_cv_file_magic_cmd='func_win32_libid' 
    2353   else 
    2354     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 
    2355     lt_cv_file_magic_cmd='$OBJDUMP -f' 
    2356   fi 
     2321  # func_win32_libid shell function, so use a weaker test based on 'objdump'. 
     2322  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 
     2323  lt_cv_file_magic_cmd='$OBJDUMP -f' 
    23572324  ;; 
    23582325 
     
    23612328  ;; 
    23622329 
    2363 freebsd* | dragonfly*) 
     2330freebsd* | kfreebsd*-gnu | dragonfly*) 
    23642331  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
    23652332    case $host_cpu in 
     
    23992366  ;; 
    24002367 
    2401 interix[[3-9]]*) 
     2368interix3*) 
    24022369  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
    24032370  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 
     
    24152382 
    24162383# This must be Linux ELF. 
    2417 linux* | k*bsd*-gnu
     2384linux*
    24182385  lt_cv_deplibs_check_method=pass_all 
    24192386  ;; 
     
    24462413 
    24472414osf3* | osf4* | osf5*) 
    2448   lt_cv_deplibs_check_method=pass_all 
    2449   ;; 
    2450  
    2451 rdos*) 
    24522415  lt_cv_deplibs_check_method=pass_all 
    24532416  ;; 
     
    25052468else 
    25062469  lt_nm_to_check="${ac_tool_prefix}nm" 
    2507   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
     2470  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then  
    25082471    lt_nm_to_check="$lt_nm_to_check nm" 
    25092472  fi 
     
    27212684 
    27222685# Code to be used in simple compile tests 
    2723 lt_simple_compile_test_code="int some_variable = 0;
     2686lt_simple_compile_test_code="int some_variable = 0;\n
    27242687 
    27252688# Code to be used in simple link tests 
    2726 lt_simple_link_test_code='int main(){return(0);}
     2689lt_simple_link_test_code='int main(){return(0);}\n
    27272690 
    27282691_LT_AC_SYS_COMPILER 
     
    28262789 
    28272790# Code to be used in simple compile tests 
    2828 lt_simple_compile_test_code="int some_variable = 0;
     2791lt_simple_compile_test_code="int some_variable = 0;\n
    28292792 
    28302793# Code to be used in simple link tests 
    2831 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }
     2794lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n
    28322795 
    28332796# ltmain only uses $CC for tagged configurations so make sure $CC is set. 
     
    29752938        then 
    29762939          # We have reworked collect2 
    2977           : 
     2940          _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    29782941        else 
    29792942          # We have old collect2 
     
    31343097        xlc*) 
    31353098         output_verbose_link_cmd='echo' 
    3136           _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' 
     3099          _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' 
    31373100          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    31383101          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 
    3139           _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}' 
     3102          _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}' 
    31403103          _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}' 
    31413104          ;; 
     
    31713134    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    31723135    ;; 
    3173   freebsd* | dragonfly*) 
     3136  freebsd* | kfreebsd*-gnu | dragonfly*) 
    31743137    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 
    31753138    # conventions 
     
    32203183 
    32213184      case $host_cpu in 
    3222       hppa*64*|ia64*) ;; 
     3185      hppa*64*|ia64*) 
     3186        _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 
     3187        ;; 
    32233188      *) 
    32243189        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
     
    32883253    esac 
    32893254    ;; 
    3290   interix[[3-9]]*) 
     3255  interix3*) 
    32913256    _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    32923257    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
     
    33283293    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    33293294    ;; 
    3330   linux* | k*bsd*-gnu
     3295  linux*
    33313296    case $cc_basename in 
    33323297      KCC*) 
     
    34083373        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' 
    34093374        ;; 
    3410       *) 
    3411         case `$CC -V 2>&1 | sed 5q` in 
    3412         *Sun\ C*) 
    3413           # Sun C++ 5.9 
    3414           _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 
    3415           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    3416           _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' 
    3417           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    3418           _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' 
    3419  
    3420           # Not sure whether something based on 
    3421           # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 
    3422           # would be better. 
    3423           output_verbose_link_cmd='echo' 
    3424  
    3425           # Archives containing C++ object files must be created using 
    3426           # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
    3427           # necessary to make sure instantiated templates are included 
    3428           # in the archive. 
    3429           _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 
    3430           ;; 
    3431         esac 
    3432         ;; 
    34333375    esac 
    34343376    ;; 
     
    34693411    ;; 
    34703412  openbsd*) 
    3471     if test -f /usr/libexec/ld.so; then 
    3472       _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    3473       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    3474       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
    3475       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    3476       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    3477         _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' 
    3478         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    3479         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    3480       fi 
    3481       output_verbose_link_cmd='echo' 
    3482     else 
    3483       _LT_AC_TAGVAR(ld_shlibs, $1)=no 
     3413    _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
     3414    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
     3415    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
     3416    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
     3417    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
     3418      _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' 
     3419      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
     3420      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    34843421    fi 
     3422    output_verbose_link_cmd='echo' 
    34853423    ;; 
    34863424  osf3*) 
     
    36443582          solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 
    36453583          *) 
    3646             # The compiler driver will combine and reorder linker options, 
    3647             # but understands `-z linker_flag'. 
     3584            # The C++ compiler is used as linker so we must use $wl 
     3585            # flag to pass the commands to the underlying system 
     3586            # linker. We must also pass each convience library through 
     3587            # to the system linker between allextract/defaultextract. 
     3588            # The C++ compiler will combine linker options so we 
     3589            # cannot just pass the convience library names through 
     3590            # without $wl. 
    36483591            # Supported since Solaris 2.6 (maybe 2.5.1?) 
    3649             _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' 
     3592            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' 
    36503593            ;; 
    36513594        esac 
     
    36943637 
    36953638          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' 
    3696           case $host_os in 
    3697           solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 
    3698           *) 
    3699             _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 
    3700             ;; 
    3701           esac 
    37023639        fi 
    37033640        ;; 
     
    39433880ifelse([$1],[CXX], 
    39443881[case $host_os in 
    3945 interix[[3-9]]*) 
     3882interix3*) 
    39463883  # Interix 3.5 installs completely hosed .la files for C++, so rather than 
    39473884  # hack all around it, let's just trust "g++" to DTRT. 
     
    39513888  ;; 
    39523889 
    3953 linux*) 
    3954   case `$CC -V 2>&1 | sed 5q` in 
    3955   *Sun\ C*) 
    3956     # Sun C++ 5.9 
    3957     # 
    3958     # The more standards-conforming stlport4 library is 
    3959     # incompatible with the Cstd library. Avoid specifying 
    3960     # it if it's in CXXFLAGS. Ignore libCrun as 
    3961     # -library=stlport4 depends on it. 
    3962     case " $CXX $CXXFLAGS " in 
    3963     *" -library=stlport4 "*) 
    3964       solaris_use_stlport4=yes 
    3965       ;; 
    3966     esac 
    3967     if test "$solaris_use_stlport4" != yes; then 
    3968       _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' 
    3969     fi 
    3970     ;; 
    3971   esac 
    3972   ;; 
    3973  
    39743890solaris*) 
    39753891  case $cc_basename in 
    39763892  CC*) 
    3977     # The more standards-conforming stlport4 library is 
    3978     # incompatible with the Cstd library. Avoid specifying 
    3979     # it if it's in CXXFLAGS. Ignore libCrun as 
    3980     # -library=stlport4 depends on it. 
    3981     case " $CXX $CXXFLAGS " in 
    3982     *" -library=stlport4 "*) 
    3983       solaris_use_stlport4=yes 
    3984       ;; 
    3985     esac 
    3986  
    39873893    # Adding this requires a known-good setup of shared libraries for 
    39883894    # Sun compiler versions before 5.6, else PIC objects from an old 
    39893895    # archive will be linked into the output, leading to subtle bugs. 
    3990     if test "$solaris_use_stlport4" != yes; then 
    3991       _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' 
    3992     fi 
     3896    _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun' 
    39933897    ;; 
    39943898  esac 
     
    40393943 
    40403944# Code to be used in simple compile tests 
    4041 lt_simple_compile_test_code="\ 
    4042       subroutine t 
    4043       return 
    4044       end 
    4045 
     3945lt_simple_compile_test_code="      subroutine t\n      return\n      end\n" 
    40463946 
    40473947# Code to be used in simple link tests 
    4048 lt_simple_link_test_code="\ 
    4049       program t 
    4050       end 
    4051 
     3948lt_simple_link_test_code="      program t\n      end\n" 
    40523949 
    40533950# ltmain only uses $CC for tagged configurations so make sure $CC is set. 
     
    41284025 
    41294026# Code to be used in simple compile tests 
    4130 lt_simple_compile_test_code="class foo {}
     4027lt_simple_compile_test_code="class foo {}\n
    41314028 
    41324029# Code to be used in simple link tests 
    4133 lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }
     4030lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n
    41344031 
    41354032# ltmain only uses $CC for tagged configurations so make sure $CC is set. 
     
    41844081 
    41854082# Code to be used in simple compile tests 
    4186 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }
     4083lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n
    41874084 
    41884085# Code to be used in simple link tests 
     
    42734170    _LT_AC_TAGVAR(module_expsym_cmds, $1) \ 
    42744171    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ 
    4275     _LT_AC_TAGVAR(fix_srcfile_path, $1) \ 
    42764172    _LT_AC_TAGVAR(exclude_expsyms, $1) \ 
    42774173    _LT_AC_TAGVAR(include_expsyms, $1); do 
     
    43204216# NOTE: Changes made to this file will be lost: look at ltmain.sh. 
    43214217# 
    4322 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 
     4218# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 
    43234219# Free Software Foundation, Inc. 
    43244220# 
     
    44104306with_gcc=$_LT_AC_TAGVAR(GCC, $1) 
    44114307 
     4308gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\` 
     4309gcc_ver=\`gcc -dumpversion\` 
     4310 
    44124311# An ERE matcher. 
    44134312EGREP=$lt_EGREP 
     
    45434442# Dependencies to place before the objects being linked to create a 
    45444443# shared library. 
    4545 predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) 
     4444predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 
    45464445 
    45474446# Dependencies to place after the objects being linked to create a 
    45484447# shared library. 
    4549 postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) 
     4448postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 
    45504449 
    45514450# Dependencies to place before the objects being linked to create a 
     
    45594458# The library search path used internally by the compiler when linking 
    45604459# a shared library. 
    4561 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) 
     4460compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 
    45624461 
    45634462# Method to check whether dependent libraries are shared objects. 
     
    46394538 
    46404539# Compile-time system search path for libraries 
    4641 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 
     4540sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\` 
    46424541 
    46434542# Run-time system search path for libraries 
     
    46454544 
    46464545# Fix the shell variable \$srcfile for the compiler. 
    4647 fix_srcfile_path=$lt_fix_srcfile_path 
     4546fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" 
    46484547 
    46494548# Set to yes if exported symbols are required. 
     
    47284627AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], 
    47294628[AC_REQUIRE([AC_CANONICAL_HOST]) 
    4730 AC_REQUIRE([LT_AC_PROG_SED]) 
    47314629AC_REQUIRE([AC_PROG_NM]) 
    47324630AC_REQUIRE([AC_OBJEXT]) 
     
    47654663  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" 
    47664664  ;; 
    4767 linux* | k*bsd*-gnu
     4665linux*
    47684666  if test "$host_cpu" = ia64; then 
    47694667    symcode='[[ABCDGIRSTW]]' 
     
    49554853      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' 
    49564854      ;; 
    4957     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
     4855    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    49584856      # PIC is the default for these OSes. 
    49594857      ;; 
    4960     mingw* | cygwin* | os2* | pw32*) 
     4858    mingw* | os2* | pw32*) 
    49614859      # This hack is so that the source file can tell whether it is being 
    49624860      # built for inclusion in a dll (and should export symbols for example). 
    4963       # Although the cygwin gcc ignores -fPIC, still need this for old-style 
    4964       # (--disable-auto-import) libraries 
    49654861      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 
    49664862      ;; 
     
    49744870      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 
    49754871      ;; 
    4976     interix[[3-9]]*) 
     4872    interix3*) 
    49774873      # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
    49784874      # Instead, we relocate shared libraries at runtime. 
     
    50404936        esac 
    50414937        ;; 
    5042       freebsd* | dragonfly*) 
     4938      freebsd* | kfreebsd*-gnu | dragonfly*) 
    50434939        # FreeBSD uses GNU C++ 
    50444940        ;; 
     
    50834979        esac 
    50844980        ;; 
    5085       linux* | k*bsd*-gnu
     4981      linux*
    50864982        case $cc_basename in 
    50874983          KCC*) 
     
    51105006            ;; 
    51115007          *) 
    5112             case `$CC -V 2>&1 | sed 5q` in 
    5113             *Sun\ C*) 
    5114               # Sun C++ 5.9 
    5115               _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5116               _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5117               _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' 
    5118               ;; 
    5119             esac 
    51205008            ;; 
    51215009        esac 
     
    52385126      ;; 
    52395127 
    5240     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
     5128    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 
    52415129      # PIC is the default for these OSes. 
    52425130      ;; 
    52435131 
    5244     mingw* | cygwin* | pw32* | os2*) 
     5132    mingw* | pw32* | os2*) 
    52455133      # This hack is so that the source file can tell whether it is being 
    52465134      # built for inclusion in a dll (and should export symbols for example). 
    5247       # Although the cygwin gcc ignores -fPIC, still need this for old-style 
    5248       # (--disable-auto-import) libraries 
    52495135      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 
    52505136      ;; 
     
    52565142      ;; 
    52575143 
    5258     interix[[3-9]]*) 
     5144    interix3*) 
    52595145      # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
    52605146      # Instead, we relocate shared libraries at runtime. 
     
    53145200       ;; 
    53155201 
    5316     mingw* | cygwin* | pw32* | os2*) 
     5202    mingw* | pw32* | os2*) 
    53175203      # This hack is so that the source file can tell whether it is being 
    53185204      # built for inclusion in a dll (and should export symbols for example). 
     
    53475233      ;; 
    53485234 
    5349     linux* | k*bsd*-gnu
     5235    linux*
    53505236      case $cc_basename in 
    53515237      icc* | ecc*) 
     
    53665252        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    53675253        ;; 
    5368       *) 
    5369         case `$CC -V 2>&1 | sed 5q` in 
    5370         *Sun\ C*) 
    5371           # Sun C 5.9 
    5372           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5373           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5374           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    5375           ;; 
    5376         *Sun\ F*) 
    5377           # Sun Fortran 8.3 passes all unrecognized flags to the linker 
    5378           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    5379           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    5380           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='' 
    5381           ;; 
    5382         esac 
    5383         ;; 
    53845254      esac 
    53855255      ;; 
     
    53885258      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    53895259      # All OSF/1 code is PIC. 
    5390       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    5391       ;; 
    5392  
    5393     rdos*) 
    53945260      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    53955261      ;; 
     
    54895355# See if the linker supports building shared libraries. 
    54905356AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], 
    5491 [AC_REQUIRE([LT_AC_PROG_SED])dnl 
    5492 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 
     5357[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 
    54935358ifelse([$1],[CXX],[ 
    54945359  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 
     
    55075372  ;; 
    55085373  cygwin* | mingw*) 
    5509     _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' 
     5374    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' 
    55105375  ;; 
    55115376  *) 
     
    56465511      _LT_AC_TAGVAR(always_export_symbols, $1)=no 
    56475512      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 
    5648       _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' 
     5513      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' 
    56495514 
    56505515      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 
     
    56645529      ;; 
    56655530 
    5666     interix[[3-9]]*) 
     5531    interix3*) 
    56675532      _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    56685533      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
     
    56795544      ;; 
    56805545 
    5681     gnu* | linux* | k*bsd*-gnu
     5546    linux*
    56825547      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    56835548        tmp_addflag= 
     
    56975562          tmp_addflag=' -nofor_main' ;; 
    56985563        esac 
    5699         case `$CC -V 2>&1 | sed 5q` in 
    5700         *Sun\ C*)                       # Sun C 5.9 
    5701           _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' 
    5702           tmp_sharedflag='-G' ;; 
    5703         *Sun\ F*)                       # Sun Fortran 8.3 
    5704           tmp_sharedflag='-G' ;; 
    5705         *) 
    5706           tmp_sharedflag='-shared' ;; 
    5707         esac 
    5708         _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
     5564        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    57095565 
    57105566        if test $supports_anon_versioning = yes; then 
     
    57125568  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
    57135569  $echo "local: *; };" >> $output_objdir/$libname.ver~ 
    5714           $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
     5570          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
    57155571        fi 
    57165572      else 
     
    57525608    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 
    57535609      case `$LD -v 2>&1` in 
    5754         *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 
     5610        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)  
    57555611        _LT_AC_TAGVAR(ld_shlibs, $1)=no