Changeset 44

Show
Ignore:
Timestamp:
01/17/08 10:06:18
Author:
hobu
Message:

add autogen.sh to simplify auto stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spatialindex/trunk/aclocal.m4

    r33 r44  
    1 # generated automatically by aclocal 1.9.2 -*- Autoconf -*- 
    2  
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 
    4 # Free Software Foundation, Inc. 
     1# generated automatically by aclocal 1.10 -*- Autoconf -*- 
     2 
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
     4# 2005, 2006  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 
     14m4_if(m4_PACKAGE_VERSION, [2.61],, 
     15[m4_fatal([this file was generated for autoconf 2.61. 
     16You have another version of autoconf.  If you want to use that, 
     17you should regenerate the build system entirely.], [63])]) 
     18 
    1419# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    1520 
    16 # serial 47 AC_PROG_LIBTOOL 
     21# serial 48 AC_PROG_LIBTOOL 
    1722 
    1823 
     
    124129# Sed substitution that helps us do robust quoting.  It backslashifies 
    125130# metacharacters that are still active within double-quoted strings. 
    126 Xsed='sed -e s/^X//' 
     131Xsed='sed -e 1s/^X//' 
    127132[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 
    128133 
     
    144149can_build_shared=yes 
    145150 
    146 # All known linkers require a `.a' archive for static linking (except M$VC, 
     151# All known linkers require a `.a' archive for static linking (except MSVC, 
    147152# which needs '.lib'). 
    148153libext=a 
     
    164169test -z "$CC" && CC=cc 
    165170test -z "$LTCC" && LTCC=$CC 
     171test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
    166172test -z "$DLLTOOL" && DLLTOOL=dlltool 
    167173test -z "$LD" && LD=ld 
     
    183189  case $host_os in 
    184190  openbsd*) 
    185     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds
     191    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib
    186192    ;; 
    187193  *) 
    188     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds
     194    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib
    189195    ;; 
    190196  esac 
    191197  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 
    192198fi 
     199 
     200_LT_CC_BASENAME([$compiler]) 
    193201 
    194202# Only perform the check for file, if the check method requires it 
     
    232240LTCC=${LTCC-"$CC"} 
    233241 
     242# If no C compiler flags were specified, use CFLAGS. 
     243LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
     244 
    234245# Allow CC to be a program name with arguments. 
    235246compiler=$CC 
    236247])# _LT_AC_SYS_COMPILER 
     248 
     249 
     250# _LT_CC_BASENAME(CC) 
     251# ------------------- 
     252# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix. 
     253AC_DEFUN([_LT_CC_BASENAME], 
     254[for cc_temp in $1""; do 
     255  case $cc_temp in 
     256    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 
     257    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 
     258    \-*) ;; 
     259    *) break;; 
     260  esac 
     261done 
     262cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
     263]) 
     264 
     265 
     266# _LT_COMPILER_BOILERPLATE 
     267# ------------------------ 
     268# Check for compiler boilerplate output or warnings with 
     269# the simple compiler test code. 
     270AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
     271[ac_outfile=conftest.$ac_objext 
     272printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
     273eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
     274_lt_compiler_boilerplate=`cat conftest.err` 
     275$rm conftest* 
     276])# _LT_COMPILER_BOILERPLATE 
     277 
     278 
     279# _LT_LINKER_BOILERPLATE 
     280# ---------------------- 
     281# Check for linker boilerplate output or warnings with 
     282# the simple link test code. 
     283AC_DEFUN([_LT_LINKER_BOILERPLATE], 
     284[ac_outfile=conftest.$ac_objext 
     285printf "$lt_simple_link_test_code" >conftest.$ac_ext 
     286eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
     287_lt_linker_boilerplate=`cat conftest.err` 
     288$rm conftest* 
     289])# _LT_LINKER_BOILERPLATE 
    237290 
    238291 
     
    309362# The HP-UX ksh and POSIX shell print the target directory to stdout 
    310363# if CDPATH is set. 
    311 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
     364(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    312365 
    313366if test -z "$ECHO"; then 
     
    316369  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
    317370    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
    318     if (echo_test_string="`eval $cmd`") 2>/dev/null && 
    319        echo_test_string="`eval $cmd`" && 
     371    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
     372       echo_test_string=`eval $cmd` && 
    320373       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
    321374    then 
     
    486539  echo 'int i;' > conftest.$ac_ext 
    487540  if AC_TRY_EVAL(ac_compile); then 
    488     case "`/usr/bin/file conftest.o`" in 
     541    case `/usr/bin/file conftest.o` in 
    489542    *32-bit*) 
    490543      case $host in 
     
    537590  fi 
    538591  ;; 
     592sparc*-*solaris*) 
     593  # Find out which ABI we are using. 
     594  echo 'int i;' > conftest.$ac_ext 
     595  if AC_TRY_EVAL(ac_compile); then 
     596    case `/usr/bin/file conftest.o` in 
     597    *64-bit*) 
     598      case $lt_cv_prog_gnu_ld in 
     599      yes*) LD="${LD-ld} -m elf64_sparc" ;; 
     600      *)    LD="${LD-ld} -64" ;; 
     601      esac 
     602      ;; 
     603    esac 
     604  fi 
     605  rm -rf conftest* 
     606  ;; 
     607 
    539608AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
    540609[*-*-cygwin* | *-*-mingw* | *-*-pw32*) 
     
    568637   # The option is referenced via a variable to avoid confusing sed. 
    569638   lt_compile=`echo "$ac_compile" | $SED \ 
    570    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 
     639   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    571640   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    572641   -e 's:$: $lt_compiler_flag:'` 
     
    578647   if (exit $ac_status) && test -s "$ac_outfile"; then 
    579648     # The compiler can only warn and ignore the option if not recognized 
    580      # So say no if there are warnings 
    581      if test ! -s conftest.err; then 
     649     # So say no if there are warnings other than the usual output. 
     650     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
     651     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
     652     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
    582653       $2=yes 
    583654     fi 
     
    605676   printf "$lt_simple_link_test_code" > conftest.$ac_ext 
    606677   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    607      # The compiler can only warn and ignore the option if not recognized 
     678     # The linker can only warn and ignore the option if not recognized 
    608679     # So say no if there are warnings 
    609680     if test -s conftest.err; then 
    610681       # Append any errors to the config.log. 
    611682       cat conftest.err 1>&AS_MESSAGE_LOG_FD 
     683       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
     684       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
     685       if diff conftest.exp conftest.er2 >/dev/null; then 
     686         $2=yes 
     687       fi 
    612688     else 
    613689       $2=yes 
     
    668744    ;; 
    669745 
    670  *) 
     746  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 
     747    # This has been around since 386BSD, at least.  Likely further. 
     748    if test -x /sbin/sysctl; then 
     749      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 
     750    elif test -x /usr/sbin/sysctl; then 
     751      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 
     752    else 
     753      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs 
     754    fi 
     755    # And add a safety zone 
     756    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
     757    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
     758    ;; 
     759 
     760  interix*) 
     761    # We know the value 262144 and hardcode it with a safety zone (like BSD) 
     762    lt_cv_sys_max_cmd_len=196608 
     763    ;; 
     764 
     765  osf*) 
     766    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
     767    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 
     768    # nice to cause kernel panics so lets avoid the loop below. 
     769    # First set a reasonable default. 
     770    lt_cv_sys_max_cmd_len=16384 
     771    # 
     772    if test -x /sbin/sysconfig; then 
     773      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
     774        *1*) lt_cv_sys_max_cmd_len=-1 ;; 
     775      esac 
     776    fi 
     777    ;; 
     778  sco3.2v5*) 
     779    lt_cv_sys_max_cmd_len=102400 
     780    ;; 
     781  sysv5* | sco5v6* | sysv4.2uw2*) 
     782    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
     783    if test -n "$kargmax"; then 
     784      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'` 
     785    else 
     786      lt_cv_sys_max_cmd_len=32768 
     787    fi 
     788    ;; 
     789  *) 
    671790    # If test is not a shell built-in, we'll probably end up computing a 
    672791    # maximum length that is only half of the actual maximum length, but 
    673792    # we can't tell. 
    674     while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
     793    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
     794    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
    675795               = "XX$teststring") >/dev/null 2>&1 && 
    676796            new_result=`expr "X$teststring" : ".*" 2>&1` && 
     
    698818 
    699819# _LT_AC_CHECK_DLFCN 
    700 # -------------------- 
     820# ------------------ 
    701821AC_DEFUN([_LT_AC_CHECK_DLFCN], 
    702822[AC_CHECK_HEADERS(dlfcn.h)dnl 
     
    706826# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
    707827#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
    708 # ------------------------------------------------------------------ 
     828# --------------------------------------------------------------------- 
    709829AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 
    710830[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
     
    772892      /* dlclose (self); */ 
    773893    } 
     894  else 
     895    puts (dlerror ()); 
    774896 
    775897    exit (status); 
     
    777899EOF 
    778900  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then 
    779     (./conftest; exit; ) 2>/dev/null 
     901    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 
    780902    lt_status=$? 
    781903    case x$lt_status in 
    782904      x$lt_dlno_uscore) $1 ;; 
    783905      x$lt_dlneed_uscore) $2 ;; 
    784       x$lt_unknown|x*) $3 ;; 
     906      x$lt_dlunknown|x*) $3 ;; 
    785907    esac 
    786908  else : 
     
    794916 
    795917# AC_LIBTOOL_DLOPEN_SELF 
    796 # ------------------- 
     918# ---------------------- 
    797919AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], 
    798920[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
     
    865987 
    866988    save_LDFLAGS="$LDFLAGS" 
    867     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
     989    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
    868990 
    869991    save_LIBS="$LIBS" 
     
    8781000 
    8791001    if test "x$lt_cv_dlopen_self" = xyes; then 
    880       LDFLAGS="$LDFLAGS $link_static_flag
     1002      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
    8811003      AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 
    8821004          lt_cv_dlopen_self_static, [dnl 
     
    9261048   # with a dollar sign (not a hyphen), so the echo should work correctly. 
    9271049   lt_compile=`echo "$ac_compile" | $SED \ 
    928    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 
     1050   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    9291051   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    9301052   -e 's:$: $lt_compiler_flag:'` 
     
    9381060     # The compiler can only warn and ignore the option if not recognized 
    9391061     # So say no if there are warnings 
    940      if test ! -s out/conftest.err; then 
     1062     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 
     1063     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 
     1064     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
    9411065       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 
    9421066     fi 
    9431067   fi 
    944    chmod u+w . 
     1068   chmod u+w . 2>&AS_MESSAGE_LOG_FD 
    9451069   $rm conftest* 
    9461070   # SGI C++ compiler will create directory out/ii_files/ for 
     
    10061130_LT_AC_TAGVAR(hardcode_action, $1)= 
    10071131if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ 
    1008    test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ 
    1009    test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then 
     1132   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ 
     1133   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 
    10101134 
    10111135  # We can hardcode non-existant directories. 
     
    11741298  ;; 
    11751299 
    1176 bsdi4*) 
     1300bsdi[[45]]*) 
    11771301  version_type=linux 
    11781302  need_version=no 
     
    12021326      dldir=$destdir/`dirname \$dlpath`~ 
    12031327      test -d \$dldir || mkdir -p \$dldir~ 
    1204       $install_prog $dir/$dlname \$dldir/$dlname' 
     1328      $install_prog $dir/$dlname \$dldir/$dlname~ 
     1329      chmod a+x \$dldir/$dlname' 
    12051330    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
    12061331      dlpath=$dir/\$dldll~ 
     
    12321357    pw32*) 
    12331358      # pw32 DLLs use 'pw' prefix rather than 'lib' 
    1234       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 
     1359      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    12351360      ;; 
    12361361    esac 
     
    12511376  need_lib_prefix=no 
    12521377  need_version=no 
    1253   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
     1378  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext' 
    12541379  soname_spec='${libname}${release}${major}$shared_ext' 
    12551380  shlibpath_overrides_runpath=yes 
    12561381  shlibpath_var=DYLD_LIBRARY_PATH 
    1257   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)
     1382  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`
    12581383  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
    12591384  if test "$GCC" = yes; then 
     
    12901415  ;; 
    12911416 
    1292 freebsd*) 
    1293   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 
     1417freebsd* | dragonfly*) 
     1418  # DragonFly does not have aout.  When/if they implement a new 
     1419  # versioning mechanism, adjust this. 
     1420  if test -x /usr/bin/objformat; then 
     1421    objformat=`/usr/bin/objformat` 
     1422  else 
     1423    case $host_os in 
     1424    freebsd[[123]]*) objformat=aout ;; 
     1425    *) objformat=elf ;; 
     1426    esac 
     1427  fi 
    12941428  version_type=freebsd-$objformat 
    12951429  case $version_type in 
     
    13091443    shlibpath_overrides_runpath=yes 
    13101444    ;; 
    1311   freebsd3.[01]* | freebsdelf3.[01]*) 
     1445  freebsd3.[[01]]* | freebsdelf3.[[01]]*) 
    13121446    shlibpath_overrides_runpath=yes 
    13131447    hardcode_into_libs=yes 
    13141448    ;; 
    1315   *) # from 3.2 on 
     1449  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 
     1450  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 
    13161451    shlibpath_overrides_runpath=no 
     1452    hardcode_into_libs=yes 
     1453    ;; 
     1454  freebsd*) # from 4.6 on 
     1455    shlibpath_overrides_runpath=yes 
    13171456    hardcode_into_libs=yes 
    13181457    ;; 
     
    13361475  need_lib_prefix=no 
    13371476  need_version=no 
    1338   case "$host_cpu" in 
     1477  case $host_cpu in 
    13391478  ia64*) 
    13401479    shrext_cmds='.so' 
     
    13761515  ;; 
    13771516 
     1517interix3*) 
     1518  version_type=linux 
     1519  need_lib_prefix=no 
     1520  need_version=no 
     1521  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     1522  soname_spec='${libname}${release}${shared_ext}$major' 
     1523  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 
     1524  shlibpath_var=LD_LIBRARY_PATH 
     1525  shlibpath_overrides_runpath=no 
     1526  hardcode_into_libs=yes 
     1527  ;; 
     1528 
    13781529irix5* | irix6* | nonstopux*) 
    13791530  case $host_os in 
     
    14331584  hardcode_into_libs=yes 
    14341585 
    1435   # find out which ABI we are using 
    1436   libsuff= 
    1437   case "$host_cpu" in 
    1438   x86_64*|s390x*|powerpc64*) 
    1439     echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
    1440     if AC_TRY_EVAL(ac_compile); then 
    1441       case `/usr/bin/file conftest.$ac_objext` in 
    1442       *64-bit*) 
    1443         libsuff=64 
    1444         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 
    1445         ;; 
    1446       esac 
    1447     fi 
    1448     rm -rf conftest* 
    1449     ;; 
    1450   esac 
    1451  
    14521586  # Append ld.so.conf contents to the search path 
    14531587  if test -f /etc/ld.so.conf; then 
    1454     lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` 
    1455     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 
     1588    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' ' '` 
     1589    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
    14561590  fi 
    14571591 
     
    15141648openbsd*) 
    15151649  version_type=sunos 
     1650  sys_lib_dlsearch_path_spec="/usr/lib" 
    15161651  need_lib_prefix=no 
    1517   need_version=yes 
     1652  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
     1653  case $host_os in 
     1654    openbsd3.3 | openbsd3.3.*) need_version=yes ;; 
     1655    *)                         need_version=no  ;; 
     1656  esac 
    15181657  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    15191658  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
     
    15511690  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
    15521691  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
    1553   ;; 
    1554  
    1555 sco3.2v5*) 
    1556   version_type=osf 
    1557   soname_spec='${libname}${release}${shared_ext}$major' 
    1558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    1559   shlibpath_var=LD_LIBRARY_PATH 
    15601692  ;; 
    15611693 
     
    15851717  ;; 
    15861718 
    1587 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
     1719sysv4 | sysv4.3*) 
    15881720  version_type=linux 
    15891721  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     
    16181750  ;; 
    16191751 
     1752sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
     1753  version_type=freebsd-elf 
     1754  need_lib_prefix=no 
     1755  need_version=no 
     1756  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
     1757  soname_spec='${libname}${release}${shared_ext}$major' 
     1758  shlibpath_var=LD_LIBRARY_PATH 
     1759  hardcode_into_libs=yes 
     1760  if test "$with_gnu_ld" = yes; then 
     1761    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
     1762    shlibpath_overrides_runpath=no 
     1763  else 
     1764    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 
     1765    shlibpath_overrides_runpath=yes 
     1766    case $host_os in 
     1767      sco3.2v5*) 
     1768        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 
     1769        ;; 
     1770    esac 
     1771  fi 
     1772  sys_lib_dlsearch_path_spec='/usr/lib' 
     1773  ;; 
     1774 
    16201775uts4*) 
    16211776  version_type=linux 
     
    16311786AC_MSG_RESULT([$dynamic_linker]) 
    16321787test "$dynamic_linker" = no && can_build_shared=no 
     1788 
     1789variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
     1790if test "$GCC" = yes; then 
     1791  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
     1792fi 
    16331793])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 
    16341794 
     
    16551815    fi 
    16561816  fi 
     1817  if test -z "$LTCFLAGS"; then 
     1818    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 
     1819  fi 
    16571820 
    16581821  # Extract list of available tagged configurations in $ofile. 
     
    16811844      case $tagname in 
    16821845      CXX) 
    1683         if test -n "$CXX" && test "X$CXX" != "Xno"; then 
     1846        if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
     1847            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
     1848            (test "X$CXX" != "Xg++"))) ; then 
    16841849          AC_LIBTOOL_LANG_CXX_CONFIG 
    16851850        else 
     
    17431908# AC_LIBTOOL_WIN32_DLL 
    17441909# -------------------- 
    1745 # declare package support for building win32 dll'
     1910# declare package support for building win32 DLL
    17461911AC_DEFUN([AC_LIBTOOL_WIN32_DLL], 
    17471912[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) 
     
    17811946# AC_DISABLE_SHARED 
    17821947# ----------------- 
    1783 #- set the default shared flag to --disable-shared 
     1948# set the default shared flag to --disable-shared 
    17841949AC_DEFUN([AC_DISABLE_SHARED], 
    17851950[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     
    19172082        case $deplibs_check_method in 
    19182083        "file_magic "*) 
    1919           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 
     2084          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 
    19202085          MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
    19212086          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 
     
    20272192      lt_cv_path_LD="$ac_dir/$ac_prog" 
    20282193      # Check to see if the program is GNU ld.  I'd rather use --version, 
    2029       # but apparently some GNU ld's only accept -v. 
     2194      # but apparently some variants of GNU ld only accept -v. 
    20302195      # Break only if it was the GNU/non-GNU ld that we prefer. 
    20312196      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 
     
    20592224[AC_REQUIRE([AC_PROG_EGREP])dnl 
    20602225AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 
    2061 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 
     2226[# I'd rather use --version here, but apparently some GNU lds only accept -v. 
    20622227case `$LD -v 2>&1 </dev/null` in 
    20632228*GNU* | *'with BFD'*) 
     
    20862251esac 
    20872252reload_cmds='$LD$reload_flag -o $output$reload_objs' 
     2253case $host_os in 
     2254  darwin*) 
     2255    if test "$GCC" = yes; then 
     2256      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 
     2257    else 
     2258      reload_cmds='$LD$reload_flag -o $output$reload_objs' 
     2259    fi 
     2260    ;; 
     2261esac 
    20882262])# AC_PROG_LD_RELOAD_FLAG 
    20892263 
     
    21192293  ;; 
    21202294 
    2121 bsdi4*) 
     2295bsdi[[45]]*) 
    21222296  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 
    21232297  lt_cv_file_magic_cmd='/usr/bin/file -L' 
     
    21422316  ;; 
    21432317 
    2144 freebsd* | kfreebsd*-gnu
     2318freebsd* | kfreebsd*-gnu | dragonfly*
    21452319  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
    21462320    case $host_cpu in 
     
    21482322      # Not sure whether the presence of OpenBSD here was a mistake. 
    21492323      # Let's accept both of them until this is cleared up. 
    2150       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' 
     2324      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' 
    21512325      lt_cv_file_magic_cmd=/usr/bin/file 
    21522326      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 
     
    21642338hpux10.20* | hpux11*) 
    21652339  lt_cv_file_magic_cmd=/usr/bin/file 
    2166   case "$host_cpu" in 
     2340  case $host_cpu in 
    21672341  ia64*) 
    21682342    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' 
     
    21782352    ;; 
    21792353  esac 
     2354  ;; 
     2355 
     2356interix3*) 
     2357  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
     2358  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 
    21802359  ;; 
    21812360 
     
    21922371# This must be Linux ELF. 
    21932372linux*) 
    2194   case $host_cpu in 
    2195   alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64*) 
    2196     lt_cv_deplibs_check_method=pass_all ;; 
    2197   *) 
    2198     # glibc up to 2.1.1 does not perform some relocations on ARM 
    2199     # this will be overridden with pass_all, but let us keep it just in case 
    2200     lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; 
    2201   esac 
    2202   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 
    22032373  lt_cv_deplibs_check_method=pass_all 
    22042374  ;; 
     
    22232393 
    22242394openbsd*) 
    2225   lt_cv_file_magic_cmd=/usr/bin/file 
    2226   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 
    22272395  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    2228     lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object
     2396    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$
    22292397  else 
    2230     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library
     2398    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$
    22312399  fi 
    22322400  ;; 
     
    22362404  ;; 
    22372405 
    2238 sco3.2v5*) 
    2239   lt_cv_deplibs_check_method=pass_all 
    2240   ;; 
    2241  
    22422406solaris*) 
    22432407  lt_cv_deplibs_check_method=pass_all 
    22442408  ;; 
    22452409 
    2246 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
     2410sysv4 | sysv4.3*) 
    22472411  case $host_vendor in 
    22482412  motorola) 
     
    22652429    lt_cv_deplibs_check_method=pass_all 
    22662430    ;; 
     2431  pc) 
     2432    lt_cv_deplibs_check_method=pass_all 
     2433    ;; 
    22672434  esac 
    22682435  ;; 
    22692436 
    2270 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) 
     2437sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    22712438  lt_cv_deplibs_check_method=pass_all 
    22722439  ;; 
     
    22882455  lt_cv_path_NM="$NM" 
    22892456else 
    2290   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    2291   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 
    2292     IFS="$lt_save_ifs" 
    2293     test -z "$ac_dir" && ac_dir=. 
    2294     tmp_nm="$ac_dir/${ac_tool_prefix}nm" 
    2295     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
    2296       # Check to see if the nm accepts a BSD-compat flag. 
    2297       # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
    2298       #   nm: unknown option "B" ignored 
    2299       # Tru64's nm complains that /dev/null is an invalid object file 
    2300       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
    2301       */dev/null* | *'Invalid file or object type'*) 
    2302         lt_cv_path_NM="$tmp_nm -B" 
    2303         break 
    2304         ;; 
    2305       *) 
    2306         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
    2307         */dev/null*) 
    2308           lt_cv_path_NM="$tmp_nm -p" 
     2457  lt_nm_to_check="${ac_tool_prefix}nm" 
     2458  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then  
     2459    lt_nm_to_check="$lt_nm_to_check nm" 
     2460  fi 
     2461  for lt_tmp_nm in $lt_nm_to_check; do 
     2462    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
     2463    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 
     2464      IFS="$lt_save_ifs" 
     2465      test -z "$ac_dir" && ac_dir=. 
     2466      tmp_nm="$ac_dir/$lt_tmp_nm" 
     2467      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
     2468        # Check to see if the nm accepts a BSD-compat flag. 
     2469        # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
     2470        #   nm: unknown option "B" ignored 
     2471        # Tru64's nm complains that /dev/null is an invalid object file 
     2472        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
     2473        */dev/null* | *'Invalid file or object type'*) 
     2474          lt_cv_path_NM="$tmp_nm -B" 
    23092475          break 
    23102476          ;; 
    23112477        *) 
    2312           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
    2313           continue # so that we can try to find one that supports BSD flags 
     2478          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
     2479          */dev/null*) 
     2480            lt_cv_path_NM="$tmp_nm -p" 
     2481            break 
     2482            ;; 
     2483          *) 
     2484            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
     2485            continue # so that we can try to find one that supports BSD flags 
     2486            ;; 
     2487          esac 
    23142488          ;; 
    23152489        esac 
    2316       esac 
    2317     fi 
     2490      fi 
     2491    done 
     2492    IFS="$lt_save_ifs" 
    23182493  done 
    2319   IFS="$lt_save_ifs" 
    23202494  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 
    23212495fi]) 
     
    23492523# sets LIBLTDL to the link flags for the libltdl convenience library and 
    23502524# LTDLINCL to the include flags for the libltdl header and adds 
    2351 # --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL 
    2352 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If 
    2353 # DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will 
    2354 # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with 
    2355 # '${top_srcdir}/' (note the single quotes!).  If your package is not 
    2356 # flat and you're not using automake, define top_builddir and 
    2357 # top_srcdir appropriately in the Makefiles. 
     2525# --enable-ltdl-convenience to the configure arguments.  Note that 
     2526# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided, 
     2527# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with 
     2528# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' 
     2529# (note the single quotes!).  If your package is not flat and you're not 
     2530# using automake, define top_builddir and top_srcdir appropriately in 
     2531# the Makefiles. 
    23582532AC_DEFUN([AC_LIBLTDL_CONVENIENCE], 
    23592533[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     
    23742548# sets LIBLTDL to the link flags for the libltdl installable library and 
    23752549# LTDLINCL to the include flags for the libltdl header and adds 
    2376 # --enable-ltdl-install to the configure arguments.  Note that LIBLTDL 
    2377 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If 
    2378 # DIRECTORY is not provided and an installed libltdl is not found, it is 
    2379 # assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/' 
    2380 # and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single 
    2381 # quotes!).  If your package is not flat and you're not using automake, 
    2382 # define top_builddir and top_srcdir appropriately in the Makefiles. 
     2550# --enable-ltdl-install to the configure arguments.  Note that 
     2551# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided, 
     2552# and an installed libltdl is not found, it is assumed to be `libltdl'. 
     2553# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with 
     2554# '${top_srcdir}/' (note the single quotes!).  If your package is not 
     2555# flat and you're not using automake, define top_builddir and top_srcdir 
     2556# appropriately in the Makefiles. 
    23832557# In the future, this macro may have to be called after AC_PROG_LIBTOOL. 
    23842558AC_DEFUN([AC_LIBLTDL_INSTALLABLE], 
     
    24182592AC_DEFUN([_LT_AC_LANG_CXX], 
    24192593[AC_REQUIRE([AC_PROG_CXX]) 
    2420 AC_REQUIRE([AC_PROG_CXXCPP]) 
     2594AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 
    24212595_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 
    24222596])# _LT_AC_LANG_CXX 
    24232597 
     2598# _LT_AC_PROG_CXXCPP 
     2599# ------------------ 
     2600AC_DEFUN([_LT_AC_PROG_CXXCPP], 
     2601[ 
     2602AC_REQUIRE([AC_PROG_CXX]) 
     2603if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
     2604    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
     2605    (test "X$CXX" != "Xg++"))) ; then 
     2606  AC_PROG_CXXCPP 
     2607fi 
     2608])# _LT_AC_PROG_CXXCPP 
    24242609 
    24252610# AC_LIBTOOL_F77 
     
    24612646 
    24622647# AC_LIBTOOL_RC 
    2463 # -------------- 
     2648# ------------- 
    24642649# enable support for Windows resource files 
    24652650AC_DEFUN([AC_LIBTOOL_RC], 
     
    24942679_LT_AC_SYS_COMPILER 
    24952680 
    2496 
    2497 # Check for any special shared library compilation flags. 
    2498 
    2499 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= 
    2500 if test "$GCC" = no; then 
    2501   case $host_os in 
    2502   sco3.2v5*) 
    2503     _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' 
    2504     ;; 
    2505   esac 
    2506 fi 
    2507 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then 
    2508   AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) 
    2509   if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then : 
    2510   else 
    2511     AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) 
    2512     _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no 
    2513   fi 
    2514 fi 
    2515  
    2516  
    2517 
    2518 # Check to make sure the static flag actually works. 
    2519 
    2520 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], 
    2521   _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), 
    2522   $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), 
    2523   [], 
    2524   [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 
    2525  
     2681# save warnings/boilerplate of simple test code 
     2682_LT_COMPILER_BOILERPLATE 
     2683_LT_LINKER_BOILERPLATE 
    25262684 
    25272685AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) 
     
    25332691AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 
    25342692AC_LIBTOOL_SYS_LIB_STRIP 
    2535 AC_LIBTOOL_DLOPEN_SELF($1) 
    2536  
    2537 # Report which librarie types wil actually be built 
     2693AC_LIBTOOL_DLOPEN_SELF 
     2694 
     2695# Report which library types will actually be built 
    25382696AC_MSG_CHECKING([if libtool supports shared libraries]) 
    25392697AC_MSG_RESULT([$can_build_shared]) 
     
    25442702# On AIX, shared libraries and static libraries use the same namespace, and 
    25452703# are all built from PIC. 
    2546 case "$host_os" in 
     2704case $host_os in 
    25472705aix3*) 
    25482706  test "$enable_shared" = yes && enable_static=no 
     
    25562714  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    25572715    test "$enable_shared" = yes && enable_static=no 
    2558   fi 
    2559   ;; 
    2560   darwin* | rhapsody*) 
    2561   if test "$GCC" = yes; then 
    2562     _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2563     case "$host_os" in 
    2564     rhapsody* | darwin1.[[012]]) 
    2565       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 
    2566       ;; 
    2567     *) # Darwin 1.3 on 
    2568       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 
    2569         _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    2570       else 
    2571         case ${MACOSX_DEPLOYMENT_TARGET} in 
    2572           10.[[012]]) 
    2573             _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    2574             ;; 
    2575           10.*) 
    2576             _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 
    2577             ;; 
    2578         esac 
    2579       fi 
    2580       ;; 
    2581     esac 
    2582     output_verbose_link_cmd='echo' 
    2583     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 
    2584     _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    2585     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 
    2586     _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}' 
    2587     _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}' 
    2588     _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    2589     _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 
    2590     _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    2591     _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 
    2592     _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    2593   else 
    2594     _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    25952716  fi 
    25962717    ;; 
     
    26192740[AC_LANG_PUSH(C++) 
    26202741AC_REQUIRE([AC_PROG_CXX]) 
    2621 AC_REQUIRE([AC_PROG_CXXCPP]) 
     2742AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 
    26222743 
    26232744_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
     
    26312752_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 
    26322753_LT_AC_TAGVAR(hardcode_minus_L, $1)=no 
     2754_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    26332755_LT_AC_TAGVAR(hardcode_automatic, $1)=no 
    26342756_LT_AC_TAGVAR(module_cmds, $1)= 
     
    26482770 
    26492771# Source file extension for C++ test sources. 
    2650 ac_ext=cc 
     2772ac_ext=cpp 
    26512773 
    26522774# Object file extension for compiled C++ test sources. 
     
    26582780 
    26592781# Code to be used in simple link tests 
    2660 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' 
     2782lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' 
    26612783 
    26622784# ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    26632785_LT_AC_SYS_COMPILER 
     2786 
     2787# save warnings/boilerplate of simple test code 
     2788_LT_COMPILER_BOILERPLATE 
     2789_LT_LINKER_BOILERPLATE 
    26642790 
    26652791# Allow CC to be a program name with arguments. 
     
    26732799  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 
    26742800else 
    2675   unset lt_cv_prog_gnu_ld 
     2801  $as_unset lt_cv_prog_gnu_ld 
    26762802fi 
    26772803if test -n "${lt_cv_path_LDCXX+set}"; then 
    26782804  lt_cv_path_LD=$lt_cv_path_LDCXX 
    26792805else 
    2680   unset lt_cv_path_LD 
     2806  $as_unset lt_cv_path_LD 
    26812807fi 
    26822808test -z "${LDCXX+set}" || LD=$LDCXX 
     
    26842810compiler=$CC 
    26852811_LT_AC_TAGVAR(compiler, $1)=$CC 
    2686 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 
     2812_LT_CC_BASENAME([$compiler]) 
    26872813 
    26882814# We don't want -fno-exception wen compiling C++ code, so set the 
     
    27732899          esac 
    27742900        done 
     2901        ;; 
    27752902      esac 
    27762903 
     
    27912918 
    27922919    if test "$GXX" = yes; then 
    2793       case $host_os in aix4.[012]|aix4.[012].*) 
     2920      case $host_os in aix4.[[012]]|aix4.[[012]].*) 
    27942921      # We only want to do this on AIX 4.2 and lower, the check 
    27952922      # below for broken collect2 doesn't work under 4.3+ 
     
    28102937          _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 
    28112938        fi 
     2939        ;; 
    28122940      esac 
    28132941      shared_flag='-shared' 
     2942      if test "$aix_use_runtimelinking" = yes; then 
     2943        shared_flag="$shared_flag "'${wl}-G' 
     2944      fi 
    28