Changeset 9377


Ignore:
Timestamp:
2007-10-20T21:07:31+02:00 (10 years ago)
Author:
blogic
Message:

fixed linux-atm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/linux-atm/patches/700-libtoolize.patch

    r9373 r9377  
    1 Index: linux-atm-2.4.1/aclocal.m4 
    2 =================================================================== 
    3 --- linux-atm-2.4.1.orig/aclocal.m4     2007-10-20 19:19:17.570629771 +0200 
    4 +++ linux-atm-2.4.1/aclocal.m4  2007-10-20 19:19:19.510740331 +0200 
    5 @@ -1,992 +1,19 @@ 
     1--- linux-atm-2.4.1.orig/aclocal.m4     2007-10-20 20:43:45.000000000 +0200 
     2+++ linux-atm-2.4.1/aclocal.m4  2007-10-20 20:45:30.000000000 +0200 
     3@@ -1,993 +1,6 @@ 
    64-dnl aclocal.m4 generated automatically by aclocal 1.4-p6 
    7 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- 
    8   
     5- 
    96-dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 
    107-dnl This file is free software; the Free Software Foundation 
     
    899896-# the Free Software Foundation; either version 2, or (at your option) 
    900897-# any later version. 
    901 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
    902 +# 2005  Free Software Foundation, Inc. 
    903 +# This file is free software; the Free Software Foundation 
    904 +# gives unlimited permission to copy and/or distribute it, 
    905 +# with or without modifications, as long as this notice is preserved. 
    906   
    907  # This program is distributed in the hope that it will be useful, 
     898- 
     899-# This program is distributed in the hope that it will be useful, 
    908900-# but WITHOUT ANY WARRANTY; without even the implied warranty of 
    909901-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     
    994986-AC_PROG_LEX 
    995987-AC_DECL_YYTEXT]) 
    996 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 
    997 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
    998 +# PARTICULAR PURPOSE. 
    999988  
    1000989 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    1001990  
    1002991-# serial 47 AC_PROG_LIBTOOL 
    1003 -# Debian $Rev$ 
    1004 +# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL 
    1005   
     992-# Debian $Rev: 9373 $ 
     993- 
    1006994  
    1007995 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 
    1008 @@ -1096,7 +123,7 @@ 
    1009   
    1010  # Sed substitution that helps us do robust quoting.  It backslashifies 
    1011  # metacharacters that are still active within double-quoted strings. 
    1012 -Xsed='sed -e s/^X//' 
    1013 +Xsed='sed -e 1s/^X//' 
    1014  [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 
    1015   
    1016  # Same as above, but do not quote variable references. 
    1017 @@ -1116,7 +143,7 @@ 
    1018  default_ofile=libtool 
    1019  can_build_shared=yes 
    1020   
    1021 -# All known linkers require a `.a' archive for static linking (except M$VC, 
    1022 +# All known linkers require a `.a' archive for static linking (except MSVC, 
    1023  # which needs '.lib'). 
    1024  libext=a 
    1025  ltmain="$ac_aux_dir/ltmain.sh" 
    1026 @@ -1136,6 +163,7 @@ 
    1027  test -z "$AS" && AS=as 
    1028  test -z "$CC" && CC=cc 
    1029  test -z "$LTCC" && LTCC=$CC 
    1030 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
    1031  test -z "$DLLTOOL" && DLLTOOL=dlltool 
    1032  test -z "$LD" && LD=ld 
    1033  test -z "$LN_S" && LN_S="ln -s" 
    1034 @@ -1155,15 +183,17 @@ 
    1035  if test -n "$RANLIB"; then 
    1036    case $host_os in 
    1037    openbsd*) 
    1038 -    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" 
    1039 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
    1040      ;; 
    1041    *) 
    1042 -    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" 
    1043 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 
    1044      ;; 
    1045    esac 
    1046    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 
    1047  fi 
    1048   
    1049 +_LT_CC_BASENAME([$compiler]) 
    1050 + 
    1051  # Only perform the check for file, if the check method requires it 
    1052  case $deplibs_check_method in 
    1053  file_magic*) 
    1054 @@ -1204,11 +234,56 @@ 
    1055  # If no C compiler was specified, use CC. 
    1056  LTCC=${LTCC-"$CC"} 
    1057   
    1058 +# If no C compiler flags were specified, use CFLAGS. 
    1059 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
    1060 + 
    1061  # Allow CC to be a program name with arguments. 
    1062  compiler=$CC 
    1063  ])# _LT_AC_SYS_COMPILER 
    1064   
    1065   
    1066 +# _LT_CC_BASENAME(CC) 
    1067 +# ------------------- 
    1068 +# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix. 
    1069 +AC_DEFUN([_LT_CC_BASENAME], 
    1070 +[for cc_temp in $1""; do 
    1071 +  case $cc_temp in 
    1072 +    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 
    1073 +    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 
    1074 +    \-*) ;; 
    1075 +    *) break;; 
    1076 +  esac 
    1077 +done 
    1078 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
    1079 +]) 
    1080 + 
    1081 + 
    1082 +# _LT_COMPILER_BOILERPLATE 
    1083 +# ------------------------ 
    1084 +# Check for compiler boilerplate output or warnings with 
    1085 +# the simple compiler test code. 
    1086 +AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
    1087 +[ac_outfile=conftest.$ac_objext 
    1088 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
    1089 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    1090 +_lt_compiler_boilerplate=`cat conftest.err` 
    1091 +$rm conftest* 
    1092 +])# _LT_COMPILER_BOILERPLATE 
    1093 + 
    1094 + 
    1095 +# _LT_LINKER_BOILERPLATE 
    1096 +# ---------------------- 
    1097 +# Check for linker boilerplate output or warnings with 
    1098 +# the simple link test code. 
    1099 +AC_DEFUN([_LT_LINKER_BOILERPLATE], 
    1100 +[ac_outfile=conftest.$ac_objext 
    1101 +printf "$lt_simple_link_test_code" >conftest.$ac_ext 
    1102 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    1103 +_lt_linker_boilerplate=`cat conftest.err` 
    1104 +$rm conftest* 
    1105 +])# _LT_LINKER_BOILERPLATE 
    1106 + 
    1107 + 
    1108  # _LT_AC_SYS_LIBPATH_AIX 
    1109  # ---------------------- 
    1110  # Links a minimal program and checks the executable 
    1111 @@ -1281,15 +356,15 @@ 
    1112   
    1113  # The HP-UX ksh and POSIX shell print the target directory to stdout 
    1114  # if CDPATH is set. 
    1115 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
    1116 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    1117   
    1118  if test -z "$ECHO"; then 
    1119  if test "X${echo_test_string+set}" != Xset; then 
    1120  # find a string as large as possible, as long as the shell can cope with it 
    1121    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
    1122      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
    1123 -    if (echo_test_string="`eval $cmd`") 2>/dev/null && 
    1124 -       echo_test_string="`eval $cmd`" && 
    1125 +    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
    1126 +       echo_test_string=`eval $cmd` && 
    1127         (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
    1128      then 
    1129        break 
    1130 @@ -1458,7 +533,7 @@ 
    1131    # Find out which ABI we are using. 
    1132    echo 'int i;' > conftest.$ac_ext 
    1133    if AC_TRY_EVAL(ac_compile); then 
    1134 -    case "`/usr/bin/file conftest.o`" in 
    1135 +    case `/usr/bin/file conftest.o` in 
    1136      *32-bit*) 
    1137        case $host in 
    1138          x86_64-*linux*) 
    1139 @@ -1509,6 +584,22 @@ 
    1140      CFLAGS="$SAVE_CFLAGS" 
    1141    fi 
    1142    ;; 
    1143 +sparc*-*solaris*) 
    1144 +  # Find out which ABI we are using. 
    1145 +  echo 'int i;' > conftest.$ac_ext 
    1146 +  if AC_TRY_EVAL(ac_compile); then 
    1147 +    case `/usr/bin/file conftest.o` in 
    1148 +    *64-bit*) 
    1149 +      case $lt_cv_prog_gnu_ld in 
    1150 +      yes*) LD="${LD-ld} -m elf64_sparc" ;; 
    1151 +      *)    LD="${LD-ld} -64" ;; 
    1152 +      esac 
    1153 +      ;; 
    1154 +    esac 
    1155 +  fi 
    1156 +  rm -rf conftest* 
    1157 +  ;; 
    1158 + 
    1159  AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
    1160  [*-*-cygwin* | *-*-mingw* | *-*-pw32*) 
    1161    AC_CHECK_TOOL(DLLTOOL, dlltool, false) 
    1162 @@ -1540,7 +631,7 @@ 
    1163     # with a dollar sign (not a hyphen), so the echo should work correctly. 
    1164     # The option is referenced via a variable to avoid confusing sed. 
    1165     lt_compile=`echo "$ac_compile" | $SED \ 
    1166 -   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 
    1167 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    1168     -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    1169     -e 's:$: $lt_compiler_flag:'` 
    1170     (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
    1171 @@ -1550,8 +641,10 @@ 
    1172     echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
    1173     if (exit $ac_status) && test -s "$ac_outfile"; then 
    1174       # The compiler can only warn and ignore the option if not recognized 
    1175 -     # So say no if there are warnings 
    1176 -     if test ! -s conftest.err; then 
    1177 +     # So say no if there are warnings other than the usual output. 
    1178 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
    1179 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    1180 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
    1181         $2=yes 
    1182       fi 
    1183     fi 
    1184 @@ -1577,11 +670,16 @@ 
    1185     LDFLAGS="$LDFLAGS $3" 
    1186     printf "$lt_simple_link_test_code" > conftest.$ac_ext 
    1187     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    1188 -     # The compiler can only warn and ignore the option if not recognized 
    1189 +     # The linker can only warn and ignore the option if not recognized 
    1190       # So say no if there are warnings 
    1191       if test -s conftest.err; then 
    1192         # Append any errors to the config.log. 
    1193         cat conftest.err 1>&AS_MESSAGE_LOG_FD 
    1194 +       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
    1195 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    1196 +       if diff conftest.exp conftest.er2 >/dev/null; then 
    1197 +         $2=yes 
    1198 +       fi 
    1199       else 
    1200         $2=yes 
    1201       fi 
    1202 @@ -1640,17 +738,61 @@ 
    1203      lt_cv_sys_max_cmd_len=8192; 
    1204      ;; 
    1205   
    1206 - *) 
    1207 -    # If test is not a shell built-in, we'll probably end up computing a 
    1208 -    # maximum length that is only half of the actual maximum length, but 
    1209 -    # we can't tell. 
    1210 -    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
    1211 -              = "XX$teststring") >/dev/null 2>&1 && 
    1212 -           new_result=`expr "X$teststring" : ".*" 2>&1` && 
    1213 -           lt_cv_sys_max_cmd_len=$new_result && 
    1214 -           test $i != 17 # 1/2 MB should be enough 
    1215 -    do 
    1216 -      i=`expr $i + 1` 
    1217 +  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 
    1218 +    # This has been around since 386BSD, at least.  Likely further. 
    1219 +    if test -x /sbin/sysctl; then 
    1220 +      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 
    1221 +    elif test -x /usr/sbin/sysctl; then 
    1222 +      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 
    1223 +    else 
    1224 +      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs 
    1225 +    fi 
    1226 +    # And add a safety zone 
    1227 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
    1228 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
    1229 +    ;; 
    1230 + 
    1231 +  interix*) 
    1232 +    # We know the value 262144 and hardcode it with a safety zone (like BSD) 
    1233 +    lt_cv_sys_max_cmd_len=196608 
    1234 +    ;; 
    1235 + 
    1236 +  osf*) 
    1237 +    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
    1238 +    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 
    1239 +    # nice to cause kernel panics so lets avoid the loop below. 
    1240 +    # First set a reasonable default. 
    1241 +    lt_cv_sys_max_cmd_len=16384 
    1242 +    # 
    1243 +    if test -x /sbin/sysconfig; then 
    1244 +      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
    1245 +        *1*) lt_cv_sys_max_cmd_len=-1 ;; 
    1246 +      esac 
    1247 +    fi 
    1248 +    ;; 
    1249 +  sco3.2v5*) 
    1250 +    lt_cv_sys_max_cmd_len=102400 
    1251 +    ;; 
    1252 +  sysv5* | sco5v6* | sysv4.2uw2*) 
    1253 +    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
    1254 +    if test -n "$kargmax"; then 
    1255 +      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'` 
    1256 +    else 
    1257 +      lt_cv_sys_max_cmd_len=32768 
    1258 +    fi 
    1259 +    ;; 
    1260 +  *) 
    1261 +    # If test is not a shell built-in, we'll probably end up computing a 
    1262 +    # maximum length that is only half of the actual maximum length, but 
    1263 +    # we can't tell. 
    1264 +    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
    1265 +    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
    1266 +              = "XX$teststring") >/dev/null 2>&1 && 
    1267 +           new_result=`expr "X$teststring" : ".*" 2>&1` && 
    1268 +           lt_cv_sys_max_cmd_len=$new_result && 
    1269 +           test $i != 17 # 1/2 MB should be enough 
    1270 +    do 
    1271 +      i=`expr $i + 1` 
    1272        teststring=$teststring$teststring 
    1273      done 
    1274      teststring= 
    1275 @@ -1670,7 +812,7 @@ 
    1276   
    1277   
    1278  # _LT_AC_CHECK_DLFCN 
    1279 -# -------------------- 
    1280 +# ------------------ 
    1281  AC_DEFUN([_LT_AC_CHECK_DLFCN], 
    1282  [AC_CHECK_HEADERS(dlfcn.h)dnl 
    1283  ])# _LT_AC_CHECK_DLFCN 
    1284 @@ -1678,7 +820,7 @@ 
    1285   
    1286  # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
    1287  #                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
    1288 -# ------------------------------------------------------------------ 
    1289 +# --------------------------------------------------------------------- 
    1290  AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 
    1291  [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
    1292  if test "$cross_compiling" = yes; then : 
    1293 @@ -1744,17 +886,19 @@ 
    1294        else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 
    1295        /* dlclose (self); */ 
    1296      } 
    1297 +  else 
    1298 +    puts (dlerror ()); 
    1299   
    1300      exit (status); 
    1301  }] 
    1302  EOF 
    1303    if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then 
    1304 -    (./conftest; exit; ) 2>/dev/null 
    1305 +    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 
    1306      lt_status=$? 
    1307      case x$lt_status in 
    1308        x$lt_dlno_uscore) $1 ;; 
    1309        x$lt_dlneed_uscore) $2 ;; 
    1310 -      x$lt_unknown|x*) $3 ;; 
    1311 +      x$lt_dlunknown|x*) $3 ;; 
    1312      esac 
    1313    else : 
    1314      # compilation failed 
    1315 @@ -1766,7 +910,7 @@ 
    1316   
    1317   
    1318  # AC_LIBTOOL_DLOPEN_SELF 
    1319 -# ------------------- 
    1320 +# ---------------------- 
    1321  AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], 
    1322  [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
    1323  if test "x$enable_dlopen" != xyes; then 
    1324 @@ -1837,7 +981,7 @@ 
    1325      test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 
    1326   
    1327      save_LDFLAGS="$LDFLAGS" 
    1328 -    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
    1329 +    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
    1330   
    1331      save_LIBS="$LIBS" 
    1332      LIBS="$lt_cv_dlopen_libs $LIBS" 
    1333 @@ -1850,7 +994,7 @@ 
    1334      ]) 
    1335   
    1336      if test "x$lt_cv_dlopen_self" = xyes; then 
    1337 -      LDFLAGS="$LDFLAGS $link_static_flag" 
    1338 +      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 
    1339        AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 
    1340           lt_cv_dlopen_self_static, [dnl 
    1341           _LT_AC_TRY_DLOPEN_SELF( 
    1342 @@ -1898,7 +1042,7 @@ 
    1343     # Note that $ac_compile itself does not contain backslashes and begins 
    1344     # with a dollar sign (not a hyphen), so the echo should work correctly. 
    1345     lt_compile=`echo "$ac_compile" | $SED \ 
    1346 -   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 
    1347 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    1348     -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    1349     -e 's:$: $lt_compiler_flag:'` 
    1350     (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
    1351 @@ -1910,11 +1054,13 @@ 
    1352     then 
    1353       # The compiler can only warn and ignore the option if not recognized 
    1354       # So say no if there are warnings 
    1355 -     if test ! -s out/conftest.err; then 
    1356 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 
    1357 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 
    1358 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
    1359         _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 
    1360       fi 
    1361     fi 
    1362 -   chmod u+w . 
    1363 +   chmod u+w . 2>&AS_MESSAGE_LOG_FD 
    1364     $rm conftest* 
    1365     # SGI C++ compiler will create directory out/ii_files/ for 
    1366     # template instantiation 
    1367 @@ -1978,8 +1124,8 @@ 
    1368  [AC_MSG_CHECKING([how to hardcode library paths into programs]) 
    1369  _LT_AC_TAGVAR(hardcode_action, $1)= 
    1370  if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ 
    1371 -   test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ 
    1372 -   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then 
    1373 +   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ 
    1374 +   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 
    1375   
    1376    # We can hardcode non-existant directories. 
    1377    if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && 
    1378 @@ -2146,7 +1292,7 @@ 
    1379    shlibpath_var=LIBRARY_PATH 
    1380    ;; 
    1381   
    1382 -bsdi4*) 
    1383 +bsdi[[45]]*) 
    1384    version_type=linux 
    1385    need_version=no 
    1386    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    1387 @@ -2174,7 +1320,8 @@ 
    1388        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 
    1389        dldir=$destdir/`dirname \$dlpath`~ 
    1390        test -d \$dldir || mkdir -p \$dldir~ 
    1391 -      $install_prog $dir/$dlname \$dldir/$dlname' 
    1392 +      $install_prog $dir/$dlname \$dldir/$dlname~ 
    1393 +      chmod a+x \$dldir/$dlname' 
    1394      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
    1395        dlpath=$dir/\$dldll~ 
    1396         $rm \$dlpath' 
    1397 @@ -2204,7 +1351,7 @@ 
    1398        ;; 
    1399      pw32*) 
    1400        # pw32 DLLs use 'pw' prefix rather than 'lib' 
    1401 -      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 
    1402 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    1403        ;; 
    1404      esac 
    1405      ;; 
    1406 @@ -2227,7 +1374,7 @@ 
    1407    soname_spec='${libname}${release}${major}$shared_ext' 
    1408    shlibpath_overrides_runpath=yes 
    1409    shlibpath_var=DYLD_LIBRARY_PATH 
    1410 -  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 
    1411 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 
    1412    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
    1413    if test "$GCC" = yes; then 
    1414      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"` 
    1415 @@ -2250,20 +1397,17 @@ 
    1416    dynamic_linker=no 
    1417    ;; 
    1418   
    1419 -kfreebsd*-gnu) 
    1420 -  version_type=linux 
    1421 -  need_lib_prefix=no 
    1422 -  need_version=no 
    1423 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    1424 -  soname_spec='${libname}${release}${shared_ext}$major' 
    1425 -  shlibpath_var=LD_LIBRARY_PATH 
    1426 -  shlibpath_overrides_runpath=no 
    1427 -  hardcode_into_libs=yes 
    1428 -  dynamic_linker='GNU ld.so' 
    1429 -  ;; 
    1430 - 
    1431 -freebsd*) 
    1432 -  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 
    1433 +freebsd* | dragonfly*) 
    1434 +  # DragonFly does not have aout.  When/if they implement a new 
    1435 +  # versioning mechanism, adjust this. 
    1436 +  if test -x /usr/bin/objformat; then 
    1437 +    objformat=`/usr/bin/objformat` 
    1438 +  else 
    1439 +    case $host_os in 
    1440 +    freebsd[[123]]*) objformat=aout ;; 
    1441 +    *) objformat=elf ;; 
    1442 +    esac 
    1443 +  fi 
    1444    version_type=freebsd-$objformat 
    1445    case $version_type in 
    1446      freebsd-elf*) 
    1447 @@ -2281,14 +1425,19 @@ 
    1448    freebsd2*) 
    1449      shlibpath_overrides_runpath=yes 
    1450      ;; 
    1451 -  freebsd3.[01]* | freebsdelf3.[01]*) 
    1452 +  freebsd3.[[01]]* | freebsdelf3.[[01]]*) 
    1453      shlibpath_overrides_runpath=yes 
    1454      hardcode_into_libs=yes 
    1455      ;; 
    1456 -  *) # from 3.2 on 
    1457 +  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 
    1458 +  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 
    1459      shlibpath_overrides_runpath=no 
    1460      hardcode_into_libs=yes 
    1461      ;; 
    1462 +  freebsd*) # from 4.6 on 
    1463 +    shlibpath_overrides_runpath=yes 
    1464 +    hardcode_into_libs=yes 
    1465 +    ;; 
    1466    esac 
    1467    ;; 
    1468   
    1469 @@ -2308,7 +1457,7 @@ 
    1470    version_type=sunos 
    1471    need_lib_prefix=no 
    1472    need_version=no 
    1473 -  case "$host_cpu" in 
    1474 +  case $host_cpu in 
    1475    ia64*) 
    1476      shrext_cmds='.so' 
    1477      hardcode_into_libs=yes 
    1478 @@ -2348,6 +1497,18 @@ 
    1479    postinstall_cmds='chmod 555 $lib' 
    1480    ;; 
    1481   
    1482 +interix3*) 
    1483 +  version_type=linux 
    1484 +  need_lib_prefix=no 
    1485 +  need_version=no 
    1486 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    1487 +  soname_spec='${libname}${release}${shared_ext}$major' 
    1488 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 
    1489 +  shlibpath_var=LD_LIBRARY_PATH 
    1490 +  shlibpath_overrides_runpath=no 
    1491 +  hardcode_into_libs=yes 
    1492 +  ;; 
    1493 + 
    1494  irix5* | irix6* | nonstopux*) 
    1495    case $host_os in 
    1496      nonstopux*) version_type=nonstopux ;; 
    1497 @@ -2391,7 +1552,7 @@ 
    1498    ;; 
    1499   
    1500  # This must be Linux ELF. 
    1501 -linux*) 
    1502 +linux* | k*bsd*-gnu) 
    1503    version_type=linux 
    1504    need_lib_prefix=no 
    1505    need_version=no 
    1506 @@ -2407,7 +1568,7 @@ 
    1507   
    1508    # Append ld.so.conf contents to the search path 
    1509    if test -f /etc/ld.so.conf; then 
    1510 -    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` 
    1511 +    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' ' '` 
    1512      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
    1513    fi 
    1514   
    1515 @@ -2432,18 +1593,6 @@ 
    1516    dynamic_linker='NetBSD ld.elf_so' 
    1517    ;; 
    1518   
    1519 -knetbsd*-gnu) 
    1520 -  version_type=linux 
    1521 -  need_lib_prefix=no 
    1522 -  need_version=no 
    1523 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    1524 -  soname_spec='${libname}${release}${shared_ext}$major' 
    1525 -  shlibpath_var=LD_LIBRARY_PATH 
    1526 -  shlibpath_overrides_runpath=no 
    1527 -  hardcode_into_libs=yes 
    1528 -  dynamic_linker='GNU ld.so' 
    1529 -  ;; 
    1530 - 
    1531  netbsd*) 
    1532    version_type=sunos 
    1533    need_lib_prefix=no 
    1534 @@ -2481,8 +1630,13 @@ 
    1535   
    1536  openbsd*) 
    1537    version_type=sunos 
    1538 +  sys_lib_dlsearch_path_spec="/usr/lib" 
    1539    need_lib_prefix=no 
    1540 -  need_version=yes 
    1541 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
    1542 +  case $host_os in 
    1543 +    openbsd3.3 | openbsd3.3.*) need_version=yes ;; 
    1544 +    *)                         need_version=no  ;; 
    1545 +  esac 
    1546    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    1547    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
    1548    shlibpath_var=LD_LIBRARY_PATH 
    1549 @@ -2520,13 +1674,6 @@ 
    1550    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
    1551    ;; 
    1552   
    1553 -sco3.2v5*) 
    1554 -  version_type=osf 
    1555 -  soname_spec='${libname}${release}${shared_ext}$major' 
    1556 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    1557 -  shlibpath_var=LD_LIBRARY_PATH 
    1558 -  ;; 
    1559 - 
    1560  solaris*) 
    1561    version_type=linux 
    1562    need_lib_prefix=no 
    1563 @@ -2552,7 +1699,7 @@ 
    1564    need_version=yes 
    1565    ;; 
    1566   
    1567 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
    1568 +sysv4 | sysv4.3*) 
    1569    version_type=linux 
    1570    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    1571    soname_spec='${libname}${release}${shared_ext}$major' 
    1572 @@ -2585,6 +1732,29 @@ 
    1573    fi 
    1574    ;; 
    1575   
    1576 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    1577 +  version_type=freebsd-elf 
    1578 +  need_lib_prefix=no 
    1579 +  need_version=no 
    1580 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
    1581 +  soname_spec='${libname}${release}${shared_ext}$major' 
    1582 +  shlibpath_var=LD_LIBRARY_PATH 
    1583 +  hardcode_into_libs=yes 
    1584 +  if test "$with_gnu_ld" = yes; then 
    1585 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
    1586 +    shlibpath_overrides_runpath=no 
    1587 +  else 
    1588 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 
    1589 +    shlibpath_overrides_runpath=yes 
    1590 +    case $host_os in 
    1591 +      sco3.2v5*) 
    1592 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 
    1593 +       ;; 
    1594 +    esac 
    1595 +  fi 
    1596 +  sys_lib_dlsearch_path_spec='/usr/lib' 
    1597 +  ;; 
    1598 + 
    1599  uts4*) 
    1600    version_type=linux 
    1601    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    1602 @@ -2598,6 +1768,11 @@ 
    1603  esac 
    1604  AC_MSG_RESULT([$dynamic_linker]) 
    1605  test "$dynamic_linker" = no && can_build_shared=no 
    1606 + 
    1607 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
    1608 +if test "$GCC" = yes; then 
    1609 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
    1610 +fi 
    1611  ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 
    1612   
    1613   
    1614 @@ -2622,6 +1797,9 @@ 
    1615        AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) 
    1616      fi 
    1617    fi 
    1618 +  if test -z "$LTCFLAGS"; then 
    1619 +    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 
    1620 +  fi 
    1621   
    1622    # Extract list of available tagged configurations in $ofile. 
    1623    # Note that this assumes the entire list is on one line. 
    1624 @@ -2648,7 +1826,9 @@ 
    1625   
    1626        case $tagname in 
    1627        CXX) 
    1628 -       if test -n "$CXX" && test "X$CXX" != "Xno"; then 
    1629 +       if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
    1630 +           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
    1631 +           (test "X$CXX" != "Xg++"))) ; then 
    1632           AC_LIBTOOL_LANG_CXX_CONFIG 
    1633         else 
    1634           tagname="" 
    1635 @@ -2710,7 +1890,7 @@ 
    1636   
    1637  # AC_LIBTOOL_WIN32_DLL 
    1638  # -------------------- 
    1639 -# declare package support for building win32 dll's 
    1640 +# declare package support for building win32 DLLs 
    1641  AC_DEFUN([AC_LIBTOOL_WIN32_DLL], 
    1642  [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) 
    1643  ])# AC_LIBTOOL_WIN32_DLL 
    1644 @@ -2748,7 +1928,7 @@ 
    1645   
    1646  # AC_DISABLE_SHARED 
    1647  # ----------------- 
    1648 -#- set the default shared flag to --disable-shared 
    1649 +# set the default shared flag to --disable-shared 
    1650  AC_DEFUN([AC_DISABLE_SHARED], 
    1651  [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
    1652  AC_ENABLE_SHARED(no) 
    1653 @@ -2884,7 +2064,7 @@ 
    1654        if test -n "$file_magic_test_file"; then 
    1655         case $deplibs_check_method in 
    1656         "file_magic "*) 
    1657 -         file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" 
    1658 +         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 
    1659           MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
    1660           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 
    1661             $EGREP "$file_magic_regex" > /dev/null; then 
    1662 @@ -2994,7 +2174,7 @@ 
    1663      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
    1664        lt_cv_path_LD="$ac_dir/$ac_prog" 
    1665        # Check to see if the program is GNU ld.  I'd rather use --version, 
    1666 -      # but apparently some GNU ld's only accept -v. 
    1667 +      # but apparently some variants of GNU ld only accept -v. 
    1668        # Break only if it was the GNU/non-GNU ld that we prefer. 
    1669        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 
    1670        *GNU* | *'with BFD'*) 
    1671 @@ -3026,7 +2206,7 @@ 
    1672  AC_DEFUN([AC_PROG_LD_GNU], 
    1673  [AC_REQUIRE([AC_PROG_EGREP])dnl 
    1674  AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 
    1675 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v. 
    1676 +[# I'd rather use --version here, but apparently some GNU lds only accept -v. 
    1677  case `$LD -v 2>&1 </dev/null` in 
    1678  *GNU* | *'with BFD'*) 
    1679    lt_cv_prog_gnu_ld=yes 
    1680 @@ -3053,6 +2233,15 @@ 
    1681  *) reload_flag=" $reload_flag" ;; 
    1682  esac 
    1683  reload_cmds='$LD$reload_flag -o $output$reload_objs' 
    1684 +case $host_os in 
    1685 +  darwin*) 
    1686 +    if test "$GCC" = yes; then 
    1687 +      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 
    1688 +    else 
    1689 +      reload_cmds='$LD$reload_flag -o $output$reload_objs' 
    1690 +    fi 
    1691 +    ;; 
    1692 +esac 
    1693  ])# AC_PROG_LD_RELOAD_FLAG 
    1694   
    1695   
    1696 @@ -3086,7 +2275,7 @@ 
    1697    lt_cv_deplibs_check_method=pass_all 
    1698    ;; 
    1699   
    1700 -bsdi4*) 
    1701 +bsdi[[45]]*) 
    1702    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 
    1703    lt_cv_file_magic_cmd='/usr/bin/file -L' 
    1704    lt_cv_file_magic_test_file=/shlib/libc.so 
    1705 @@ -3109,13 +2298,13 @@ 
    1706    lt_cv_deplibs_check_method=pass_all 
    1707    ;; 
    1708   
    1709 -freebsd* | kfreebsd*-gnu) 
    1710 +freebsd* | dragonfly*) 
    1711    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
    1712      case $host_cpu in 
    1713      i*86 ) 
    1714        # Not sure whether the presence of OpenBSD here was a mistake. 
    1715        # Let's accept both of them until this is cleared up. 
    1716 -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' 
    1717 +      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' 
    1718        lt_cv_file_magic_cmd=/usr/bin/file 
    1719        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 
    1720        ;; 
    1721 @@ -3131,7 +2320,7 @@ 
    1722   
    1723  hpux10.20* | hpux11*) 
    1724    lt_cv_file_magic_cmd=/usr/bin/file 
    1725 -  case "$host_cpu" in 
    1726 +  case $host_cpu in 
    1727    ia64*) 
    1728      lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' 
    1729      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 
    1730 @@ -3147,6 +2336,11 @@ 
    1731    esac 
    1732    ;; 
    1733   
    1734 +interix3*) 
    1735 +  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
    1736 +  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 
    1737 +  ;; 
    1738 + 
    1739  irix5* | irix6* | nonstopux*) 
    1740    case $LD in 
    1741    *-32|*"-32 ") libmagic=32-bit;; 
    1742 @@ -3158,11 +2352,11 @@ 
    1743    ;; 
    1744   
    1745  # This must be Linux ELF. 
    1746 -linux*) 
    1747 +linux* | k*bsd*-gnu) 
    1748    lt_cv_deplibs_check_method=pass_all 
    1749    ;; 
    1750   
    1751 -netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 
    1752 +netbsd* | netbsdelf*-gnu) 
    1753    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
    1754      lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 
    1755    else 
    1756 @@ -3181,12 +2375,10 @@ 
    1757    ;; 
    1758   
    1759  openbsd*) 
    1760 -  lt_cv_file_magic_cmd=/usr/bin/file 
    1761 -  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 
    1762    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    1763 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' 
    1764 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' 
    1765    else 
    1766 -    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' 
    1767 +    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 
    1768    fi 
    1769    ;; 
    1770   
    1771 @@ -3194,15 +2386,11 @@ 
    1772    lt_cv_deplibs_check_method=pass_all 
    1773    ;; 
    1774   
    1775 -sco3.2v5*) 
    1776 -  lt_cv_deplibs_check_method=pass_all 
    1777 -  ;; 
    1778 - 
    1779  solaris*) 
    1780    lt_cv_deplibs_check_method=pass_all 
    1781    ;; 
    1782   
    1783 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
    1784 +sysv4 | sysv4.3*) 
    1785    case $host_vendor in 
    1786    motorola) 
    1787      lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' 
    1788 @@ -3223,10 +2411,13 @@ 
    1789    siemens) 
    1790      lt_cv_deplibs_check_method=pass_all 
    1791      ;; 
    1792 +  pc) 
    1793 +    lt_cv_deplibs_check_method=pass_all 
    1794 +    ;; 
    1795    esac 
    1796    ;; 
    1797   
    1798 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) 
    1799 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    1800    lt_cv_deplibs_check_method=pass_all 
    1801    ;; 
    1802  esac 
    1803 @@ -3246,36 +2437,43 @@ 
    1804    # Let the user override the test. 
    1805    lt_cv_path_NM="$NM" 
    1806  else 
    1807 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    1808 -  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 
    1809 -    IFS="$lt_save_ifs" 
    1810 -    test -z "$ac_dir" && ac_dir=. 
    1811 -    tmp_nm="$ac_dir/${ac_tool_prefix}nm" 
    1812 -    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
    1813 -      # Check to see if the nm accepts a BSD-compat flag. 
    1814 -      # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
    1815 -      #   nm: unknown option "B" ignored 
    1816 -      # Tru64's nm complains that /dev/null is an invalid object file 
    1817 -      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
    1818 -      */dev/null* | *'Invalid file or object type'*) 
    1819 -       lt_cv_path_NM="$tmp_nm -B" 
    1820 -       break 
    1821 -        ;; 
    1822 -      *) 
    1823 -       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
    1824 -       */dev/null*) 
    1825 -         lt_cv_path_NM="$tmp_nm -p" 
    1826 +  lt_nm_to_check="${ac_tool_prefix}nm" 
    1827 +  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then  
    1828 +    lt_nm_to_check="$lt_nm_to_check nm" 
    1829 +  fi 
    1830 +  for lt_tmp_nm in $lt_nm_to_check; do 
    1831 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    1832 +    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 
    1833 +      IFS="$lt_save_ifs" 
    1834 +      test -z "$ac_dir" && ac_dir=. 
    1835 +      tmp_nm="$ac_dir/$lt_tmp_nm" 
    1836 +      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 
    1837 +       # Check to see if the nm accepts a BSD-compat flag. 
    1838 +       # Adding the `sed 1q' prevents false positives on HP-UX, which says: 
    1839 +       #   nm: unknown option "B" ignored 
    1840 +       # Tru64's nm complains that /dev/null is an invalid object file 
    1841 +       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 
    1842 +       */dev/null* | *'Invalid file or object type'*) 
    1843 +         lt_cv_path_NM="$tmp_nm -B" 
    1844           break 
    1845           ;; 
    1846         *) 
    1847 -         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
    1848 -         continue # so that we can try to find one that supports BSD flags 
    1849 +         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 
    1850 +         */dev/null*) 
    1851 +           lt_cv_path_NM="$tmp_nm -p" 
    1852 +           break 
    1853 +           ;; 
    1854 +         *) 
    1855 +           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 
    1856 +           continue # so that we can try to find one that supports BSD flags 
    1857 +           ;; 
    1858 +         esac 
    1859           ;; 
    1860         esac 
    1861 -      esac 
    1862 -    fi 
    1863 +      fi 
    1864 +    done 
    1865 +    IFS="$lt_save_ifs" 
    1866    done 
    1867 -  IFS="$lt_save_ifs" 
    1868    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 
    1869  fi]) 
    1870  NM="$lt_cv_path_NM" 
    1871 @@ -3307,13 +2505,13 @@ 
    1872  # ----------------------------------- 
    1873  # sets LIBLTDL to the link flags for the libltdl convenience library and 
    1874  # LTDLINCL to the include flags for the libltdl header and adds 
    1875 -# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL 
    1876 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If 
    1877 -# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will 
    1878 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with 
    1879 -# '${top_srcdir}/' (note the single quotes!).  If your package is not 
    1880 -# flat and you're not using automake, define top_builddir and 
    1881 -# top_srcdir appropriately in the Makefiles. 
    1882 +# --enable-ltdl-convenience to the configure arguments.  Note that 
    1883 +# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided, 
    1884 +# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with 
    1885 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' 
    1886 +# (note the single quotes!).  If your package is not flat and you're not 
    1887 +# using automake, define top_builddir and top_srcdir appropriately in 
    1888 +# the Makefiles. 
    1889  AC_DEFUN([AC_LIBLTDL_CONVENIENCE], 
    1890  [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
    1891    case $enable_ltdl_convenience in 
    1892 @@ -3332,13 +2530,13 @@ 
    1893  # ----------------------------------- 
    1894  # sets LIBLTDL to the link flags for the libltdl installable library and 
    1895  # LTDLINCL to the include flags for the libltdl header and adds 
    1896 -# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL 
    1897 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If 
    1898 -# DIRECTORY is not provided and an installed libltdl is not found, it is 
    1899 -# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/' 
    1900 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single 
    1901 -# quotes!).  If your package is not flat and you're not using automake, 
    1902 -# define top_builddir and top_srcdir appropriately in the Makefiles. 
    1903 +# --enable-ltdl-install to the configure arguments.  Note that 
    1904 +# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided, 
    1905 +# and an installed libltdl is not found, it is assumed to be `libltdl'. 
    1906 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with 
    1907 +# '${top_srcdir}/' (note the single quotes!).  If your package is not 
    1908 +# flat and you're not using automake, define top_builddir and top_srcdir 
    1909 +# appropriately in the Makefiles. 
    1910  # In the future, this macro may have to be called after AC_PROG_LIBTOOL. 
    1911  AC_DEFUN([AC_LIBLTDL_INSTALLABLE], 
    1912  [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
    1913 @@ -3376,10 +2574,21 @@ 
    1914  # --------------- 
    1915  AC_DEFUN([_LT_AC_LANG_CXX], 
    1916  [AC_REQUIRE([AC_PROG_CXX]) 
    1917 -AC_REQUIRE([AC_PROG_CXXCPP]) 
    1918 +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 
    1919  _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 
    1920  ])# _LT_AC_LANG_CXX 
    1921   
    1922 +# _LT_AC_PROG_CXXCPP 
    1923 +# ------------------ 
    1924 +AC_DEFUN([_LT_AC_PROG_CXXCPP], 
    1925 +[ 
    1926 +AC_REQUIRE([AC_PROG_CXX]) 
    1927 +if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
    1928 +    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
    1929 +    (test "X$CXX" != "Xg++"))) ; then 
    1930 +  AC_PROG_CXXCPP 
    1931 +fi 
    1932 +])# _LT_AC_PROG_CXXCPP 
    1933   
    1934  # AC_LIBTOOL_F77 
    1935  # -------------- 
    1936 @@ -3419,7 +2628,7 @@ 
    1937   
    1938   
    1939  # AC_LIBTOOL_RC 
    1940 -# -------------- 
    1941 +# ------------- 
    1942  # enable support for Windows resource files 
    1943  AC_DEFUN([AC_LIBTOOL_RC], 
    1944  [AC_REQUIRE([LT_AC_PROG_RC]) 
    1945 @@ -3452,36 +2661,9 @@ 
    1946   
    1947  _LT_AC_SYS_COMPILER 
    1948   
    1949 -# 
    1950 -# Check for any special shared library compilation flags. 
    1951 -# 
    1952 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= 
    1953 -if test "$GCC" = no; then 
    1954 -  case $host_os in 
    1955 -  sco3.2v5*) 
    1956 -    _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' 
    1957 -    ;; 
    1958 -  esac 
    1959 -fi 
    1960 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then 
    1961 -  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) 
    1962 -  if echo "$old_CC $old_CFLAGS " | grep "[[    ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then : 
    1963 -  else 
    1964 -    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) 
    1965 -    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no 
    1966 -  fi 
    1967 -fi 
    1968 - 
    1969 - 
    1970 -# 
    1971 -# Check to make sure the static flag actually works. 
    1972 -# 
    1973 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], 
    1974 -  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), 
    1975 -  $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), 
    1976 -  [], 
    1977 -  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 
    1978 - 
    1979 +# save warnings/boilerplate of simple test code 
    1980 +_LT_COMPILER_BOILERPLATE 
    1981 +_LT_LINKER_BOILERPLATE 
    1982   
    1983  AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) 
    1984  AC_LIBTOOL_PROG_COMPILER_PIC($1) 
    1985 @@ -3491,9 +2673,9 @@ 
    1986  AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 
    1987  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 
    1988  AC_LIBTOOL_SYS_LIB_STRIP 
    1989 -AC_LIBTOOL_DLOPEN_SELF($1) 
    1990 +AC_LIBTOOL_DLOPEN_SELF 
    1991   
    1992 -# Report which librarie types wil actually be built 
    1993 +# Report which library types will actually be built 
    1994  AC_MSG_CHECKING([if libtool supports shared libraries]) 
    1995  AC_MSG_RESULT([$can_build_shared]) 
    1996   
    1997 @@ -3502,7 +2684,7 @@ 
    1998   
    1999  # On AIX, shared libraries and static libraries use the same namespace, and 
    2000  # are all built from PIC. 
    2001 -case "$host_os" in 
    2002 +case $host_os in 
    2003  aix3*) 
    2004    test "$enable_shared" = yes && enable_static=no 
    2005    if test -n "$RANLIB"; then 
    2006 @@ -3515,43 +2697,6 @@ 
    2007    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    2008      test "$enable_shared" = yes && enable_static=no 
    2009    fi 
    2010 -  ;; 
    2011 -  darwin* | rhapsody*) 
    2012 -  if test "$GCC" = yes; then 
    2013 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2014 -    case "$host_os" in 
    2015 -    rhapsody* | darwin1.[[012]]) 
    2016 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 
    2017 -      ;; 
    2018 -    *) # Darwin 1.3 on 
    2019 -      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 
    2020 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    2021 -      else 
    2022 -        case ${MACOSX_DEPLOYMENT_TARGET} in 
    2023 -          10.[[012]]) 
    2024 -            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    2025 -            ;; 
    2026 -          10.*) 
    2027 -            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 
    2028 -            ;; 
    2029 -        esac 
    2030 -      fi 
    2031 -      ;; 
    2032 -    esac 
    2033 -    output_verbose_link_cmd='echo' 
    2034 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 
    2035 -    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    2036 -    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 
    2037 -    _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}' 
    2038 -    _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}' 
    2039 -    _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    2040 -    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 
    2041 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    2042 -    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 
    2043 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    2044 -  else 
    2045 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2046 -  fi 
    2047      ;; 
    2048  esac 
    2049  AC_MSG_RESULT([$enable_shared]) 
    2050 @@ -3577,7 +2722,7 @@ 
    2051  AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], 
    2052  [AC_LANG_PUSH(C++) 
    2053  AC_REQUIRE([AC_PROG_CXX]) 
    2054 -AC_REQUIRE([AC_PROG_CXXCPP]) 
    2055 +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 
    2056   
    2057  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2058  _LT_AC_TAGVAR(allow_undefined_flag, $1)= 
    2059 @@ -3589,6 +2734,7 @@ 
    2060  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= 
    2061  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 
    2062  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no 
    2063 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    2064  _LT_AC_TAGVAR(hardcode_automatic, $1)=no 
    2065  _LT_AC_TAGVAR(module_cmds, $1)= 
    2066  _LT_AC_TAGVAR(module_expsym_cmds, $1)= 
    2067 @@ -3606,7 +2752,7 @@ 
    2068  _LT_AC_TAGVAR(compiler_lib_search_path, $1)= 
    2069   
    2070  # Source file extension for C++ test sources. 
    2071 -ac_ext=cc 
    2072 +ac_ext=cpp 
    2073   
    2074  # Object file extension for compiled C++ test sources. 
    2075  objext=o 
    2076 @@ -3616,11 +2762,15 @@ 
    2077  lt_simple_compile_test_code="int some_variable = 0;\n" 
    2078   
    2079  # Code to be used in simple link tests 
    2080 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' 
    2081 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' 
    2082   
    2083  # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    2084  _LT_AC_SYS_COMPILER 
    2085   
    2086 +# save warnings/boilerplate of simple test code 
    2087 +_LT_COMPILER_BOILERPLATE 
    2088 +_LT_LINKER_BOILERPLATE 
    2089 + 
    2090  # Allow CC to be a program name with arguments. 
    2091  lt_save_CC=$CC 
    2092  lt_save_LD=$LD 
    2093 @@ -3631,18 +2781,18 @@ 
    2094  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 
    2095    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 
    2096  else 
    2097 -  unset lt_cv_prog_gnu_ld 
    2098 +  $as_unset lt_cv_prog_gnu_ld 
    2099  fi 
    2100  if test -n "${lt_cv_path_LDCXX+set}"; then 
    2101    lt_cv_path_LD=$lt_cv_path_LDCXX 
    2102  else 
    2103 -  unset lt_cv_path_LD 
    2104 +  $as_unset lt_cv_path_LD 
    2105  fi 
    2106  test -z "${LDCXX+set}" || LD=$LDCXX 
    2107  CC=${CXX-"c++"} 
    2108  compiler=$CC 
    2109  _LT_AC_TAGVAR(compiler, $1)=$CC 
    2110 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 
    2111 +_LT_CC_BASENAME([$compiler]) 
    2112   
    2113  # We don't want -fno-exception wen compiling C++ code, so set the 
    2114  # no_builtin_flag separately 
    2115 @@ -3731,6 +2881,7 @@ 
    2116             ;; 
    2117           esac 
    2118         done 
    2119 +       ;; 
    2120        esac 
    2121   
    2122        exp_sym_flag='-bexport' 
    2123 @@ -3749,7 +2900,7 @@ 
    2124      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    2125   
    2126      if test "$GXX" = yes; then 
    2127 -      case $host_os in aix4.[012]|aix4.[012].*) 
    2128 +      case $host_os in aix4.[[012]]|aix4.[[012]].*) 
    2129        # We only want to do this on AIX 4.2 and lower, the check 
    2130        # below for broken collect2 doesn't work under 4.3+ 
    2131         collect2name=`${CC} -print-prog-name=collect2` 
    2132 @@ -3768,8 +2919,12 @@ 
    2133           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    2134           _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 
    2135         fi 
    2136 +       ;; 
    2137        esac 
    2138        shared_flag='-shared' 
    2139 +      if test "$aix_use_runtimelinking" = yes; then 
    2140 +       shared_flag="$shared_flag "'${wl}-G' 
    2141 +      fi 
    2142      else 
    2143        # not using gcc 
    2144        if test "$host_cpu" = ia64; then 
    2145 @@ -3796,12 +2951,12 @@ 
    2146        _LT_AC_SYS_LIBPATH_AIX 
    2147        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 
    2148   
    2149 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" 
    2150 +      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 
    2151       else 
    2152        if test "$host_cpu" = ia64; then 
    2153         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' 
    2154         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" 
    2155 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" 
    2156 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 
    2157        else 
    2158         # Determine the default libpath from the value encoded in an empty executable. 
    2159         _LT_AC_SYS_LIBPATH_AIX 
    2160 @@ -3810,16 +2965,26 @@ 
    2161         # -berok will link without error, but may produce a broken library. 
    2162         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' 
    2163         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' 
    2164 -       # -bexpall does not export symbols beginning with underscore (_) 
    2165 -       _LT_AC_TAGVAR(always_export_symbols, $1)=yes 
    2166         # Exported symbols can be pulled into shared objects from archives 
    2167 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' 
    2168 +       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' 
    2169         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 
    2170 -       # This is similar to how AIX traditionally builds it's shared libraries. 
    2171 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 
    2172 +       # This is similar to how AIX traditionally builds its shared libraries. 
    2173 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 
    2174        fi 
    2175      fi 
    2176      ;; 
    2177 + 
    2178 +  beos*) 
    2179 +    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    2180 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 
    2181 +      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 
    2182 +      # support --undefined.  This deserves some investigation.  FIXME 
    2183 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    2184 +    else 
    2185 +      _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2186 +    fi 
    2187 +    ;; 
    2188 + 
    2189    chorus*) 
    2190      case $cc_basename in 
    2191        *) 
    2192 @@ -3838,7 +3003,7 @@ 
    2193      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 
    2194   
    2195      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 
    2196 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 
    2197 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    2198        # If the export-symbols file already is a .def file (1st line 
    2199        # is EXPORTS), use it as is; otherwise, prepend... 
    2200        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
    2201 @@ -3847,70 +3012,81 @@ 
    2202         echo EXPORTS > $output_objdir/$soname.def; 
    2203         cat $export_symbols >> $output_objdir/$soname.def; 
    2204        fi~ 
    2205 -      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 
    2206 +      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    2207      else 
    2208        _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2209      fi 
    2210    ;; 
    2211 +      darwin* | rhapsody*) 
    2212 +        case $host_os in 
    2213 +        rhapsody* | darwin1.[[012]]) 
    2214 +         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' 
    2215 +         ;; 
    2216 +       *) # Darwin 1.3 on 
    2217 +         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 
    2218 +           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 
    2219 +         else 
    2220 +           case ${MACOSX_DEPLOYMENT_TARGET} in 
    2221 +             10.[[012]]) 
    2222 +               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 
    2223 +               ;; 
    2224 +             10.*) 
    2225 +               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' 
    2226 +               ;; 
    2227 +           esac 
    2228 +         fi 
    2229 +         ;; 
    2230 +        esac 
    2231 +      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2232 +      _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    2233 +      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 
    2234 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    2235 +      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 
    2236 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    2237   
    2238 -  darwin* | rhapsody*) 
    2239 -  if test "$GXX" = yes; then 
    2240 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2241 -    case "$host_os" in 
    2242 -    rhapsody* | darwin1.[[012]]) 
    2243 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 
    2244 -      ;; 
    2245 -    *) # Darwin 1.3 on 
    2246 -      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 
    2247 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    2248 +    if test "$GXX" = yes ; then 
    2249 +      lt_int_apple_cc_single_mod=no 
    2250 +      output_verbose_link_cmd='echo' 
    2251 +      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 
    2252 +       lt_int_apple_cc_single_mod=yes 
    2253 +      fi 
    2254 +      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    2255 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
    2256        else 
    2257 -        case ${MACOSX_DEPLOYMENT_TARGET} in 
    2258 -          10.[[012]]) 
    2259 -            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    2260 -            ;; 
    2261 -          10.*) 
    2262 -            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 
    2263 -            ;; 
    2264 -        esac 
    2265 +          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
    2266 +        fi 
    2267 +        _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    2268 +        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 
    2269 +          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    2270 +            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    2271 +          else 
    2272 +            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    2273 +          fi 
    2274 +            _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}' 
    2275 +      else 
    2276 +      case $cc_basename in 
    2277 +        xlc*) 
    2278 +         output_verbose_link_cmd='echo' 
    2279 +          _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' 
    2280 +          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    2281 +          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 
    2282 +          _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}' 
    2283 +          _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}' 
    2284 +          ;; 
    2285 +       *) 
    2286 +         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2287 +          ;; 
    2288 +      esac 
    2289        fi 
    2290 -      ;; 
    2291 -    esac 
    2292 -    lt_int_apple_cc_single_mod=no 
    2293 -    output_verbose_link_cmd='echo' 
    2294 -    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 
    2295 -      lt_int_apple_cc_single_mod=yes 
    2296 -    fi 
    2297 -    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    2298 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
    2299 -    else 
    2300 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
    2301 -    fi 
    2302 -    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    2303 - 
    2304 -    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 
    2305 -    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    2306 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    2307 -    else 
    2308 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    2309 -    fi 
    2310 -    _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}' 
    2311 -    _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    2312 -    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 
    2313 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    2314 -    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 
    2315 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    2316 -  else 
    2317 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2318 -  fi 
    2319 -    ;; 
    2320 +        ;; 
    2321   
    2322    dgux*) 
    2323      case $cc_basename in 
    2324 -      ec++) 
    2325 +      ec++*) 
    2326         # FIXME: insert proper C++ library support 
    2327         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2328         ;; 
    2329 -      ghcx) 
    2330 +      ghcx*) 
    2331         # Green Hills C++ Compiler 
    2332         # FIXME: insert proper C++ library support 
    2333         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2334 @@ -3921,14 +3097,14 @@ 
    2335         ;; 
    2336      esac 
    2337      ;; 
    2338 -  freebsd[12]*) 
    2339 +  freebsd[[12]]*) 
    2340      # C++ shared libraries reported to be fairly broken before switch to ELF 
    2341      _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2342      ;; 
    2343    freebsd-elf*) 
    2344      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2345      ;; 
    2346 -  freebsd* | kfreebsd*-gnu) 
    2347 +  freebsd* | dragonfly*) 
    2348      # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 
    2349      # conventions 
    2350      _LT_AC_TAGVAR(ld_shlibs, $1)=yes 
    2351 @@ -3945,11 +3121,11 @@ 
    2352                                 # location of the library. 
    2353   
    2354      case $cc_basename in 
    2355 -    CC) 
    2356 +    CC*) 
    2357        # FIXME: insert proper C++ library support 
    2358        _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2359        ;; 
    2360 -    aCC) 
    2361 +    aCC*) 
    2362        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 
    2363        # Commands to make compiler produce verbose output that lists 
    2364        # what "hidden" libraries, object files and flags are used when 
    2365 @@ -3959,7 +3135,7 @@ 
    2366        # explicitly linking system object files so we need to strip them 
    2367        # from the output so that they don't get included in the library 
    2368        # dependencies. 
    2369 -      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 
    2370 +      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 
    2371        ;; 
    2372      *) 
    2373        if test "$GXX" = yes; then 
    2374 @@ -3973,33 +3149,22 @@ 
    2375      ;; 
    2376    hpux10*|hpux11*) 
    2377      if test $with_gnu_ld = no; then 
    2378 -      case "$host_cpu" in 
    2379 -      hppa*64*) 
    2380 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    2381 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    2382 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2383 + 
    2384 +      case $host_cpu in 
    2385 +      hppa*64*|ia64*) 
    2386         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 
    2387 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2388 -        ;; 
    2389 -      ia64*) 
    2390 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    2391          ;; 
    2392        *) 
    2393 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    2394 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2395         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    2396          ;; 
    2397        esac 
    2398      fi 
    2399 -    case "$host_cpu" in 
    2400 -    hppa*64*) 
    2401 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    2402 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    2403 -      ;; 
    2404 -    ia64*) 
    2405 +    case $host_cpu in 
    2406 +    hppa*64*|ia64*) 
    2407        _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    2408        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    2409 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, 
    2410 -                                             # but as the default 
    2411 -                                             # location of the library. 
    2412        ;; 
    2413      *) 
    2414        _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    2415 @@ -4010,14 +3175,17 @@ 
    2416      esac 
    2417   
    2418      case $cc_basename in 
    2419 -      CC) 
    2420 +      CC*) 
    2421         # FIXME: insert proper C++ library support 
    2422         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2423         ;; 
    2424 -      aCC) 
    2425 -       case "$host_cpu" in 
    2426 -       hppa*64*|ia64*) 
    2427 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' 
    2428 +      aCC*) 
    2429 +       case $host_cpu in 
    2430 +       hppa*64*) 
    2431 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2432 +         ;; 
    2433 +       ia64*) 
    2434 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2435           ;; 
    2436         *) 
    2437           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2438 @@ -4036,9 +3204,12 @@ 
    2439        *) 
    2440         if test "$GXX" = yes; then 
    2441           if test $with_gnu_ld = no; then 
    2442 -           case "$host_cpu" in 
    2443 -           ia64*|hppa*64*) 
    2444 -             _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' 
    2445 +           case $host_cpu in 
    2446 +           hppa*64*) 
    2447 +             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2448 +             ;; 
    2449 +           ia64*) 
    2450 +             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2451               ;; 
    2452             *) 
    2453               _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2454 @@ -4052,11 +3223,25 @@ 
    2455         ;; 
    2456      esac 
    2457      ;; 
    2458 +  interix3*) 
    2459 +    _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    2460 +    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    2461 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    2462 +    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    2463 +    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
    2464 +    # Instead, shared libraries are loaded at an image base (0x10000000 by 
    2465 +    # default) and relocated if they conflict, which is a slow very memory 
    2466 +    # consuming and fragmenting process.  To avoid this, we pick a random, 
    2467 +    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
    2468 +    # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
    2469 +    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    2470 +    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    2471 +    ;; 
    2472    irix5* | irix6*) 
    2473      case $cc_basename in 
    2474 -      CC) 
    2475 +      CC*) 
    2476         # SGI C++ 
    2477 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' 
    2478 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 
    2479   
    2480         # Archives containing C++ object files must be created using 
    2481         # "CC -ar", where "CC" is the IRIX C++ compiler.  This is 
    2482 @@ -4067,7 +3252,7 @@ 
    2483        *) 
    2484         if test "$GXX" = yes; then 
    2485           if test "$with_gnu_ld" = no; then 
    2486 -           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' 
    2487 +           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    2488           else 
    2489             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' 
    2490           fi 
    2491 @@ -4078,9 +3263,9 @@ 
    2492      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    2493      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2494      ;; 
    2495 -  linux*) 
    2496 +  linux* | k*bsd*-gnu) 
    2497      case $cc_basename in 
    2498 -      KCC) 
    2499 +      KCC*) 
    2500         # Kuck and Associates, Inc. (KAI) C++ Compiler 
    2501   
    2502         # KCC will only create a shared library if the output file 
    2503 @@ -4105,17 +3290,41 @@ 
    2504         # "CC -Bstatic", where "CC" is the KAI C++ compiler. 
    2505         _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' 
    2506         ;; 
    2507 -      icpc) 
    2508 +      icpc*) 
    2509         # Intel C++ 
    2510         with_gnu_ld=yes 
    2511 +       # version 8.0 and above of icpc choke on multiply defined symbols 
    2512 +       # if we add $predep_objects and $postdep_objects, however 7.1 and 
    2513 +       # earlier do not add the objects themselves. 
    2514 +       case `$CC -V 2>&1` in 
    2515 +       *"Version 7."*) 
    2516 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    2517 +         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    2518 +         ;; 
    2519 +       *)  # Version 8.0 or newer 
    2520 +         tmp_idyn= 
    2521 +         case $host_cpu in 
    2522 +           ia64*) tmp_idyn=' -i_dynamic';; 
    2523 +         esac 
    2524 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    2525 +         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    2526 +         ;; 
    2527 +       esac 
    2528         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2529 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    2530 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 
    2531         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    2532         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    2533         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 
    2534         ;; 
    2535 -      cxx) 
    2536 +      pgCC*) 
    2537 +        # Portland Group C++ compiler 
    2538 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 
    2539 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 
    2540 + 
    2541 +       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 
    2542 +       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    2543 +       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 
    2544 +        ;; 
    2545 +      cxx*) 
    2546         # Compaq C++ 
    2547         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    2548         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 
    2549 @@ -4146,7 +3355,7 @@ 
    2550      ;; 
    2551    mvs*) 
    2552      case $cc_basename in 
    2553 -      cxx) 
    2554 +      cxx*) 
    2555         # FIXME: insert proper C++ library support 
    2556         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2557         ;; 
    2558 @@ -4156,7 +3365,7 @@ 
    2559         ;; 
    2560      esac 
    2561      ;; 
    2562 -  netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 
    2563 +  netbsd* | netbsdelf*-gnu) 
    2564      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 
    2565        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 
    2566        wlarc= 
    2567 @@ -4167,15 +3376,31 @@ 
    2568      # Workaround some broken pre-1.5 toolchains 
    2569      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 
    2570      ;; 
    2571 -  osf3*) 
    2572 -    case $cc_basename in 
    2573 -      KCC) 
    2574 -       # Kuck and Associates, Inc. (KAI) C++ Compiler 
    2575 - 
    2576 -       # KCC will only create a shared library if the output file 
    2577 -       # ends with ".so" (or ".sl" for HP-UX), so rename the library 
    2578 -       # to its proper name (with version) after linking. 
    2579 -       _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 
    2580 +  openbsd2*) 
    2581 +    # C++ shared libraries are fairly broken 
    2582 +    _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2583 +    ;; 
    2584 +  openbsd*) 
    2585 +    _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    2586 +    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    2587 +    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 
    2588 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    2589 +    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    2590 +      _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' 
    2591 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    2592 +      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    2593 +    fi 
    2594 +    output_verbose_link_cmd='echo' 
    2595 +    ;; 
    2596 +  osf3*) 
    2597 +    case $cc_basename in 
    2598 +      KCC*) 
    2599 +       # Kuck and Associates, Inc. (KAI) C++ Compiler 
    2600 + 
    2601 +       # KCC will only create a shared library if the output file 
    2602 +       # ends with ".so" (or ".sl" for HP-UX), so rename the library 
    2603 +       # to its proper name (with version) after linking. 
    2604 +       _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 
    2605   
    2606         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    2607         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2608 @@ -4185,14 +3410,14 @@ 
    2609         _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' 
    2610   
    2611         ;; 
    2612 -      RCC) 
    2613 +      RCC*) 
    2614         # Rational C++ 2.4.1 
    2615         # FIXME: insert proper C++ library support 
    2616         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2617         ;; 
    2618 -      cxx) 
    2619 +      cxx*) 
    2620         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 
    2621 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' 
    2622 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 
    2623   
    2624         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    2625         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2626 @@ -4210,7 +3435,7 @@ 
    2627        *) 
    2628         if test "$GXX" = yes && test "$with_gnu_ld" = no; then 
    2629           _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 
    2630 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' 
    2631 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    2632   
    2633           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    2634           _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2635 @@ -4229,7 +3454,7 @@ 
    2636      ;; 
    2637    osf4* | osf5*) 
    2638      case $cc_basename in 
    2639 -      KCC) 
    2640 +      KCC*) 
    2641         # Kuck and Associates, Inc. (KAI) C++ Compiler 
    2642   
    2643         # KCC will only create a shared library if the output file 
    2644 @@ -4244,17 +3469,17 @@ 
    2645         # the KAI C++ compiler. 
    2646         _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' 
    2647         ;; 
    2648 -      RCC) 
    2649 +      RCC*) 
    2650         # Rational C++ 2.4.1 
    2651         # FIXME: insert proper C++ library support 
    2652         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2653         ;; 
    2654 -      cxx) 
    2655 +      cxx*) 
    2656         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 
    2657 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' 
    2658 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 
    2659         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 
    2660           echo "-hidden">> $lib.exp~ 
    2661 -         $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ 
    2662 +         $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ 
    2663           $rm $lib.exp' 
    2664   
    2665         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 
    2666 @@ -4273,7 +3498,7 @@ 
    2667        *) 
    2668         if test "$GXX" = yes && test "$with_gnu_ld" = no; then 
    2669           _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 
    2670 -        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' 
    2671 +        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 
    2672   
    2673           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 
    2674           _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    2675 @@ -4294,27 +3519,14 @@ 
    2676      # FIXME: insert proper C++ library support 
    2677      _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2678      ;; 
    2679 -  sco*) 
    2680 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2681 -    case $cc_basename in 
    2682 -      CC) 
    2683 -       # FIXME: insert proper C++ library support 
    2684 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2685 -       ;; 
    2686 -      *) 
    2687 -       # FIXME: insert proper C++ library support 
    2688 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2689 -       ;; 
    2690 -    esac 
    2691 -    ;; 
    2692    sunos4*) 
    2693      case $cc_basename in 
    2694 -      CC) 
    2695 +      CC*) 
    2696         # Sun C++ 4.x 
    2697         # FIXME: insert proper C++ library support 
    2698         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2699         ;; 
    2700 -      lcc) 
    2701 +      lcc*) 
    2702         # Lucid 
    2703         # FIXME: insert proper C++ library support 
    2704         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2705 @@ -4327,36 +3539,33 @@ 
    2706      ;; 
    2707    solaris*) 
    2708      case $cc_basename in 
    2709 -      CC) 
    2710 +      CC*) 
    2711         # Sun C++ 4.2, 5.x and Centerline C++ 
    2712 +        _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes 
    2713         _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' 
    2714 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2715 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 
    2716         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
    2717 -       $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 
    2718 +       $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' 
    2719   
    2720         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    2721         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    2722         case $host_os in 
    2723 -         solaris2.[0-5] | solaris2.[0-5].*) ;; 
    2724 +         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 
    2725           *) 
    2726             # The C++ compiler is used as linker so we must use $wl 
    2727             # flag to pass the commands to the underlying system 
    2728 -           # linker. 
    2729 +           # linker. We must also pass each convience library through 
    2730 +           # to the system linker between allextract/defaultextract. 
    2731 +           # The C++ compiler will combine linker options so we 
    2732 +           # cannot just pass the convience library names through 
    2733 +           # without $wl. 
    2734             # Supported since Solaris 2.6 (maybe 2.5.1?) 
    2735 -           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 
    2736 +           _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' 
    2737             ;; 
    2738         esac 
    2739         _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    2740   
    2741 -       # Commands to make compiler produce verbose output that lists 
    2742 -       # what "hidden" libraries, object files and flags are used when 
    2743 -       # linking a shared library. 
    2744 -       # 
    2745 -       # There doesn't appear to be a way to prevent this compiler from 
    2746 -       # explicitly linking system object files so we need to strip them 
    2747 -       # from the output so that they don't get included in the library 
    2748 -       # dependencies. 
    2749 -       output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' 
    2750 +       output_verbose_link_cmd='echo' 
    2751   
    2752         # Archives containing C++ object files must be created using 
    2753         # "CC -xar", where "CC" is the Sun C++ compiler.  This is 
    2754 @@ -4364,7 +3573,7 @@ 
    2755         # in the archive. 
    2756         _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' 
    2757         ;; 
    2758 -      gcx) 
    2759 +      gcx*) 
    2760         # Green Hills C++ Compiler 
    2761         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 
    2762   
    2763 @@ -4402,12 +3611,63 @@ 
    2764         ;; 
    2765      esac 
    2766      ;; 
    2767 -  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) 
    2768 +  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) 
    2769 +    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    2770      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2771 +    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    2772 +    runpath_var='LD_RUN_PATH' 
    2773 + 
    2774 +    case $cc_basename in 
    2775 +      CC*) 
    2776 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2777 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2778 +       ;; 
    2779 +      *) 
    2780 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2781 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2782 +       ;; 
    2783 +    esac 
    2784 +    ;; 
    2785 +  sysv5* | sco3.2v5* | sco5v6*) 
    2786 +    # Note: We can NOT use -z defs as we might desire, because we do not 
    2787 +    # link with -lc, and that would cause any symbols used from libc to 
    2788 +    # always be unresolved, which means just about no library would 
    2789 +    # ever link correctly.  If we're not using GNU ld we use -z text 
    2790 +    # though, which does catch some bad symbols but isn't as heavy-handed 
    2791 +    # as -z defs. 
    2792 +    # For security reasons, it is highly recommended that you always 
    2793 +    # use absolute paths for naming shared libraries, and exclude the 
    2794 +    # DT_RUNPATH tag from executables and libraries.  But doing so 
    2795 +    # requires that you compile everything twice, which is a pain. 
    2796 +    # So that behaviour is only enabled if SCOABSPATH is set to a 
    2797 +    # non-empty value in the environment.  Most likely only useful for 
    2798 +    # creating official distributions of packages. 
    2799 +    # This is a hack until libtool officially supports absolute path 
    2800 +    # names for shared libraries. 
    2801 +    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    2802 +    _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' 
    2803 +    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2804 +    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    2805 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 
    2806 +    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' 
    2807 +    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    2808 +    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' 
    2809 +    runpath_var='LD_RUN_PATH' 
    2810 + 
    2811 +    case $cc_basename in 
    2812 +      CC*) 
    2813 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2814 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2815 +       ;; 
    2816 +      *) 
    2817 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2818 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    2819 +       ;; 
    2820 +    esac 
    2821      ;; 
    2822    tandem*) 
    2823      case $cc_basename in 
    2824 -      NCC) 
    2825 +      NCC*) 
    2826         # NonStop-UX NCC 3.20 
    2827         # FIXME: insert proper C++ library support 
    2828         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    2829 @@ -4440,8 +3700,6 @@ 
    2830  AC_LIBTOOL_PROG_LD_SHLIBS($1) 
    2831  AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 
    2832  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 
    2833 -AC_LIBTOOL_SYS_LIB_STRIP 
    2834 -AC_LIBTOOL_DLOPEN_SELF($1) 
    2835   
    2836  AC_LIBTOOL_CONFIG($1) 
    2837   
    2838 @@ -4459,7 +3717,7 @@ 
    2839  ])# AC_LIBTOOL_LANG_CXX_CONFIG 
    2840   
    2841  # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) 
    2842 -# ------------------------ 
    2843 +# ------------------------------------ 
    2844  # Figure out "hidden" library dependencies from verbose 
    2845  # compiler output when linking a shared library. 
    2846  # Parse the compiler output and extract the necessary 
    2847 @@ -4513,7 +3771,7 @@ 
    2848    # The `*' in the case matches for architectures that use `case' in 
    2849    # $output_verbose_cmd can trigger glob expansion during the loop 
    2850    # eval without this substitution. 
    2851 -  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" 
    2852 +  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` 
    2853   
    2854    for p in `eval $output_verbose_link_cmd`; do 
    2855      case $p in 
    2856 @@ -4589,13 +3847,37 @@ 
    2857   
    2858  $rm -f confest.$objext 
    2859   
    2860 +# PORTME: override above test on systems where it is broken 
    2861 +ifelse([$1],[CXX], 
    2862 +[case $host_os in 
    2863 +interix3*) 
    2864 +  # Interix 3.5 installs completely hosed .la files for C++, so rather than 
    2865 +  # hack all around it, let's just trust "g++" to DTRT. 
    2866 +  _LT_AC_TAGVAR(predep_objects,$1)= 
    2867 +  _LT_AC_TAGVAR(postdep_objects,$1)= 
    2868 +  _LT_AC_TAGVAR(postdeps,$1)= 
    2869 +  ;; 
    2870 + 
    2871 +solaris*) 
    2872 +  case $cc_basename in 
    2873 +  CC*) 
    2874 +    # Adding this requires a known-good setup of shared libraries for 
    2875 +    # Sun compiler versions before 5.6, else PIC objects from an old 
    2876 +    # archive will be linked into the output, leading to subtle bugs. 
    2877 +    _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun' 
    2878 +    ;; 
    2879 +  esac 
    2880 +  ;; 
    2881 +esac 
    2882 +]) 
    2883 + 
    2884  case " $_LT_AC_TAGVAR(postdeps, $1) " in 
    2885  *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; 
    2886  esac 
    2887  ])# AC_LIBTOOL_POSTDEP_PREDEP 
    2888   
    2889  # AC_LIBTOOL_LANG_F77_CONFIG 
    2890 -# ------------------------ 
    2891 +# -------------------------- 
    2892  # Ensure that the configuration vars for the C compiler are 
    2893  # suitably defined.  Those variables are subsequently used by 
    2894  # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. 
    2895 @@ -4639,12 +3921,16 @@ 
    2896  # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    2897  _LT_AC_SYS_COMPILER 
    2898   
    2899 +# save warnings/boilerplate of simple test code 
    2900 +_LT_COMPILER_BOILERPLATE 
    2901 +_LT_LINKER_BOILERPLATE 
    2902 + 
    2903  # Allow CC to be a program name with arguments. 
    2904  lt_save_CC="$CC" 
    2905  CC=${F77-"f77"} 
    2906  compiler=$CC 
    2907  _LT_AC_TAGVAR(compiler, $1)=$CC 
    2908 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 
    2909 +_LT_CC_BASENAME([$compiler]) 
    2910   
    2911  AC_MSG_CHECKING([if libtool supports shared libraries]) 
    2912  AC_MSG_RESULT([$can_build_shared]) 
    2913 @@ -4654,7 +3940,7 @@ 
    2914   
    2915  # On AIX, shared libraries and static libraries use the same namespace, and 
    2916  # are all built from PIC. 
    2917 -case "$host_os" in 
    2918 +case $host_os in 
    2919  aix3*) 
    2920    test "$enable_shared" = yes && enable_static=no 
    2921    if test -n "$RANLIB"; then 
    2922 @@ -4663,7 +3949,9 @@ 
    2923    fi 
    2924    ;; 
    2925  aix4* | aix5*) 
    2926 -  test "$enable_shared" = yes && enable_static=no 
    2927 +  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 
    2928 +    test "$enable_shared" = yes && enable_static=no 
    2929 +  fi 
    2930    ;; 
    2931  esac 
    2932  AC_MSG_RESULT([$enable_shared]) 
    2933 @@ -4673,8 +3961,6 @@ 
    2934  test "$enable_shared" = yes || enable_static=yes 
    2935  AC_MSG_RESULT([$enable_static]) 
    2936   
    2937 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no 
    2938 - 
    2939  _LT_AC_TAGVAR(GCC, $1)="$G77" 
    2940  _LT_AC_TAGVAR(LD, $1)="$LD" 
    2941   
    2942 @@ -4684,8 +3970,6 @@ 
    2943  AC_LIBTOOL_PROG_LD_SHLIBS($1) 
    2944  AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 
    2945  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 
    2946 -AC_LIBTOOL_SYS_LIB_STRIP 
    2947 - 
    2948   
    2949  AC_LIBTOOL_CONFIG($1) 
    2950   
    2951 @@ -4714,20 +3998,27 @@ 
    2952  lt_simple_compile_test_code="class foo {}\n" 
    2953   
    2954  # Code to be used in simple link tests 
    2955 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' 
    2956 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n' 
    2957   
    2958  # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    2959  _LT_AC_SYS_COMPILER 
    2960   
    2961 +# save warnings/boilerplate of simple test code 
    2962 +_LT_COMPILER_BOILERPLATE 
    2963 +_LT_LINKER_BOILERPLATE 
    2964 + 
    2965  # Allow CC to be a program name with arguments. 
    2966  lt_save_CC="$CC" 
    2967  CC=${GCJ-"gcj"} 
    2968  compiler=$CC 
    2969  _LT_AC_TAGVAR(compiler, $1)=$CC 
    2970 +_LT_CC_BASENAME([$compiler]) 
    2971   
    2972  # GCJ did not exist at the time GCC didn't implicitly link libc in. 
    2973  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    2974   
    2975 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds 
    2976 + 
    2977  AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) 
    2978  AC_LIBTOOL_PROG_COMPILER_PIC($1) 
    2979  AC_LIBTOOL_PROG_CC_C_O($1) 
    2980 @@ -4735,8 +4026,6 @@ 
    2981  AC_LIBTOOL_PROG_LD_SHLIBS($1) 
    2982  AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 
    2983  AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 
    2984 -AC_LIBTOOL_SYS_LIB_STRIP 
    2985 -AC_LIBTOOL_DLOPEN_SELF($1) 
    2986   
    2987  AC_LIBTOOL_CONFIG($1) 
    2988   
    2989 @@ -4746,7 +4035,7 @@ 
    2990   
    2991   
    2992  # AC_LIBTOOL_LANG_RC_CONFIG 
    2993 -# -------------------------- 
    2994 +# ------------------------- 
    2995  # Ensure that the configuration vars for the Windows resource compiler are 
    2996  # suitably defined.  Those variables are subsequently used by 
    2997  # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. 
    2998 @@ -4770,11 +4059,16 @@ 
    2999  # ltmain only uses $CC for tagged configurations so make sure $CC is set. 
    3000  _LT_AC_SYS_COMPILER 
    3001   
    3002 +# save warnings/boilerplate of simple test code 
    3003 +_LT_COMPILER_BOILERPLATE 
    3004 +_LT_LINKER_BOILERPLATE 
    3005 + 
    3006  # Allow CC to be a program name with arguments. 
    3007  lt_save_CC="$CC" 
    3008  CC=${RC-"windres"} 
    3009  compiler=$CC 
    3010  _LT_AC_TAGVAR(compiler, $1)=$CC 
    3011 +_LT_CC_BASENAME([$compiler]) 
    3012  _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 
    3013   
    3014  AC_LIBTOOL_CONFIG($1) 
    3015 @@ -4804,7 +4098,7 @@ 
    3016    # Now quote all the things that may contain metacharacters while being 
    3017    # careful not to overquote the AC_SUBSTed values.  We take copies of the 
    3018    # variables and quote the copies for generation of the libtool script. 
    3019 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ 
    3020 +  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ 
    3021      SED SHELL STRIP \ 
    3022      libname_spec library_names_spec soname_spec extract_expsyms_cmds \ 
    3023      old_striplib striplib file_magic_cmd finish_cmds finish_eval \ 
    3024 @@ -4910,7 +4204,7 @@ 
    3025  # 
    3026  # You should have received a copy of the GNU General Public License 
    3027  # along with this program; if not, write to the Free Software 
    3028 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
    3029 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    3030  # 
    3031  # As a special exception to the GNU General Public License, if you 
    3032  # distribute this file as part of a program that contains a 
    3033 @@ -4921,11 +4215,11 @@ 
    3034  SED=$lt_SED 
    3035   
    3036  # Sed that helps us avoid accidentally triggering echo(1) options like -n. 
    3037 -Xsed="$SED -e s/^X//" 
    3038 +Xsed="$SED -e 1s/^X//" 
    3039   
    3040  # The HP-UX ksh and POSIX shell print the target directory to stdout 
    3041  # if CDPATH is set. 
    3042 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
    3043 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    3044   
    3045  # The names of the tagged configurations supported by this script. 
    3046  available_tags= 
    3047 @@ -4956,6 +4250,12 @@ 
    3048  # The host system. 
    3049  host_alias=$host_alias 
    3050  host=$host 
    3051 +host_os=$host_os 
    3052 + 
    3053 +# The build system. 
    3054 +build_alias=$build_alias 
    3055 +build=$build 
    3056 +build_os=$build_os 
    3057   
    3058  # An echo program that does not interpret backslashes. 
    3059  echo=$lt_echo 
    3060 @@ -4967,6 +4267,9 @@ 
    3061  # A C compiler. 
    3062  LTCC=$lt_LTCC 
    3063   
    3064 +# LTCC compiler flags. 
    3065 +LTCFLAGS=$lt_LTCFLAGS 
    3066 + 
    3067  # A language-specific compiler. 
    3068  CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) 
    3069   
    3070 @@ -5032,7 +4335,7 @@ 
    3071  # Does compiler simultaneously support -c and -o options? 
    3072  compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) 
    3073   
    3074 -# Must we lock files when doing compilation ? 
    3075 +# Must we lock files when doing compilation? 
    3076  need_locks=$lt_need_locks 
    3077   
    3078  # Do we need the lib prefix for modules? 
    3079 @@ -5306,9 +4609,6 @@ 
    3080  # Regexp to match symbols that can be accessed directly from C. 
    3081  sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' 
    3082   
    3083 -# Transform the above into a raw symbol and a C symbol. 
    3084 -symxfrm='\1 \2\3 \3' 
    3085 - 
    3086  # Transform an extracted symbol line into a proper C declaration 
    3087  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" 
    3088   
    3089 @@ -5330,15 +4630,31 @@ 
    3090    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 
    3091    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'" 
    3092    ;; 
    3093 +linux* | k*bsd*-gnu) 
    3094 +  if test "$host_cpu" = ia64; then 
    3095 +    symcode='[[ABCDGIRSTW]]' 
    3096 +    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 
    3097 +    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'" 
    3098 +  fi 
    3099 +  ;; 
    3100  irix* | nonstopux*) 
    3101    symcode='[[BCDEGRST]]' 
    3102    ;; 
    3103  osf*) 
    3104    symcode='[[BCDEGQRST]]' 
    3105    ;; 
    3106 -solaris* | sysv5*) 
    3107 +solaris*) 
    3108    symcode='[[BDRT]]' 
    3109    ;; 
    3110 +sco3.2v5*) 
    3111 +  symcode='[[DT]]' 
    3112 +  ;; 
    3113 +sysv4.2uw2*) 
    3114 +  symcode='[[DT]]' 
    3115 +  ;; 
    3116 +sysv5* | sco5v6* | unixware* | OpenUNIX*) 
    3117 +  symcode='[[ABDT]]' 
    3118 +  ;; 
    3119  sysv4) 
    3120    symcode='[[DFNSTU]]' 
    3121    ;; 
    3122 @@ -5361,8 +4677,11 @@ 
    3123  # Try without a prefix undercore, then with it. 
    3124  for ac_symprfx in "" "_"; do 
    3125   
    3126 +  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 
    3127 +  symxfrm="\\1 $ac_symprfx\\2 \\2" 
    3128 + 
    3129    # Write the raw and C identifiers. 
    3130 -  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" 
    3131 +  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 
    3132   
    3133    # Check to see that the pipe works correctly. 
    3134    pipe_works=no 
    3135 @@ -5518,6 +4837,10 @@ 
    3136        # DJGPP does not support shared libraries at all 
    3137        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 
    3138        ;; 
    3139 +    interix3*) 
    3140 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
    3141 +      # Instead, we relocate shared libraries at runtime. 
    3142 +      ;; 
    3143      sysv4*MP*) 
    3144        if test -d /usr/nec; then 
    3145         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic 
    3146 @@ -5526,7 +4849,7 @@ 
    3147      hpux*) 
    3148        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
    3149        # not for PA HP-UX. 
    3150 -      case "$host_cpu" in 
    3151 +      case $host_cpu in 
    3152        hppa*64*|ia64*) 
    3153         ;; 
    3154        *) 
    3155 @@ -5551,18 +4874,28 @@ 
    3156         ;; 
    3157        chorus*) 
    3158         case $cc_basename in 
    3159 -       cxch68) 
    3160 +       cxch68*) 
    3161           # Green Hills C++ Compiler 
    3162           # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 
    3163           ;; 
    3164         esac 
    3165         ;; 
    3166 +       darwin*) 
    3167 +         # PIC is the default on this platform 
    3168 +         # Common symbols not allowed in MH_DYLIB files 
    3169 +         case $cc_basename in 
    3170 +           xlc*) 
    3171 +           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' 
    3172 +           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3173 +           ;; 
    3174 +         esac 
    3175 +       ;; 
    3176        dgux*) 
    3177         case $cc_basename in 
    3178 -         ec++) 
    3179 +         ec++*) 
    3180             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3181             ;; 
    3182 -         ghcx) 
    3183 +         ghcx*) 
    3184             # Green Hills C++ Compiler 
    3185             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    3186             ;; 
    3187 @@ -5570,22 +4903,22 @@ 
    3188             ;; 
    3189         esac 
    3190         ;; 
    3191 -      freebsd* | kfreebsd*-gnu) 
    3192 +      freebsd* | dragonfly*) 
    3193         # FreeBSD uses GNU C++ 
    3194         ;; 
    3195        hpux9* | hpux10* | hpux11*) 
    3196         case $cc_basename in 
    3197 -         CC) 
    3198 +         CC*) 
    3199             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3200 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" 
    3201 +           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 
    3202             if test "$host_cpu" != ia64; then 
    3203               _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' 
    3204             fi 
    3205             ;; 
    3206 -         aCC) 
    3207 +         aCC*) 
    3208             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3209 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" 
    3210 -           case "$host_cpu" in 
    3211 +           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' 
    3212 +           case $host_cpu in 
    3213             hppa*64*|ia64*) 
    3214               # +Z the default 
    3215               ;; 
    3216 @@ -5598,9 +4931,13 @@ 
    3217             ;; 
    3218         esac 
    3219         ;; 
    3220 +      interix*) 
    3221 +       # This is c89, which is MS Visual C++ (no shared libs) 
    3222 +       # Anyone wants to do a port? 
    3223 +       ;; 
    3224        irix5* | irix6* | nonstopux*) 
    3225         case $cc_basename in 
    3226 -         CC) 
    3227 +         CC*) 
    3228             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3229             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    3230             # CC pic flag -KPIC is the default. 
    3231 @@ -5609,20 +4946,26 @@ 
    3232             ;; 
    3233         esac 
    3234         ;; 
    3235 -      linux*) 
    3236 +      linux* | k*bsd*-gnu) 
    3237         case $cc_basename in 
    3238 -         KCC) 
    3239 +         KCC*) 
    3240             # KAI C++ Compiler 
    3241             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 
    3242             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    3243             ;; 
    3244 -         icpc) 
    3245 +         icpc* | ecpc*) 
    3246             # Intel C++ 
    3247             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3248             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3249             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 
    3250             ;; 
    3251 -         cxx) 
    3252 +         pgCC*) 
    3253 +           # Portland Group C++ compiler. 
    3254 +           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3255 +           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 
    3256 +           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3257 +           ;; 
    3258 +         cxx*) 
    3259             # Compaq C++ 
    3260             # Make sure the PIC flag is empty.  It appears that all Alpha 
    3261             # Linux and Compaq Tru64 Unix objects are PIC. 
    3262 @@ -5639,25 +4982,25 @@ 
    3263         ;; 
    3264        mvs*) 
    3265         case $cc_basename in 
    3266 -         cxx) 
    3267 +         cxx*) 
    3268             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' 
    3269             ;; 
    3270           *) 
    3271             ;; 
    3272         esac 
    3273         ;; 
    3274 -      netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 
    3275 +      netbsd* | netbsdelf*-gnu) 
    3276         ;; 
    3277        osf3* | osf4* | osf5*) 
    3278         case $cc_basename in 
    3279 -         KCC) 
    3280 +         KCC*) 
    3281             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' 
    3282             ;; 
    3283 -         RCC) 
    3284 +         RCC*) 
    3285             # Rational C++ 2.4.1 
    3286             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    3287             ;; 
    3288 -         cxx) 
    3289 +         cxx*) 
    3290             # Digital/Compaq C++ 
    3291             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3292             # Make sure the PIC flag is empty.  It appears that all Alpha 
    3293 @@ -5671,24 +5014,15 @@ 
    3294         ;; 
    3295        psos*) 
    3296         ;; 
    3297 -      sco*) 
    3298 -       case $cc_basename in 
    3299 -         CC) 
    3300 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 
    3301 -           ;; 
    3302 -         *) 
    3303 -           ;; 
    3304 -       esac 
    3305 -       ;; 
    3306        solaris*) 
    3307         case $cc_basename in 
    3308 -         CC) 
    3309 +         CC*) 
    3310             # Sun C++ 4.2, 5.x and Centerline C++ 
    3311             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3312             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3313             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' 
    3314             ;; 
    3315 -         gcx) 
    3316 +         gcx*) 
    3317             # Green Hills C++ Compiler 
    3318             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' 
    3319             ;; 
    3320 @@ -5698,12 +5032,12 @@ 
    3321         ;; 
    3322        sunos4*) 
    3323         case $cc_basename in 
    3324 -         CC) 
    3325 +         CC*) 
    3326             # Sun C++ 4.x 
    3327             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    3328             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3329             ;; 
    3330 -         lcc) 
    3331 +         lcc*) 
    3332             # Lucid 
    3333             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    3334             ;; 
    3335 @@ -5713,7 +5047,7 @@ 
    3336         ;; 
    3337        tandem*) 
    3338         case $cc_basename in 
    3339 -         NCC) 
    3340 +         NCC*) 
    3341             # NonStop-UX NCC 3.20 
    3342             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3343             ;; 
    3344 @@ -5721,7 +5055,14 @@ 
    3345             ;; 
    3346         esac 
    3347         ;; 
    3348 -      unixware*) 
    3349 +      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 
    3350 +       case $cc_basename in 
    3351 +         CC*) 
    3352 +           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3353 +           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3354 +           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3355 +           ;; 
    3356 +       esac 
    3357         ;; 
    3358        vxworks*) 
    3359         ;; 
    3360 @@ -5768,6 +5109,11 @@ 
    3361        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 
    3362        ;; 
    3363   
    3364 +    interix3*) 
    3365 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code. 
    3366 +      # Instead, we relocate shared libraries at runtime. 
    3367 +      ;; 
    3368 + 
    3369      msdosdjgpp*) 
    3370        # Just because we use GCC doesn't mean we suddenly get shared libraries 
    3371        # on systems that don't support them. 
    3372 @@ -5784,7 +5130,7 @@ 
    3373      hpux*) 
    3374        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
    3375        # not for PA HP-UX. 
    3376 -      case "$host_cpu" in 
    3377 +      case $host_cpu in 
    3378        hppa*64*|ia64*) 
    3379         # +Z the default 
    3380         ;; 
    3381 @@ -5810,6 +5156,16 @@ 
    3382         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' 
    3383        fi 
    3384        ;; 
    3385 +      darwin*) 
    3386 +        # PIC is the default on this platform 
    3387 +        # Common symbols not allowed in MH_DYLIB files 
    3388 +       case $cc_basename in 
    3389 +         xlc*) 
    3390 +         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' 
    3391 +         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3392 +         ;; 
    3393 +       esac 
    3394 +       ;; 
    3395   
    3396      mingw* | pw32* | os2*) 
    3397        # This hack is so that the source file can tell whether it is being 
    3398 @@ -5821,7 +5177,7 @@ 
    3399        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3400        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 
    3401        # not for PA HP-UX. 
    3402 -      case "$host_cpu" in 
    3403 +      case $host_cpu in 
    3404        hppa*64*|ia64*) 
    3405         # +Z the default 
    3406         ;; 
    3407 @@ -5844,13 +5200,20 @@ 
    3408        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3409        ;; 
    3410   
    3411 -    linux*) 
    3412 -      case $CC in 
    3413 +    linux* | k*bsd*-gnu) 
    3414 +      case $cc_basename in 
    3415        icc* | ecc*) 
    3416         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3417         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3418         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 
    3419          ;; 
    3420 +      pgcc* | pgf77* | pgf90* | pgf95*) 
    3421 +        # Portland Group compilers (*not* the Pentium gcc compiler, 
    3422 +       # which looks to be a dead project) 
    3423 +       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3424 +       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 
    3425 +       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3426 +        ;; 
    3427        ccc*) 
    3428          _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3429          # All Alpha code is PIC. 
    3430 @@ -5865,15 +5228,15 @@ 
    3431        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' 
    3432        ;; 
    3433   
    3434 -    sco3.2v5*) 
    3435 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' 
    3436 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' 
    3437 -      ;; 
    3438 - 
    3439      solaris*) 
    3440 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3441        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3442        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3443 +      case $cc_basename in 
    3444 +      f77* | f90* | f95*) 
    3445 +       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; 
    3446 +      *) 
    3447 +       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; 
    3448 +      esac 
    3449        ;; 
    3450   
    3451      sunos4*) 
    3452 @@ -5882,7 +5245,7 @@ 
    3453        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3454        ;; 
    3455   
    3456 -    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
    3457 +    sysv4 | sysv4.2uw2* | sysv4.3*) 
    3458        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3459        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3460        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3461 @@ -5895,6 +5258,17 @@ 
    3462        fi 
    3463        ;; 
    3464   
    3465 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 
    3466 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3467 +      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 
    3468 +      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3469 +      ;; 
    3470 + 
    3471 +    unicos*) 
    3472 +      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 
    3473 +      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no 
    3474 +      ;; 
    3475 + 
    3476      uts4*) 
    3477        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' 
    3478        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 
    3479 @@ -5922,7 +5296,7 @@ 
    3480      [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 
    3481       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) 
    3482  fi 
    3483 -case "$host_os" in 
    3484 +case $host_os in 
    3485    # For platforms which do not support PIC, -DPIC is meaningless: 
    3486    *djgpp*) 
    3487      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 
    3488 @@ -5931,6 +5305,16 @@ 
    3489      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" 
    3490      ;; 
    3491  esac 
    3492 + 
    3493 +# 
    3494 +# Check to make sure the static flag actually works. 
    3495 +# 
    3496 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" 
    3497 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], 
    3498 +  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), 
    3499 +  $lt_tmp_static_flag, 
    3500 +  [], 
    3501 +  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 
    3502  ]) 
    3503   
    3504   
    3505 @@ -5955,9 +5339,9 @@ 
    3506      _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 
    3507    ;; 
    3508    cygwin* | mingw*) 
    3509 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' 
    3510 +    _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' 
    3511    ;; 
    3512 -  linux*) 
    3513 +  linux* | k*bsd*-gnu) 
    3514      _LT_AC_TAGVAR(link_all_deplibs, $1)=no 
    3515    ;; 
    3516    *) 
    3517 @@ -6001,7 +5385,8 @@ 
    3518    # rely on this symbol name, it's probably fine to never include it in 
    3519    # preloaded symbol tables. 
    3520    extract_expsyms_cmds= 
    3521 - 
    3522 +  # Just being paranoid about ensuring that cc_basename is set. 
    3523 +  _LT_CC_BASENAME([$compiler]) 
    3524    case $host_os in 
    3525    cygwin* | mingw* | pw32*) 
    3526      # FIXME: the MSVC++ port hasn't been tested in a loooong time 
    3527 @@ -6011,6 +5396,10 @@ 
    3528        with_gnu_ld=no 
    3529      fi 
    3530      ;; 
    3531 +  interix*) 
    3532 +    # we just hope/assume this is gcc and not c89 (= MSVC++) 
    3533 +    with_gnu_ld=yes 
    3534 +    ;; 
    3535    openbsd*) 
    3536      with_gnu_ld=no 
    3537      ;; 
    3538 @@ -6021,6 +5410,27 @@ 
    3539      # If archive_cmds runs LD, not CC, wlarc should be empty 
    3540      wlarc='${wl}' 
    3541   
    3542 +    # Set some defaults for GNU ld with shared library support. These 
    3543 +    # are reset later if shared libraries are not supported. Putting them 
    3544 +    # here allows them to be overridden if necessary. 
    3545 +    runpath_var=LD_RUN_PATH 
    3546 +    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 
    3547 +    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    3548 +    # ancient GNU ld didn't support --whole-archive et. al. 
    3549 +    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 
    3550 +       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    3551 +      else 
    3552 +       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 
    3553 +    fi 
    3554 +    supports_anon_versioning=no 
    3555 +    case `$LD -v 2>/dev/null` in 
    3556 +      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 
    3557 +      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 
    3558 +      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 
    3559 +      *\ 2.11.*) ;; # other 2.11 versions 
    3560 +      *) supports_anon_versioning=yes ;; 
    3561 +    esac 
    3562 + 
    3563      # See if GNU ld supports shared libraries. 
    3564      case $host_os in 
    3565      aix3* | aix4* | aix5*) 
    3566 @@ -6071,10 +5481,10 @@ 
    3567        _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported 
    3568        _LT_AC_TAGVAR(always_export_symbols, $1)=no 
    3569        _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 
    3570 -      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' 
    3571 +      _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' 
    3572   
    3573        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then 
    3574 -        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' 
    3575 +        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    3576         # If the export-symbols file already is a .def file (1st line 
    3577         # is EXPORTS), use it as is; otherwise, prepend... 
    3578         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 
    3579 @@ -6083,13 +5493,60 @@ 
    3580           echo EXPORTS > $output_objdir/$soname.def; 
    3581           cat $export_symbols >> $output_objdir/$soname.def; 
    3582         fi~ 
    3583 -       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' 
    3584 +       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 
    3585        else 
    3586 -       ld_shlibs=no 
    3587 +       _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3588        fi 
    3589        ;; 
    3590   
    3591 -    netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 
    3592 +    interix3*) 
    3593 +      _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    3594 +      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    3595 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    3596 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    3597 +      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 
    3598 +      # Instead, shared libraries are loaded at an image base (0x10000000 by 
    3599 +      # default) and relocated if they conflict, which is a slow very memory 
    3600 +      # consuming and fragmenting process.  To avoid this, we pick a random, 
    3601 +      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 
    3602 +      # time.  Moving up from 0x10000000 also allows more sbrk(2) space. 
    3603 +      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    3604 +      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 
    3605 +      ;; 
    3606 + 
    3607 +    linux* | k*bsd*-gnu) 
    3608 +      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    3609 +       tmp_addflag= 
    3610 +       case $cc_basename,$host_cpu in 
    3611 +       pgcc*)                          # Portland Group C compiler 
    3612 +         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 
    3613 +         tmp_addflag=' $pic_flag' 
    3614 +         ;; 
    3615 +       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers 
    3616 +         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 
    3617 +         tmp_addflag=' $pic_flag -Mnomain' ;; 
    3618 +       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64 
    3619 +         tmp_addflag=' -i_dynamic' ;; 
    3620 +       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64 
    3621 +         tmp_addflag=' -i_dynamic -nofor_main' ;; 
    3622 +       ifc* | ifort*)                  # Intel Fortran compiler 
    3623 +         tmp_addflag=' -nofor_main' ;; 
    3624 +       esac 
    3625 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    3626 + 
    3627 +       if test $supports_anon_versioning = yes; then 
    3628 +         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ 
    3629 +  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
    3630 +  $echo "local: *; };" >> $output_objdir/$libname.ver~ 
    3631 +         $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
    3632 +       fi 
    3633 +       _LT_AC_TAGVAR(link_all_deplibs, $1)=no 
    3634 +      else 
    3635 +       _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3636 +      fi 
    3637 +      ;; 
    3638 + 
    3639 +    netbsd* | netbsdelf*-gnu) 
    3640        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 
    3641         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 
    3642         wlarc= 
    3643 @@ -6099,7 +5556,7 @@ 
    3644        fi 
    3645        ;; 
    3646   
    3647 -    solaris* | sysv5*) 
    3648 +    solaris*) 
    3649        if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then 
    3650         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3651         cat <<EOF 1>&2 
    3652 @@ -6120,6 +5577,33 @@ 
    3653        fi 
    3654        ;; 
    3655   
    3656 +    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 
    3657 +      case `$LD -v 2>&1` in 
    3658 +        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)  
    3659 +       _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3660 +       cat <<_LT_EOF 1>&2 
    3661 + 
    3662 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 
    3663 +*** reliably create shared libraries on SCO systems.  Therefore, libtool 
    3664 +*** is disabling shared libraries support.  We urge you to upgrade GNU 
    3665 +*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify 
    3666 +*** your PATH or compiler configuration so that the native linker is 
    3667 +*** used, and then restart. 
    3668 + 
    3669 +_LT_EOF 
    3670 +       ;; 
    3671 +       *) 
    3672 +         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    3673 +           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' 
    3674 +           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' 
    3675 +           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' 
    3676 +         else 
    3677 +           _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3678 +         fi 
    3679 +       ;; 
    3680 +      esac 
    3681 +      ;; 
    3682 + 
    3683      sunos4*) 
    3684        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 
    3685        wlarc= 
    3686 @@ -6127,32 +5611,6 @@ 
    3687        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    3688        ;; 
    3689   
    3690 -  linux*) 
    3691 -    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    3692 -        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    3693 -       _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" 
    3694 -      supports_anon_versioning=no 
    3695 -      case `$LD -v 2>/dev/null` in 
    3696 -        *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 
    3697 -        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 
    3698 -        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 
    3699 -        *\ 2.11.*) ;; # other 2.11 versions 
    3700 -        *) supports_anon_versioning=yes ;; 
    3701 -      esac 
    3702 -      if test $supports_anon_versioning = yes; then 
    3703 -        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ 
    3704 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 
    3705 -$echo "local: *; };" >> $output_objdir/$libname.ver~ 
    3706 -        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 
    3707 -      else 
    3708 -        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" 
    3709 -      fi 
    3710 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=no 
    3711 -    else 
    3712 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3713 -    fi 
    3714 -    ;; 
    3715 - 
    3716      *) 
    3717        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    3718         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 
    3719 @@ -6163,16 +5621,11 @@ 
    3720        ;; 
    3721      esac 
    3722   
    3723 -    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then 
    3724 -      runpath_var=LD_RUN_PATH 
    3725 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 
    3726 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 
    3727 -      # ancient GNU ld didn't support --whole-archive et. al. 
    3728 -      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 
    3729 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 
    3730 -      else 
    3731 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 
    3732 -      fi 
    3733 +    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then 
    3734 +      runpath_var= 
    3735 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    3736 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= 
    3737 +      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= 
    3738      fi 
    3739    else 
    3740      # PORTME fill in a description of your system's linker (not GNU ld) 
    3741 @@ -6184,7 +5637,7 @@ 
    3742        # Note: this linker hardcodes the directories in LIBPATH if there 
    3743        # are no directories specified by -L. 
    3744        _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 
    3745 -      if test "$GCC" = yes && test -z "$link_static_flag"; then 
    3746 +      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 
    3747         # Neither direct hardcoding nor static linking is supported with a 
    3748         # broken collect2. 
    3749         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported 
    3750 @@ -6218,6 +5671,7 @@ 
    3751             break 
    3752           fi 
    3753           done 
    3754 +         ;; 
    3755         esac 
    3756   
    3757         exp_sym_flag='-bexport' 
    3758 @@ -6236,7 +5690,7 @@ 
    3759        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    3760   
    3761        if test "$GCC" = yes; then 
    3762 -       case $host_os in aix4.[012]|aix4.[012].*) 
    3763 +       case $host_os in aix4.[[012]]|aix4.[[012]].*) 
    3764         # We only want to do this on AIX 4.2 and lower, the check 
    3765         # below for broken collect2 doesn't work under 4.3+ 
    3766           collect2name=`${CC} -print-prog-name=collect2` 
    3767 @@ -6255,8 +5709,12 @@ 
    3768           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    3769           _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= 
    3770           fi 
    3771 +         ;; 
    3772         esac 
    3773         shared_flag='-shared' 
    3774 +       if test "$aix_use_runtimelinking" = yes; then 
    3775 +         shared_flag="$shared_flag "'${wl}-G' 
    3776 +       fi 
    3777        else 
    3778         # not using gcc 
    3779         if test "$host_cpu" = ia64; then 
    3780 @@ -6264,11 +5722,11 @@ 
    3781         # chokes on -Wl,-G. The following line is correct: 
    3782           shared_flag='-G' 
    3783         else 
    3784 -       if test "$aix_use_runtimelinking" = yes; then 
    3785 +         if test "$aix_use_runtimelinking" = yes; then 
    3786             shared_flag='${wl}-G' 
    3787           else 
    3788             shared_flag='${wl}-bM:SRE' 
    3789 -       fi 
    3790 +         fi 
    3791         fi 
    3792        fi 
    3793   
    3794 @@ -6282,12 +5740,12 @@ 
    3795         # Determine the default libpath from the value encoded in an empty executable. 
    3796         _LT_AC_SYS_LIBPATH_AIX 
    3797         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 
    3798 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" 
    3799 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 
    3800         else 
    3801         if test "$host_cpu" = ia64; then 
    3802           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' 
    3803           _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" 
    3804 -         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" 
    3805 +         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 
    3806         else 
    3807          # Determine the default libpath from the value encoded in an empty executable. 
    3808          _LT_AC_SYS_LIBPATH_AIX 
    3809 @@ -6296,13 +5754,11 @@ 
    3810           # -berok will link without error, but may produce a broken library. 
    3811           _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' 
    3812           _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' 
    3813 -         # -bexpall does not export symbols beginning with underscore (_) 
    3814 -         _LT_AC_TAGVAR(always_export_symbols, $1)=yes 
    3815           # Exported symbols can be pulled into shared objects from archives 
    3816 -         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' 
    3817 +         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' 
    3818           _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes 
    3819 -         # This is similar to how AIX traditionally builds it's shared libraries. 
    3820 -         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 
    3821 +         # This is similar to how AIX traditionally builds its shared libraries. 
    3822 +         _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 
    3823         fi 
    3824        fi 
    3825        ;; 
    3826 @@ -6315,7 +5771,7 @@ 
    3827        _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3828        ;; 
    3829   
    3830 -    bsdi4*) 
    3831 +    bsdi[[45]]*) 
    3832        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic 
    3833        ;; 
    3834   
    3835 @@ -6336,57 +5792,57 @@ 
    3836        _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' 
    3837        # FIXME: Should let the user specify the lib program. 
    3838        _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' 
    3839 -      fix_srcfile_path='`cygpath -w "$srcfile"`' 
    3840 +      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' 
    3841        _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 
    3842        ;; 
    3843   
    3844      darwin* | rhapsody*) 
    3845 -    if test "$GXX" = yes ; then 
    3846 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    3847 -      case "$host_os" in 
    3848 -      rhapsody* | darwin1.[[012]]) 
    3849 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 
    3850 -       ;; 
    3851 -      *) # Darwin 1.3 on 
    3852 -      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 
    3853 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    3854 -      else 
    3855 -        case ${MACOSX_DEPLOYMENT_TARGET} in 
    3856 -          10.[[012]]) 
    3857 -            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 
    3858 -            ;; 
    3859 -          10.*) 
    3860 -            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup' 
    3861 -            ;; 
    3862 -        esac 
    3863 -      fi 
    3864 -       ;; 
    3865 +      case $host_os in 
    3866 +        rhapsody* | darwin1.[[012]]) 
    3867 +         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' 
    3868 +         ;; 
    3869 +       *) # Darwin 1.3 on 
    3870 +         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 
    3871 +           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 
    3872 +         else 
    3873 +           case ${MACOSX_DEPLOYMENT_TARGET} in 
    3874 +             10.[[012]]) 
    3875 +               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 
    3876 +               ;; 
    3877 +             10.*) 
    3878 +               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' 
    3879 +               ;; 
    3880 +           esac 
    3881 +         fi 
    3882 +         ;; 
    3883        esac 
    3884 -       lt_int_apple_cc_single_mod=no 
    3885 -       output_verbose_link_cmd='echo' 
    3886 -       if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 
    3887 -         lt_int_apple_cc_single_mod=yes 
    3888 -       fi 
    3889 -       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    3890 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
    3891 -       else 
    3892 -        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
    3893 -      fi 
    3894 -      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    3895 -      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 
    3896 -        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 
    3897 -          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    3898 -        else 
    3899 -          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    3900 -        fi 
    3901 -          _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}' 
    3902 +      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    3903        _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    3904        _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 
    3905        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 
    3906 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 
    3907 +      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 
    3908        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    3909 +    if test "$GCC" = yes ; then 
    3910 +       output_verbose_link_cmd='echo' 
    3911 +        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 
    3912 +      _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    3913 +      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 
    3914 +      _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}' 
    3915 +      _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}' 
    3916      else 
    3917 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3918 +      case $cc_basename in 
    3919 +        xlc*) 
    3920 +         output_verbose_link_cmd='echo' 
    3921 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 
    3922 +         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 
    3923 +          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 
    3924 +         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 
    3925 +          _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}' 
    3926 +          ;; 
    3927 +       *) 
    3928 +         _LT_AC_TAGVAR(ld_shlibs, $1)=no 
    3929 +          ;; 
    3930 +      esac 
    3931      fi 
    3932        ;; 
    3933   
    3934 @@ -6420,7 +5876,7 @@ 
    3935        ;; 
    3936   
    3937      # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 
    3938 -    freebsd* | kfreebsd*-gnu) 
    3939 +    freebsd* | dragonfly*) 
    3940        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 
    3941        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 
    3942        _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    3943 @@ -6443,47 +5899,62 @@ 
    3944        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    3945        ;; 
    3946   
    3947 -    hpux10* | hpux11*) 
    3948 +    hpux10*) 
    3949        if test "$GCC" = yes -a "$with_gnu_ld" = no; then 
    3950 -       case "$host_cpu" in 
    3951 -       hppa*64*|ia64*) 
    3952 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
    3953 +      else 
    3954 +       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 
    3955 +      fi 
    3956 +      if test "$with_gnu_ld" = no; then 
    3957 +       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    3958 +       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    3959 + 
    3960 +       _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    3961 +       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    3962 + 
    3963 +       # hardcode_minus_L: Not really in the search PATH, 
    3964 +       # but as the default location of the library. 
    3965 +       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 
    3966 +      fi 
    3967 +      ;; 
    3968 + 
    3969 +    hpux11*) 
    3970 +      if test "$GCC" = yes -a "$with_gnu_ld" = no; then 
    3971 +       case $host_cpu in 
    3972 +       hppa*64*) 
    3973           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    3974           ;; 
    3975 +       ia64*) 
    3976 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
    3977 +         ;; 
    3978         *) 
    3979           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
    3980           ;; 
    3981         esac 
    3982        else 
    3983 -       case "$host_cpu" in 
    3984 -       hppa*64*|ia64*) 
    3985 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' 
    3986 +       case $host_cpu in 
    3987 +       hppa*64*) 
    3988 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    3989 +         ;; 
    3990 +       ia64*) 
    3991 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 
    3992           ;; 
    3993         *) 
    3994 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 
    3995 +         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 
    3996           ;; 
    3997         esac 
    3998        fi 
    3999        if test "$with_gnu_ld" = no; then 
    4000 -       case "$host_cpu" in 
    4001 -       hppa*64*) 
    4002 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    4003 +       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    4004 +       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    4005 + 
    4006 +       case $host_cpu in 
    4007 +       hppa*64*|ia64*) 
    4008           _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' 
    4009 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    4010 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    4011 -         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4012 -         ;; 
    4013 -       ia64*) 
    4014 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' 
    4015           _LT_AC_TAGVAR(hardcode_direct, $1)=no 
    4016           _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4017 - 
    4018 -         # hardcode_minus_L: Not really in the search PATH, 
    4019 -         # but as the default location of the library. 
    4020 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 
    4021           ;; 
    4022         *) 
    4023 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' 
    4024 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    4025           _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    4026           _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    4027   
    4028 @@ -6507,7 +5978,7 @@ 
    4029        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    4030        ;; 
    4031   
    4032 -    netbsd* | netbsdelf*-gnu | knetbsd*-gnu) 
    4033 +    netbsd* | netbsdelf*-gnu) 
    4034        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 
    4035         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out 
    4036        else 
    4037 @@ -6531,6 +6002,7 @@ 
    4038        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4039        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    4040         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 
    4041 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 
    4042         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 
    4043         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' 
    4044        else 
    4045 @@ -6576,7 +6048,7 @@ 
    4046         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 
    4047         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' 
    4048         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 
    4049 -       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' 
    4050 +       $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' 
    4051   
    4052         # Both c and cxx compiler support -rpath directly 
    4053         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' 
    4054 @@ -6584,21 +6056,15 @@ 
    4055        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: 
    4056        ;; 
    4057   
    4058 -    sco3.2v5*) 
    4059 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    4060 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4061 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' 
    4062 -      runpath_var=LD_RUN_PATH 
    4063 -      hardcode_runpath_var=yes 
    4064 -      ;; 
    4065 - 
    4066      solaris*) 
    4067        _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' 
    4068        if test "$GCC" = yes; then 
    4069 +       wlarc='${wl}' 
    4070         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4071         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
    4072           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 
    4073        else 
    4074 +       wlarc='' 
    4075         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    4076         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
    4077         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 
    4078 @@ -6607,8 +6073,18 @@ 
    4079        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4080        case $host_os in 
    4081        solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; 
    4082 -      *) # Supported since Solaris 2.6 (maybe 2.5.1?) 
    4083 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; 
    4084 +      *) 
    4085 +       # The compiler driver will combine linker options so we 
    4086 +       # cannot just pass the convience library names through 
    4087 +       # without $wl, iff we do not link with $LD. 
    4088 +       # Luckily, gcc supports the same syntax we need for Sun Studio. 
    4089 +       # Supported since Solaris 2.6 (maybe 2.5.1?) 
    4090 +       case $wlarc in 
    4091 +       '') 
    4092 +         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; 
    4093 +       *) 
    4094 +         _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' ;; 
    4095 +       esac ;; 
    4096        esac 
    4097        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    4098        ;; 
    4099 @@ -6665,36 +6141,45 @@ 
    4100        fi 
    4101        ;; 
    4102   
    4103 -    sysv4.2uw2*) 
    4104 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' 
    4105 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes 
    4106 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=no 
    4107 +    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) 
    4108 +      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    4109 +      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    4110        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4111 -      hardcode_runpath_var=yes 
    4112 -      runpath_var=LD_RUN_PATH 
    4113 -      ;; 
    4114 +      runpath_var='LD_RUN_PATH' 
    4115   
    4116 -   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[[78]]* | unixware7*) 
    4117 -      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' 
    4118        if test "$GCC" = yes; then 
    4119 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4120 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4121 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4122        else 
    4123 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4124 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4125 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4126        fi 
    4127 -      runpath_var='LD_RUN_PATH' 
    4128 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4129        ;; 
    4130   
    4131 -    sysv5*) 
    4132 -      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' 
    4133 -      # $CC -shared without GNU ld will not create a library from C++ 
    4134 -      # object files and a static libstdc++, better avoid it by now 
    4135 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 
    4136 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 
    4137 -               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' 
    4138 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= 
    4139 +    sysv5* | sco3.2v5* | sco5v6*) 
    4140 +      # Note: We can NOT use -z defs as we might desire, because we do not 
    4141 +      # link with -lc, and that would cause any symbols used from libc to 
    4142 +      # always be unresolved, which means just about no library would 
    4143 +      # ever link correctly.  If we're not using GNU ld we use -z text 
    4144 +      # though, which does catch some bad symbols but isn't as heavy-handed 
    4145 +      # as -z defs. 
    4146 +      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' 
    4147 +      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' 
    4148 +      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 
    4149        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no 
    4150 +      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' 
    4151 +      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' 
    4152 +      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 
    4153 +      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' 
    4154        runpath_var='LD_RUN_PATH' 
    4155 + 
    4156 +      if test "$GCC" = yes; then 
    4157 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4158 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4159 +      else 
    4160 +       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4161 +       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' 
    4162 +      fi 
    4163        ;; 
    4164   
    4165      uts4*) 
    4166 @@ -6712,11 +6197,6 @@ 
    4167  AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) 
    4168  test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no 
    4169   
    4170 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
    4171 -if test "$GCC" = yes; then 
    4172 -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
    4173 -fi 
    4174 - 
    4175  # 
    4176  # Do we need to explicitly link libc? 
    4177  # 
    4178 @@ -6744,6 +6224,7 @@ 
    4179          libobjs=conftest.$ac_objext 
    4180          deplibs= 
    4181          wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) 
    4182 +       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) 
    4183          compiler_flags=-v 
    4184          linker_flags=-v 
    4185          verstring= 
    4186 @@ -6869,7 +6350,7 @@ 
    4187  # Add /usr/xpg4/bin/sed as it is typically found on Solaris 
    4188  # along with /bin/sed that truncates output. 
    4189  for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do 
    4190 -  test ! -f $lt_ac_sed && break 
    4191 +  test ! -f $lt_ac_sed && continue 
    4192    cat /dev/null > conftest.in 
    4193    lt_ac_count=0 
    4194    echo $ECHO_N "0123456789$ECHO_C" >conftest.in 
    4195 @@ -6894,8 +6375,878 @@ 
    4196      fi 
    4197    done 
    4198  done 
    4199 -SED=$lt_cv_path_SED 
    4200  ]) 
    4201 +SED=$lt_cv_path_SED 
    4202  AC_MSG_RESULT([$SED]) 
    4203  ]) 
    4204   
    4205 +# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc. 
    4206 +# 
    4207 +# This file is free software; the Free Software Foundation 
    4208 +# gives unlimited permission to copy and/or distribute it, 
    4209 +# with or without modifications, as long as this notice is preserved. 
    4210 + 
    4211 +# AM_AUTOMAKE_VERSION(VERSION) 
    4212 +# ---------------------------- 
    4213 +# Automake X.Y traces this macro to ensure aclocal.m4 has been 
    4214 +# generated from the m4 files accompanying Automake X.Y. 
    4215 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) 
    4216 + 
    4217 +# AM_SET_CURRENT_AUTOMAKE_VERSION 
    4218 +# ------------------------------- 
    4219 +# Call AM_AUTOMAKE_VERSION so it can be traced. 
    4220 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 
    4221 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 
    4222 +        [AM_AUTOMAKE_VERSION([1.9.6])]) 
    4223 + 
    4224 +# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*- 
    4225 + 
    4226 +# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc. 
    4227 +# 
    4228 +# This file is free software; the Free Software Foundation 
    4229 +# gives unlimited permission to copy and/or distribute it, 
    4230 +# with or without modifications, as long as this notice is preserved. 
    4231 + 
    4232 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 
    4233 +# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to 
    4234 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. 
    4235 +# 
    4236 +# Of course, Automake must honor this variable whenever it calls a 
    4237 +# tool from the auxiliary directory.  The problem is that $srcdir (and 
    4238 +# therefore $ac_aux_dir as well) can be either absolute or relative, 
    4239 +# depending on how configure is run.  This is pretty annoying, since 
    4240 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top 
    4241 +# source directory, any form will work fine, but in subdirectories a 
    4242 +# relative path needs to be adjusted first. 
    4243 +# 
    4244 +# $ac_aux_dir/missing 
    4245 +#    fails when called from a subdirectory if $ac_aux_dir is relative 
    4246 +# $top_srcdir/$ac_aux_dir/missing 
    4247 +#    fails if $ac_aux_dir is absolute, 
    4248 +#    fails when called from a subdirectory in a VPATH build with 
    4249 +#          a relative $ac_aux_dir 
    4250 +# 
    4251 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir 
    4252 +# are both prefixed by $srcdir.  In an in-source build this is usually 
    4253 +# harmless because $srcdir is `.', but things will broke when you 
    4254 +# start a VPATH build or use an absolute $srcdir. 
    4255 +# 
    4256 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 
    4257 +# iff we strip the leading $srcdir from $ac_aux_dir.  That would be: 
    4258 +#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 
    4259 +# and then we would define $MISSING as 
    4260 +#   MISSING="\${SHELL} $am_aux_dir/missing" 
    4261 +# This will work as long as MISSING is not called from configure, because 
    4262 +# unfortunately $(top_srcdir) has no meaning in configure. 
    4263 +# However there are other variables, like CC, which are often used in 
    4264 +# configure, and could therefore not use this "fixed" $ac_aux_dir. 
    4265 +# 
    4266 +# Another solution, used here, is to always expand $ac_aux_dir to an 
    4267 +# absolute PATH.  The drawback is that using absolute paths prevent a 
    4268 +# configured tree to be moved without reconfiguration. 
    4269 + 
    4270 +AC_DEFUN([AM_AUX_DIR_EXPAND], 
    4271 +[dnl Rely on autoconf to set up CDPATH properly. 
    4272 +AC_PREREQ([2.50])dnl 
    4273 +# expand $ac_aux_dir to an absolute path 
    4274 +am_aux_dir=`cd $ac_aux_dir && pwd` 
    4275 +]) 
    4276 + 
    4277 +# AM_CONDITIONAL                                            -*- Autoconf -*- 
    4278 + 
    4279 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 
    4280 +# Free Software Foundation, Inc. 
    4281 +# 
    4282 +# This file is free software; the Free Software Foundation 
    4283 +# gives unlimited permission to copy and/or distribute it, 
    4284 +# with or without modifications, as long as this notice is preserved. 
    4285 + 
    4286 +# serial 7 
    4287 + 
    4288 +# AM_CONDITIONAL(NAME, SHELL-CONDITION) 
    4289 +# ------------------------------------- 
    4290 +# Define a conditional. 
    4291 +AC_DEFUN([AM_CONDITIONAL], 
    4292 +[AC_PREREQ(2.52)dnl 
    4293 + ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])], 
    4294 +       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 
    4295 +AC_SUBST([$1_TRUE]) 
    4296 +AC_SUBST([$1_FALSE]) 
    4297 +if $2; then 
    4298 +  $1_TRUE= 
    4299 +  $1_FALSE='#' 
    4300 +else 
    4301 +  $1_TRUE='#' 
    4302 +  $1_FALSE= 
    4303 +fi 
    4304 +AC_CONFIG_COMMANDS_PRE( 
    4305 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 
    4306 +  AC_MSG_ERROR([[conditional "$1" was never defined. 
    4307 +Usually this means the macro was only invoked conditionally.]]) 
    4308 +fi])]) 
    4309 + 
    4310 + 
    4311 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    4312 +# Free Software Foundation, Inc. 
    4313 +# 
    4314 +# This file is free software; the Free Software Foundation 
    4315 +# gives unlimited permission to copy and/or distribute it, 
    4316 +# with or without modifications, as long as this notice is preserved. 
    4317 + 
    4318 +# serial 8 
    4319 + 
    4320 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 
    4321 +# written in clear, in which case automake, when reading aclocal.m4, 
    4322 +# will think it sees a *use*, and therefore will trigger all it's 
    4323 +# C support machinery.  Also note that it means that autoscan, seeing 
    4324 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... 
    4325 + 
    4326 + 
    4327 +# _AM_DEPENDENCIES(NAME) 
    4328 +# ---------------------- 
    4329 +# See how the compiler implements dependency checking. 
    4330 +# NAME is "CC", "CXX", "GCJ", or "OBJC". 
    4331 +# We try a few techniques and use that to set a single cache variable. 
    4332 +# 
    4333 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 
    4334 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 
    4335 +# dependency, and given that the user is not expected to run this macro, 
    4336 +# just rely on AC_PROG_CC. 
    4337 +AC_DEFUN([_AM_DEPENDENCIES], 
    4338 +[AC_REQUIRE([AM_SET_DEPDIR])dnl 
    4339 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 
    4340 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl 
    4341 +AC_REQUIRE([AM_DEP_TRACK])dnl 
    4342 + 
    4343 +ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=], 
    4344 +       [$1], CXX,  [depcc="$CXX"  am_compiler_list=], 
    4345 +       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 
    4346 +       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'], 
    4347 +                   [depcc="$$1"   am_compiler_list=]) 
    4348 + 
    4349 +AC_CACHE_CHECK([dependency style of $depcc], 
    4350 +               [am_cv_$1_dependencies_compiler_type], 
    4351 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 
    4352 +  # We make a subdir and do the tests there.  Otherwise we can end up 
    4353 +  # making bogus files that we don't know about and never remove.  For 
    4354 +  # instance it was reported that on HP-UX the gcc test will end up 
    4355 +  # making a dummy file named `D' -- because `-MD' means `put the output 
    4356 +  # in D'. 
    4357 +  mkdir conftest.dir 
    4358 +  # Copy depcomp to subdir because otherwise we won't find it if we're 
    4359 +  # using a relative directory. 
    4360 +  cp "$am_depcomp" conftest.dir 
    4361 +  cd conftest.dir 
    4362 +  # We will build objects and dependencies in a subdirectory because 
    4363 +  # it helps to detect inapplicable dependency modes.  For instance 
    4364 +  # both Tru64's cc and ICC support -MD to output dependencies as a 
    4365 +  # side effect of compilation, but ICC will put the dependencies in 
    4366 +  # the current directory while Tru64 will put them in the object 
    4367 +  # directory. 
    4368 +  mkdir sub 
    4369 + 
    4370 +  am_cv_$1_dependencies_compiler_type=none 
    4371 +  if test "$am_compiler_list" = ""; then 
    4372 +     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 
    4373 +  fi 
    4374 +  for depmode in $am_compiler_list; do 
    4375 +    # Setup a source with many dependencies, because some compilers 
    4376 +    # like to wrap large dependency lists on column 80 (with \), and 
    4377 +    # we should not choose a depcomp mode which is confused by this. 
    4378 +    # 
    4379 +    # We need to recreate these files for each test, as the compiler may 
    4380 +    # overwrite some of them when testing with obscure command lines. 
    4381 +    # This happens at least with the AIX C compiler. 
    4382 +    : > sub/conftest.c 
    4383 +    for i in 1 2 3 4 5 6; do 
    4384 +      echo '#include "conftst'$i'.h"' >> sub/conftest.c 
    4385 +      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 
    4386 +      # Solaris 8's {/usr,}/bin/sh. 
    4387 +      touch sub/conftst$i.h 
    4388 +    done 
    4389 +    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 
    4390 + 
    4391 +    case $depmode in 
    4392 +    nosideeffect) 
    4393 +      # after this tag, mechanisms are not by side-effect, so they'll 
    4394 +      # only be used when explicitly requested 
    4395 +      if test "x$enable_dependency_tracking" = xyes; then 
    4396 +       continue 
    4397 +      else 
    4398 +       break 
    4399 +      fi 
    4400 +      ;; 
    4401 +    none) break ;; 
    4402 +    esac 
    4403 +    # We check with `-c' and `-o' for the sake of the "dashmstdout" 
    4404 +    # mode.  It turns out that the SunPro C++ compiler does not properly 
    4405 +    # handle `-M -o', and we need to detect this. 
    4406 +    if depmode=$depmode \ 
    4407 +       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 
    4408 +       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 
    4409 +       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 
    4410 +         >/dev/null 2>conftest.err && 
    4411 +       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 
    4412 +       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 
    4413 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 
    4414 +      # icc doesn't choke on unknown options, it will just issue warnings 
    4415 +      # or remarks (even with -Werror).  So we grep stderr for any message 
    4416 +      # that says an option was ignored or not supported. 
    4417 +      # When given -MP, icc 7.0 and 7.1 complain thusly: 
    4418 +      #   icc: Command line warning: ignoring option '-M'; no argument required 
    4419 +      # The diagnosis changed in icc 8.0: 
    4420 +      #   icc: Command line remark: option '-MP' not supported 
    4421 +      if (grep 'ignoring option' conftest.err || 
    4422 +          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 
    4423 +        am_cv_$1_dependencies_compiler_type=$depmode 
    4424 +        break 
    4425 +      fi 
    4426 +    fi 
    4427 +  done 
    4428 + 
    4429 +  cd .. 
    4430 +  rm -rf conftest.dir 
    4431 +else 
    4432 +  am_cv_$1_dependencies_compiler_type=none 
    4433 +fi 
    4434 +]) 
    4435 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 
    4436 +AM_CONDITIONAL([am__fastdep$1], [ 
    4437 +  test "x$enable_dependency_tracking" != xno \ 
    4438 +  && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 
    4439 +]) 
    4440 + 
    4441 + 
    4442 +# AM_SET_DEPDIR 
    4443 +# ------------- 
    4444 +# Choose a directory name for dependency files. 
    4445 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES 
    4446 +AC_DEFUN([AM_SET_DEPDIR], 
    4447 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl 
    4448 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 
    4449 +]) 
    4450 + 
    4451 + 
    4452 +# AM_DEP_TRACK 
    4453 +# ------------ 
    4454 +AC_DEFUN([AM_DEP_TRACK], 
    4455 +[AC_ARG_ENABLE(dependency-tracking, 
    4456 +[  --disable-dependency-tracking  speeds up one-time build 
    4457 +  --enable-dependency-tracking   do not reject slow dependency extractors]) 
    4458 +if test "x$enable_dependency_tracking" != xno; then 
    4459 +  am_depcomp="$ac_aux_dir/depcomp" 
    4460 +  AMDEPBACKSLASH='\' 
    4461 +fi 
    4462 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 
    4463 +AC_SUBST([AMDEPBACKSLASH]) 
    4464 +]) 
    4465 + 
    4466 +# Generate code to set up dependency tracking.              -*- Autoconf -*- 
    4467 + 
    4468 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    4469 +# Free Software Foundation, Inc. 
    4470 +# 
    4471 +# This file is free software; the Free Software Foundation 
    4472 +# gives unlimited permission to copy and/or distribute it, 
    4473 +# with or without modifications, as long as this notice is preserved. 
    4474 + 
    4475 +#serial 3 
    4476 + 
    4477 +# _AM_OUTPUT_DEPENDENCY_COMMANDS 
    4478 +# ------------------------------ 
    4479 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 
    4480 +[for mf in $CONFIG_FILES; do 
    4481 +  # Strip MF so we end up with the name of the file. 
    4482 +  mf=`echo "$mf" | sed -e 's/:.*$//'` 
    4483 +  # Check whether this is an Automake generated Makefile or not. 
    4484 +  # We used to match only the files named `Makefile.in', but 
    4485 +  # some people rename them; so instead we look at the file content. 
    4486 +  # Grep'ing the first line is not enough: some people post-process 
    4487 +  # each Makefile.in and add a new line on top of each file to say so. 
    4488 +  # So let's grep whole file. 
    4489 +  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 
    4490 +    dirpart=`AS_DIRNAME("$mf")` 
    4491 +  else 
    4492 +    continue 
    4493 +  fi 
    4494 +  # Extract the definition of DEPDIR, am__include, and am__quote 
    4495 +  # from the Makefile without running `make'. 
    4496 +  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 
    4497 +  test -z "$DEPDIR" && continue 
    4498 +  am__include=`sed -n 's/^am__include = //p' < "$mf"` 
    4499 +  test -z "am__include" && continue 
    4500 +  am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 
    4501 +  # When using ansi2knr, U may be empty or an underscore; expand it 
    4502 +  U=`sed -n 's/^U = //p' < "$mf"` 
    4503 +  # Find all dependency output files, they are included files with 
    4504 +  # $(DEPDIR) in their names.  We invoke sed twice because it is the 
    4505 +  # simplest approach to changing $(DEPDIR) to its actual value in the 
    4506 +  # expansion. 
    4507 +  for file in `sed -n " 
    4508 +    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 
    4509 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 
    4510 +    # Make sure the directory exists. 
    4511 +    test -f "$dirpart/$file" && continue 
    4512 +    fdir=`AS_DIRNAME(["$file"])` 
    4513 +    AS_MKDIR_P([$dirpart/$fdir]) 
    4514 +    # echo "creating $dirpart/$file" 
    4515 +    echo '# dummy' > "$dirpart/$file" 
    4516 +  done 
    4517 +done 
    4518 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS 
    4519 + 
    4520 + 
    4521 +# AM_OUTPUT_DEPENDENCY_COMMANDS 
    4522 +# ----------------------------- 
    4523 +# This macro should only be invoked once -- use via AC_REQUIRE. 
    4524 +# 
    4525 +# This code is only required when automatic dependency tracking 
    4526 +# is enabled.  FIXME.  This creates each `.P' file that we will 
    4527 +# need in order to bootstrap the dependency handling code. 
    4528 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 
    4529 +[AC_CONFIG_COMMANDS([depfiles], 
    4530 +     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 
    4531 +     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 
    4532 +]) 
    4533 + 
    4534 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 
    4535 +# Free Software Foundation, Inc. 
    4536 +# 
    4537 +# This file is free software; the Free Software Foundation 
    4538 +# gives unlimited permission to copy and/or distribute it, 
    4539 +# with or without modifications, as long as this notice is preserved. 
    4540 + 
    4541 +# serial 8 
    4542 + 
    4543 +# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS. 
    4544 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 
    4545 + 
    4546 +# Do all the work for Automake.                             -*- Autoconf -*- 
    4547 + 
    4548 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    4549 +# Free Software Foundation, Inc. 
    4550 +# 
    4551 +# This file is free software; the Free Software Foundation 
    4552 +# gives unlimited permission to copy and/or distribute it, 
    4553 +# with or without modifications, as long as this notice is preserved. 
    4554 + 
    4555 +# serial 12 
    4556 + 
    4557 +# This macro actually does too much.  Some checks are only needed if 
    4558 +# your package does certain things.  But this isn't really a big deal. 
    4559 + 
    4560 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 
    4561 +# AM_INIT_AUTOMAKE([OPTIONS]) 
    4562 +# ----------------------------------------------- 
    4563 +# The call with PACKAGE and VERSION arguments is the old style 
    4564 +# call (pre autoconf-2.50), which is being phased out.  PACKAGE 
    4565 +# and VERSION should now be passed to AC_INIT and removed from 
    4566 +# the call to AM_INIT_AUTOMAKE. 
    4567 +# We support both call styles for the transition.  After 
    4568 +# the next Automake release, Autoconf can make the AC_INIT 
    4569 +# arguments mandatory, and then we can depend on a new Autoconf 
    4570 +# release and drop the old call support. 
    4571 +AC_DEFUN([AM_INIT_AUTOMAKE], 
    4572 +[AC_PREREQ([2.58])dnl 
    4573 +dnl Autoconf wants to disallow AM_ names.  We explicitly allow 
    4574 +dnl the ones we care about. 
    4575 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 
    4576 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 
    4577 +AC_REQUIRE([AC_PROG_INSTALL])dnl 
    4578 +# test to see if srcdir already configured 
    4579 +if test "`cd $srcdir && pwd`" != "`pwd`" && 
    4580 +   test -f $srcdir/config.status; then 
    4581 +  AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 
    4582 +fi 
    4583 + 
    4584 +# test whether we have cygpath 
    4585 +if test -z "$CYGPATH_W"; then 
    4586 +  if (cygpath --version) >/dev/null 2>/dev/null; then 
    4587 +    CYGPATH_W='cygpath -w' 
    4588 +  else 
    4589 +    CYGPATH_W=echo 
    4590 +  fi 
    4591 +fi 
    4592 +AC_SUBST([CYGPATH_W]) 
    4593 + 
    4594 +# Define the identity of the package. 
    4595 +dnl Distinguish between old-style and new-style calls. 
    4596 +m4_ifval([$2], 
    4597 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 
    4598 + AC_SUBST([PACKAGE], [$1])dnl 
    4599 + AC_SUBST([VERSION], [$2])], 
    4600 +[_AM_SET_OPTIONS([$1])dnl 
    4601 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 
    4602 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 
    4603 + 
    4604 +_AM_IF_OPTION([no-define],, 
    4605 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 
    4606 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 
    4607 + 
    4608 +# Some tools Automake needs. 
    4609 +AC_REQUIRE([AM_SANITY_CHECK])dnl 
    4610 +AC_REQUIRE([AC_ARG_PROGRAM])dnl 
    4611 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 
    4612 +AM_MISSING_PROG(AUTOCONF, autoconf) 
    4613 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 
    4614 +AM_MISSING_PROG(AUTOHEADER, autoheader) 
    4615 +AM_MISSING_PROG(MAKEINFO, makeinfo) 
    4616 +AM_PROG_INSTALL_SH 
    4617 +AM_PROG_INSTALL_STRIP 
    4618 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl 
    4619 +# We need awk for the "check" target.  The system "awk" is bad on 
    4620 +# some platforms. 
    4621 +AC_REQUIRE([AC_PROG_AWK])dnl 
    4622 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl 
    4623 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl 
    4624 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 
    4625 +              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 
    4626 +                            [_AM_PROG_TAR([v7])])]) 
    4627 +_AM_IF_OPTION([no-dependencies],, 
    4628 +[AC_PROVIDE_IFELSE([AC_PROG_CC], 
    4629 +                  [_AM_DEPENDENCIES(CC)], 
    4630 +                  [define([AC_PROG_CC], 
    4631 +                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 
    4632 +AC_PROVIDE_IFELSE([AC_PROG_CXX], 
    4633 +                  [_AM_DEPENDENCIES(CXX)], 
    4634 +                  [define([AC_PROG_CXX], 
    4635 +                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 
    4636 +]) 
    4637 +]) 
    4638 + 
    4639 + 
    4640 +# When config.status generates a header, we must update the stamp-h file. 
    4641 +# This file resides in the same directory as the config header 
    4642 +# that is generated.  The stamp files are numbered to have different names. 
    4643 + 
    4644 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 
    4645 +# loop where config.status creates the headers, so we can generate 
    4646 +# our stamp files there. 
    4647 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 
    4648 +[# Compute $1's index in $config_headers. 
    4649 +_am_stamp_count=1 
    4650 +for _am_header in $config_headers :; do 
    4651 +  case $_am_header in 
    4652 +    $1 | $1:* ) 
    4653 +      break ;; 
    4654 +    * ) 
    4655 +      _am_stamp_count=`expr $_am_stamp_count + 1` ;; 
    4656 +  esac 
    4657 +done 
    4658 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 
    4659 + 
    4660 +# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc. 
    4661 +# 
    4662 +# This file is free software; the Free Software Foundation 
    4663 +# gives unlimited permission to copy and/or distribute it, 
    4664 +# with or without modifications, as long as this notice is preserved. 
    4665 + 
    4666 +# AM_PROG_INSTALL_SH 
    4667 +# ------------------ 
    4668 +# Define $install_sh. 
    4669 +AC_DEFUN([AM_PROG_INSTALL_SH], 
    4670 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 
    4671 +install_sh=${install_sh-"$am_aux_dir/install-sh"} 
    4672 +AC_SUBST(install_sh)]) 
    4673 + 
    4674 +# Copyright (C) 2003, 2005  Free Software Foundation, Inc. 
    4675 +# 
    4676 +# This file is free software; the Free Software Foundation 
    4677 +# gives unlimited permission to copy and/or distribute it, 
    4678 +# with or without modifications, as long as this notice is preserved. 
    4679 + 
    4680 +# serial 2 
    4681 + 
    4682 +# Check whether the underlying file-system supports filenames 
    4683 +# with a leading dot.  For instance MS-DOS doesn't. 
    4684 +AC_DEFUN([AM_SET_LEADING_DOT], 
    4685 +[rm -rf .tst 2>/dev/null 
    4686 +mkdir .tst 2>/dev/null 
    4687 +if test -d .tst; then 
    4688 +  am__leading_dot=. 
    4689 +else 
    4690 +  am__leading_dot=_ 
    4691 +fi 
    4692 +rmdir .tst 2>/dev/null 
    4693 +AC_SUBST([am__leading_dot])]) 
    4694 + 
    4695 +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 
    4696 +# Free Software Foundation, Inc. 
    4697 +# 
    4698 +# This file is free software; the Free Software Foundation 
    4699 +# gives unlimited permission to copy and/or distribute it, 
    4700 +# with or without modifications, as long as this notice is preserved. 
    4701 + 
    4702 +# serial 5 
    4703 + 
    4704 +# AM_PROG_LEX 
    4705 +# ----------- 
    4706 +# Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a 
    4707 +# "missing" invocation, for better error output. 
    4708 +AC_DEFUN([AM_PROG_LEX], 
    4709 +[AC_PREREQ(2.50)dnl 
    4710 +AC_REQUIRE([AM_MISSING_HAS_RUN])dnl 
    4711 +AC_REQUIRE([AC_PROG_LEX])dnl 
    4712 +if test "$LEX" = :; then 
    4713 +  LEX=${am_missing_run}flex 
    4714 +fi]) 
    4715 + 
    4716 +# Check to see how 'make' treats includes.                 -*- Autoconf -*- 
    4717 + 
    4718 +# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc. 
    4719 +# 
    4720 +# This file is free software; the Free Software Foundation 
    4721 +# gives unlimited permission to copy and/or distribute it, 
    4722 +# with or without modifications, as long as this notice is preserved. 
    4723 + 
    4724 +# serial 3 
    4725 + 
    4726 +# AM_MAKE_INCLUDE() 
    4727 +# ----------------- 
    4728 +# Check to see how make treats includes. 
    4729 +AC_DEFUN([AM_MAKE_INCLUDE], 
    4730 +[am_make=${MAKE-make} 
    4731 +cat > confinc << 'END' 
    4732 +am__doit: 
    4733 +       @echo done 
    4734 +.PHONY: am__doit 
    4735 +END 
    4736 +# If we don't find an include directive, just comment out the code. 
    4737 +AC_MSG_CHECKING([for style of include used by $am_make]) 
    4738 +am__include="#" 
    4739 +am__quote= 
    4740 +_am_result=none 
    4741 +# First try GNU make style include. 
    4742 +echo "include confinc" > confmf 
    4743 +# We grep out `Entering directory' and `Leaving directory' 
    4744 +# messages which can occur if `w' ends up in MAKEFLAGS. 
    4745 +# In particular we don't look at `^make:' because GNU make might 
    4746 +# be invoked under some other name (usually "gmake"), in which 
    4747 +# case it prints its new name instead of `make'. 
    4748 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 
    4749 +   am__include=include 
    4750 +   am__quote= 
    4751 +   _am_result=GNU 
    4752 +fi 
    4753 +# Now try BSD make style include. 
    4754 +if test "$am__include" = "#"; then 
    4755 +   echo '.include "confinc"' > confmf 
    4756 +   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 
    4757 +      am__include=.include 
    4758 +      am__quote="\"" 
    4759 +      _am_result=BSD 
    4760 +   fi 
    4761 +fi 
    4762 +AC_SUBST([am__include]) 
    4763 +AC_SUBST([am__quote]) 
    4764 +AC_MSG_RESULT([$_am_result]) 
    4765 +rm -f confinc confmf 
    4766 +]) 
    4767 + 
    4768 +# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*- 
    4769 + 
    4770 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 
    4771 +# Free Software Foundation, Inc. 
    4772 +# 
    4773 +# This file is free software; the Free Software Foundation 
    4774 +# gives unlimited permission to copy and/or distribute it, 
    4775 +# with or without modifications, as long as this notice is preserved. 
    4776 + 
    4777 +# serial 4 
    4778 + 
    4779 +# AM_MISSING_PROG(NAME, PROGRAM) 
    4780 +# ------------------------------ 
    4781 +AC_DEFUN([AM_MISSING_PROG], 
    4782 +[AC_REQUIRE([AM_MISSING_HAS_RUN]) 
    4783 +$1=${$1-"${am_missing_run}$2"} 
    4784 +AC_SUBST($1)]) 
    4785 + 
    4786 + 
    4787 +# AM_MISSING_HAS_RUN 
    4788 +# ------------------ 
    4789 +# Define MISSING if not defined so far and test if it supports --run. 
    4790 +# If it does, set am_missing_run to use it, otherwise, to nothing. 
    4791 +AC_DEFUN([AM_MISSING_HAS_RUN], 
    4792 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 
    4793 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 
    4794 +# Use eval to expand $SHELL 
    4795 +if eval "$MISSING --run true"; then 
    4796 +  am_missing_run="$MISSING --run " 
    4797 +else 
    4798 +  am_missing_run= 
    4799 +  AC_MSG_WARN([`missing' script is too old or missing]) 
    4800 +fi 
    4801 +]) 
    4802 + 
    4803 +# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc. 
    4804 +# 
    4805 +# This file is free software; the Free Software Foundation 
    4806 +# gives unlimited permission to copy and/or distribute it, 
    4807 +# with or without modifications, as long as this notice is preserved. 
    4808 + 
    4809 +# AM_PROG_MKDIR_P 
    4810 +# --------------- 
    4811 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 
    4812 +# 
    4813 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 
    4814 +# created by `make install' are always world readable, even if the 
    4815 +# installer happens to have an overly restrictive umask (e.g. 077). 
    4816 +# This was a mistake.  There are at least two reasons why we must not 
    4817 +# use `-m 0755': 
    4818 +#   - it causes special bits like SGID to be ignored, 
    4819 +#   - it may be too restrictive (some setups expect 775 directories). 
    4820 +# 
    4821 +# Do not use -m 0755 and let people choose whatever they expect by 
    4822 +# setting umask. 
    4823 +# 
    4824 +# We cannot accept any implementation of `mkdir' that recognizes `-p'. 
    4825 +# Some implementations (such as Solaris 8's) are not thread-safe: if a 
    4826 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' 
    4827 +# concurrently, both version can detect that a/ is missing, but only 
    4828 +# one can create it and the other will error out.  Consequently we 
    4829 +# restrict ourselves to GNU make (using the --version option ensures 
    4830 +# this.) 
    4831 +AC_DEFUN([AM_PROG_MKDIR_P], 
    4832 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 
    4833 +  # We used to keeping the `.' as first argument, in order to 
    4834 +  # allow $(mkdir_p) to be used without argument.  As in 
    4835 +  #   $(mkdir_p) $(somedir) 
    4836 +  # where $(somedir) is conditionally defined.  However this is wrong 
    4837 +  # for two reasons: 
    4838 +  #  1. if the package is installed by a user who cannot write `.' 
    4839 +  #     make install will fail, 
    4840 +  #  2. the above comment should most certainly read 
    4841 +  #     $(mkdir_p) $(DESTDIR)$(somedir) 
    4842 +  #     so it does not work when $(somedir) is undefined and 
    4843 +  #     $(DESTDIR) is not. 
    4844 +  #  To support the latter case, we have to write 
    4845 +  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 
    4846 +  #  so the `.' trick is pointless. 
    4847 +  mkdir_p='mkdir -p --' 
    4848 +else 
    4849 +  # On NextStep and OpenStep, the `mkdir' command does not 
    4850 +  # recognize any option.  It will interpret all options as 
    4851 +  # directories to create, and then abort because `.' already 
    4852 +  # exists. 
    4853 +  for d in ./-p ./--version; 
    4854 +  do 
    4855 +    test -d $d && rmdir $d 
    4856 +  done 
    4857 +  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 
    4858 +  if test -f "$ac_aux_dir/mkinstalldirs"; then 
    4859 +    mkdir_p='$(mkinstalldirs)' 
    4860 +  else 
    4861 +    mkdir_p='$(install_sh) -d' 
    4862 +  fi 
    4863 +fi 
    4864 +AC_SUBST([mkdir_p])]) 
    4865 + 
    4866 +# Helper functions for option handling.                     -*- Autoconf -*- 
    4867 + 
    4868 +# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc. 
    4869 +# 
    4870 +# This file is free software; the Free Software Foundation 
    4871 +# gives unlimited permission to copy and/or distribute it, 
    4872 +# with or without modifications, as long as this notice is preserved. 
    4873 + 
    4874 +# serial 3 
    4875 + 
    4876 +# _AM_MANGLE_OPTION(NAME) 
    4877 +# ----------------------- 
    4878 +AC_DEFUN([_AM_MANGLE_OPTION], 
    4879 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 
    4880 + 
    4881 +# _AM_SET_OPTION(NAME) 
    4882 +# ------------------------------ 
    4883 +# Set option NAME.  Presently that only means defining a flag for this option. 
    4884 +AC_DEFUN([_AM_SET_OPTION], 
    4885 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 
    4886 + 
    4887 +# _AM_SET_OPTIONS(OPTIONS) 
    4888 +# ---------------------------------- 
    4889 +# OPTIONS is a space-separated list of Automake options. 
    4890 +AC_DEFUN([_AM_SET_OPTIONS], 
    4891 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 
    4892 + 
    4893 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 
    4894 +# ------------------------------------------- 
    4895 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 
    4896 +AC_DEFUN([_AM_IF_OPTION], 
    4897 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 
    4898 + 
    4899 +# Check to make sure that the build environment is sane.    -*- Autoconf -*- 
    4900 + 
    4901 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 
    4902 +# Free Software Foundation, Inc. 
    4903 +# 
    4904 +# This file is free software; the Free Software Foundation 
    4905 +# gives unlimited permission to copy and/or distribute it, 
    4906 +# with or without modifications, as long as this notice is preserved. 
    4907 + 
    4908 +# serial 4 
    4909 + 
    4910 +# AM_SANITY_CHECK 
    4911 +# --------------- 
    4912 +AC_DEFUN([AM_SANITY_CHECK], 
    4913 +[AC_MSG_CHECKING([whether build environment is sane]) 
    4914 +# Just in case 
    4915 +sleep 1 
    4916 +echo timestamp > conftest.file 
    4917 +# Do `set' in a subshell so we don't clobber the current shell's 
    4918 +# arguments.  Must try -L first in case configure is actually a 
    4919 +# symlink; some systems play weird games with the mod time of symlinks 
    4920 +# (eg FreeBSD returns the mod time of the symlink's containing 
    4921 +# directory). 
    4922 +if ( 
    4923 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 
    4924 +   if test "$[*]" = "X"; then 
    4925 +      # -L didn't work. 
    4926 +      set X `ls -t $srcdir/configure conftest.file` 
    4927 +   fi 
    4928 +   rm -f conftest.file 
    4929 +   if test "$[*]" != "X $srcdir/configure conftest.file" \ 
    4930 +      && test "$[*]" != "X conftest.file $srcdir/configure"; then 
    4931 + 
    4932 +      # If neither matched, then we have a broken ls.  This can happen 
    4933 +      # if, for instance, CONFIG_SHELL is bash and it inherits a 
    4934 +      # broken ls alias from the environment.  This has actually 
    4935 +      # happened.  Such a system could not be considered "sane". 
    4936 +      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken 
    4937 +alias in your environment]) 
    4938 +   fi 
    4939 + 
    4940 +   test "$[2]" = conftest.file 
    4941 +   ) 
    4942 +then 
    4943 +   # Ok. 
    4944 +   : 
    4945 +else 
    4946 +   AC_MSG_ERROR([newly created file is older than distributed files! 
    4947 +Check your system clock]) 
    4948 +fi 
    4949 +AC_MSG_RESULT(yes)]) 
    4950 + 
    4951 +# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc. 
    4952 +# 
    4953 +# This file is free software; the Free Software Foundation 
    4954 +# gives unlimited permission to copy and/or distribute it, 
    4955 +# with or without modifications, as long as this notice is preserved. 
    4956 + 
    4957 +# AM_PROG_INSTALL_STRIP 
    4958 +# --------------------- 
    4959 +# One issue with vendor `install' (even GNU) is that you can't 
    4960 +# specify the program used to strip binaries.  This is especially 
    4961 +# annoying in cross-compiling environments, where the build's strip 
    4962 +# is unlikely to handle the host's binaries. 
    4963 +# Fortunately install-sh will honor a STRIPPROG variable, so we 
    4964 +# always use install-sh in `make install-strip', and initialize 
    4965 +# STRIPPROG with the value of the STRIP variable (set by the user). 
    4966 +AC_DEFUN([AM_PROG_INSTALL_STRIP], 
    4967 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 
    4968 +# Installed binaries are usually stripped using `strip' when the user 
    4969 +# run `make install-strip'.  However `strip' might not be the right 
    4970 +# tool to use in cross-compilation environments, therefore Automake 
    4971 +# will honor the `STRIP' environment variable to overrule this program. 
    4972 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 
    4973 +if test "$cross_compiling" != no; then 
    4974 +  AC_CHECK_TOOL([STRIP], [strip], :) 
    4975 +fi 
    4976 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 
    4977 +AC_SUBST([INSTALL_STRIP_PROGRAM])]) 
    4978 + 
    4979 +# Check how to create a tarball.                            -*- Autoconf -*- 
    4980 + 
    4981 +# Copyright (C) 2004, 2005  Free Software Foundation, Inc. 
    4982 +# 
    4983 +# This file is free software; the Free Software Foundation 
    4984 +# gives unlimited permission to copy and/or distribute it, 
    4985 +# with or without modifications, as long as this notice is preserved. 
    4986 + 
    4987 +# serial 2 
    4988 + 
    4989 +# _AM_PROG_TAR(FORMAT) 
    4990 +# -------------------- 
    4991 +# Check how to create a tarball in format FORMAT. 
    4992 +# FORMAT should be one of `v7', `ustar', or `pax'. 
    4993 +# 
    4994 +# Substitute a variable $(am__tar) that is a command 
    4995 +# writing to stdout a FORMAT-tarball containing the directory 
    4996 +# $tardir. 
    4997 +#     tardir=directory && $(am__tar) > result.tar 
    4998 +# 
    4999 +# Substitute a variable $(am__untar) that extract such 
    5000 +# a tarball read from stdin. 
    5001 +#     $(am__untar) < result.tar 
    5002 +AC_DEFUN([_AM_PROG_TAR], 
    5003 +[# Always define AMTAR for backward compatibility. 
    5004 +AM_MISSING_PROG([AMTAR], [tar]) 
    5005 +m4_if([$1], [v7], 
    5006 +     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], 
    5007 +     [m4_case([$1], [ustar],, [pax],, 
    5008 +              [m4_fatal([Unknown tar format])]) 
    5009 +AC_MSG_CHECKING([how to create a $1 tar archive]) 
    5010 +# Loop over all known methods to create a tar archive until one works. 
    5011 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 
    5012 +_am_tools=${am_cv_prog_tar_$1-$_am_tools} 
    5013 +# Do not fold the above two line into one, because Tru64 sh and 
    5014 +# Solaris sh will not grok spaces in the rhs of `-'. 
    5015 +for _am_tool in $_am_tools 
    5016 +do 
    5017 +  case $_am_tool in 
    5018 +  gnutar) 
    5019 +    for _am_tar in tar gnutar gtar; 
    5020 +    do 
    5021 +      AM_RUN_LOG([$_am_tar --version]) && break 
    5022 +    done 
    5023 +    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 
    5024 +    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 
    5025 +    am__untar="$_am_tar -xf -" 
    5026 +    ;; 
    5027 +  plaintar) 
    5028 +    # Must skip GNU tar: if it does not support --format= it doesn't create 
    5029 +    # ustar tarball either. 
    5030 +    (tar --version) >/dev/null 2>&1 && continue 
    5031 +    am__tar='tar chf - "$$tardir"' 
    5032 +    am__tar_='tar chf - "$tardir"' 
    5033 +    am__untar='tar xf -' 
    5034 +    ;; 
    5035 +  pax) 
    5036 +    am__tar='pax -L -x $1 -w "$$tardir"' 
    5037 +    am__tar_='pax -L -x $1 -w "$tardir"' 
    5038 +    am__untar='pax -r' 
    5039 +    ;; 
    5040 +  cpio) 
    5041 +    am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 
    5042 +    am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 
    5043 +    am__untar='cpio -i -H $1 -d' 
    5044 +    ;; 
    5045 +  none) 
    5046 +    am__tar=false 
    5047 +    am__tar_=false 
    5048 +    am__untar=false 
    5049 +    ;; 
    5050 +  esac 
    5051 + 
    5052 +  # If the value was cached, stop now.  We just wanted to have am__tar 
    5053 +  # and am__untar set. 
    5054 +  test -n "${am_cv_prog_tar_$1}" && break 
    5055 + 
    5056 +  # tar/untar a dummy directory, and stop if the command works 
    5057 +  rm -rf conftest.dir 
    5058 +  mkdir conftest.dir 
    5059 +  echo GrepMe > conftest.dir/file 
    5060 +  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 
    5061 +  rm -rf conftest.dir 
    5062 +  if test -s conftest.tar; then 
    5063 +    AM_RUN_LOG([$am__untar <conftest.tar]) 
    5064 +    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 
    5065 +  fi 
    5066 +done 
    5067 +rm -rf conftest.dir 
    5068 + 
    5069 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 
    5070 +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 
    5071 +AC_SUBST([am__tar]) 
    5072 +AC_SUBST([am__untar]) 
    5073 +]) # _AM_PROG_TAR 
    5074 + 
    5075 Index: linux-atm-2.4.1/configure 
    5076 =================================================================== 
    5077 --- linux-atm-2.4.1.orig/configure      2007-10-20 19:19:18.630690180 +0200 
    5078 +++ linux-atm-2.4.1/configure   2007-10-20 19:19:19.554742840 +0200 
    5079 @@ -1,25 +1,54 @@ 
    5080  #! /bin/sh 
    5081  # Guess values for system-dependent variables and create Makefiles. 
    5082 -# Generated by GNU Autoconf 2.59. 
    5083 +# Generated by GNU Autoconf 2.61. 
    5084  # 
    5085 -# Copyright (C) 2003 Free Software Foundation, Inc. 
    5086 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    5087 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
    5088  # This configure script is free software; the Free Software Foundation 
    5089  # gives unlimited permission to copy, distribute and modify it. 
    5090  ## --------------------- ## 
    5091  ## M4sh Initialization.  ## 
    5092  ## --------------------- ## 
    5093   
    5094 -# Be Bourne compatible 
    5095 +# Be more Bourne compatible 
    5096 +DUALCASE=1; export DUALCASE # for MKS sh 
    5097  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    5098    emulate sh 
    5099    NULLCMD=: 
    5100    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    5101    # is contrary to our usage.  Disable this feature. 
    5102    alias -g '${1+"$@"}'='"$@"' 
    5103 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    5104 -  set -o posix 
    5105 +  setopt NO_GLOB_SUBST 
    5106 +else 
    5107 +  case `(set -o) 2>/dev/null` in 
    5108 +  *posix*) set -o posix ;; 
    5109 +esac 
    5110 + 
    5111 +fi 
    5112 + 
    5113 + 
    5114 + 
    5115 + 
    5116 +# PATH needs CR 
    5117 +# Avoid depending upon Character Ranges. 
    5118 +as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    5119 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    5120 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    5121 +as_cr_digits='0123456789' 
    5122 +as_cr_alnum=$as_cr_Letters$as_cr_digits 
    5123 + 
    5124 +# The user is always right. 
    5125 +if test "${PATH_SEPARATOR+set}" != set; then 
    5126 +  echo "#! /bin/sh" >conf$$.sh 
    5127 +  echo  "exit 0"   >>conf$$.sh 
    5128 +  chmod +x conf$$.sh 
    5129 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    5130 +    PATH_SEPARATOR=';' 
    5131 +  else 
    5132 +    PATH_SEPARATOR=: 
    5133 +  fi 
    5134 +  rm -f conf$$.sh 
    5135  fi 
    5136 -DUALCASE=1; export DUALCASE # for MKS sh 
    5137   
    5138  # Support unset when possible. 
    5139  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    5140 @@ -29,8 +58,43 @@ 
    5141  fi 
    5142   
    5143   
    5144 +# IFS 
    5145 +# We need space, tab and new line, in precisely that order.  Quoting is 
    5146 +# there to prevent editors from complaining about space-tab. 
    5147 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    5148 +# splitting by setting IFS to empty value.) 
    5149 +as_nl=' 
    5150 +' 
    5151 +IFS=" ""       $as_nl" 
    5152 + 
    5153 +# Find who we are.  Look in the path if we contain no directory separator. 
    5154 +case $0 in 
    5155 +  *[\\/]* ) as_myself=$0 ;; 
    5156 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    5157 +for as_dir in $PATH 
    5158 +do 
    5159 +  IFS=$as_save_IFS 
    5160 +  test -z "$as_dir" && as_dir=. 
    5161 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    5162 +done 
    5163 +IFS=$as_save_IFS 
    5164 + 
    5165 +     ;; 
    5166 +esac 
    5167 +# We did not find ourselves, most probably we were run as `sh COMMAND' 
    5168 +# in which case we are not to be found in the path. 
    5169 +if test "x$as_myself" = x; then 
    5170 +  as_myself=$0 
    5171 +fi 
    5172 +if test ! -f "$as_myself"; then 
    5173 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    5174 +  { (exit 1); exit 1; } 
    5175 +fi 
    5176 + 
    5177  # Work around bugs in pre-3.0 UWIN ksh. 
    5178 -$as_unset ENV MAIL MAILPATH 
    5179 +for as_var in ENV MAIL MAILPATH 
    5180 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    5181 +done 
    5182  PS1='$ ' 
    5183  PS2='> ' 
    5184  PS4='+ ' 
    5185 @@ -44,18 +108,19 @@ 
    5186    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    5187      eval $as_var=C; export $as_var 
    5188    else 
    5189 -    $as_unset $as_var 
    5190 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    5191    fi 
    5192  done 
    5193   
    5194  # Required to use basename. 
    5195 -if expr a : '\(a\)' >/dev/null 2>&1; then 
    5196 +if expr a : '\(a\)' >/dev/null 2>&1 && 
    5197 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    5198    as_expr=expr 
    5199  else 
    5200    as_expr=false 
    5201  fi 
    5202   
    5203 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
    5204 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 
    5205    as_basename=basename 
    5206  else 
    5207    as_basename=false 
    5208 @@ -63,157 +128,388 @@ 
    5209   
    5210   
    5211  # Name of the executable. 
    5212 -as_me=`$as_basename "$0" || 
    5213 +as_me=`$as_basename -- "$0" || 
    5214  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    5215          X"$0" : 'X\(//\)$' \| \ 
    5216 -        X"$0" : 'X\(/\)$' \| \ 
    5217 -        .     : '\(.\)' 2>/dev/null || 
    5218 +        X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    5219  echo X/"$0" | 
    5220 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
    5221 -         /^X\/\(\/\/\)$/{ s//\1/; q; } 
    5222 -         /^X\/\(\/\).*/{ s//\1/; q; } 
    5223 -         s/.*/./; q'` 
    5224 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    5225 +           s//\1/ 
    5226 +           q 
    5227 +         } 
    5228 +         /^X\/\(\/\/\)$/{ 
    5229 +           s//\1/ 
    5230 +           q 
    5231 +         } 
    5232 +         /^X\/\(\/\).*/{ 
    5233 +           s//\1/ 
    5234 +           q 
    5235 +         } 
    5236 +         s/.*/./; q'` 
    5237   
    5238 +# CDPATH. 
    5239 +$as_unset CDPATH 
    5240   
    5241 -# PATH needs CR, and LINENO needs CR and PATH. 
    5242 -# Avoid depending upon Character Ranges. 
    5243 -as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    5244 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    5245 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    5246 -as_cr_digits='0123456789' 
    5247 -as_cr_alnum=$as_cr_Letters$as_cr_digits 
    5248   
    5249 -# The user is always right. 
    5250 -if test "${PATH_SEPARATOR+set}" != set; then 
    5251 -  echo "#! /bin/sh" >conf$$.sh 
    5252 -  echo  "exit 0"   >>conf$$.sh 
    5253 -  chmod +x conf$$.sh 
    5254 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    5255 -    PATH_SEPARATOR=';' 
    5256 -  else 
    5257 -    PATH_SEPARATOR=: 
    5258 -  fi 
    5259 -  rm -f conf$$.sh 
    5260 +if test "x$CONFIG_SHELL" = x; then 
    5261 +  if (eval ":") 2>/dev/null; then 
    5262 +  as_have_required=yes 
    5263 +else 
    5264 +  as_have_required=no 
    5265 +fi 
    5266 + 
    5267 +  if test $as_have_required = yes &&    (eval ": 
    5268 +(as_func_return () { 
    5269 +  (exit \$1) 
    5270 +} 
    5271 +as_func_success () { 
    5272 +  as_func_return 0 
    5273 +} 
    5274 +as_func_failure () { 
    5275 +  as_func_return 1 
    5276 +} 
    5277 +as_func_ret_success () { 
    5278 +  return 0 
    5279 +} 
    5280 +as_func_ret_failure () { 
    5281 +  return 1 
    5282 +} 
    5283 + 
    5284 +exitcode=0 
    5285 +if as_func_success; then 
    5286 +  : 
    5287 +else 
    5288 +  exitcode=1 
    5289 +  echo as_func_success failed. 
    5290  fi 
    5291   
    5292 +if as_func_failure; then 
    5293 +  exitcode=1 
    5294 +  echo as_func_failure succeeded. 
    5295 +fi 
    5296   
    5297 -  as_lineno_1=$LINENO 
    5298 -  as_lineno_2=$LINENO 
    5299 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    5300 -  test "x$as_lineno_1" != "x$as_lineno_2" && 
    5301 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
    5302 -  # Find who we are.  Look in the path if we contain no path at all 
    5303 -  # relative or not. 
    5304 -  case $0 in 
    5305 -    *[\\/]* ) as_myself=$0 ;; 
    5306 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    5307 -for as_dir in $PATH 
    5308 -do 
    5309 -  IFS=$as_save_IFS 
    5310 -  test -z "$as_dir" && as_dir=. 
    5311 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    5312 -done 
    5313 +if as_func_ret_success; then 
    5314 +  : 
    5315 +else 
    5316 +  exitcode=1 
    5317 +  echo as_func_ret_success failed. 
    5318 +fi 
    5319   
    5320 -       ;; 
    5321 -  esac 
    5322 -  # We did not find ourselves, most probably we were run as `sh COMMAND' 
    5323 -  # in which case we are not to be found in the path. 
    5324 -  if test "x$as_myself" = x; then 
    5325 -    as_myself=$0 
    5326 -  fi 
    5327 -  if test ! -f "$as_myself"; then 
    5328 -    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 
    5329 -   { (exit 1); exit 1; }; } 
    5330 -  fi 
    5331 -  case $CONFIG_SHELL in 
    5332 -  '') 
    5333 +if as_func_ret_failure; then 
    5334 +  exitcode=1 
    5335 +  echo as_func_ret_failure succeeded. 
    5336 +fi 
    5337 + 
    5338 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    5339 +  : 
    5340 +else 
    5341 +  exitcode=1 
    5342 +  echo positional parameters were not saved. 
    5343 +fi 
    5344 + 
    5345 +test \$exitcode = 0) || { (exit 1); exit 1; } 
    5346 + 
    5347 +( 
    5348 +  as_lineno_1=\$LINENO 
    5349 +  as_lineno_2=\$LINENO 
    5350 +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    5351 +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    5352 +") 2> /dev/null; then 
    5353 +  : 
    5354 +else 
    5355 +  as_candidate_shells= 
    5356      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    5357  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    5358  do 
    5359    IFS=$as_save_IFS 
    5360    test -z "$as_dir" && as_dir=. 
    5361 -  for as_base in sh bash ksh sh5; do 
    5362 -        case $as_dir in 
    5363 +  case $as_dir in 
    5364          /*) 
    5365 -          if ("$as_dir/$as_base" -c ' 
    5366 +          for as_base in sh bash ksh sh5; do 
    5367 +            as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    5368 +          done;; 
    5369 +       esac 
    5370 +done 
    5371 +IFS=$as_save_IFS 
    5372 + 
    5373 + 
    5374 +      for as_shell in $as_candidate_shells $SHELL; do 
    5375 +        # Try only shells that exist, to save several forks. 
    5376 +        if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    5377 +               { ("$as_shell") 2> /dev/null <<\_ASEOF 
    5378 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    5379 +  emulate sh 
    5380 +  NULLCMD=: 
    5381 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    5382 +  # is contrary to our usage.  Disable this feature. 
    5383 +  alias -g '${1+"$@"}'='"$@"' 
    5384 +  setopt NO_GLOB_SUBST 
    5385 +else 
    5386 +  case `(set -o) 2>/dev/null` in 
    5387 +  *posix*) set -o posix ;; 
    5388 +esac 
    5389 + 
    5390 +fi 
    5391 + 
    5392 + 
    5393 +: 
    5394 +_ASEOF 
    5395 +}; then 
    5396 +  CONFIG_SHELL=$as_shell 
    5397 +              as_have_required=yes 
    5398 +              if { "$as_shell" 2> /dev/null <<\_ASEOF 
    5399 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    5400 +  emulate sh 
    5401 +  NULLCMD=: 
    5402 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    5403 +  # is contrary to our usage.  Disable this feature. 
    5404 +  alias -g '${1+"$@"}'='"$@"' 
    5405 +  setopt NO_GLOB_SUBST 
    5406 +else 
    5407 +  case `(set -o) 2>/dev/null` in 
    5408 +  *posix*) set -o posix ;; 
    5409 +esac 
    5410 + 
    5411 +fi 
    5412 + 
    5413 + 
    5414 +: 
    5415 +(as_func_return () { 
    5416 +  (exit $1) 
    5417 +} 
    5418 +as_func_success () { 
    5419 +  as_func_return 0 
    5420 +} 
    5421 +as_func_failure () { 
    5422 +  as_func_return 1 
    5423 +} 
    5424 +as_func_ret_success () { 
    5425 +  return 0 
    5426 +} 
    5427 +as_func_ret_failure () { 
    5428 +  return 1 
    5429 +} 
    5430 + 
    5431 +exitcode=0 
    5432 +if as_func_success; then 
    5433 +  : 
    5434 +else 
    5435 +  exitcode=1 
    5436 +  echo as_func_success failed. 
    5437 +fi 
    5438 + 
    5439 +if as_func_failure; then 
    5440 +  exitcode=1 
    5441 +  echo as_func_failure succeeded. 
    5442 +fi 
    5443 + 
    5444 +if as_func_ret_success; then 
    5445 +  : 
    5446 +else 
    5447 +  exitcode=1 
    5448 +  echo as_func_ret_success failed. 
    5449 +fi 
    5450 + 
    5451 +if as_func_ret_failure; then 
    5452 +  exitcode=1 
    5453 +  echo as_func_ret_failure succeeded. 
    5454 +fi 
    5455 + 
    5456 +if ( set x; as_func_ret_success y && test x = "$1" ); then 
    5457 +  : 
    5458 +else 
    5459 +  exitcode=1 
    5460 +  echo positional parameters were not saved. 
    5461 +fi 
    5462 + 
    5463 +test $exitcode = 0) || { (exit 1); exit 1; } 
    5464 + 
    5465 +( 
    5466    as_lineno_1=$LINENO 
    5467    as_lineno_2=$LINENO 
    5468 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    5469    test "x$as_lineno_1" != "x$as_lineno_2" && 
    5470 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
    5471 -            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
    5472 -            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
    5473 -            CONFIG_SHELL=$as_dir/$as_base 
    5474 -            export CONFIG_SHELL 
    5475 -            exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
    5476 -          fi;; 
    5477 -        esac 
    5478 -       done 
    5479 -done 
    5480 -;; 
    5481 -  esac 
    5482 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    5483 + 
    5484 +_ASEOF 
    5485 +}; then 
    5486 +  break 
    5487 +fi 
    5488 + 
    5489 +fi 
    5490 + 
    5491 +      done 
    5492 + 
    5493 +      if test "x$CONFIG_SHELL" != x; then 
    5494 +  for as_var in BASH_ENV ENV 
    5495 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    5496 +        done 
    5497 +        export CONFIG_SHELL 
    5498 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    5499 +fi 
    5500 + 
    5501 + 
    5502 +    if test $as_have_required = no; then 
    5503 +  echo This script requires a shell more modern than all the 
    5504 +      echo shells that I found on your system.  Please install a 
    5505 +      echo modern shell, or manually run the script under such a 
    5506 +      echo shell if you do have one. 
    5507 +      { (exit 1); exit 1; } 
    5508 +fi 
    5509 + 
    5510 + 
    5511 +fi 
    5512 + 
    5513 +fi 
    5514 + 
    5515 + 
    5516 + 
    5517 +(eval "as_func_return () { 
    5518 +  (exit \$1) 
    5519 +} 
    5520 +as_func_success () { 
    5521 +  as_func_return 0 
    5522 +} 
    5523 +as_func_failure () { 
    5524 +  as_func_return 1 
    5525 +} 
    5526 +as_func_ret_success () { 
    5527 +  return 0 
    5528 +} 
    5529 +as_func_ret_failure () { 
    5530 +  return 1 
    5531 +} 
    5532 + 
    5533 +exitcode=0 
    5534 +if as_func_success; then 
    5535 +  : 
    5536 +else 
    5537 +  exitcode=1 
    5538 +  echo as_func_success failed. 
    5539 +fi 
    5540 + 
    5541 +if as_func_failure; then 
    5542 +  exitcode=1 
    5543 +  echo as_func_failure succeeded. 
    5544 +fi 
    5545 + 
    5546 +if as_func_ret_success; then 
    5547 +  : 
    5548 +else 
    5549 +  exitcode=1 
    5550 +  echo as_func_ret_success failed. 
    5551 +fi 
    5552 + 
    5553 +if as_func_ret_failure; then 
    5554 +  exitcode=1 
    5555 +  echo as_func_ret_failure succeeded. 
    5556 +fi 
    5557 + 
    5558 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    5559 +  : 
    5560 +else 
    5561 +  exitcode=1 
    5562 +  echo positional parameters were not saved. 
    5563 +fi 
    5564 + 
    5565 +test \$exitcode = 0") || { 
    5566 +  echo No shell found that supports shell functions. 
    5567 +  echo Please tell autoconf@gnu.org about your system, 
    5568 +  echo including any error possibly output before this 
    5569 +  echo message 
    5570 +} 
    5571 + 
    5572 + 
    5573 + 
    5574 +  as_lineno_1=$LINENO 
    5575 +  as_lineno_2=$LINENO 
    5576 +  test "x$as_lineno_1" != "x$as_lineno_2" && 
    5577 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    5578   
    5579    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    5580    # uniformly replaced by the line number.  The first 'sed' inserts a 
    5581 -  # line-number line before each line; the second 'sed' does the real 
    5582 -  # work.  The second script uses 'N' to pair each line-number line 
    5583 -  # with the numbered line, and appends trailing '-' during 
    5584 -  # substitution so that $LINENO is not a special case at line end. 
    5585 +  # line-number line after each line using $LINENO; the second 'sed' 
    5586 +  # does the real work.  The second script uses 'N' to pair each 
    5587 +  # line-number line with the line containing $LINENO, and appends 
    5588 +  # trailing '-' during substitution so that $LINENO is not a special 
    5589 +  # case at line end. 
    5590    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    5591 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
    5592 -  sed '=' <$as_myself | 
    5593 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    5594 +  # E. McMahon (1931-1989) for sed's syntax.  :-) 
    5595 +  sed -n ' 
    5596 +    p 
    5597 +    /[$]LINENO/= 
    5598 +  ' <$as_myself | 
    5599      sed ' 
    5600 +      s/[$]LINENO.*/&-/ 
    5601 +      t lineno 
    5602 +      b 
    5603 +      :lineno 
    5604        N 
    5605 -      s,$,-, 
    5606 -      : loop 
    5607 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
    5608 +      :loop 
    5609 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    5610        t loop 
    5611 -      s,-$,, 
    5612 -      s,^['$as_cr_digits']*\n,, 
    5613 +      s/-\n.*// 
    5614      ' >$as_me.lineno && 
    5615 -  chmod +x $as_me.lineno || 
    5616 +  chmod +x "$as_me.lineno" || 
    5617      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    5618     { (exit 1); exit 1; }; } 
    5619   
    5620    # Don't try to exec as it changes $[0], causing all sort of problems 
    5621    # (the dirname of $[0] is not the place where we might find the 
    5622 -  # original and so on.  Autoconf is especially sensible to this). 
    5623 -  . ./$as_me.lineno 
    5624 +  # original and so on.  Autoconf is especially sensitive to this). 
    5625 +  . "./$as_me.lineno" 
    5626    # Exit status is that of the last command. 
    5627    exit 
    5628  } 
    5629   
    5630   
    5631 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
    5632 -  *c*,-n*) ECHO_N= ECHO_C=' 
    5633 -' ECHO_T='     ' ;; 
    5634 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
    5635 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
    5636 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    5637 +  as_dirname=dirname 
    5638 +else 
    5639 +  as_dirname=false 
    5640 +fi 
    5641 + 
    5642 +ECHO_C= ECHO_N= ECHO_T= 
    5643 +case `echo -n x` in 
    5644 +-n*) 
    5645 +  case `echo 'x\c'` in 
    5646 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character. 
    5647 +  *)   ECHO_C='\c';; 
    5648 +  esac;; 
    5649 +*) 
    5650 +  ECHO_N='-n';; 
    5651  esac 
    5652   
    5653 -if expr a : '\(a\)' >/dev/null 2>&1; then 
    5654 +if expr a : '\(a\)' >/dev/null 2>&1 && 
    5655 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    5656    as_expr=expr 
    5657  else 
    5658    as_expr=false 
    5659  fi 
    5660   
    5661  rm -f conf$$ conf$$.exe conf$$.file 
    5662 +if test -d conf$$.dir; then 
    5663 +  rm -f conf$$.dir/conf$$.file 
    5664 +else 
    5665 +  rm -f conf$$.dir 
    5666 +  mkdir conf$$.dir 
    5667 +fi 
    5668  echo >conf$$.file 
    5669  if ln -s conf$$.file conf$$ 2>/dev/null; then 
    5670 -  # We could just check for DJGPP; but this test a) works b) is more generic 
    5671 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 
    5672 -  if test -f conf$$.exe; then 
    5673 -    # Don't use ln at all; we don't have any links 
    5674 +  as_ln_s='ln -s' 
    5675 +  # ... but there are two gotchas: 
    5676 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    5677 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    5678 +  # In both cases, we have to default to `cp -p'. 
    5679 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    5680      as_ln_s='cp -p' 
    5681 -  else 
    5682 -    as_ln_s='ln -s' 
    5683 -  fi 
    5684  elif ln conf$$.file conf$$ 2>/dev/null; then 
    5685    as_ln_s=ln 
    5686  else 
    5687    as_ln_s='cp -p' 
    5688  fi 
    5689 -rm -f conf$$ conf$$.exe conf$$.file 
    5690 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
    5691 +rmdir conf$$.dir 2>/dev/null 
    5692   
    5693  if mkdir -p . 2>/dev/null; then 
    5694    as_mkdir_p=: 
    5695 @@ -222,7 +518,28 @@ 
    5696    as_mkdir_p=false 
    5697  fi 
    5698   
    5699 -as_executable_p="test -f" 
    5700 +if test -x / >/dev/null 2>&1; then 
    5701 +  as_test_x='test -x' 
    5702 +else 
    5703 +  if ls -dL / >/dev/null 2>&1; then 
    5704 +    as_ls_L_option=L 
    5705 +  else 
    5706 +    as_ls_L_option= 
    5707 +  fi 
    5708 +  as_test_x=' 
    5709 +    eval sh -c '\'' 
    5710 +      if test -d "$1"; then 
    5711 +        test -d "$1/."; 
    5712 +      else 
    5713 +       case $1 in 
    5714 +        -*)set "./$1";; 
    5715 +       esac; 
    5716 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    5717 +       ???[sx]*):;;*)false;;esac;fi 
    5718 +    '\'' sh 
    5719 +  ' 
    5720 +fi 
    5721 +as_executable_p=$as_test_x 
    5722   
    5723  # Sed expression to map a string onto a valid CPP name. 
    5724  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    5725 @@ -231,26 +548,6 @@ 
    5726  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    5727   
    5728   
    5729 -# IFS 
    5730 -# We need space, tab and new line, in precisely that order. 
    5731 -as_nl=' 
    5732 -' 
    5733 -IFS="  $as_nl" 
    5734 - 
    5735 -# CDPATH. 
    5736 -$as_unset CDPATH 
    5737 - 
    5738 - 
    5739 -# Find the correct PATH separator.  Usually this is `:', but 
    5740 -# DJGPP uses `;' like DOS. 
    5741 -if test "X${PATH_SEPARATOR+set}" != Xset; then 
    5742 -  UNAME=${UNAME-`uname 2>/dev/null`} 
    5743 -  case X$UNAME in 
    5744 -    *-DOS) lt_cv_sys_path_separator=';' ;; 
    5745 -    *)     lt_cv_sys_path_separator=':' ;; 
    5746 -  esac 
    5747 -  PATH_SEPARATOR=$lt_cv_sys_path_separator 
    5748 -fi 
    5749   
    5750   
    5751  # Check that we are running under the correct shell. 
    5752 @@ -270,7 +567,7 @@ 
    5753  elif test "X$1" = X--fallback-echo; then 
    5754    # Avoid inline document here, it may be left over 
    5755    : 
    5756 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then 
    5757 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 
    5758    # Yippee, $echo works! 
    5759    : 
    5760  else 
    5761 @@ -282,22 +579,22 @@ 
    5762    # used as fallback echo 
    5763    shift 
    5764    cat <<EOF 
    5765 - 
    5766 +$* 
    5767  EOF 
    5768    exit 0 
    5769  fi 
    5770   
    5771  # The HP-UX ksh and POSIX shell print the target directory to stdout 
    5772  # if CDPATH is set. 
    5773 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
    5774 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    5775   
    5776  if test -z "$ECHO"; then 
    5777  if test "X${echo_test_string+set}" != Xset; then 
    5778  # find a string as large as possible, as long as the shell can cope with it 
    5779    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 
    5780      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
    5781 -    if (echo_test_string="`eval $cmd`") 2>/dev/null && 
    5782 -       echo_test_string="`eval $cmd`" && 
    5783 +    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
    5784 +       echo_test_string=`eval $cmd` && 
    5785         (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
    5786      then 
    5787        break 
    5788 @@ -316,8 +613,9 @@ 
    5789    # 
    5790    # So, first we look for a working echo in the user's PATH. 
    5791   
    5792 -  IFS="${IFS=  }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    5793 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    5794    for dir in $PATH /usr/ucb; do 
    5795 +    IFS="$lt_save_ifs" 
    5796      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
    5797         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
    5798         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 
    5799 @@ -326,7 +624,7 @@ 
    5800        break 
    5801      fi 
    5802    done 
    5803 -  IFS="$save_ifs" 
    5804 +  IFS="$lt_save_ifs" 
    5805   
    5806    if test "X$echo" = Xecho; then 
    5807      # We didn't find a better echo, so look for alternatives. 
    5808 @@ -400,29 +698,31 @@ 
    5809   
    5810   
    5811   
    5812 + 
    5813 +tagnames=${tagnames+${tagnames},}CXX 
    5814 + 
    5815 +tagnames=${tagnames+${tagnames},}F77 
    5816 + 
    5817 +exec 7<&0 </dev/null 6>&1 
    5818 + 
    5819  # Name of the host. 
    5820  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
    5821  # so uname gets run too. 
    5822  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 
    5823   
    5824 -exec 6>&1 
    5825 - 
    5826  # 
    5827  # Initializations. 
    5828  # 
    5829  ac_default_prefix=/usr/local 
    5830 +ac_clean_files= 
    5831  ac_config_libobj_dir=. 
    5832 +LIBOBJS= 
    5833  cross_compiling=no 
    5834  subdirs= 
    5835  MFLAGS= 
    5836  MAKEFLAGS= 
    5837  SHELL=${CONFIG_SHELL-/bin/sh} 
    5838   
    5839 -# Maximum number of lines to put in a shell here document. 
    5840 -# This variable seems obsolete.  It should probably be removed, and 
    5841 -# only ac_max_sed_lines should be used. 
    5842 -: ${ac_max_here_lines=38} 
    5843 - 
    5844  # Identity of this package. 
    5845  PACKAGE_NAME= 
    5846  PACKAGE_TARNAME= 
    5847 @@ -434,42 +734,174 @@ 
    5848  # Factoring default headers for most tests. 
    5849  ac_includes_default="\ 
    5850  #include <stdio.h> 
    5851 -#if HAVE_SYS_TYPES_H 
    5852 +#ifdef HAVE_SYS_TYPES_H 
    5853  # include <sys/types.h> 
    5854  #endif 
    5855 -#if HAVE_SYS_STAT_H 
    5856 +#ifdef HAVE_SYS_STAT_H 
    5857  # include <sys/stat.h> 
    5858  #endif 
    5859 -#if STDC_HEADERS 
    5860 +#ifdef STDC_HEADERS 
    5861  # include <stdlib.h> 
    5862  # include <stddef.h> 
    5863  #else 
    5864 -# if HAVE_STDLIB_H 
    5865 +# ifdef HAVE_STDLIB_H 
    5866  #  include <stdlib.h> 
    5867  # endif 
    5868  #endif 
    5869 -#if HAVE_STRING_H 
    5870 -# if !STDC_HEADERS && HAVE_MEMORY_H 
    5871 +#ifdef HAVE_STRING_H 
    5872 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 
    5873  #  include <memory.h> 
    5874  # endif 
    5875  # include <string.h> 
    5876  #endif 
    5877 -#if HAVE_STRINGS_H 
    5878 +#ifdef HAVE_STRINGS_H 
    5879  # include <strings.h> 
    5880  #endif 
    5881 -#if HAVE_INTTYPES_H 
    5882 +#ifdef HAVE_INTTYPES_H 
    5883  # include <inttypes.h> 
    5884 -#else 
    5885 -# if HAVE_STDINT_H 
    5886 -#  include <stdint.h> 
    5887 -# endif 
    5888  #endif 
    5889 -#if HAVE_UNISTD_H 
    5890 +#ifdef HAVE_STDINT_H 
    5891 +# include <stdint.h> 
    5892 +#endif 
    5893 +#ifdef HAVE_UNISTD_H 
    5894  # include <unistd.h> 
    5895  #endif" 
    5896   
    5897 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE LIBVER_CURRENT LIBVER_REVISION LIBVER_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL LIBTOOL_DEPS PERL LIBOBJS LTLIBOBJS' 
    5898 +ac_subst_vars='SHELL 
    5899 +PATH_SEPARATOR 
    5900 +PACKAGE_NAME 
    5901 +PACKAGE_TARNAME 
    5902 +PACKAGE_VERSION 
    5903 +PACKAGE_STRING 
    5904 +PACKAGE_BUGREPORT 
    5905 +exec_prefix 
    5906 +prefix 
    5907 +program_transform_name 
    5908 +bindir 
    5909 +sbindir 
    5910 +libexecdir 
    5911 +datarootdir 
    5912 +datadir 
    5913 +sysconfdir 
    5914 +sharedstatedir 
    5915 +localstatedir 
    5916 +includedir 
    5917 +oldincludedir 
    5918 +docdir 
    5919 +infodir 
    5920 +htmldir 
    5921 +dvidir 
    5922 +pdfdir 
    5923 +psdir 
    5924 +libdir 
    5925 +localedir 
    5926 +mandir 
    5927 +DEFS 
    5928 +ECHO_C 
    5929 +ECHO_N 
    5930 +ECHO_T 
    5931 +LIBS 
    5932 +build_alias 
    5933 +host_alias 
    5934 +target_alias 
    5935 +build 
    5936 +build_cpu 
    5937 +build_vendor 
    5938 +build_os 
    5939 +host 
    5940 +host_cpu 
    5941 +host_vendor 
    5942 +host_os 
    5943 +target 
    5944 +target_cpu 
    5945 +target_vendor 
    5946 +target_os 
    5947 +INSTALL_PROGRAM 
    5948 +INSTALL_SCRIPT 
    5949 +INSTALL_DATA 
    5950 +CYGPATH_W 
    5951 +PACKAGE 
    5952 +VERSION 
    5953 +ACLOCAL 
    5954 +AUTOCONF 
    5955 +AUTOMAKE 
    5956 +AUTOHEADER 
    5957 +MAKEINFO 
    5958 +install_sh 
    5959 +STRIP 
    5960 +INSTALL_STRIP_PROGRAM 
    5961 +mkdir_p 
    5962 +AWK 
    5963 +SET_MAKE 
    5964 +am__leading_dot 
    5965 +AMTAR 
    5966 +am__tar 
    5967 +am__untar 
    5968 +LIBVER_CURRENT 
    5969 +LIBVER_REVISION 
    5970 +LIBVER_AGE 
    5971 +CC 
    5972 +CFLAGS 
    5973 +LDFLAGS 
    5974 +CPPFLAGS 
    5975 +ac_ct_CC 
    5976 +EXEEXT 
    5977 +OBJEXT 
    5978 +DEPDIR 
    5979 +am__include 
    5980 +am__quote 
    5981 +AMDEP_TRUE 
    5982 +AMDEP_FALSE 
    5983 +AMDEPBACKSLASH 
    5984 +CCDEPMODE 
    5985 +am__fastdepCC_TRUE 
    5986 +am__fastdepCC_FALSE 
    5987 +LEX 
    5988 +LEX_OUTPUT_ROOT 
    5989 +LEXLIB 
    5990 +YACC 
    5991 +YFLAGS 
    5992 +GREP 
    5993 +EGREP 
    5994 +LN_S 
    5995 +ECHO 
    5996 +AR 
    5997 +RANLIB 
    5998 +CPP 
    5999 +CXX 
    6000 +CXXFLAGS 
    6001 +ac_ct_CXX 
    6002 +CXXDEPMODE 
    6003 +am__fastdepCXX_TRUE 
    6004 +am__fastdepCXX_FALSE 
    6005 +CXXCPP 
    6006 +F77 
    6007 +FFLAGS 
    6008 +ac_ct_F77 
    6009 +LIBTOOL 
    6010 +LIBTOOL_DEPS 
    6011 +PERL 
    6012 +LIBOBJS 
    6013 +LTLIBOBJS' 
    6014  ac_subst_files='' 
    6015 +      ac_precious_vars='build_alias 
    6016 +host_alias 
    6017 +target_alias 
    6018 +CC 
    6019 +CFLAGS 
    6020 +LDFLAGS 
    6021 +LIBS 
    6022 +CPPFLAGS 
    6023 +YACC 
    6024 +YFLAGS 
    6025 +CPP 
    6026 +CXX 
    6027 +CXXFLAGS 
    6028 +CCC 
    6029 +CXXCPP 
    6030 +F77 
    6031 +FFLAGS' 
    6032 + 
    6033   
    6034  # Initialize some variables set by options. 
    6035  ac_init_help= 
    6036 @@ -496,34 +928,48 @@ 
    6037  # and all the variables that are supposed to be based on exec_prefix 
    6038  # by default will actually change. 
    6039  # Use braces instead of parens because sh, perl, etc. also accept them. 
    6040 +# (The list follows the same order as the GNU Coding Standards.) 
    6041  bindir='${exec_prefix}/bin' 
    6042  sbindir='${exec_prefix}/sbin' 
    6043  libexecdir='${exec_prefix}/libexec' 
    6044 -datadir='${prefix}/share' 
    6045 +datarootdir='${prefix}/share' 
    6046 +datadir='${datarootdir}' 
    6047  sysconfdir='${prefix}/etc' 
    6048  sharedstatedir='${prefix}/com' 
    6049  localstatedir='${prefix}/var' 
    6050 -libdir='${exec_prefix}/lib' 
    6051  includedir='${prefix}/include' 
    6052  oldincludedir='/usr/include' 
    6053 -infodir='${prefix}/info' 
    6054 -mandir='${prefix}/man' 
    6055 +docdir='${datarootdir}/doc/${PACKAGE}' 
    6056 +infodir='${datarootdir}/info' 
    6057 +htmldir='${docdir}' 
    6058 +dvidir='${docdir}' 
    6059 +pdfdir='${docdir}' 
    6060 +psdir='${docdir}' 
    6061 +libdir='${exec_prefix}/lib' 
    6062 +localedir='${datarootdir}/locale' 
    6063 +mandir='${datarootdir}/man' 
    6064   
    6065  ac_prev= 
    6066 +ac_dashdash= 
    6067  for ac_option 
    6068  do 
    6069    # If the previous option needs an argument, assign it. 
    6070    if test -n "$ac_prev"; then 
    6071 -    eval "$ac_prev=\$ac_option" 
    6072 +    eval $ac_prev=\$ac_option 
    6073      ac_prev= 
    6074      continue 
    6075    fi 
    6076   
    6077 -  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 
    6078 +  case $ac_option in 
    6079 +  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
    6080 +  *)   ac_optarg=yes ;; 
    6081 +  esac 
    6082   
    6083    # Accept the important Cygnus configure options, so we can diagnose typos. 
    6084   
    6085 -  case $ac_option in 
    6086 +  case $ac_dashdash$ac_option in 
    6087 +  --) 
    6088 +    ac_dashdash=yes ;; 
    6089   
    6090    -bindir | --bindir | --bindi | --bind | --bin | --bi) 
    6091      ac_prev=bindir ;; 
    6092 @@ -545,33 +991,45 @@ 
    6093    --config-cache | -C) 
    6094      cache_file=config.cache ;; 
    6095   
    6096 -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 
    6097 +  -datadir | --datadir | --datadi | --datad) 
    6098      ac_prev=datadir ;; 
    6099 -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 
    6100 -  | --da=*) 
    6101 +  -datadir=* | --datadir=* | --datadi=* | --datad=*) 
    6102      datadir=$ac_optarg ;; 
    6103   
    6104 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 
    6105 +  | --dataroo | --dataro | --datar) 
    6106 +    ac_prev=datarootdir ;; 
    6107 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 
    6108 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 
    6109 +    datarootdir=$ac_optarg ;; 
    6110 + 
    6111    -disable-* | --disable-*) 
    6112      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    6113      # Reject names that are not valid shell variable names. 
    6114 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 
    6115 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    6116        { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    6117     { (exit 1); exit 1; }; } 
    6118 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'` 
    6119 -    eval "enable_$ac_feature=no" ;; 
    6120 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    6121 +    eval enable_$ac_feature=no ;; 
    6122 + 
    6123 +  -docdir | --docdir | --docdi | --doc | --do) 
    6124 +    ac_prev=docdir ;; 
    6125 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 
    6126 +    docdir=$ac_optarg ;; 
    6127 + 
    6128 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 
    6129 +    ac_prev=dvidir ;; 
    6130 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 
    6131 +    dvidir=$ac_optarg ;; 
    6132   
    6133    -enable-* | --enable-*) 
    6134      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    6135      # Reject names that are not valid shell variable names. 
    6136 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 
    6137 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    6138        { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    6139     { (exit 1); exit 1; }; } 
    6140 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'` 
    6141 -    case $ac_option in 
    6142 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
    6143 -      *) ac_optarg=yes ;; 
    6144 -    esac 
    6145 -    eval "enable_$ac_feature='$ac_optarg'" ;; 
    6146 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    6147 +    eval enable_$ac_feature=\$ac_optarg ;; 
    6148   
    6149    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
    6150    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 
    6151 @@ -598,6 +1056,12 @@ 
    6152    -host=* | --host=* | --hos=* | --ho=*) 
    6153      host_alias=$ac_optarg ;; 
    6154   
    6155 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 
    6156 +    ac_prev=htmldir ;; 
    6157 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 
    6158 +  | --ht=*) 
    6159 +    htmldir=$ac_optarg ;; 
    6160 + 
    6161    -includedir | --includedir | --includedi | --included | --include \ 
    6162    | --includ | --inclu | --incl | --inc) 
    6163      ac_prev=includedir ;; 
    6164 @@ -622,13 +1086,16 @@ 
    6165    | --libexe=* | --libex=* | --libe=*) 
    6166      libexecdir=$ac_optarg ;; 
    6167   
    6168 +  -localedir | --localedir | --localedi | --localed | --locale) 
    6169 +    ac_prev=localedir ;; 
    6170 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 
    6171 +    localedir=$ac_optarg ;; 
    6172 + 
    6173    -localstatedir | --localstatedir | --localstatedi | --localstated \ 
    6174 -  | --localstate | --localstat | --localsta | --localst \ 
    6175 -  | --locals | --local | --loca | --loc | --lo) 
    6176 +  | --localstate | --localstat | --localsta | --localst | --locals) 
    6177      ac_prev=localstatedir ;; 
    6178    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 
    6179 -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 
    6180 -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 
    6181 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 
    6182      localstatedir=$ac_optarg ;; 
    6183   
    6184    -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 
    6185 @@ -693,6 +1160,16 @@ 
    6186    | --progr-tra=* | --program-tr=* | --program-t=*) 
    6187      program_transform_name=$ac_optarg ;; 
    6188   
    6189 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 
    6190 +    ac_prev=pdfdir ;; 
    6191 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 
    6192 +    pdfdir=$ac_optarg ;; 
    6193 + 
    6194 +  -psdir | --psdir | --psdi | --psd | --ps) 
    6195 +    ac_prev=psdir ;; 
    6196 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 
    6197 +    psdir=$ac_optarg ;; 
    6198 + 
    6199    -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    6200    | -silent | --silent | --silen | --sile | --sil) 
    6201      silent=yes ;; 
    6202 @@ -745,24 +1222,20 @@ 
    6203    -with-* | --with-*) 
    6204      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    6205      # Reject names that are not valid shell variable names. 
    6206 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 
    6207 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    6208        { echo "$as_me: error: invalid package name: $ac_package" >&2 
    6209     { (exit 1); exit 1; }; } 
    6210 -    ac_package=`echo $ac_package| sed 's/-/_/g'` 
    6211 -    case $ac_option in 
    6212 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
    6213 -      *) ac_optarg=yes ;; 
    6214 -    esac 
    6215 -    eval "with_$ac_package='$ac_optarg'" ;; 
    6216 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    6217 +    eval with_$ac_package=\$ac_optarg ;; 
    6218   
    6219    -without-* | --without-*) 
    6220      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    6221      # Reject names that are not valid shell variable names. 
    6222 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 
    6223 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    6224        { echo "$as_me: error: invalid package name: $ac_package" >&2 
    6225     { (exit 1); exit 1; }; } 
    6226 -    ac_package=`echo $ac_package | sed 's/-/_/g'` 
    6227 -    eval "with_$ac_package=no" ;; 
    6228 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    6229 +    eval with_$ac_package=no ;; 
    6230   
    6231    --x) 
    6232      # Obsolete; use --with-x. 
    6233 @@ -793,8 +1266,7 @@ 
    6234      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    6235        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    6236     { (exit 1); exit 1; }; } 
    6237 -    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 
    6238 -    eval "$ac_envvar='$ac_optarg'" 
    6239 +    eval $ac_envvar=\$ac_optarg 
    6240      export $ac_envvar ;; 
    6241   
    6242    *) 
    6243 @@ -814,27 +1286,19 @@ 
    6244     { (exit 1); exit 1; }; } 
    6245  fi 
    6246   
    6247 -# Be sure to have absolute paths. 
    6248 -for ac_var in exec_prefix prefix 
    6249 +# Be sure to have absolute directory names. 
    6250 +for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    6251 +               datadir sysconfdir sharedstatedir localstatedir includedir \ 
    6252 +               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 
    6253 +               libdir localedir mandir 
    6254  do 
    6255 -  eval ac_val=$`echo $ac_var` 
    6256 +  eval ac_val=\$$ac_var 
    6257    case $ac_val in 
    6258 -    [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 
    6259 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    6260 -   { (exit 1); exit 1; }; };; 
    6261 -  esac 
    6262 -done 
    6263 - 
    6264 -# Be sure to have absolute paths. 
    6265 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 
    6266 -             localstatedir libdir includedir oldincludedir infodir mandir 
    6267 -do 
    6268 -  eval ac_val=$`echo $ac_var` 
    6269 -  case $ac_val in 
    6270 -    [\\/$]* | ?:[\\/]* ) ;; 
    6271 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    6272 -   { (exit 1); exit 1; }; };; 
    6273 +    [\\/$]* | ?:[\\/]* )  continue;; 
    6274 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    6275    esac 
    6276 +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    6277 +   { (exit 1); exit 1; }; } 
    6278  done 
    6279   
    6280  # There might be people who depend on the old broken behavior: `$host' 
    6281 @@ -861,74 +1325,76 @@ 
    6282  test "$silent" = yes && exec 6>/dev/null 
    6283   
    6284   
    6285 +ac_pwd=`pwd` && test -n "$ac_pwd" && 
    6286 +ac_ls_di=`ls -di .` && 
    6287 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    6288 +  { echo "$as_me: error: Working directory cannot be determined" >&2 
    6289 +   { (exit 1); exit 1; }; } 
    6290 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    6291 +  { echo "$as_me: error: pwd does not report name of working directory" >&2 
    6292 +   { (exit 1); exit 1; }; } 
    6293 + 
    6294 + 
    6295  # Find the source files, if location was not specified. 
    6296  if test -z "$srcdir"; then 
    6297    ac_srcdir_defaulted=yes 
    6298 -  # Try the directory containing this script, then its parent. 
    6299 -  ac_confdir=`(dirname "$0") 2>/dev/null || 
    6300 +  # Try the directory containing this script, then the parent directory. 
    6301 +  ac_confdir=`$as_dirname -- "$0" || 
    6302  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    6303          X"$0" : 'X\(//\)[^/]' \| \ 
    6304          X"$0" : 'X\(//\)$' \| \ 
    6305 -        X"$0" : 'X\(/\)' \| \ 
    6306 -        .     : '\(.\)' 2>/dev/null || 
    6307 +        X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    6308  echo X"$0" | 
    6309 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
    6310 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
    6311 -         /^X\(\/\/\)$/{ s//\1/; q; } 
    6312 -         /^X\(\/\).*/{ s//\1/; q; } 
    6313 -         s/.*/./; q'` 
    6314 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    6315 +           s//\1/ 
    6316 +           q 
    6317 +         } 
    6318 +         /^X\(\/\/\)[^/].*/{ 
    6319 +           s//\1/ 
    6320 +           q 
    6321 +         } 
    6322 +         /^X\(\/\/\)$/{ 
    6323 +           s//\1/ 
    6324 +           q 
    6325 +         } 
    6326 +         /^X\(\/\).*/{ 
    6327 +           s//\1/ 
    6328 +           q 
    6329 +         } 
    6330 +         s/.*/./; q'` 
    6331    srcdir=$ac_confdir 
    6332 -  if test ! -r $srcdir/$ac_unique_file; then 
    6333 +  if test ! -r "$srcdir/$ac_unique_file"; then 
    6334      srcdir=.. 
    6335    fi 
    6336  else 
    6337    ac_srcdir_defaulted=no 
    6338  fi 
    6339 -if test ! -r $srcdir/$ac_unique_file; then 
    6340 -  if test "$ac_srcdir_defaulted" = yes; then 
    6341 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
    6342 -   { (exit 1); exit 1; }; } 
    6343 -  else 
    6344 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    6345 +if test ! -r "$srcdir/$ac_unique_file"; then 
    6346 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    6347 +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    6348     { (exit 1); exit 1; }; } 
    6349 -  fi 
    6350  fi 
    6351 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 
    6352 -  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 
    6353 -   { (exit 1); exit 1; }; } 
    6354 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
    6355 -ac_env_build_alias_set=${build_alias+set} 
    6356 -ac_env_build_alias_value=$build_alias 
    6357 -ac_cv_env_build_alias_set=${build_alias+set} 
    6358 -ac_cv_env_build_alias_value=$build_alias 
    6359 -ac_env_host_alias_set=${host_alias+set} 
    6360 -ac_env_host_alias_value=$host_alias 
    6361 -ac_cv_env_host_alias_set=${host_alias+set} 
    6362 -ac_cv_env_host_alias_value=$host_alias 
    6363 -ac_env_target_alias_set=${target_alias+set} 
    6364 -ac_env_target_alias_value=$target_alias 
    6365 -ac_cv_env_target_alias_set=${target_alias+set} 
    6366 -ac_cv_env_target_alias_value=$target_alias 
    6367 -ac_env_CC_set=${CC+set} 
    6368 -ac_env_CC_value=$CC 
    6369 -ac_cv_env_CC_set=${CC+set} 
    6370 -ac_cv_env_CC_value=$CC 
    6371 -ac_env_CFLAGS_set=${CFLAGS+set} 
    6372 -ac_env_CFLAGS_value=$CFLAGS 
    6373 -ac_cv_env_CFLAGS_set=${CFLAGS+set} 
    6374 -ac_cv_env_CFLAGS_value=$CFLAGS 
    6375 -ac_env_LDFLAGS_set=${LDFLAGS+set} 
    6376 -ac_env_LDFLAGS_value=$LDFLAGS 
    6377 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 
    6378 -ac_cv_env_LDFLAGS_value=$LDFLAGS 
    6379 -ac_env_CPPFLAGS_set=${CPPFLAGS+set} 
    6380 -ac_env_CPPFLAGS_value=$CPPFLAGS 
    6381 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 
    6382 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS 
    6383 -ac_env_CPP_set=${CPP+set} 
    6384 -ac_env_CPP_value=$CPP 
    6385 -ac_cv_env_CPP_set=${CPP+set} 
    6386 -ac_cv_env_CPP_value=$CPP 
    6387 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    6388 +ac_abs_confdir=`( 
    6389 +       cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    6390 +   { (exit 1); exit 1; }; } 
    6391 +       pwd)` 
    6392 +# When building in place, set srcdir=. 
    6393 +if test "$ac_abs_confdir" = "$ac_pwd"; then 
    6394 +  srcdir=. 
    6395 +fi 
    6396 +# Remove unnecessary trailing slashes from srcdir. 
    6397 +# Double slashes in file names in object file debugging info 
    6398 +# mess up M-x gdb in Emacs. 
    6399 +case $srcdir in 
    6400 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 
    6401 +esac 
    6402 +for ac_var in $ac_precious_vars; do 
    6403 +  eval ac_env_${ac_var}_set=\${${ac_var}+set} 
    6404 +  eval ac_env_${ac_var}_value=\$${ac_var} 
    6405 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 
    6406 +  eval ac_cv_env_${ac_var}_value=\$${ac_var} 
    6407 +done 
    6408   
    6409  # 
    6410  # Report the --help message. 
    6411 @@ -957,9 +1423,6 @@ 
    6412    -n, --no-create         do not create output files 
    6413        --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
    6414   
    6415 -_ACEOF 
    6416 - 
    6417 -  cat <<_ACEOF 
    6418  Installation directories: 
    6419    --prefix=PREFIX         install architecture-independent files in PREFIX 
    6420                           [$ac_default_prefix] 
    6421 @@ -977,15 +1440,22 @@ 
    6422    --bindir=DIR           user executables [EPREFIX/bin] 
    6423    --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    6424    --libexecdir=DIR       program executables [EPREFIX/libexec] 
    6425 -  --datadir=DIR          read-only architecture-independent data [PREFIX/share] 
    6426    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    6427    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    6428    --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    6429    --libdir=DIR           object code libraries [EPREFIX/lib] 
    6430    --includedir=DIR       C header files [PREFIX/include] 
    6431    --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    6432 -  --infodir=DIR          info documentation [PREFIX/info] 
    6433 -  --mandir=DIR           man documentation [PREFIX/man] 
    6434 +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    6435 +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    6436 +  --infodir=DIR          info documentation [DATAROOTDIR/info] 
    6437 +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    6438 +  --mandir=DIR           man documentation [DATAROOTDIR/man] 
    6439 +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE] 
    6440 +  --htmldir=DIR          html documentation [DOCDIR] 
    6441 +  --dvidir=DIR           dvi documentation [DOCDIR] 
    6442 +  --pdfdir=DIR           pdf documentation [DOCDIR] 
    6443 +  --psdir=DIR            ps documentation [DOCDIR] 
    6444  _ACEOF 
    6445   
    6446    cat <<\_ACEOF 
    6447 @@ -1009,9 +1479,12 @@ 
    6448  Optional Features: 
    6449    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    6450    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
    6451 -  --enable-shared=PKGS  build shared libraries default=yes 
    6452 -  --enable-static=PKGS  build static libraries default=yes 
    6453 -  --enable-fast-install=PKGS  optimize for fast installation default=yes 
    6454 +  --disable-dependency-tracking  speeds up one-time build 
    6455 +  --enable-dependency-tracking   do not reject slow dependency extractors 
    6456 +  --enable-shared[=PKGS]  build shared libraries [default=yes] 
    6457 +  --enable-static[=PKGS]  build static libraries [default=yes] 
    6458 +  --enable-fast-install[=PKGS] 
    6459 +                          optimize for fast installation [default=yes] 
    6460    --disable-libtool-lock  avoid locking (might break parallel builds) 
    6461    --enable-allow_uni30    Allow UNI 3.0 backwards-compatible extensions (if using UNI 3.1) 
    6462    --enable-q2963_1        Enable peak cell rate modification as specified in Q.2963.1 (if using UNI 4.0) 
    6463 @@ -1023,8 +1496,10 @@ 
    6464  Optional Packages: 
    6465    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
    6466    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
    6467 -  --with-gnu-ld           assume the C compiler uses GNU ld default=no 
    6468 -  --with-pic              try to use only PIC/non-PIC objects default=use both 
    6469 +  --with-gnu-ld           assume the C compiler uses GNU ld [default=no] 
    6470 +  --with-pic              try to use only PIC/non-PIC objects [default=use 
    6471 +                          both] 
    6472 +  --with-tags[=TAGS]      include additional configurations [automatic] 
    6473    --with-uni=VERSION      UNI version to use (3.0,3.1,4.0) default=dynamic 
    6474   
    6475  Some influential environment variables: 
    6476 @@ -1032,126 +1507,105 @@ 
    6477    CFLAGS      C compiler flags 
    6478    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
    6479                nonstandard directory <lib dir> 
    6480 -  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have 
    6481 -              headers in a nonstandard directory <include dir> 
    6482 +  LIBS        libraries to pass to the linker, e.g. -l<library> 
    6483 +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
    6484 +              you have headers in a nonstandard directory <include dir> 
    6485 +  YACC        The `Yet Another C Compiler' implementation to use. Defaults to 
    6486 +              the first program found out of: `bison -y', `byacc', `yacc'. 
    6487 +  YFLAGS      The list of arguments that will be passed by default to $YACC. 
    6488 +              This script will default YFLAGS to the empty string to avoid a 
    6489 +              default value of `-d' given by some make applications. 
    6490    CPP         C preprocessor 
    6491 +  CXX         C++ compiler command 
    6492 +  CXXFLAGS    C++ compiler flags 
    6493 +  CXXCPP      C++ preprocessor 
    6494 +  F77         Fortran 77 compiler command 
    6495 +  FFLAGS      Fortran 77 compiler flags 
    6496   
    6497  Use these variables to override the choices made by `configure' or to help 
    6498  it to find libraries and programs with nonstandard names/locations. 
    6499   
    6500  _ACEOF 
    6501 +ac_status=$? 
    6502  fi 
    6503   
    6504  if test "$ac_init_help" = "recursive"; then 
    6505    # If there are subdirs, report their specific --help. 
    6506 -  ac_popdir=`pwd` 
    6507    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    6508 -    test -d $ac_dir || continue 
    6509 +    test -d "$ac_dir" || continue 
    6510      ac_builddir=. 
    6511   
    6512 -if test "$ac_dir" != .; then 
    6513 +case "$ac_dir" in 
    6514 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    6515 +*) 
    6516    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    6517 -  # A "../" for each directory in $ac_dir_suffix. 
    6518 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
    6519 -else 
    6520 -  ac_dir_suffix= ac_top_builddir= 
    6521 -fi 
    6522 +  # A ".." for each directory in $ac_dir_suffix. 
    6523 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
    6524 +  case $ac_top_builddir_sub in 
    6525 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    6526 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; 
    6527 +  esac ;; 
    6528 +esac 
    6529 +ac_abs_top_builddir=$ac_pwd 
    6530 +ac_abs_builddir=$ac_pwd$ac_dir_suffix 
    6531 +# for backward compatibility: 
    6532 +ac_top_builddir=$ac_top_build_prefix 
    6533   
    6534  case $srcdir in 
    6535 -  .)  # No --srcdir option.  We are building in place. 
    6536 +  .)  # We are building in place. 
    6537      ac_srcdir=. 
    6538 -    if test -z "$ac_top_builddir"; then 
    6539 -       ac_top_srcdir=. 
    6540 -    else 
    6541 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
    6542 -    fi ;; 
    6543 -  [\\/]* | ?:[\\/]* )  # Absolute path. 
    6544 +    ac_top_srcdir=$ac_top_builddir_sub 
    6545 +    ac_abs_top_srcdir=$ac_pwd ;; 
    6546 +  [\\/]* | ?:[\\/]* )  # Absolute name. 
    6547      ac_srcdir=$srcdir$ac_dir_suffix; 
    6548 -    ac_top_srcdir=$srcdir ;; 
    6549 -  *) # Relative path. 
    6550 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
    6551 -    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
    6552 -esac 
    6553 - 
    6554 -# Do not use `cd foo && pwd` to compute absolute paths, because 
    6555 -# the directories may not exist. 
    6556 -case `pwd` in 
    6557 -.) ac_abs_builddir="$ac_dir";; 
    6558 -*) 
    6559 -  case "$ac_dir" in 
    6560 -  .) ac_abs_builddir=`pwd`;; 
    6561 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
    6562 -  *) ac_abs_builddir=`pwd`/"$ac_dir";; 
    6563 -  esac;; 
    6564 -esac 
    6565 -case $ac_abs_builddir in 
    6566 -.) ac_abs_top_builddir=${ac_top_builddir}.;; 
    6567 -*) 
    6568 -  case ${ac_top_builddir}. in 
    6569 -  .) ac_abs_top_builddir=$ac_abs_builddir;; 
    6570 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
    6571 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
    6572 -  esac;; 
    6573 -esac 
    6574 -case $ac_abs_builddir in 
    6575 -.) ac_abs_srcdir=$ac_srcdir;; 
    6576 -*) 
    6577 -  case $ac_srcdir in 
    6578 -  .) ac_abs_srcdir=$ac_abs_builddir;; 
    6579 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
    6580 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
    6581 -  esac;; 
    6582 -esac 
    6583 -case $ac_abs_builddir in 
    6584 -.) ac_abs_top_srcdir=$ac_top_srcdir;; 
    6585 -*) 
    6586 -  case $ac_top_srcdir in 
    6587 -  .) ac_abs_top_srcdir=$ac_abs_builddir;; 
    6588 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
    6589 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
    6590 -  esac;; 
    6591 +    ac_top_srcdir=$srcdir 
    6592 +    ac_abs_top_srcdir=$srcdir ;; 
    6593 +  *) # Relative name. 
    6594 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 
    6595 +    ac_top_srcdir=$ac_top_build_prefix$srcdir 
    6596 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 
    6597  esac 
    6598 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 
    6599   
    6600 -    cd $ac_dir 
    6601 -    # Check for guested configure; otherwise get Cygnus style configure. 
    6602 -    if test -f $ac_srcdir/configure.gnu; then 
    6603 -      echo 
    6604 -      $SHELL $ac_srcdir/configure.gnu  --help=recursive 
    6605 -    elif test -f $ac_srcdir/configure; then 
    6606 -      echo 
    6607 -      $SHELL $ac_srcdir/configure  --help=recursive 
    6608 -    elif test -f $ac_srcdir/configure.ac || 
    6609 -          test -f $ac_srcdir/configure.in; then 
    6610 -      echo 
    6611 -      $ac_configure --help 
    6612 +    cd "$ac_dir" || { ac_status=$?; continue; } 
    6613 +    # Check for guested configure. 
    6614 +    if test -f "$ac_srcdir/configure.gnu"; then 
    6615 +      echo && 
    6616 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive 
    6617 +    elif test -f "$ac_srcdir/configure"; then 
    6618 +      echo && 
    6619 +      $SHELL "$ac_srcdir/configure" --help=recursive 
    6620      else 
    6621        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    6622 -    fi 
    6623 -    cd "$ac_popdir" 
    6624 +    fi || ac_status=$? 
    6625 +    cd "$ac_pwd" || { ac_status=$?; break; } 
    6626    done 
    6627  fi 
    6628   
    6629 -test -n "$ac_init_help" && exit 0 
    6630 +test -n "$ac_init_help" && exit $ac_status 
    6631  if $ac_init_version; then 
    6632    cat <<\_ACEOF 
    6633 +configure 
    6634 +generated by GNU Autoconf 2.61 
    6635   
    6636 -Copyright (C) 2003 Free Software Foundation, Inc. 
    6637 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6638 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
    6639  This configure script is free software; the Free Software Foundation 
    6640  gives unlimited permission to copy, distribute and modify it. 
    6641  _ACEOF 
    6642 -  exit 0 
    6643 +  exit 
    6644  fi 
    6645 -exec 5>config.log 
    6646 -cat >&5 <<_ACEOF 
    6647 +cat >config.log <<_ACEOF 
    6648  This file contains any messages produced by compilers while 
    6649  running configure, to aid debugging if configure makes a mistake. 
    6650   
    6651  It was created by $as_me, which was 
    6652 -generated by GNU Autoconf 2.59.  Invocation command line was 
    6653 +generated by GNU Autoconf 2.61.  Invocation command line was 
    6654   
    6655    $ $0 $@ 
    6656   
    6657  _ACEOF 
    6658 +exec 5>>config.log 
    6659  { 
    6660  cat <<_ASUNAME 
    6661  ## --------- ## 
    6662 @@ -1170,7 +1624,7 @@ 
    6663  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` 
    6664  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` 
    6665  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 
    6666 -hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` 
    6667 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown` 
    6668  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` 
    6669  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` 
    6670  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
    6671 @@ -1184,6 +1638,7 @@ 
    6672    test -z "$as_dir" && as_dir=. 
    6673    echo "PATH: $as_dir" 
    6674  done 
    6675 +IFS=$as_save_IFS 
    6676   
    6677  } >&5 
    6678   
    6679 @@ -1205,7 +1660,6 @@ 
    6680  ac_configure_args= 
    6681  ac_configure_args0= 
    6682  ac_configure_args1= 
    6683 -ac_sep= 
    6684  ac_must_keep_next=false 
    6685  for ac_pass in 1 2 
    6686  do 
    6687 @@ -1216,7 +1670,7 @@ 
    6688      -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    6689      | -silent | --silent | --silen | --sile | --sil) 
    6690        continue ;; 
    6691 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    6692 +    *\'*) 
    6693        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    6694      esac 
    6695      case $ac_pass in 
    6696 @@ -1238,9 +1692,7 @@ 
    6697           -* ) ac_must_keep_next=true ;; 
    6698         esac 
    6699        fi 
    6700 -      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
    6701 -      # Get rid of the leading space. 
    6702 -      ac_sep=" " 
    6703 +      ac_configure_args="$ac_configure_args '$ac_arg'" 
    6704        ;; 
    6705      esac 
    6706    done 
    6707 @@ -1251,8 +1703,8 @@ 
    6708  # When interrupted or exit'd, cleanup temporary files, and complete 
    6709  # config.log.  We remove comments because anyway the quotes in there 
    6710  # would cause problems or look ugly. 
    6711 -# WARNING: Be sure not to use single quotes in there, as some shells, 
    6712 -# such as our DU 5.0 friend, will then `close' the trap. 
    6713 +# WARNING: Use '\'' to represent an apostrophe within the trap. 
    6714 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 
    6715  trap 'exit_status=$? 
    6716    # Save into config.log some information that might help in debugging. 
    6717    { 
    6718 @@ -1265,20 +1717,34 @@ 
    6719  _ASBOX 
    6720      echo 
    6721      # The following way of writing the cache mishandles newlines in values, 
    6722 -{ 
    6723 +( 
    6724 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 
    6725 +    eval ac_val=\$$ac_var 
    6726 +    case $ac_val in #( 
    6727 +    *${as_nl}*) 
    6728 +      case $ac_var in #( 
    6729 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    6730 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
    6731 +      esac 
    6732 +      case $ac_var in #( 
    6733 +      _ | IFS | as_nl) ;; #( 
    6734 +      *) $as_unset $ac_var ;; 
    6735 +      esac ;; 
    6736 +    esac 
    6737 +  done 
    6738    (set) 2>&1 | 
    6739 -    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 
    6740 -    *ac_space=\ *) 
    6741 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 
    6742 +    *${as_nl}ac_space=\ *) 
    6743        sed -n \ 
    6744 -       "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
    6745 -         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
    6746 -      ;; 
    6747 +       "s/'\''/'\''\\\\'\'''\''/g; 
    6748 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 
    6749 +      ;; #( 
    6750      *) 
    6751 -      sed -n \ 
    6752 -       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
    6753 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 
    6754        ;; 
    6755 -    esac; 
    6756 -} 
    6757 +    esac | 
    6758 +    sort 
    6759 +) 
    6760      echo 
    6761   
    6762      cat <<\_ASBOX 
    6763 @@ -1289,22 +1755,28 @@ 
    6764      echo 
    6765      for ac_var in $ac_subst_vars 
    6766      do 
    6767 -      eval ac_val=$`echo $ac_var` 
    6768 -      echo "$ac_var='"'"'$ac_val'"'"'" 
    6769 +      eval ac_val=\$$ac_var 
    6770 +      case $ac_val in 
    6771 +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    6772 +      esac 
    6773 +      echo "$ac_var='\''$ac_val'\''" 
    6774      done | sort 
    6775      echo 
    6776   
    6777      if test -n "$ac_subst_files"; then 
    6778        cat <<\_ASBOX 
    6779 -## ------------- ## 
    6780 -## Output files. ## 
    6781 -## ------------- ## 
    6782 +## ------------------- ## 
    6783 +## File substitutions. ## 
    6784 +## ------------------- ## 
    6785  _ASBOX 
    6786        echo 
    6787        for ac_var in $ac_subst_files 
    6788        do 
    6789 -       eval ac_val=$`echo $ac_var` 
    6790 -       echo "$ac_var='"'"'$ac_val'"'"'" 
    6791 +       eval ac_val=\$$ac_var 
    6792 +       case $ac_val in 
    6793 +       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    6794 +       esac 
    6795 +       echo "$ac_var='\''$ac_val'\''" 
    6796        done | sort 
    6797        echo 
    6798      fi 
    6799 @@ -1316,26 +1788,24 @@ 
    6800  ## ----------- ## 
    6801  _ASBOX 
    6802        echo 
    6803 -      sed "/^$/d" confdefs.h | sort 
    6804 +      cat confdefs.h 
    6805        echo 
    6806      fi 
    6807      test "$ac_signal" != 0 && 
    6808        echo "$as_me: caught signal $ac_signal" 
    6809      echo "$as_me: exit $exit_status" 
    6810    } >&5 
    6811 -  rm -f core *.core && 
    6812 -  rm -rf conftest* confdefs* conf$$* $ac_clean_files && 
    6813 +  rm -f core *.core core.conftest.* && 
    6814 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 
    6815      exit $exit_status 
    6816 -     ' 0 
    6817 +' 0 
    6818  for ac_signal in 1 2 13 15; do 
    6819    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
    6820  done 
    6821  ac_signal=0 
    6822   
    6823  # confdefs.h avoids OS command line length limits that DEFS can exceed. 
    6824 -rm -rf conftest* confdefs.h 
    6825 -# AIX cpp loses on an empty file, so make sure it contains at least a newline. 
    6826 -echo >confdefs.h 
    6827 +rm -f -r conftest* confdefs.h 
    6828   
    6829  # Predefined preprocessor variables. 
    6830   
    6831 @@ -1366,14 +1836,17 @@ 
    6832   
    6833  # Let the site file select an alternate cache file if it wants to. 
    6834  # Prefer explicitly selected file to automatically selected ones. 
    6835 -if test -z "$CONFIG_SITE"; then 
    6836 -  if test "x$prefix" != xNONE; then 
    6837 -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 
    6838 -  else 
    6839 -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 
    6840 -  fi 
    6841 +if test -n "$CONFIG_SITE"; then 
    6842 +  set x "$CONFIG_SITE" 
    6843 +elif test "x$prefix" != xNONE; then 
    6844 +  set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    6845 +else 
    6846 +  set x "$ac_default_prefix/share/config.site" \ 
    6847 +       "$ac_default_prefix/etc/config.site" 
    6848  fi 
    6849 -for ac_site_file in $CONFIG_SITE; do 
    6850 +shift 
    6851 +for ac_site_file 
    6852 +do 
    6853    if test -r "$ac_site_file"; then 
    6854      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    6855  echo "$as_me: loading site script $ac_site_file" >&6;} 
    6856 @@ -1389,8 +1862,8 @@ 
    6857      { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    6858  echo "$as_me: loading cache $cache_file" >&6;} 
    6859      case $cache_file in 
    6860 -      [\\/]* | ?:[\\/]* ) . $cache_file;; 
    6861 -      *)                      . ./$cache_file;; 
    6862 +      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
    6863 +      *)                      . "./$cache_file";; 
    6864      esac 
    6865    fi 
    6866  else 
    6867 @@ -1402,12 +1875,11 @@ 
    6868  # Check that the precious variables saved in the cache have kept the same 
    6869  # value. 
    6870  ac_cache_corrupted=false 
    6871 -for ac_var in `(set) 2>&1 | 
    6872 -              sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 
    6873 +for ac_var in $ac_precious_vars; do 
    6874    eval ac_old_set=\$ac_cv_env_${ac_var}_set 
    6875    eval ac_new_set=\$ac_env_${ac_var}_set 
    6876 -  eval ac_old_val="\$ac_cv_env_${ac_var}_value" 
    6877 -  eval ac_new_val="\$ac_env_${ac_var}_value" 
    6878 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value 
    6879 +  eval ac_new_val=\$ac_env_${ac_var}_value 
    6880    case $ac_old_set,$ac_new_set in 
    6881      set,) 
    6882        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    6883 @@ -1432,8 +1904,7 @@ 
    6884    # Pass precious variables to config.status. 
    6885    if test "$ac_new_set" = set; then 
    6886      case $ac_new_val in 
    6887 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    6888 -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    6889 +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    6890      *) ac_arg=$ac_var=$ac_new_val ;; 
    6891      esac 
    6892      case " $ac_configure_args " in 
    6893 @@ -1450,14 +1921,6 @@ 
    6894     { (exit 1); exit 1; }; } 
    6895  fi 
    6896   
    6897 -ac_ext=c 
    6898 -ac_cpp='$CPP $CPPFLAGS' 
    6899 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
    6900 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    6901 -ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    6902 - 
    6903 - 
    6904 - 
    6905   
    6906   
    6907   
    6908 @@ -1474,111 +1937,165 @@ 
    6909   
    6910   
    6911   
    6912 +ac_ext=c 
    6913 +ac_cpp='$CPP $CPPFLAGS' 
    6914 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
    6915 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    6916 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    6917   
    6918 -          ac_config_headers="$ac_config_headers config.h" 
    6919   
    6920 -          ac_config_commands="$ac_config_commands default-1" 
    6921 +ac_config_headers="$ac_config_headers config.h" 
    6922   
    6923   
    6924  ac_aux_dir= 
    6925 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 
    6926 -  if test -f $ac_dir/install-sh; then 
    6927 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    6928 +  if test -f "$ac_dir/install-sh"; then 
    6929      ac_aux_dir=$ac_dir 
    6930      ac_install_sh="$ac_aux_dir/install-sh -c" 
    6931      break 
    6932 -  elif test -f $ac_dir/install.sh; then 
    6933 +  elif test -f "$ac_dir/install.sh"; then 
    6934      ac_aux_dir=$ac_dir 
    6935      ac_install_sh="$ac_aux_dir/install.sh -c" 
    6936      break 
    6937 -  elif test -f $ac_dir/shtool; then 
    6938 +  elif test -f "$ac_dir/shtool"; then 
    6939      ac_aux_dir=$ac_dir 
    6940      ac_install_sh="$ac_aux_dir/shtool install -c" 
    6941      break 
    6942    fi 
    6943  done 
    6944  if test -z "$ac_aux_dir"; then 
    6945 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
    6946 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
    6947 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    6948 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    6949     { (exit 1); exit 1; }; } 
    6950  fi 
    6951 -ac_config_guess="$SHELL $ac_aux_dir/config.guess" 
    6952 -ac_config_sub="$SHELL $ac_aux_dir/config.sub" 
    6953 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 
    6954 + 
    6955 +# These three variables are undocumented and unsupported, 
    6956 +# and are intended to be withdrawn in a future Autoconf release. 
    6957 +# They can cause serious problems if a builder's source tree is in a directory 
    6958 +# whose full name contains unusual characters. 
    6959 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var. 
    6960 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var. 
    6961 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var. 
    6962 + 
    6963   
    6964  # Make sure we can run config.sub. 
    6965 -$ac_config_sub sun4 >/dev/null 2>&1 || 
    6966 -  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
    6967 -echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
    6968 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    6969 +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    6970 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    6971     { (exit 1); exit 1; }; } 
    6972   
    6973 -echo "$as_me:$LINENO: checking build system type" >&5 
    6974 -echo $ECHO_N "checking build system type... $ECHO_C" >&6 
    6975 +{ echo "$as_me:$LINENO: checking build system type" >&5 
    6976 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    6977  if test "${ac_cv_build+set}" = set; then 
    6978    echo $ECHO_N "(cached) $ECHO_C" >&6 
    6979  else 
    6980 -  ac_cv_build_alias=$build_alias 
    6981 -test -z "$ac_cv_build_alias" && 
    6982 -  ac_cv_build_alias=`$ac_config_guess` 
    6983 -test -z "$ac_cv_build_alias" && 
    6984 +  ac_build_alias=$build_alias 
    6985 +test "x$ac_build_alias" = x && 
    6986 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    6987 +test "x$ac_build_alias" = x && 
    6988    { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    6989  echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    6990     { (exit 1); exit 1; }; } 
    6991 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
    6992 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
    6993 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
    6994 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    6995 +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    6996 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    6997     { (exit 1); exit 1; }; } 
    6998   
    6999  fi 
    7000 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    7001 -echo "${ECHO_T}$ac_cv_build" >&6 
    7002 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    7003 +echo "${ECHO_T}$ac_cv_build" >&6; } 
    7004 +case $ac_cv_build in 
    7005 +*-*-*) ;; 
    7006 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    7007 +echo "$as_me: error: invalid value of canonical build" >&2;} 
    7008 +   { (exit 1); exit 1; }; };; 
    7009 +esac 
    7010  build=$ac_cv_build 
    7011 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    7012 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    7013 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    7014 +ac_save_IFS=$IFS; IFS='-' 
    7015 +set x $ac_cv_build 
    7016 +shift 
    7017 +build_cpu=$1 
    7018 +build_vendor=$2 
    7019 +shift; shift 
    7020 +# Remember, the first character of IFS is used to create $*, 
    7021 +# except with old shells: 
    7022 +build_os=$* 
    7023 +IFS=$ac_save_IFS 
    7024 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 
    7025   
    7026   
    7027 -echo "$as_me:$LINENO: checking host system type" >&5 
    7028 -echo $ECHO_N "checking host system type... $ECHO_C" >&6 
    7029 +{ echo "$as_me:$LINENO: checking host system type" >&5 
    7030 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    7031  if test "${ac_cv_host+set}" = set; then 
    7032    echo $ECHO_N "(cached) $ECHO_C" >&6 
    7033  else 
    7034 -  ac_cv_host_alias=$host_alias 
    7035 -test -z "$ac_cv_host_alias" && 
    7036 -  ac_cv_host_alias=$ac_cv_build_alias 
    7037 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
    7038 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
    7039 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
    7040 +  if test "x$host_alias" = x; then 
    7041 +  ac_cv_host=$ac_cv_build 
    7042 +else 
    7043 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    7044 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    7045 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    7046     { (exit 1); exit 1; }; } 
    7047 +fi 
    7048   
    7049  fi 
    7050 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    7051 -echo "${ECHO_T}$ac_cv_host" >&6 
    7052 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    7053 +echo "${ECHO_T}$ac_cv_host" >&6; } 
    7054 +case $ac_cv_host in 
    7055 +*-*-*) ;; 
    7056 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    7057 +echo "$as_me: error: invalid value of canonical host" >&2;} 
    7058 +   { (exit 1); exit 1; }; };; 
    7059 +esac 
    7060  host=$ac_cv_host 
    7061 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    7062 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    7063 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    7064 +ac_save_IFS=$IFS; IFS='-' 
    7065 +set x $ac_cv_host 
    7066 +shift 
    7067 +host_cpu=$1 
    7068 +host_vendor=$2 
    7069 +shift; shift 
    7070 +# Remember, the first character of IFS is used to create $*, 
    7071 +# except with old shells: 
    7072 +host_os=$* 
    7073 +IFS=$ac_save_IFS 
    7074 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 
    7075   
    7076   
    7077 -echo "$as_me:$LINENO: checking target system type" >&5 
    7078 -echo $ECHO_N "checking target system type... $ECHO_C" >&6 
    7079 +{ echo "$as_me:$LINENO: checking target system type" >&5 
    7080 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    7081  if test "${ac_cv_target+set}" = set; then 
    7082    echo $ECHO_N "(cached) $ECHO_C" >&6 
    7083  else 
    7084 -  ac_cv_target_alias=$target_alias 
    7085 -test "x$ac_cv_target_alias" = "x" && 
    7086 -  ac_cv_target_alias=$ac_cv_host_alias 
    7087 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 
    7088 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
    7089 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 
    7090 +  if test "x$target_alias" = x; then 
    7091 +  ac_cv_target=$ac_cv_host 
    7092 +else 
    7093 +  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    7094 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    7095 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    7096     { (exit 1); exit 1; }; } 
    7097 +fi 
    7098   
    7099  fi 
    7100 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    7101 -echo "${ECHO_T}$ac_cv_target" >&6 
    7102 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    7103 +echo "${ECHO_T}$ac_cv_target" >&6; } 
    7104 +case $ac_cv_target in 
    7105 +*-*-*) ;; 
    7106 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    7107 +echo "$as_me: error: invalid value of canonical target" >&2;} 
    7108 +   { (exit 1); exit 1; }; };; 
    7109 +esac 
    7110  target=$ac_cv_target 
    7111 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    7112 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    7113 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    7114 +ac_save_IFS=$IFS; IFS='-' 
    7115 +set x $ac_cv_target 
    7116 +shift 
    7117 +target_cpu=$1 
    7118 +target_vendor=$2 
    7119 +shift; shift 
    7120 +# Remember, the first character of IFS is used to create $*, 
    7121 +# except with old shells: 
    7122 +target_os=$* 
    7123 +IFS=$ac_save_IFS 
    7124 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 
    7125   
    7126   
    7127  # The aliases save the names the user supplied, while $host etc. 
    7128 @@ -1588,7 +2105,7 @@ 
    7129      NONENONEs,x,x, && 
    7130    program_prefix=${target_alias}- 
    7131   
    7132 -am__api_version="1.4" 
    7133 +am__api_version="1.9" 
    7134  # Find a good install program.  We prefer a C program (faster), 
    7135  # so one script is as good as another.  But avoid the broken or 
    7136  # incompatible versions: 
    7137 @@ -1602,8 +2119,8 @@ 
    7138  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
    7139  # OS/2's system install, which has a completely different semantic 
    7140  # ./install, which can be erroneously created by make from ./install.sh. 
    7141 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
    7142 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 
    7143 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
    7144 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 
    7145  if test -z "$INSTALL"; then 
    7146  if test "${ac_cv_path_install+set}" = set; then 
    7147    echo $ECHO_N "(cached) $ECHO_C" >&6 
    7148 @@ -1625,7 +2142,7 @@ 
    7149      # by default. 
    7150      for ac_prog in ginstall scoinst install; do 
    7151        for ac_exec_ext in '' $ac_executable_extensions; do 
    7152 -       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 
    7153 +       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 
    7154           if test $ac_prog = install && 
    7155             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
    7156             # AIX install.  It has an incompatible calling convention. 
    7157 @@ -1644,21 +2161,22 @@ 
    7158      ;; 
    7159  esac 
    7160  done 
    7161 +IFS=$as_save_IFS 
    7162   
    7163   
    7164  fi 
    7165    if test "${ac_cv_path_install+set}" = set; then 
    7166      INSTALL=$ac_cv_path_install 
    7167    else 
    7168 -    # As a last resort, use the slow shell script.  We don't cache a 
    7169 -    # path for INSTALL within a source directory, because that will 
    7170 +    # As a last resort, use the slow shell script.  Don't cache a 
    7171 +    # value for INSTALL within a source directory, because that will 
    7172      # break other packages using the cache if that directory is 
    7173 -    # removed, or if the path is relative. 
    7174 +    # removed, or if the value is a relative name. 
    7175      INSTALL=$ac_install_sh 
    7176    fi 
    7177  fi 
    7178 -echo "$as_me:$LINENO: result: $INSTALL" >&5 
    7179 -echo "${ECHO_T}$INSTALL" >&6 
    7180 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 
    7181 +echo "${ECHO_T}$INSTALL" >&6; } 
    7182   
    7183  # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
    7184  # It thinks the first close brace ends the variable substitution. 
    7185 @@ -1668,24 +2186,25 @@ 
    7186   
    7187  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 
    7188   
    7189 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5 
    7190 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 
    7191 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 
    7192 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 
    7193  # Just in case 
    7194  sleep 1 
    7195 -echo timestamp > conftestfile 
    7196 +echo timestamp > conftest.file 
    7197  # Do `set' in a subshell so we don't clobber the current shell's 
    7198  # arguments.  Must try -L first in case configure is actually a 
    7199  # symlink; some systems play weird games with the mod time of symlinks 
    7200  # (eg FreeBSD returns the mod time of the symlink's containing 
    7201  # directory). 
    7202  if ( 
    7203 -   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 
    7204 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 
    7205     if test "$*" = "X"; then 
    7206        # -L didn't work. 
    7207 -      set X `ls -t $srcdir/configure conftestfile` 
    7208 +      set X `ls -t $srcdir/configure conftest.file` 
    7209     fi 
    7210 -   if test "$*" != "X $srcdir/configure conftestfile" \ 
    7211 -      && test "$*" != "X conftestfile $srcdir/configure"; then 
    7212 +   rm -f conftest.file 
    7213 +   if test "$*" != "X $srcdir/configure conftest.file" \ 
    7214 +      && test "$*" != "X conftest.file $srcdir/configure"; then 
    7215   
    7216        # If neither matched, then we have a broken ls.  This can happen 
    7217        # if, for instance, CONFIG_SHELL is bash and it inherits a 
    7218 @@ -1698,7 +2217,7 @@ 
    7219     { (exit 1); exit 1; }; } 
    7220     fi 
    7221   
    7222 -   test "$2" = conftestfile 
    7223 +   test "$2" = conftest.file 
    7224     ) 
    7225  then 
    7226     # Ok. 
    7227 @@ -1710,62 +2229,171 @@ 
    7228  Check your system clock" >&2;} 
    7229     { (exit 1); exit 1; }; } 
    7230  fi 
    7231 -rm -f conftest* 
    7232 -echo "$as_me:$LINENO: result: yes" >&5 
    7233 -echo "${ECHO_T}yes" >&6 
    7234 +{ echo "$as_me:$LINENO: result: yes" >&5 
    7235 +echo "${ECHO_T}yes" >&6; } 
    7236  test "$program_prefix" != NONE && 
    7237 -  program_transform_name="s,^,$program_prefix,;$program_transform_name" 
    7238 +  program_transform_name="s&^&$program_prefix&;$program_transform_name" 
    7239  # Use a double $ so make ignores it. 
    7240  test "$program_suffix" != NONE && 
    7241 -  program_transform_name="s,\$,$program_suffix,;$program_transform_name" 
    7242 +  program_transform_name="s&\$&$program_suffix&;$program_transform_name" 
    7243  # Double any \ or $.  echo might interpret backslashes. 
    7244  # By default was `s,x,x', remove it if useless. 
    7245  cat <<\_ACEOF >conftest.sed 
    7246  s/[\\$]/&&/g;s/;s,x,x,$// 
    7247  _ACEOF 
    7248  program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 
    7249 -rm conftest.sed 
    7250 +rm -f conftest.sed 
    7251 + 
    7252 +# expand $ac_aux_dir to an absolute path 
    7253 +am_aux_dir=`cd $ac_aux_dir && pwd` 
    7254 + 
    7255 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 
    7256 +# Use eval to expand $SHELL 
    7257 +if eval "$MISSING --run true"; then 
    7258 +  am_missing_run="$MISSING --run " 
    7259 +else 
    7260 +  am_missing_run= 
    7261 +  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 
    7262 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 
    7263 +fi 
    7264 + 
    7265 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 
    7266 +  # We used to keeping the `.' as first argument, in order to 
    7267 +  # allow $(mkdir_p) to be used without argument.  As in 
    7268 +  #   $(mkdir_p) $(somedir) 
    7269 +  # where $(somedir) is conditionally defined.  However this is wrong 
    7270 +  # for two reasons: 
    7271 +  #  1. if the package is installed by a user who cannot write `.' 
    7272 +  #     make install will fail, 
    7273 +  #  2. the above comment should most certainly read 
    7274 +  #     $(mkdir_p) $(DESTDIR)$(somedir) 
    7275 +  #     so it does not work when $(somedir) is undefined and 
    7276 +  #     $(DESTDIR) is not. 
    7277 +  #  To support the latter case, we have to write 
    7278 +  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 
    7279 +  #  so the `.' trick is pointless. 
    7280 +  mkdir_p='mkdir -p --' 
    7281 +else 
    7282 +  # On NextStep and OpenStep, the `mkdir' command does not 
    7283 +  # recognize any option.  It will interpret all options as 
    7284 +  # directories to create, and then abort because `.' already 
    7285 +  # exists. 
    7286 +  for d in ./-p ./--version; 
    7287 +  do 
    7288 +    test -d $d && rmdir $d 
    7289 +  done 
    7290 +  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 
    7291 +  if test -f "$ac_aux_dir/mkinstalldirs"; then 
    7292 +    mkdir_p='$(mkinstalldirs)' 
    7293 +  else 
    7294 +    mkdir_p='$(install_sh) -d' 
    7295 +  fi 
    7296 +fi 
    7297 + 
    7298 +for ac_prog in gawk mawk nawk awk 
    7299 +do 
    7300 +  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    7301 +set dummy $ac_prog; ac_word=$2 
    7302 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
    7303 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    7304 +if test "${ac_cv_prog_AWK+set}" = set; then 
    7305 +  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7306 +else 
    7307 +  if test -n "$AWK"; then 
    7308 +  ac_cv_prog_AWK="$AWK" # Let the user override the test. 
    7309 +else 
    7310 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    7311 +for as_dir in $PATH 
    7312 +do 
    7313 +  IFS=$as_save_IFS 
    7314 +  test -z "$as_dir" && as_dir=. 
    7315 +  for ac_exec_ext in '' $ac_executable_extensions; do 
    7316 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    7317 +    ac_cv_prog_AWK="$ac_prog" 
    7318 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    7319 +    break 2 
    7320 +  fi 
    7321 +done 
    7322 +done 
    7323 +IFS=$as_save_IFS 
    7324 + 
    7325 +fi 
    7326 +fi 
    7327 +AWK=$ac_cv_prog_AWK 
    7328 +if test -n "$AWK"; then 
    7329 +  { echo "$as_me:$LINENO: result: $AWK" >&5 
    7330 +echo "${ECHO_T}$AWK" >&6; } 
    7331 +else 
    7332 +  { echo "$as_me:$LINENO: result: no" >&5 
    7333 +echo "${ECHO_T}no" >&6; } 
    7334 +fi 
    7335 + 
    7336 + 
    7337 +  test -n "$AWK" && break 
    7338 +done 
    7339   
    7340 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5