Show
Ignore:
Timestamp:
03/12/08 21:24:47 (10 months ago)
Author:
karpet
Message:

merge r2082 with setenv for win32 fix

Files:

Legend:

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

    r1973 r2084  
    1 # generated automatically by aclocal 1.9.5 -*- Autoconf -*- 
     1# generated automatically by aclocal 1.10 -*- Autoconf -*- 
    22 
    33# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
    4 # 2005  Free Software Foundation, Inc. 
     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 51 AC_PROG_LIBTOOL 
    1722 
    1823 
     
    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 
     
    176182 
    177183# Determine commands to create old-style static archives. 
    178 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs
     184old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs
    179185old_postinstall_cmds='chmod 644 $oldlib' 
    180186old_postuninstall_cmds= 
     
    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 
     
    233239# If no C compiler was specified, use CC. 
    234240LTCC=${LTCC-"$CC"} 
     241 
     242# If no C compiler flags were specified, use CFLAGS. 
     243LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
    235244 
    236245# Allow CC to be a program name with arguments. 
     
    260269# the simple compiler test code. 
    261270AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
    262 [ac_outfile=conftest.$ac_objext 
    263 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
    264 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err 
     271[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     272ac_outfile=conftest.$ac_objext 
     273echo "$lt_simple_compile_test_code" >conftest.$ac_ext 
     274eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    265275_lt_compiler_boilerplate=`cat conftest.err` 
    266276$rm conftest* 
     
    273283# the simple link test code. 
    274284AC_DEFUN([_LT_LINKER_BOILERPLATE], 
    275 [ac_outfile=conftest.$ac_objext 
    276 printf "$lt_simple_link_test_code" >conftest.$ac_ext 
    277 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err 
     285[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     286ac_outfile=conftest.$ac_objext 
     287echo "$lt_simple_link_test_code" >conftest.$ac_ext 
     288eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    278289_lt_linker_boilerplate=`cat conftest.err` 
    279290$rm conftest* 
     
    290301# to the aix ld manual. 
    291302AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 
    292 [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
    293 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
    294 }'` 
     303[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     304AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
     305lt_aix_libpath_sed=' 
     306    /Import File Strings/,/^$/ { 
     307        /^0/ { 
     308            s/^0  *\(.*\)$/\1/ 
     309            p 
     310        } 
     311    }' 
     312aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
    295313# Check for a 64-bit object if we didn't find anything. 
    296 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; } 
    297 }'`; fi],[]) 
     314if test -z "$aix_libpath"; then 
     315  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
     316fi],[]) 
    298317if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
    299318])# _LT_AC_SYS_LIBPATH_AIX 
     
    360379  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
    361380    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
    362     if (echo_test_string="`eval $cmd`") 2>/dev/null && 
    363        echo_test_string="`eval $cmd`" && 
     381    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
     382       echo_test_string=`eval $cmd` && 
    364383       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
    365384    then 
     
    526545  ;; 
    527546 
    528 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 
     547x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 
     548s390*-*linux*|sparc*-*linux*) 
    529549  # Find out which ABI we are using. 
    530550  echo 'int i;' > conftest.$ac_ext 
    531551  if AC_TRY_EVAL(ac_compile); then 
    532     case "`/usr/bin/file conftest.o`" in 
     552    case `/usr/bin/file conftest.o` in 
    533553    *32-bit*) 
    534554      case $host in 
     555        x86_64-*kfreebsd*-gnu) 
     556          LD="${LD-ld} -m elf_i386_fbsd" 
     557          ;; 
    535558        x86_64-*linux*) 
    536559          LD="${LD-ld} -m elf_i386" 
     
    549572    *64-bit*) 
    550573      case $host in 
     574        x86_64-*kfreebsd*-gnu) 
     575          LD="${LD-ld} -m elf_x86_64_fbsd" 
     576          ;; 
    551577        x86_64-*linux*) 
    552578          LD="${LD-ld} -m elf_x86_64" 
     
    581607  fi 
    582608  ;; 
     609sparc*-*solaris*) 
     610  # Find out which ABI we are using. 
     611  echo 'int i;' > conftest.$ac_ext 
     612  if AC_TRY_EVAL(ac_compile); then 
     613    case `/usr/bin/file conftest.o` in 
     614    *64-bit*) 
     615      case $lt_cv_prog_gnu_ld in 
     616      yes*) LD="${LD-ld} -m elf64_sparc" ;; 
     617      *)    LD="${LD-ld} -64" ;; 
     618      esac 
     619      ;; 
     620    esac 
     621  fi 
     622  rm -rf conftest* 
     623  ;; 
     624 
    583625AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
    584626[*-*-cygwin* | *-*-mingw* | *-*-pw32*) 
     
    604646  [$2=no 
    605647  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
    606    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
     648   echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    607649   lt_compiler_flag="$3" 
    608650   # Insert the option either (1) after the last *FLAGS variable, or 
     
    612654   # The option is referenced via a variable to avoid confusing sed. 
    613655   lt_compile=`echo "$ac_compile" | $SED \ 
    614    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 
     656   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    615657   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    616658   -e 's:$: $lt_compiler_flag:'` 
     
    623665     # The compiler can only warn and ignore the option if not recognized 
    624666     # So say no if there are warnings other than the usual output. 
    625      $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 
    626      $SED '/^$/d' conftest.err >conftest.er2 
    627      if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then 
     667     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
     668     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
     669     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
    628670       $2=yes 
    629671     fi 
     
    645687# Check whether the given compiler option works 
    646688AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 
    647 [AC_CACHE_CHECK([$1], [$2], 
     689[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     690AC_CACHE_CHECK([$1], [$2], 
    648691  [$2=no 
    649692   save_LDFLAGS="$LDFLAGS" 
    650693   LDFLAGS="$LDFLAGS $3" 
    651    printf "$lt_simple_link_test_code" > conftest.$ac_ext 
     694   echo "$lt_simple_link_test_code" > conftest.$ac_ext 
    652695   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    653      # The compiler can only warn and ignore the option if not recognized 
     696     # The linker can only warn and ignore the option if not recognized 
    654697     # So say no if there are warnings 
    655698     if test -s conftest.err; then 
    656699       # Append any errors to the config.log. 
    657700       cat conftest.err 1>&AS_MESSAGE_LOG_FD 
    658        $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp 
    659        $SED '/^$/d' conftest.err >conftest.er2 
     701       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
     702       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    660703       if diff conftest.exp conftest.er2 >/dev/null; then 
    661704         $2=yes 
     
    726769      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 
    727770    else 
    728       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD 
     771      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs 
    729772    fi 
    730773    # And add a safety zone 
     
    732775    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
    733776    ;; 
     777 
     778  interix*) 
     779    # We know the value 262144 and hardcode it with a safety zone (like BSD) 
     780    lt_cv_sys_max_cmd_len=196608 
     781    ;; 
     782 
    734783  osf*) 
    735784    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
     
    738787    # First set a reasonable default. 
    739788    lt_cv_sys_max_cmd_len=16384 
    740     #  
     789    # 
    741790    if test -x /sbin/sysconfig; then 
    742791      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
     
    745794    fi 
    746795    ;; 
     796  sco3.2v5*) 
     797    lt_cv_sys_max_cmd_len=102400 
     798    ;; 
     799  sysv5* | sco5v6* | sysv4.2uw2*) 
     800    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
     801    if test -n "$kargmax"; then 
     802      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[        ]]//'` 
     803    else 
     804      lt_cv_sys_max_cmd_len=32768 
     805    fi 
     806    ;; 
    747807  *) 
    748     # If test is not a shell built-in, we'll probably end up computing a 
    749     # maximum length that is only half of the actual maximum length, but 
    750     # we can't tell. 
    751     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
    752     while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
     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` \ 
    753815               = "XX$teststring") >/dev/null 2>&1 && 
    754             new_result=`expr "X$teststring" : ".*" 2>&1` && 
    755             lt_cv_sys_max_cmd_len=$new_result && 
    756             test $i != 17 # 1/2 MB should be enough 
    757     do 
    758       i=`expr $i + 1` 
    759       teststring=$teststring$teststring 
    760     done 
    761     teststring= 
    762     # Add a significant safety factor because C++ compilers can tack on massive 
    763     # amounts of additional arguments before passing them to the linker. 
    764     # It appears as though 1/2 is a usable value. 
    765     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
     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 
    766829    ;; 
    767830  esac 
     
    776839 
    777840# _LT_AC_CHECK_DLFCN 
    778 # -------------------- 
     841# ------------------ 
    779842AC_DEFUN([_LT_AC_CHECK_DLFCN], 
    780843[AC_CHECK_HEADERS(dlfcn.h)dnl 
     
    784847# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
    785848#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
    786 # ------------------------------------------------------------------ 
     849# --------------------------------------------------------------------- 
    787850AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 
    788851[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
     
    850913      /* dlclose (self); */ 
    851914    } 
     915  else 
     916    puts (dlerror ()); 
    852917 
    853918    exit (status); 
     
    855920EOF 
    856921  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then 
    857     (./conftest; exit; ) 2>/dev/null 
     922    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 
    858923    lt_status=$? 
    859924    case x$lt_status in 
    860925      x$lt_dlno_uscore) $1 ;; 
    861926      x$lt_dlneed_uscore) $2 ;; 
    862       x$lt_unknown|x*) $3 ;; 
     927      x$lt_dlunknown|x*) $3 ;; 
    863928    esac 
    864929  else : 
     
    872937 
    873938# AC_LIBTOOL_DLOPEN_SELF 
    874 # ------------------- 
     939# ---------------------- 
    875940AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], 
    876941[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
     
    9431008 
    9441009    save_LDFLAGS="$LDFLAGS" 
    945     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
     1010    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
    9461011 
    9471012    save_LIBS="$LIBS" 
     
    9561021 
    9571022    if test "x$lt_cv_dlopen_self" = xyes; then 
    958       LDFLAGS="$LDFLAGS $link_static_flag
     1023      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
    9591024      AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 
    9601025          lt_cv_dlopen_self_static, [dnl 
     
    9881053# Check to see if options -c and -o are simultaneously supported by compiler 
    9891054AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], 
    990 [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
     1055[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1056AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
    9911057AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], 
    9921058  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], 
     
    9961062   cd conftest 
    9971063   mkdir out 
    998    printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
     1064   echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    9991065 
    10001066   lt_compiler_flag="-o out/conftest2.$ac_objext" 
     
    10041070   # with a dollar sign (not a hyphen), so the echo should work correctly. 
    10051071   lt_compile=`echo "$ac_compile" | $SED \ 
    1006    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 
     1072   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    10071073   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    10081074   -e 's:$: $lt_compiler_flag:'` 
     
    10161082     # The compiler can only warn and ignore the option if not recognized 
    10171083     # So say no if there are warnings 
    1018      $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp 
    1019      $SED '/^$/d' out/conftest.err >out/conftest.er2 
    1020      if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
     1084     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 
     1085     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 
     1086     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
    10211087       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 
    10221088     fi 
    10231089   fi 
    1024    chmod u+w . 
     1090   chmod u+w . 2>&AS_MESSAGE_LOG_FD 
    10251091   $rm conftest* 
    10261092   # SGI C++ compiler will create directory out/ii_files/ for 
     
    11361202       if test -n "$STRIP" ; then 
    11371203         striplib="$STRIP -x" 
     1204         old_striplib="$STRIP -S" 
    11381205         AC_MSG_RESULT([yes]) 
    11391206       else 
     
    11531220# PORTME Fill in your ld.so characteristics 
    11541221AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], 
    1155 [AC_MSG_CHECKING([dynamic linker characteristics]) 
     1222[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1223AC_MSG_CHECKING([dynamic linker characteristics]) 
    11561224library_names_spec= 
    11571225libname_spec='lib$name' 
     
    11671235dynamic_linker="$host_os ld.so" 
    11681236sys_lib_dlsearch_path_spec="/lib /usr/lib" 
     1237m4_if($1,[],[ 
    11691238if test "$GCC" = yes; then 
    1170   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
    1171   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; 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 
    11721245    # if the path contains ";" then we assume it to be the separator 
    11731246    # otherwise default to the standard path separator (i.e. ":") - it is 
    11741247    # assumed that no part of a normal pathname contains ";" but that should 
    11751248    # okay in the real world where ";" in dirpaths is itself problematic. 
    1176     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
     1249    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` 
    11771250  else 
    1178     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
     1251    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    11791252  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 ' 
     1266BEGIN {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` 
    11801286else 
    11811287  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
    1182 fi 
     1288fi]) 
    11831289need_lib_prefix=unknown 
    11841290hardcode_into_libs=no 
     
    12821388      dldir=$destdir/`dirname \$dlpath`~ 
    12831389      test -d \$dldir || mkdir -p \$dldir~ 
    1284       $install_prog $dir/$dlname \$dldir/$dlname' 
     1390      $install_prog $dir/$dlname \$dldir/$dlname~ 
     1391      chmod a+x \$dldir/$dlname' 
    12851392    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
    12861393      dlpath=$dir/\$dldll~ 
     
    13351442  shlibpath_overrides_runpath=yes 
    13361443  shlibpath_var=DYLD_LIBRARY_PATH 
    1337   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 
    1338   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
    1339   if test "$GCC" = yes; then 
    1340     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"` 
    1341   else 
    1342     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 
    1343   fi 
     1444  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"])  
    13441447  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 
    13451448  ;; 
     
    13581461  ;; 
    13591462 
    1360 kfreebsd*-gnu) 
    1361   version_type=linux 
    1362   need_lib_prefix=no 
    1363   need_version=no 
    1364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    1365   soname_spec='${libname}${release}${shared_ext}$major' 
    1366   shlibpath_var=LD_LIBRARY_PATH 
    1367   shlibpath_overrides_runpath=no 
    1368   hardcode_into_libs=yes 
    1369   dynamic_linker='GNU ld.so' 
    1370   ;; 
    1371  
    13721463freebsd* | dragonfly*) 
    13731464  # DragonFly does not have aout.  When/if they implement a new 
    13741465  # versioning mechanism, adjust this. 
    1375   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 
     1466  if test -x /usr/bin/objformat; then 
     1467    objformat=`/usr/bin/objformat` 
     1468  else 
     1469    case $host_os in 
     1470    freebsd[[123]]*) objformat=aout ;; 
     1471    *) objformat=elf ;; 
     1472    esac 
     1473  fi 
    13761474  version_type=freebsd-$objformat 
    13771475  case $version_type in 
     
    13951493    hardcode_into_libs=yes 
    13961494    ;; 
    1397   *) # from 3.2 on 
     1495  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 
     1496  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 
    13981497    shlibpath_overrides_runpath=no 
     1498    hardcode_into_libs=yes 
     1499    ;; 
     1500  *) # from 4.6 on, and DragonFly 
     1501    shlibpath_overrides_runpath=yes 
    13991502    hardcode_into_libs=yes 
    14001503    ;; 
     
    14181521  need_lib_prefix=no 
    14191522  need_version=no 
    1420   case "$host_cpu" in 
     1523  case $host_cpu in 
    14211524  ia64*) 
    14221525    shrext_cmds='.so' 
     
    14581561  ;; 
    14591562 
     1563interix[[3-9]]*) 
     1564  version_type=linux 
     1565  need_lib_prefix=no 
     1566  need_version=no 
     1567  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     1568  soname_spec='${libname}${release}${shared_ext}$major' 
     1569  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 
     1570  shlibpath_var=LD_LIBRARY_PATH 
     1571  shlibpath_overrides_runpath=no 
     1572  hardcode_into_libs=yes 
     1573  ;; 
     1574 
    14601575irix5* | irix6* | nonstopux*) 
    14611576  case $host_os in 
     
    15011616 
    15021617# This must be Linux ELF. 
    1503 linux*
     1618linux* | k*bsd*-gnu
    15041619  version_type=linux 
    15051620  need_lib_prefix=no 
     
    15151630  hardcode_into_libs=yes 
    15161631 
    1517   # find out which ABI we are using 
    1518   libsuff= 
    1519   case "$host_cpu" in 
    1520   x86_64*|s390x*|powerpc64*) 
    1521     echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
    1522     if AC_TRY_EVAL(ac_compile); then 
    1523       case `/usr/bin/file conftest.$ac_objext` in 
    1524       *64-bit*) 
    1525         libsuff=64 
    1526         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" 
    1527         ;; 
    1528       esac 
    1529     fi 
    1530     rm -rf conftest* 
    1531     ;; 
    1532   esac 
    1533  
    15341632  # Append ld.so.conf contents to the search path 
    15351633  if test -f /etc/ld.so.conf; then 
    1536     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/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 
    1537     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" 
     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" 
    15381636  fi 
    15391637 
     
    15451643  # assume the GNU/Linux dynamic linker is in use. 
    15461644  dynamic_linker='GNU/Linux ld.so' 
    1547   ;; 
    1548  
    1549 knetbsd*-gnu) 
    1550   version_type=linux 
    1551   need_lib_prefix=no 
    1552   need_version=no 
    1553   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    1554   soname_spec='${libname}${release}${shared_ext}$major' 
    1555   shlibpath_var=LD_LIBRARY_PATH 
    1556   shlibpath_overrides_runpath=no 
    1557   hardcode_into_libs=yes 
    1558   dynamic_linker='GNU ld.so' 
    15591645  ;; 
    15601646 
     
    15961682openbsd*) 
    15971683  version_type=sunos 
     1684  sys_lib_dlsearch_path_spec="/usr/lib" 
    15981685  need_lib_prefix=no 
    1599   need_version=no 
     1686  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
     1687  case $host_os in 
     1688    openbsd3.3 | openbsd3.3.*) need_version=yes ;; 
     1689    *)                         need_version=no  ;; 
     1690  esac 
    16001691  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    16011692  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
     
    16351726  ;; 
    16361727 
    1637 sco3.2v5*) 
    1638   version_type=osf 
    1639   soname_spec='${libname}${release}${shared_ext}$major' 
    1640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    1641   shlibpath_var=LD_LIBRARY_PATH 
     1728rdos*) 
     1729  dynamic_linker=no 
    16421730  ;; 
    16431731 
     
    16671755  ;; 
    16681756 
    1669 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
     1757sysv4 | sysv4.3*) 
    16701758  version_type=linux 
    16711759  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     
    17001788  ;; 
    17011789 
     1790sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
     1791  version_type=freebsd-elf 
     1792  need_lib_prefix=no 
     1793  need_version=no 
     1794  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
     1795  soname_spec='${libname}${release}${shared_ext}$major' 
     1796  shlibpath_var=LD_LIBRARY_PATH 
     1797  hardcode_into_libs=yes 
     1798  if test "$with_gnu_ld" = yes; then 
     1799    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
     1800    shlibpath_overrides_runpath=no 
     1801  else 
     1802    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 
     1803    shlibpath_overrides_runpath=yes 
     1804    case $host_os in 
     1805      sco3.2v5*) 
     1806        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 
     1807        ;; 
     1808    esac 
     1809  fi 
     1810  sys_lib_dlsearch_path_spec='/usr/lib' 
     1811  ;; 
     1812 
    17021813uts4*) 
    17031814  version_type=linux 
     
    17131824AC_MSG_RESULT([$dynamic_linker]) 
    17141825test "$dynamic_linker" = no && can_build_shared=no 
     1826 
     1827variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
     1828if test "$GCC" = yes; then 
     1829  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
     1830fi 
    17151831])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 
    17161832 
     
    17191835# ---------------- 
    17201836AC_DEFUN([_LT_AC_TAGCONFIG], 
    1721 [AC_ARG_WITH([tags], 
     1837[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1838AC_ARG_WITH([tags], 
    17221839    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 
    17231840        [include additional configurations @<:@automatic@:>@])], 
     
    17361853      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) 
    17371854    fi 
     1855  fi 
     1856  if test -z "$LTCFLAGS"; then 
     1857    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 
    17381858  fi 
    17391859 
     
    18271947# AC_LIBTOOL_WIN32_DLL 
    18281948# -------------------- 
    1829 # declare package support for building win32 dll'
     1949# declare package support for building win32 DLL
    18301950AC_DEFUN([AC_LIBTOOL_WIN32_DLL], 
    18311951[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) 
     
    18651985# AC_DISABLE_SHARED 
    18661986# ----------------- 
    1867 #- set the default shared flag to --disable-shared 
     1987# set the default shared flag to --disable-shared 
    18681988AC_DEFUN([AC_DISABLE_SHARED], 
    18691989[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     
    19772097# AC_PATH_TOOL_PREFIX 
    19782098# ------------------- 
    1979 # find a file program which can recognise shared library 
     2099# find a file program which can recognize shared library 
    19802100AC_DEFUN([AC_PATH_TOOL_PREFIX], 
    19812101[AC_REQUIRE([AC_PROG_EGREP])dnl 
     
    20012121        case $deplibs_check_method in 
    20022122        "file_magic "*) 
    2003           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 
     2123          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 
    20042124          MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
    20052125          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 
     
    20402160# AC_PATH_MAGIC 
    20412161# ------------- 
    2042 # find a file program which can recognise a shared library 
     2162# find a file program which can recognize a shared library 
    20432163AC_DEFUN([AC_PATH_MAGIC], 
    20442164[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) 
     
    21112231      lt_cv_path_LD="$ac_dir/$ac_prog" 
    21122232      # Check to see if the program is GNU ld.  I'd rather use --version, 
    2113       # but apparently some GNU ld's only accept -v. 
     2233      # but apparently some variants of GNU ld only accept -v. 
    21142234      # Break only if it was the GNU/non-GNU ld that we prefer. 
    21152235      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 
     
    21432263[AC_REQUIRE([AC_PROG_EGREP])dnl 
    21442264AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 
    2145 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 
     2265[# I'd rather use --version here, but apparently some GNU lds only accept -v. 
    21462266case `$LD -v 2>&1 </dev/null` in 
    21472267*GNU* | *'with BFD'*) 
     
    21732293  darwin*) 
    21742294    if test "$GCC" = yes; then 
    2175       reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' 
     2295      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 
    21762296    else 
    21772297      reload_cmds='$LD$reload_flag -o $output$reload_objs' 
     
    21872307#  -- PORTME fill in with the dynamic library characteristics 
    21882308AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 
    2189 [AC_CACHE_CHECK([how to recognise dependent libraries], 
     2309[AC_CACHE_CHECK([how to recognize dependent libraries], 
    21902310lt_cv_deplibs_check_method, 
    21912311[lt_cv_file_magic_cmd='$MAGIC_CMD' 
     
    22262346mingw* | pw32*) 
    22272347  # Base MSYS/MinGW do not provide the 'file' command needed by 
    2228   # func_win32_libid shell function, so use a weaker test based on 'objdump'. 
    2229   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 
    2230   lt_cv_file_magic_cmd='$OBJDUMP -f' 
     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 
    22312357  ;; 
    22322358 
     
    22352361  ;; 
    22362362 
    2237 freebsd* | kfreebsd*-gnu | dragonfly*) 
     2363freebsd* | dragonfly*) 
    22382364  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
    22392365    case $host_cpu in 
     
    22572383hpux10.20* | hpux11*) 
    22582384  lt_cv_file_magic_cmd=/usr/bin/file 
    2259   case "$host_cpu" in 
     2385  case $host_cpu in 
    22602386  ia64*) 
    22612387    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' 
     
    22712397    ;; 
    22722398  esac 
     2399  ;; 
     2400 
     2401interix[[3-9]]*) 
     2402  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
     2403  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 
    22732404  ;; 
    22742405 
     
    22842415 
    22852416# This must be Linux ELF. 
    2286 linux*
     2417linux* | k*bsd*-gnu
    22872418  lt_cv_deplibs_check_method=pass_all 
    22882419  ;; 
     
    23182449  ;; 
    23192450 
    2320 sco3.2v5*) 
     2451rdos*) 
    23212452  lt_cv_deplibs_check_method=pass_all 
    23222453  ;; 
     
    23262457  ;; 
    23272458 
    2328 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
     2459sysv4 | sysv4.3*) 
    23292460  case $host_vendor in 
    23302461  motorola) 
     
    23472478    lt_cv_deplibs_check_method=pass_all 
    23482479    ;; 
     2480  pc) 
     2481    lt_cv_deplibs_check_method=pass_all 
     2482    ;; 
    23492483  esac 
    23502484  ;; 
    23512485 
    2352 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) 
     2486sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    23532487  lt_cv_deplibs_check_method=pass_all 
    23542488  ;; 
     
    23702504  lt_cv_path_NM="$NM" 
    23712505else 
    2372   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    2373   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 
    2374     IFS="$lt_save_ifs" 
    2375     test -z "$ac_dir" && ac_dir=. 
    2376     tmp_nm="$ac_dir/${ac_tool_prefix}nm" 
    2377     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
    2378       # Check to see if the nm accepts a BSD-compat flag. 
    2379       # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
    2380       #   nm: unknown option "B" ignored 
    2381       # Tru64's nm complains that /dev/null is an invalid object file 
    2382       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
    2383       */dev/null* | *'Invalid file or object type'*) 
    2384         lt_cv_path_NM="$tmp_nm -B" 
    2385         break 
    2386         ;; 
    2387       *) 
    2388         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
    2389         */dev/null*) 
    2390           lt_cv_path_NM="$tmp_nm -p" 
     2506  lt_nm_to_check="${ac_tool_prefix}nm" 
     2507  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
     2508    lt_nm_to_check="$lt_nm_to_check nm" 
     2509  fi 
     2510  for lt_tmp_nm in $lt_nm_to_check; do 
     2511    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
     2512    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 
     2513      IFS="$lt_save_ifs" 
     2514      test -z "$ac_dir" && ac_dir=. 
     2515      tmp_nm="$ac_dir/$lt_tmp_nm" 
     2516      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
     2517        # Check to see if the nm accepts a BSD-compat flag. 
     2518        # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
     2519        #   nm: unknown option "B" ignored 
     2520        # Tru64's nm complains that /dev/null is an invalid object file 
     2521        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
     2522        */dev/null* | *'Invalid file or object type'*) 
     2523          lt_cv_path_NM="$tmp_nm -B" 
    23912524          break 
    23922525          ;; 
    23932526        *) 
    2394           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
    2395           continue # so that we can try to find one that supports BSD flags 
     2527          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
     2528          */dev/null*) 
     2529            lt_cv_path_NM="$tmp_nm -p" 
     2530            break 
     2531            ;; 
     2532          *) 
     2533            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
     2534            continue # so that we can try to find one that supports BSD flags 
     2535            ;; 
     2536          esac 
    23962537          ;; 
    23972538        esac 
    2398       esac 
    2399     fi 
     2539      fi 
     2540    done 
     2541    IFS="$lt_save_ifs" 
    24002542  done 
    2401   IFS="$lt_save_ifs" 
    24022543  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 
    24032544fi]) 
     
    24312572# sets LIBLTDL to the link flags for the libltdl convenience library and 
    24322573# LTDLINCL to the include flags for the libltdl header and adds 
    2433 # --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL 
    2434 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If 
    2435 # DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will 
    2436 # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with 
    2437 # '${top_srcdir}/' (note the single quotes!).  If your package is not 
    2438 # flat and you're not using automake, define top_builddir and 
    2439 # top_srcdir appropriately in the Makefiles. 
     2574# --enable-ltdl-convenience to the configure arguments.  Note that 
     2575# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided, 
     2576# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with 
     2577# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' 
     2578# (note the single quotes!).  If your package is not flat and you're not 
     2579# using automake, define top_builddir and top_srcdir appropriately in 
     2580# the Makefiles. 
    24402581AC_DEFUN([AC_LIBLTDL_CONVENIENCE], 
    24412582[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     
    24562597# sets LIBLTDL to the link flags for the libltdl installable library and 
    24572598# LTDLINCL to the include flags for the libltdl header and adds 
    2458 # --enable-ltdl-install to the configure arguments.  Note that LIBLTDL 
    2459 # and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If 
    2460 # DIRECTORY is not provided and an installed libltdl is not found, it is 
    2461 # assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/' 
    2462 # and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single 
    2463 # quotes!).  If your package is not flat and you're not using automake, 
    2464 # define top_builddir and top_srcdir appropriately in the Makefiles. 
     2599# --enable-ltdl-install to the configure arguments.  Note that 
     2600# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided, 
     2601# and an installed libltdl is not found, it is assumed to be `libltdl'. 
     2602# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with 
     2603# '${top_srcdir}/' (note the single quotes!).  If your package is not 
     2604# flat and you're not using automake, define top_builddir and top_srcdir 
     2605# appropriately in the Makefiles. 
    24652606# In the future, this macro may have to be called after AC_PROG_LIBTOOL. 
    24662607AC_DEFUN([AC_LIBLTDL_INSTALLABLE], 
     
    25052646 
    25062647# _LT_AC_PROG_CXXCPP 
    2507 # --------------- 
     2648# ------------------ 
    25082649AC_DEFUN([_LT_AC_PROG_CXXCPP], 
    25092650[ 
     
    25542695 
    25552696# AC_LIBTOOL_RC 
    2556 # -------------- 
     2697# ------------- 
    25572698# enable support for Windows resource files 
    25582699AC_DEFUN([AC_LIBTOOL_RC], 
     
    25802721 
    25812722# Code to be used in simple compile tests 
    2582 lt_simple_compile_test_code="int some_variable = 0;\n
     2723lt_simple_compile_test_code="int some_variable = 0;
    25832724 
    25842725# Code to be used in simple link tests 
    2585 lt_simple_link_test_code='int main(){return(0);}\n
     2726lt_simple_link_test_code='int main(){return(0);}
    25862727 
    25872728_LT_AC_SYS_COMPILER 
     
    25902731_LT_COMPILER_BOILERPLATE 
    25912732_LT_LINKER_BOILERPLATE 
    2592  
    2593 # 
    2594 # Check for any special shared library compilation flags. 
    2595 # 
    2596 _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= 
    2597 if test "$GCC" = no; then 
    2598   case $host_os in 
    2599   sco3.2v5*) 
    2600     _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' 
    2601     ;; 
    2602   esac 
    2603 fi 
    2604 if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then 
    2605   AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) 
    2606   if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then : 
    2607   else 
    2608     AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) 
    2609     _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no 
    2610   fi 
    2611 fi 
    2612  
    2613  
    2614 # 
    2615 # Check to make sure the static flag actually works. 
    2616 # 
    2617 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], 
    2618   _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), 
    2619   $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), 
    2620   [], 
    2621   [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 
    2622  
    26232733 
    26242734AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) 
     
    26302740AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 
    26312741AC_LIBTOOL_SYS_LIB_STRIP 
    2632 AC_LIBTOOL_DLOPEN_SELF($1) 
    2633  
    2634 # Report which librarie types wil actually be built 
     2742AC_LIBTOOL_DLOPEN_SELF 
     2743 
     2744# Report which library types will actually be built 
    26352745AC_MSG_CHECKING([if libtool supports shared libraries]) 
    26362746AC_MSG_RESULT([$can_build_shared]) 
     
    26412751# On AIX, shared libraries and static libraries use the same namespace, and 
    26422752# are all built from PIC. 
    2643 case "$host_os" in 
     2753case $host_os in 
    26442754aix3*) 
    26452755  test "$enable_shared" = yes && enable_static=no 
     
    26912801_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 
    26922802_LT_AC_TAGVAR(hardcode_minus_L, $1)=no 
     2803_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    26932804_LT_AC_TAGVAR(hardcode_automatic, $1)=no 
    26942805_LT_AC_TAGVAR(module_cmds, $1)= 
     
    27082819 
    27092820# Source file extension for C++ test sources.