add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / libs / orbit2 / patches / 001-remove-libtool.patch
1 --- a/aclocal.m4
2 +++ b/aclocal.m4
3 @@ -59,6645 +59,6 @@ AC_DEFUN([GTK_DOC_CHECK],
4    AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
5  ])
6  
7 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
8 -
9 -# serial 52 AC_PROG_LIBTOOL
10 -
11 -
12 -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
13 -# -----------------------------------------------------------
14 -# If this macro is not defined by Autoconf, define it here.
15 -m4_ifdef([AC_PROVIDE_IFELSE],
16 -         [],
17 -         [m4_define([AC_PROVIDE_IFELSE],
18 -                [m4_ifdef([AC_PROVIDE_$1],
19 -                          [$2], [$3])])])
20 -
21 -
22 -# AC_PROG_LIBTOOL
23 -# ---------------
24 -AC_DEFUN([AC_PROG_LIBTOOL],
25 -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
26 -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
27 -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
28 -  AC_PROVIDE_IFELSE([AC_PROG_CXX],
29 -    [AC_LIBTOOL_CXX],
30 -    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
31 -  ])])
32 -dnl And a similar setup for Fortran 77 support
33 -  AC_PROVIDE_IFELSE([AC_PROG_F77],
34 -    [AC_LIBTOOL_F77],
35 -    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
36 -])])
37 -
38 -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
39 -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
40 -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
41 -  AC_PROVIDE_IFELSE([AC_PROG_GCJ],
42 -    [AC_LIBTOOL_GCJ],
43 -    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
44 -      [AC_LIBTOOL_GCJ],
45 -      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
46 -       [AC_LIBTOOL_GCJ],
47 -      [ifdef([AC_PROG_GCJ],
48 -            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
49 -       ifdef([A][M_PROG_GCJ],
50 -            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
51 -       ifdef([LT_AC_PROG_GCJ],
52 -            [define([LT_AC_PROG_GCJ],
53 -               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
54 -])])# AC_PROG_LIBTOOL
55 -
56 -
57 -# _AC_PROG_LIBTOOL
58 -# ----------------
59 -AC_DEFUN([_AC_PROG_LIBTOOL],
60 -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
61 -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
62 -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
63 -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
64 -
65 -# This can be used to rebuild libtool when needed
66 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
67 -
68 -# Always use our own libtool.
69 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
70 -AC_SUBST(LIBTOOL)dnl
71 -
72 -# Prevent multiple expansion
73 -define([AC_PROG_LIBTOOL], [])
74 -])# _AC_PROG_LIBTOOL
75 -
76 -
77 -# AC_LIBTOOL_SETUP
78 -# ----------------
79 -AC_DEFUN([AC_LIBTOOL_SETUP],
80 -[AC_PREREQ(2.50)dnl
81 -AC_REQUIRE([AC_ENABLE_SHARED])dnl
82 -AC_REQUIRE([AC_ENABLE_STATIC])dnl
83 -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
84 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
85 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
86 -AC_REQUIRE([AC_PROG_CC])dnl
87 -AC_REQUIRE([AC_PROG_LD])dnl
88 -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
89 -AC_REQUIRE([AC_PROG_NM])dnl
90 -
91 -AC_REQUIRE([AC_PROG_LN_S])dnl
92 -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
93 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
94 -AC_REQUIRE([AC_OBJEXT])dnl
95 -AC_REQUIRE([AC_EXEEXT])dnl
96 -dnl
97 -AC_LIBTOOL_SYS_MAX_CMD_LEN
98 -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
99 -AC_LIBTOOL_OBJDIR
100 -
101 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
102 -_LT_AC_PROG_ECHO_BACKSLASH
103 -
104 -case $host_os in
105 -aix3*)
106 -  # AIX sometimes has problems with the GCC collect2 program.  For some
107 -  # reason, if we set the COLLECT_NAMES environment variable, the problems
108 -  # vanish in a puff of smoke.
109 -  if test "X${COLLECT_NAMES+set}" != Xset; then
110 -    COLLECT_NAMES=
111 -    export COLLECT_NAMES
112 -  fi
113 -  ;;
114 -esac
115 -
116 -# Sed substitution that helps us do robust quoting.  It backslashifies
117 -# metacharacters that are still active within double-quoted strings.
118 -Xsed='sed -e 1s/^X//'
119 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
120 -
121 -# Same as above, but do not quote variable references.
122 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
123 -
124 -# Sed substitution to delay expansion of an escaped shell variable in a
125 -# double_quote_subst'ed string.
126 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
127 -
128 -# Sed substitution to avoid accidental globbing in evaled expressions
129 -no_glob_subst='s/\*/\\\*/g'
130 -
131 -# Constants:
132 -rm="rm -f"
133 -
134 -# Global variables:
135 -default_ofile=libtool
136 -can_build_shared=yes
137 -
138 -# All known linkers require a `.a' archive for static linking (except MSVC,
139 -# which needs '.lib').
140 -libext=a
141 -ltmain="$ac_aux_dir/ltmain.sh"
142 -ofile="$default_ofile"
143 -with_gnu_ld="$lt_cv_prog_gnu_ld"
144 -
145 -AC_CHECK_TOOL(AR, ar, false)
146 -AC_CHECK_TOOL(RANLIB, ranlib, :)
147 -AC_CHECK_TOOL(STRIP, strip, :)
148 -
149 -old_CC="$CC"
150 -old_CFLAGS="$CFLAGS"
151 -
152 -# Set sane defaults for various variables
153 -test -z "$AR" && AR=ar
154 -test -z "$AR_FLAGS" && AR_FLAGS=cru
155 -test -z "$AS" && AS=as
156 -test -z "$CC" && CC=cc
157 -test -z "$LTCC" && LTCC=$CC
158 -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
159 -test -z "$DLLTOOL" && DLLTOOL=dlltool
160 -test -z "$LD" && LD=ld
161 -test -z "$LN_S" && LN_S="ln -s"
162 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
163 -test -z "$NM" && NM=nm
164 -test -z "$SED" && SED=sed
165 -test -z "$OBJDUMP" && OBJDUMP=objdump
166 -test -z "$RANLIB" && RANLIB=:
167 -test -z "$STRIP" && STRIP=:
168 -test -z "$ac_objext" && ac_objext=o
169 -
170 -# Determine commands to create old-style static archives.
171 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
172 -old_postinstall_cmds='chmod 644 $oldlib'
173 -old_postuninstall_cmds=
174 -
175 -if test -n "$RANLIB"; then
176 -  case $host_os in
177 -  openbsd*)
178 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
179 -    ;;
180 -  *)
181 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
182 -    ;;
183 -  esac
184 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
185 -fi
186 -
187 -_LT_CC_BASENAME([$compiler])
188 -
189 -# Only perform the check for file, if the check method requires it
190 -case $deplibs_check_method in
191 -file_magic*)
192 -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
193 -    AC_PATH_MAGIC
194 -  fi
195 -  ;;
196 -esac
197 -
198 -_LT_REQUIRED_DARWIN_CHECKS
199 -
200 -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
201 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
202 -enable_win32_dll=yes, enable_win32_dll=no)
203 -
204 -AC_ARG_ENABLE([libtool-lock],
205 -    [AC_HELP_STRING([--disable-libtool-lock],
206 -       [avoid locking (might break parallel builds)])])
207 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
208 -
209 -AC_ARG_WITH([pic],
210 -    [AC_HELP_STRING([--with-pic],
211 -       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
212 -    [pic_mode="$withval"],
213 -    [pic_mode=default])
214 -test -z "$pic_mode" && pic_mode=default
215 -
216 -# Use C for the default configuration in the libtool script
217 -tagname=
218 -AC_LIBTOOL_LANG_C_CONFIG
219 -_LT_AC_TAGCONFIG
220 -])# AC_LIBTOOL_SETUP
221 -
222 -
223 -# _LT_AC_SYS_COMPILER
224 -# -------------------
225 -AC_DEFUN([_LT_AC_SYS_COMPILER],
226 -[AC_REQUIRE([AC_PROG_CC])dnl
227 -
228 -# If no C compiler was specified, use CC.
229 -LTCC=${LTCC-"$CC"}
230 -
231 -# If no C compiler flags were specified, use CFLAGS.
232 -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
233 -
234 -# Allow CC to be a program name with arguments.
235 -compiler=$CC
236 -])# _LT_AC_SYS_COMPILER
237 -
238 -
239 -# _LT_CC_BASENAME(CC)
240 -# -------------------
241 -# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
242 -AC_DEFUN([_LT_CC_BASENAME],
243 -[for cc_temp in $1""; do
244 -  case $cc_temp in
245 -    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
246 -    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
247 -    \-*) ;;
248 -    *) break;;
249 -  esac
250 -done
251 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
252 -])
253 -
254 -
255 -# _LT_COMPILER_BOILERPLATE
256 -# ------------------------
257 -# Check for compiler boilerplate output or warnings with
258 -# the simple compiler test code.
259 -AC_DEFUN([_LT_COMPILER_BOILERPLATE],
260 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
261 -ac_outfile=conftest.$ac_objext
262 -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
263 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
264 -_lt_compiler_boilerplate=`cat conftest.err`
265 -$rm conftest*
266 -])# _LT_COMPILER_BOILERPLATE
267 -
268 -
269 -# _LT_LINKER_BOILERPLATE
270 -# ----------------------
271 -# Check for linker boilerplate output or warnings with
272 -# the simple link test code.
273 -AC_DEFUN([_LT_LINKER_BOILERPLATE],
274 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
275 -ac_outfile=conftest.$ac_objext
276 -echo "$lt_simple_link_test_code" >conftest.$ac_ext
277 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
278 -_lt_linker_boilerplate=`cat conftest.err`
279 -$rm -r conftest*
280 -])# _LT_LINKER_BOILERPLATE
281 -
282 -# _LT_REQUIRED_DARWIN_CHECKS
283 -# --------------------------
284 -# Check for some things on darwin
285 -AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
286 -  case $host_os in
287 -    rhapsody* | darwin*)
288 -    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
289 -    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
290 -
291 -    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
292 -      [lt_cv_apple_cc_single_mod=no
293 -      if test -z "${LT_MULTI_MODULE}"; then
294 -   # By default we will add the -single_module flag. You can override
295 -   # by either setting the environment variable LT_MULTI_MODULE
296 -   # non-empty at configure time, or by adding -multi_module to the
297 -   # link flags.
298 -   echo "int foo(void){return 1;}" > conftest.c
299 -   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
300 -     -dynamiclib ${wl}-single_module conftest.c
301 -   if test -f libconftest.dylib; then
302 -     lt_cv_apple_cc_single_mod=yes
303 -     rm -rf libconftest.dylib*
304 -   fi
305 -   rm conftest.c
306 -      fi])
307 -    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
308 -      [lt_cv_ld_exported_symbols_list],
309 -      [lt_cv_ld_exported_symbols_list=no
310 -      save_LDFLAGS=$LDFLAGS
311 -      echo "_main" > conftest.sym
312 -      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
313 -      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
314 -   [lt_cv_ld_exported_symbols_list=yes],
315 -   [lt_cv_ld_exported_symbols_list=no])
316 -   LDFLAGS="$save_LDFLAGS"
317 -    ])
318 -    case $host_os in
319 -    rhapsody* | darwin1.[[0123]])
320 -      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
321 -    darwin1.*)
322 -     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
323 -    darwin*)
324 -      # if running on 10.5 or later, the deployment target defaults
325 -      # to the OS version, if on x86, and 10.4, the deployment
326 -      # target defaults to 10.4. Don't you love it?
327 -      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
328 -   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
329 -     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
330 -   10.[[012]]*)
331 -     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
332 -   10.*)
333 -     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
334 -      esac
335 -    ;;
336 -  esac
337 -    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
338 -      _lt_dar_single_mod='$single_module'
339 -    fi
340 -    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
341 -      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
342 -    else
343 -      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
344 -    fi
345 -    if test "$DSYMUTIL" != ":"; then
346 -      _lt_dsymutil="~$DSYMUTIL \$lib || :"
347 -    else
348 -      _lt_dsymutil=
349 -    fi
350 -    ;;
351 -  esac
352 -])
353 -
354 -# _LT_AC_SYS_LIBPATH_AIX
355 -# ----------------------
356 -# Links a minimal program and checks the executable
357 -# for the system default hardcoded library path. In most cases,
358 -# this is /usr/lib:/lib, but when the MPI compilers are used
359 -# the location of the communication and MPI libs are included too.
360 -# If we don't find anything, use the default library path according
361 -# to the aix ld manual.
362 -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
363 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
364 -AC_LINK_IFELSE(AC_LANG_PROGRAM,[
365 -lt_aix_libpath_sed='
366 -    /Import File Strings/,/^$/ {
367 -       /^0/ {
368 -           s/^0  *\(.*\)$/\1/
369 -           p
370 -       }
371 -    }'
372 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
373 -# Check for a 64-bit object if we didn't find anything.
374 -if test -z "$aix_libpath"; then
375 -  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
376 -fi],[])
377 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
378 -])# _LT_AC_SYS_LIBPATH_AIX
379 -
380 -
381 -# _LT_AC_SHELL_INIT(ARG)
382 -# ----------------------
383 -AC_DEFUN([_LT_AC_SHELL_INIT],
384 -[ifdef([AC_DIVERSION_NOTICE],
385 -            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
386 -        [AC_DIVERT_PUSH(NOTICE)])
387 -$1
388 -AC_DIVERT_POP
389 -])# _LT_AC_SHELL_INIT
390 -
391 -
392 -# _LT_AC_PROG_ECHO_BACKSLASH
393 -# --------------------------
394 -# Add some code to the start of the generated configure script which
395 -# will find an echo command which doesn't interpret backslashes.
396 -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
397 -[_LT_AC_SHELL_INIT([
398 -# Check that we are running under the correct shell.
399 -SHELL=${CONFIG_SHELL-/bin/sh}
400 -
401 -case X$ECHO in
402 -X*--fallback-echo)
403 -  # Remove one level of quotation (which was required for Make).
404 -  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
405 -  ;;
406 -esac
407 -
408 -echo=${ECHO-echo}
409 -if test "X[$]1" = X--no-reexec; then
410 -  # Discard the --no-reexec flag, and continue.
411 -  shift
412 -elif test "X[$]1" = X--fallback-echo; then
413 -  # Avoid inline document here, it may be left over
414 -  :
415 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
416 -  # Yippee, $echo works!
417 -  :
418 -else
419 -  # Restart under the correct shell.
420 -  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
421 -fi
422 -
423 -if test "X[$]1" = X--fallback-echo; then
424 -  # used as fallback echo
425 -  shift
426 -  cat <<EOF
427 -[$]*
428 -EOF
429 -  exit 0
430 -fi
431 -
432 -# The HP-UX ksh and POSIX shell print the target directory to stdout
433 -# if CDPATH is set.
434 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
435 -
436 -if test -z "$ECHO"; then
437 -if test "X${echo_test_string+set}" != Xset; then
438 -# find a string as large as possible, as long as the shell can cope with it
439 -  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
440 -    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
441 -    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
442 -       echo_test_string=`eval $cmd` &&
443 -       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
444 -    then
445 -      break
446 -    fi
447 -  done
448 -fi
449 -
450 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
451 -   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
452 -   test "X$echo_testing_string" = "X$echo_test_string"; then
453 -  :
454 -else
455 -  # The Solaris, AIX, and Digital Unix default echo programs unquote
456 -  # backslashes.  This makes it impossible to quote backslashes using
457 -  #   echo "$something" | sed 's/\\/\\\\/g'
458 -  #
459 -  # So, first we look for a working echo in the user's PATH.
460 -
461 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
462 -  for dir in $PATH /usr/ucb; do
463 -    IFS="$lt_save_ifs"
464 -    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
465 -       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
466 -       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
467 -       test "X$echo_testing_string" = "X$echo_test_string"; then
468 -      echo="$dir/echo"
469 -      break
470 -    fi
471 -  done
472 -  IFS="$lt_save_ifs"
473 -
474 -  if test "X$echo" = Xecho; then
475 -    # We didn't find a better echo, so look for alternatives.
476 -    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
477 -       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
478 -       test "X$echo_testing_string" = "X$echo_test_string"; then
479 -      # This shell has a builtin print -r that does the trick.
480 -      echo='print -r'
481 -    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
482 -        test "X$CONFIG_SHELL" != X/bin/ksh; then
483 -      # If we have ksh, try running configure again with it.
484 -      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
485 -      export ORIGINAL_CONFIG_SHELL
486 -      CONFIG_SHELL=/bin/ksh
487 -      export CONFIG_SHELL
488 -      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
489 -    else
490 -      # Try using printf.
491 -      echo='printf %s\n'
492 -      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
493 -        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
494 -        test "X$echo_testing_string" = "X$echo_test_string"; then
495 -       # Cool, printf works
496 -       :
497 -      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
498 -          test "X$echo_testing_string" = 'X\t' &&
499 -          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
500 -          test "X$echo_testing_string" = "X$echo_test_string"; then
501 -       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
502 -       export CONFIG_SHELL
503 -       SHELL="$CONFIG_SHELL"
504 -       export SHELL
505 -       echo="$CONFIG_SHELL [$]0 --fallback-echo"
506 -      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
507 -          test "X$echo_testing_string" = 'X\t' &&
508 -          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
509 -          test "X$echo_testing_string" = "X$echo_test_string"; then
510 -       echo="$CONFIG_SHELL [$]0 --fallback-echo"
511 -      else
512 -       # maybe with a smaller string...
513 -       prev=:
514 -
515 -       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
516 -         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
517 -         then
518 -           break
519 -         fi
520 -         prev="$cmd"
521 -       done
522 -
523 -       if test "$prev" != 'sed 50q "[$]0"'; then
524 -         echo_test_string=`eval $prev`
525 -         export echo_test_string
526 -         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
527 -       else
528 -         # Oops.  We lost completely, so just stick with echo.
529 -         echo=echo
530 -       fi
531 -      fi
532 -    fi
533 -  fi
534 -fi
535 -fi
536 -
537 -# Copy echo and quote the copy suitably for passing to libtool from
538 -# the Makefile, instead of quoting the original, which is used later.
539 -ECHO=$echo
540 -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
541 -   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
542 -fi
543 -
544 -AC_SUBST(ECHO)
545 -])])# _LT_AC_PROG_ECHO_BACKSLASH
546 -
547 -
548 -# _LT_AC_LOCK
549 -# -----------
550 -AC_DEFUN([_LT_AC_LOCK],
551 -[AC_ARG_ENABLE([libtool-lock],
552 -    [AC_HELP_STRING([--disable-libtool-lock],
553 -       [avoid locking (might break parallel builds)])])
554 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
555 -
556 -# Some flags need to be propagated to the compiler or linker for good
557 -# libtool support.
558 -case $host in
559 -ia64-*-hpux*)
560 -  # Find out which ABI we are using.
561 -  echo 'int i;' > conftest.$ac_ext
562 -  if AC_TRY_EVAL(ac_compile); then
563 -    case `/usr/bin/file conftest.$ac_objext` in
564 -    *ELF-32*)
565 -      HPUX_IA64_MODE="32"
566 -      ;;
567 -    *ELF-64*)
568 -      HPUX_IA64_MODE="64"
569 -      ;;
570 -    esac
571 -  fi
572 -  rm -rf conftest*
573 -  ;;
574 -*-*-irix6*)
575 -  # Find out which ABI we are using.
576 -  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
577 -  if AC_TRY_EVAL(ac_compile); then
578 -   if test "$lt_cv_prog_gnu_ld" = yes; then
579 -    case `/usr/bin/file conftest.$ac_objext` in
580 -    *32-bit*)
581 -      LD="${LD-ld} -melf32bsmip"
582 -      ;;
583 -    *N32*)
584 -      LD="${LD-ld} -melf32bmipn32"
585 -      ;;
586 -    *64-bit*)
587 -      LD="${LD-ld} -melf64bmip"
588 -      ;;
589 -    esac
590 -   else
591 -    case `/usr/bin/file conftest.$ac_objext` in
592 -    *32-bit*)
593 -      LD="${LD-ld} -32"
594 -      ;;
595 -    *N32*)
596 -      LD="${LD-ld} -n32"
597 -      ;;
598 -    *64-bit*)
599 -      LD="${LD-ld} -64"
600 -      ;;
601 -    esac
602 -   fi
603 -  fi
604 -  rm -rf conftest*
605 -  ;;
606 -
607 -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
608 -s390*-*linux*|sparc*-*linux*)
609 -  # Find out which ABI we are using.
610 -  echo 'int i;' > conftest.$ac_ext
611 -  if AC_TRY_EVAL(ac_compile); then
612 -    case `/usr/bin/file conftest.o` in
613 -    *32-bit*)
614 -      case $host in
615 -        x86_64-*kfreebsd*-gnu)
616 -          LD="${LD-ld} -m elf_i386_fbsd"
617 -          ;;
618 -        x86_64-*linux*)
619 -          LD="${LD-ld} -m elf_i386"
620 -          ;;
621 -        ppc64-*linux*|powerpc64-*linux*)
622 -          LD="${LD-ld} -m elf32ppclinux"
623 -          ;;
624 -        s390x-*linux*)
625 -          LD="${LD-ld} -m elf_s390"
626 -          ;;
627 -        sparc64-*linux*)
628 -          LD="${LD-ld} -m elf32_sparc"
629 -          ;;
630 -      esac
631 -      ;;
632 -    *64-bit*)
633 -      libsuff=64
634 -      case $host in
635 -        x86_64-*kfreebsd*-gnu)
636 -          LD="${LD-ld} -m elf_x86_64_fbsd"
637 -          ;;
638 -        x86_64-*linux*)
639 -          LD="${LD-ld} -m elf_x86_64"
640 -          ;;
641 -        ppc*-*linux*|powerpc*-*linux*)
642 -          LD="${LD-ld} -m elf64ppc"
643 -          ;;
644 -        s390*-*linux*)
645 -          LD="${LD-ld} -m elf64_s390"
646 -          ;;
647 -        sparc*-*linux*)
648 -          LD="${LD-ld} -m elf64_sparc"
649 -          ;;
650 -      esac
651 -      ;;
652 -    esac
653 -  fi
654 -  rm -rf conftest*
655 -  ;;
656 -
657 -*-*-sco3.2v5*)
658 -  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
659 -  SAVE_CFLAGS="$CFLAGS"
660 -  CFLAGS="$CFLAGS -belf"
661 -  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
662 -    [AC_LANG_PUSH(C)
663 -     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
664 -     AC_LANG_POP])
665 -  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
666 -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
667 -    CFLAGS="$SAVE_CFLAGS"
668 -  fi
669 -  ;;
670 -sparc*-*solaris*)
671 -  # Find out which ABI we are using.
672 -  echo 'int i;' > conftest.$ac_ext
673 -  if AC_TRY_EVAL(ac_compile); then
674 -    case `/usr/bin/file conftest.o` in
675 -    *64-bit*)
676 -      case $lt_cv_prog_gnu_ld in
677 -      yes*) LD="${LD-ld} -m elf64_sparc" ;;
678 -      *)
679 -        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
680 -         LD="${LD-ld} -64"
681 -       fi
682 -       ;;
683 -      esac
684 -      ;;
685 -    esac
686 -  fi
687 -  rm -rf conftest*
688 -  ;;
689 -
690 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
691 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
692 -  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
693 -  AC_CHECK_TOOL(AS, as, false)
694 -  AC_CHECK_TOOL(OBJDUMP, objdump, false)
695 -  ;;
696 -  ])
697 -esac
698 -
699 -need_locks="$enable_libtool_lock"
700 -
701 -])# _LT_AC_LOCK
702 -
703 -
704 -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
705 -#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
706 -# ----------------------------------------------------------------
707 -# Check whether the given compiler option works
708 -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
709 -[AC_REQUIRE([LT_AC_PROG_SED])
710 -AC_CACHE_CHECK([$1], [$2],
711 -  [$2=no
712 -  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
713 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
714 -   lt_compiler_flag="$3"
715 -   # Insert the option either (1) after the last *FLAGS variable, or
716 -   # (2) before a word containing "conftest.", or (3) at the end.
717 -   # Note that $ac_compile itself does not contain backslashes and begins
718 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
719 -   # The option is referenced via a variable to avoid confusing sed.
720 -   lt_compile=`echo "$ac_compile" | $SED \
721 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
722 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
723 -   -e 's:$: $lt_compiler_flag:'`
724 -   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
725 -   (eval "$lt_compile" 2>conftest.err)
726 -   ac_status=$?
727 -   cat conftest.err >&AS_MESSAGE_LOG_FD
728 -   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
729 -   if (exit $ac_status) && test -s "$ac_outfile"; then
730 -     # The compiler can only warn and ignore the option if not recognized
731 -     # So say no if there are warnings other than the usual output.
732 -     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
733 -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
734 -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
735 -       $2=yes
736 -     fi
737 -   fi
738 -   $rm conftest*
739 -])
740 -
741 -if test x"[$]$2" = xyes; then
742 -    ifelse([$5], , :, [$5])
743 -else
744 -    ifelse([$6], , :, [$6])
745 -fi
746 -])# AC_LIBTOOL_COMPILER_OPTION
747 -
748 -
749 -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
750 -#                          [ACTION-SUCCESS], [ACTION-FAILURE])
751 -# ------------------------------------------------------------
752 -# Check whether the given compiler option works
753 -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
754 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
755 -AC_CACHE_CHECK([$1], [$2],
756 -  [$2=no
757 -   save_LDFLAGS="$LDFLAGS"
758 -   LDFLAGS="$LDFLAGS $3"
759 -   echo "$lt_simple_link_test_code" > conftest.$ac_ext
760 -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
761 -     # The linker can only warn and ignore the option if not recognized
762 -     # So say no if there are warnings
763 -     if test -s conftest.err; then
764 -       # Append any errors to the config.log.
765 -       cat conftest.err 1>&AS_MESSAGE_LOG_FD
766 -       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
767 -       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
768 -       if diff conftest.exp conftest.er2 >/dev/null; then
769 -         $2=yes
770 -       fi
771 -     else
772 -       $2=yes
773 -     fi
774 -   fi
775 -   $rm -r conftest*
776 -   LDFLAGS="$save_LDFLAGS"
777 -])
778 -
779 -if test x"[$]$2" = xyes; then
780 -    ifelse([$4], , :, [$4])
781 -else
782 -    ifelse([$5], , :, [$5])
783 -fi
784 -])# AC_LIBTOOL_LINKER_OPTION
785 -
786 -
787 -# AC_LIBTOOL_SYS_MAX_CMD_LEN
788 -# --------------------------
789 -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
790 -[# find the maximum length of command line arguments
791 -AC_MSG_CHECKING([the maximum length of command line arguments])
792 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
793 -  i=0
794 -  teststring="ABCD"
795 -
796 -  case $build_os in
797 -  msdosdjgpp*)
798 -    # On DJGPP, this test can blow up pretty badly due to problems in libc
799 -    # (any single argument exceeding 2000 bytes causes a buffer overrun
800 -    # during glob expansion).  Even if it were fixed, the result of this
801 -    # check would be larger than it should be.
802 -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
803 -    ;;
804 -
805 -  gnu*)
806 -    # Under GNU Hurd, this test is not required because there is
807 -    # no limit to the length of command line arguments.
808 -    # Libtool will interpret -1 as no limit whatsoever
809 -    lt_cv_sys_max_cmd_len=-1;
810 -    ;;
811 -
812 -  cygwin* | mingw*)
813 -    # On Win9x/ME, this test blows up -- it succeeds, but takes
814 -    # about 5 minutes as the teststring grows exponentially.
815 -    # Worse, since 9x/ME are not pre-emptively multitasking,
816 -    # you end up with a "frozen" computer, even though with patience
817 -    # the test eventually succeeds (with a max line length of 256k).
818 -    # Instead, let's just punt: use the minimum linelength reported by
819 -    # all of the supported platforms: 8192 (on NT/2K/XP).
820 -    lt_cv_sys_max_cmd_len=8192;
821 -    ;;
822 -
823 -  amigaos*)
824 -    # On AmigaOS with pdksh, this test takes hours, literally.
825 -    # So we just punt and use a minimum line length of 8192.
826 -    lt_cv_sys_max_cmd_len=8192;
827 -    ;;
828 -
829 -  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
830 -    # This has been around since 386BSD, at least.  Likely further.
831 -    if test -x /sbin/sysctl; then
832 -      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
833 -    elif test -x /usr/sbin/sysctl; then
834 -      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
835 -    else
836 -      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
837 -    fi
838 -    # And add a safety zone
839 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
840 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
841 -    ;;
842 -
843 -  interix*)
844 -    # We know the value 262144 and hardcode it with a safety zone (like BSD)
845 -    lt_cv_sys_max_cmd_len=196608
846 -    ;;
847 -
848 -  osf*)
849 -    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
850 -    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
851 -    # nice to cause kernel panics so lets avoid the loop below.
852 -    # First set a reasonable default.
853 -    lt_cv_sys_max_cmd_len=16384
854 -    #
855 -    if test -x /sbin/sysconfig; then
856 -      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
857 -        *1*) lt_cv_sys_max_cmd_len=-1 ;;
858 -      esac
859 -    fi
860 -    ;;
861 -  sco3.2v5*)
862 -    lt_cv_sys_max_cmd_len=102400
863 -    ;;
864 -  sysv5* | sco5v6* | sysv4.2uw2*)
865 -    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
866 -    if test -n "$kargmax"; then
867 -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'`
868 -    else
869 -      lt_cv_sys_max_cmd_len=32768
870 -    fi
871 -    ;;
872 -  *)
873 -    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
874 -    if test -n "$lt_cv_sys_max_cmd_len"; then
875 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
876 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
877 -    else
878 -      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
879 -      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
880 -              = "XX$teststring") >/dev/null 2>&1 &&
881 -             new_result=`expr "X$teststring" : ".*" 2>&1` &&
882 -             lt_cv_sys_max_cmd_len=$new_result &&
883 -             test $i != 17 # 1/2 MB should be enough
884 -      do
885 -        i=`expr $i + 1`
886 -        teststring=$teststring$teststring
887 -      done
888 -      teststring=
889 -      # Add a significant safety factor because C++ compilers can tack on massive
890 -      # amounts of additional arguments before passing them to the linker.
891 -      # It appears as though 1/2 is a usable value.
892 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
893 -    fi
894 -    ;;
895 -  esac
896 -])
897 -if test -n $lt_cv_sys_max_cmd_len ; then
898 -  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
899 -else
900 -  AC_MSG_RESULT(none)
901 -fi
902 -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
903 -
904 -
905 -# _LT_AC_CHECK_DLFCN
906 -# ------------------
907 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
908 -[AC_CHECK_HEADERS(dlfcn.h)dnl
909 -])# _LT_AC_CHECK_DLFCN
910 -
911 -
912 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
913 -#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
914 -# ---------------------------------------------------------------------
915 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
916 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
917 -if test "$cross_compiling" = yes; then :
918 -  [$4]
919 -else
920 -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
921 -  lt_status=$lt_dlunknown
922 -  cat > conftest.$ac_ext <<EOF
923 -[#line __oline__ "configure"
924 -#include "confdefs.h"
925 -
926 -#if HAVE_DLFCN_H
927 -#include <dlfcn.h>
928 -#endif
929 -
930 -#include <stdio.h>
931 -
932 -#ifdef RTLD_GLOBAL
933 -#  define LT_DLGLOBAL          RTLD_GLOBAL
934 -#else
935 -#  ifdef DL_GLOBAL
936 -#    define LT_DLGLOBAL                DL_GLOBAL
937 -#  else
938 -#    define LT_DLGLOBAL                0
939 -#  endif
940 -#endif
941 -
942 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
943 -   find out it does not work in some platform. */
944 -#ifndef LT_DLLAZY_OR_NOW
945 -#  ifdef RTLD_LAZY
946 -#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
947 -#  else
948 -#    ifdef DL_LAZY
949 -#      define LT_DLLAZY_OR_NOW         DL_LAZY
950 -#    else
951 -#      ifdef RTLD_NOW
952 -#        define LT_DLLAZY_OR_NOW       RTLD_NOW
953 -#      else
954 -#        ifdef DL_NOW
955 -#          define LT_DLLAZY_OR_NOW     DL_NOW
956 -#        else
957 -#          define LT_DLLAZY_OR_NOW     0
958 -#        endif
959 -#      endif
960 -#    endif
961 -#  endif
962 -#endif
963 -
964 -#ifdef __cplusplus
965 -extern "C" void exit (int);
966 -#endif
967 -
968 -void fnord() { int i=42;}
969 -int main ()
970 -{
971 -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
972 -  int status = $lt_dlunknown;
973 -
974 -  if (self)
975 -    {
976 -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
977 -      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
978 -      /* dlclose (self); */
979 -    }
980 -  else
981 -    puts (dlerror ());
982 -
983 -    exit (status);
984 -}]
985 -EOF
986 -  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
987 -    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
988 -    lt_status=$?
989 -    case x$lt_status in
990 -      x$lt_dlno_uscore) $1 ;;
991 -      x$lt_dlneed_uscore) $2 ;;
992 -      x$lt_dlunknown|x*) $3 ;;
993 -    esac
994 -  else :
995 -    # compilation failed
996 -    $3
997 -  fi
998 -fi
999 -rm -fr conftest*
1000 -])# _LT_AC_TRY_DLOPEN_SELF
1001 -
1002 -
1003 -# AC_LIBTOOL_DLOPEN_SELF
1004 -# ----------------------
1005 -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1006 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1007 -if test "x$enable_dlopen" != xyes; then
1008 -  enable_dlopen=unknown
1009 -  enable_dlopen_self=unknown
1010 -  enable_dlopen_self_static=unknown
1011 -else
1012 -  lt_cv_dlopen=no
1013 -  lt_cv_dlopen_libs=
1014 -
1015 -  case $host_os in
1016 -  beos*)
1017 -    lt_cv_dlopen="load_add_on"
1018 -    lt_cv_dlopen_libs=
1019 -    lt_cv_dlopen_self=yes
1020 -    ;;
1021 -
1022 -  mingw* | pw32*)
1023 -    lt_cv_dlopen="LoadLibrary"
1024 -    lt_cv_dlopen_libs=
1025 -   ;;
1026 -
1027 -  cygwin*)
1028 -    lt_cv_dlopen="dlopen"
1029 -    lt_cv_dlopen_libs=
1030 -   ;;
1031 -
1032 -  darwin*)
1033 -  # if libdl is installed we need to link against it
1034 -    AC_CHECK_LIB([dl], [dlopen],
1035 -               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1036 -    lt_cv_dlopen="dyld"
1037 -    lt_cv_dlopen_libs=
1038 -    lt_cv_dlopen_self=yes
1039 -    ])
1040 -   ;;
1041 -
1042 -  *)
1043 -    AC_CHECK_FUNC([shl_load],
1044 -         [lt_cv_dlopen="shl_load"],
1045 -      [AC_CHECK_LIB([dld], [shl_load],
1046 -           [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1047 -       [AC_CHECK_FUNC([dlopen],
1048 -             [lt_cv_dlopen="dlopen"],
1049 -         [AC_CHECK_LIB([dl], [dlopen],
1050 -               [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1051 -           [AC_CHECK_LIB([svld], [dlopen],
1052 -                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1053 -             [AC_CHECK_LIB([dld], [dld_link],
1054 -                   [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1055 -             ])
1056 -           ])
1057 -         ])
1058 -       ])
1059 -      ])
1060 -    ;;
1061 -  esac
1062 -
1063 -  if test "x$lt_cv_dlopen" != xno; then
1064 -    enable_dlopen=yes
1065 -  else
1066 -    enable_dlopen=no
1067 -  fi
1068 -
1069 -  case $lt_cv_dlopen in
1070 -  dlopen)
1071 -    save_CPPFLAGS="$CPPFLAGS"
1072 -    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1073 -
1074 -    save_LDFLAGS="$LDFLAGS"
1075 -    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1076 -
1077 -    save_LIBS="$LIBS"
1078 -    LIBS="$lt_cv_dlopen_libs $LIBS"
1079 -
1080 -    AC_CACHE_CHECK([whether a program can dlopen itself],
1081 -         lt_cv_dlopen_self, [dnl
1082 -         _LT_AC_TRY_DLOPEN_SELF(
1083 -           lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1084 -           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1085 -    ])
1086 -
1087 -    if test "x$lt_cv_dlopen_self" = xyes; then
1088 -      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1089 -      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1090 -         lt_cv_dlopen_self_static, [dnl
1091 -         _LT_AC_TRY_DLOPEN_SELF(
1092 -           lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1093 -           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
1094 -      ])
1095 -    fi
1096 -
1097 -    CPPFLAGS="$save_CPPFLAGS"
1098 -    LDFLAGS="$save_LDFLAGS"
1099 -    LIBS="$save_LIBS"
1100 -    ;;
1101 -  esac
1102 -
1103 -  case $lt_cv_dlopen_self in
1104 -  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1105 -  *) enable_dlopen_self=unknown ;;
1106 -  esac
1107 -
1108 -  case $lt_cv_dlopen_self_static in
1109 -  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1110 -  *) enable_dlopen_self_static=unknown ;;
1111 -  esac
1112 -fi
1113 -])# AC_LIBTOOL_DLOPEN_SELF
1114 -
1115 -
1116 -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1117 -# ---------------------------------
1118 -# Check to see if options -c and -o are simultaneously supported by compiler
1119 -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1120 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
1121 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1122 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1123 -  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1124 -  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1125 -   $rm -r conftest 2>/dev/null
1126 -   mkdir conftest
1127 -   cd conftest
1128 -   mkdir out
1129 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1130 -
1131 -   lt_compiler_flag="-o out/conftest2.$ac_objext"
1132 -   # Insert the option either (1) after the last *FLAGS variable, or
1133 -   # (2) before a word containing "conftest.", or (3) at the end.
1134 -   # Note that $ac_compile itself does not contain backslashes and begins
1135 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
1136 -   lt_compile=`echo "$ac_compile" | $SED \
1137 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1138 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1139 -   -e 's:$: $lt_compiler_flag:'`
1140 -   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1141 -   (eval "$lt_compile" 2>out/conftest.err)
1142 -   ac_status=$?
1143 -   cat out/conftest.err >&AS_MESSAGE_LOG_FD
1144 -   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1145 -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
1146 -   then
1147 -     # The compiler can only warn and ignore the option if not recognized
1148 -     # So say no if there are warnings
1149 -     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1150 -     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1151 -     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1152 -       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1153 -     fi
1154 -   fi
1155 -   chmod u+w . 2>&AS_MESSAGE_LOG_FD
1156 -   $rm conftest*
1157 -   # SGI C++ compiler will create directory out/ii_files/ for
1158 -   # template instantiation
1159 -   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1160 -   $rm out/* && rmdir out
1161 -   cd ..
1162 -   rmdir conftest
1163 -   $rm conftest*
1164 -])
1165 -])# AC_LIBTOOL_PROG_CC_C_O
1166 -
1167 -
1168 -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1169 -# -----------------------------------------
1170 -# Check to see if we can do hard links to lock some files if needed
1171 -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1172 -[AC_REQUIRE([_LT_AC_LOCK])dnl
1173 -
1174 -hard_links="nottested"
1175 -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1176 -  # do not overwrite the value of need_locks provided by the user
1177 -  AC_MSG_CHECKING([if we can lock with hard links])
1178 -  hard_links=yes
1179 -  $rm conftest*
1180 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1181 -  touch conftest.a
1182 -  ln conftest.a conftest.b 2>&5 || hard_links=no
1183 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1184 -  AC_MSG_RESULT([$hard_links])
1185 -  if test "$hard_links" = no; then
1186 -    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1187 -    need_locks=warn
1188 -  fi
1189 -else
1190 -  need_locks=no
1191 -fi
1192 -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1193 -
1194 -
1195 -# AC_LIBTOOL_OBJDIR
1196 -# -----------------
1197 -AC_DEFUN([AC_LIBTOOL_OBJDIR],
1198 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1199 -[rm -f .libs 2>/dev/null
1200 -mkdir .libs 2>/dev/null
1201 -if test -d .libs; then
1202 -  lt_cv_objdir=.libs
1203 -else
1204 -  # MS-DOS does not allow filenames that begin with a dot.
1205 -  lt_cv_objdir=_libs
1206 -fi
1207 -rmdir .libs 2>/dev/null])
1208 -objdir=$lt_cv_objdir
1209 -])# AC_LIBTOOL_OBJDIR
1210 -
1211 -
1212 -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1213 -# ----------------------------------------------
1214 -# Check hardcoding attributes.
1215 -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
1216 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
1217 -_LT_AC_TAGVAR(hardcode_action, $1)=
1218 -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1219 -   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1220 -   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1221 -
1222 -  # We can hardcode non-existant directories.
1223 -  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1224 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
1225 -     # have to relink, otherwise we might link with an installed library
1226 -     # when we should be linking with a yet-to-be-installed one
1227 -     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1228 -     test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1229 -    # Linking always hardcodes the temporary library directory.
1230 -    _LT_AC_TAGVAR(hardcode_action, $1)=relink
1231 -  else
1232 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
1233 -    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
1234 -  fi
1235 -else
1236 -  # We cannot hardcode anything, or else we can only hardcode existing
1237 -  # directories.
1238 -  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1239 -fi
1240 -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1241 -
1242 -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1243 -  # Fast installation is not supported
1244 -  enable_fast_install=no
1245 -elif test "$shlibpath_overrides_runpath" = yes ||
1246 -     test "$enable_shared" = no; then
1247 -  # Fast installation is not necessary
1248 -  enable_fast_install=needless
1249 -fi
1250 -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1251 -
1252 -
1253 -# AC_LIBTOOL_SYS_LIB_STRIP
1254 -# ------------------------
1255 -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
1256 -[striplib=
1257 -old_striplib=
1258 -AC_MSG_CHECKING([whether stripping libraries is possible])
1259 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1260 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1261 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1262 -  AC_MSG_RESULT([yes])
1263 -else
1264 -# FIXME - insert some real tests, host_os isn't really good enough
1265 -  case $host_os in
1266 -   darwin*)
1267 -       if test -n "$STRIP" ; then
1268 -         striplib="$STRIP -x"
1269 -         old_striplib="$STRIP -S"
1270 -         AC_MSG_RESULT([yes])
1271 -       else
1272 -  AC_MSG_RESULT([no])
1273 -fi
1274 -       ;;
1275 -   *)
1276 -  AC_MSG_RESULT([no])
1277 -    ;;
1278 -  esac
1279 -fi
1280 -])# AC_LIBTOOL_SYS_LIB_STRIP
1281 -
1282 -
1283 -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1284 -# -----------------------------
1285 -# PORTME Fill in your ld.so characteristics
1286 -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1287 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
1288 -AC_MSG_CHECKING([dynamic linker characteristics])
1289 -library_names_spec=
1290 -libname_spec='lib$name'
1291 -soname_spec=
1292 -shrext_cmds=".so"
1293 -postinstall_cmds=
1294 -postuninstall_cmds=
1295 -finish_cmds=
1296 -finish_eval=
1297 -shlibpath_var=
1298 -shlibpath_overrides_runpath=unknown
1299 -version_type=none
1300 -dynamic_linker="$host_os ld.so"
1301 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1302 -m4_if($1,[],[
1303 -if test "$GCC" = yes; then
1304 -  case $host_os in
1305 -    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1306 -    *) lt_awk_arg="/^libraries:/" ;;
1307 -  esac
1308 -  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1309 -  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1310 -    # if the path contains ";" then we assume it to be the separator
1311 -    # otherwise default to the standard path separator (i.e. ":") - it is
1312 -    # assumed that no part of a normal pathname contains ";" but that should
1313 -    # okay in the real world where ";" in dirpaths is itself problematic.
1314 -    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1315 -  else
1316 -    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1317 -  fi
1318 -  # Ok, now we have the path, separated by spaces, we can step through it
1319 -  # and add multilib dir if necessary.
1320 -  lt_tmp_lt_search_path_spec=
1321 -  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1322 -  for lt_sys_path in $lt_search_path_spec; do
1323 -    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
1324 -      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
1325 -    else
1326 -      test -d "$lt_sys_path" && \
1327 -       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1328 -    fi
1329 -  done
1330 -  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
1331 -BEGIN {RS=" "; FS="/|\n";} {
1332 -  lt_foo="";
1333 -  lt_count=0;
1334 -  for (lt_i = NF; lt_i > 0; lt_i--) {
1335 -    if ($lt_i != "" && $lt_i != ".") {
1336 -      if ($lt_i == "..") {
1337 -        lt_count++;
1338 -      } else {
1339 -        if (lt_count == 0) {
1340 -          lt_foo="/" $lt_i lt_foo;
1341 -        } else {
1342 -          lt_count--;
1343 -        }
1344 -      }
1345 -    }
1346 -  }
1347 -  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1348 -  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1349 -}'`
1350 -  sys_lib_search_path_spec=`echo $lt_search_path_spec`
1351 -else
1352 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1353 -fi])
1354 -need_lib_prefix=unknown
1355 -hardcode_into_libs=no
1356 -
1357 -# when you set need_version to no, make sure it does not cause -set_version
1358 -# flags to be left without arguments
1359 -need_version=unknown
1360 -
1361 -case $host_os in
1362 -aix3*)
1363 -  version_type=linux
1364 -  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1365 -  shlibpath_var=LIBPATH
1366 -
1367 -  # AIX 3 has no versioning support, so we append a major version to the name.
1368 -  soname_spec='${libname}${release}${shared_ext}$major'
1369 -  ;;
1370 -
1371 -aix[[4-9]]*)
1372 -  version_type=linux
1373 -  need_lib_prefix=no
1374 -  need_version=no
1375 -  hardcode_into_libs=yes
1376 -  if test "$host_cpu" = ia64; then
1377 -    # AIX 5 supports IA64
1378 -    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1379 -    shlibpath_var=LD_LIBRARY_PATH
1380 -  else
1381 -    # With GCC up to 2.95.x, collect2 would create an import file
1382 -    # for dependence libraries.  The import file would start with
1383 -    # the line `#! .'.  This would cause the generated library to
1384 -    # depend on `.', always an invalid library.  This was fixed in
1385 -    # development snapshots of GCC prior to 3.0.
1386 -    case $host_os in
1387 -      aix4 | aix4.[[01]] | aix4.[[01]].*)
1388 -      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1389 -          echo ' yes '
1390 -          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1391 -       :
1392 -      else
1393 -       can_build_shared=no
1394 -      fi
1395 -      ;;
1396 -    esac
1397 -    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1398 -    # soname into executable. Probably we can add versioning support to
1399 -    # collect2, so additional links can be useful in future.
1400 -    if test "$aix_use_runtimelinking" = yes; then
1401 -      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1402 -      # instead of lib<name>.a to let people know that these are not
1403 -      # typical AIX shared libraries.
1404 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1405 -    else
1406 -      # We preserve .a as extension for shared libraries through AIX4.2
1407 -      # and later when we are not doing run time linking.
1408 -      library_names_spec='${libname}${release}.a $libname.a'
1409 -      soname_spec='${libname}${release}${shared_ext}$major'
1410 -    fi
1411 -    shlibpath_var=LIBPATH
1412 -  fi
1413 -  ;;
1414 -
1415 -amigaos*)
1416 -  library_names_spec='$libname.ixlibrary $libname.a'
1417 -  # Create ${libname}_ixlibrary.a entries in /sys/libs.
1418 -  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1419 -  ;;
1420 -
1421 -beos*)
1422 -  library_names_spec='${libname}${shared_ext}'
1423 -  dynamic_linker="$host_os ld.so"
1424 -  shlibpath_var=LIBRARY_PATH
1425 -  ;;
1426 -
1427 -bsdi[[45]]*)
1428 -  version_type=linux
1429 -  need_version=no
1430 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1431 -  soname_spec='${libname}${release}${shared_ext}$major'
1432 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1433 -  shlibpath_var=LD_LIBRARY_PATH
1434 -  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1435 -  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1436 -  # the default ld.so.conf also contains /usr/contrib/lib and
1437 -  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1438 -  # libtool to hard-code these into programs
1439 -  ;;
1440 -
1441 -cygwin* | mingw* | pw32*)
1442 -  version_type=windows
1443 -  shrext_cmds=".dll"
1444 -  need_version=no
1445 -  need_lib_prefix=no
1446 -
1447 -  case $GCC,$host_os in
1448 -  yes,cygwin* | yes,mingw* | yes,pw32*)
1449 -    library_names_spec='$libname.dll.a'
1450 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
1451 -    postinstall_cmds='base_file=`basename \${file}`~
1452 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1453 -      dldir=$destdir/`dirname \$dlpath`~
1454 -      test -d \$dldir || mkdir -p \$dldir~
1455 -      $install_prog $dir/$dlname \$dldir/$dlname~
1456 -      chmod a+x \$dldir/$dlname'
1457 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1458 -      dlpath=$dir/\$dldll~
1459 -       $rm \$dlpath'
1460 -    shlibpath_overrides_runpath=yes
1461 -
1462 -    case $host_os in
1463 -    cygwin*)
1464 -      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1465 -      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1466 -      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1467 -      ;;
1468 -    mingw*)
1469 -      # MinGW DLLs use traditional 'lib' prefix
1470 -      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1471 -      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1472 -      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1473 -        # It is most probably a Windows format PATH printed by
1474 -        # mingw gcc, but we are running on Cygwin. Gcc prints its search
1475 -        # path with ; separators, and with drive letters. We can handle the
1476 -        # drive letters (cygwin fileutils understands them), so leave them,
1477 -        # especially as we might pass files found there to a mingw objdump,
1478 -        # which wouldn't understand a cygwinified path. Ahh.
1479 -        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1480 -      else
1481 -        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1482 -      fi
1483 -      ;;
1484 -    pw32*)
1485 -      # pw32 DLLs use 'pw' prefix rather than 'lib'
1486 -      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1487 -      ;;
1488 -    esac
1489 -    ;;
1490 -
1491 -  *)
1492 -    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
1493 -    ;;
1494 -  esac
1495 -  dynamic_linker='Win32 ld.exe'
1496 -  # FIXME: first we should search . and the directory the executable is in
1497 -  shlibpath_var=PATH
1498 -  ;;
1499 -
1500 -darwin* | rhapsody*)
1501 -  dynamic_linker="$host_os dyld"
1502 -  version_type=darwin
1503 -  need_lib_prefix=no
1504 -  need_version=no
1505 -  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1506 -  soname_spec='${libname}${release}${major}$shared_ext'
1507 -  shlibpath_overrides_runpath=yes
1508 -  shlibpath_var=DYLD_LIBRARY_PATH
1509 -  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1510 -  m4_if([$1], [],[
1511 -  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
1512 -  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1513 -  ;;
1514 -
1515 -dgux*)
1516 -  version_type=linux
1517 -  need_lib_prefix=no
1518 -  need_version=no
1519 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1520 -  soname_spec='${libname}${release}${shared_ext}$major'
1521 -  shlibpath_var=LD_LIBRARY_PATH
1522 -  ;;
1523 -
1524 -freebsd1*)
1525 -  dynamic_linker=no
1526 -  ;;
1527 -
1528 -freebsd* | dragonfly*)
1529 -  # DragonFly does not have aout.  When/if they implement a new
1530 -  # versioning mechanism, adjust this.
1531 -  if test -x /usr/bin/objformat; then
1532 -    objformat=`/usr/bin/objformat`
1533 -  else
1534 -    case $host_os in
1535 -    freebsd[[123]]*) objformat=aout ;;
1536 -    *) objformat=elf ;;
1537 -    esac
1538 -  fi
1539 -  version_type=freebsd-$objformat
1540 -  case $version_type in
1541 -    freebsd-elf*)
1542 -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1543 -      need_version=no
1544 -      need_lib_prefix=no
1545 -      ;;
1546 -    freebsd-*)
1547 -      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1548 -      need_version=yes
1549 -      ;;
1550 -  esac
1551 -  shlibpath_var=LD_LIBRARY_PATH
1552 -  case $host_os in
1553 -  freebsd2*)
1554 -    shlibpath_overrides_runpath=yes
1555 -    ;;
1556 -  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1557 -    shlibpath_overrides_runpath=yes
1558 -    hardcode_into_libs=yes
1559 -    ;;
1560 -  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1561 -  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1562 -    shlibpath_overrides_runpath=no
1563 -    hardcode_into_libs=yes
1564 -    ;;
1565 -  *) # from 4.6 on, and DragonFly
1566 -    shlibpath_overrides_runpath=yes
1567 -    hardcode_into_libs=yes
1568 -    ;;
1569 -  esac
1570 -  ;;
1571 -
1572 -gnu*)
1573 -  version_type=linux
1574 -  need_lib_prefix=no
1575 -  need_version=no
1576 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1577 -  soname_spec='${libname}${release}${shared_ext}$major'
1578 -  shlibpath_var=LD_LIBRARY_PATH
1579 -  hardcode_into_libs=yes
1580 -  ;;
1581 -
1582 -hpux9* | hpux10* | hpux11*)
1583 -  # Give a soname corresponding to the major version so that dld.sl refuses to
1584 -  # link against other versions.
1585 -  version_type=sunos
1586 -  need_lib_prefix=no
1587 -  need_version=no
1588 -  case $host_cpu in
1589 -  ia64*)
1590 -    shrext_cmds='.so'
1591 -    hardcode_into_libs=yes
1592 -    dynamic_linker="$host_os dld.so"
1593 -    shlibpath_var=LD_LIBRARY_PATH
1594 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1595 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1596 -    soname_spec='${libname}${release}${shared_ext}$major'
1597 -    if test "X$HPUX_IA64_MODE" = X32; then
1598 -      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1599 -    else
1600 -      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1601 -    fi
1602 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1603 -    ;;
1604 -   hppa*64*)
1605 -     shrext_cmds='.sl'
1606 -     hardcode_into_libs=yes
1607 -     dynamic_linker="$host_os dld.sl"
1608 -     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1609 -     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1610 -     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1611 -     soname_spec='${libname}${release}${shared_ext}$major'
1612 -     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1613 -     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1614 -     ;;
1615 -   *)
1616 -    shrext_cmds='.sl'
1617 -    dynamic_linker="$host_os dld.sl"
1618 -    shlibpath_var=SHLIB_PATH
1619 -    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1620 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1621 -    soname_spec='${libname}${release}${shared_ext}$major'
1622 -    ;;
1623 -  esac
1624 -  # HP-UX runs *really* slowly unless shared libraries are mode 555.
1625 -  postinstall_cmds='chmod 555 $lib'
1626 -  ;;
1627 -
1628 -interix[[3-9]]*)
1629 -  version_type=linux
1630 -  need_lib_prefix=no
1631 -  need_version=no
1632 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1633 -  soname_spec='${libname}${release}${shared_ext}$major'
1634 -  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1635 -  shlibpath_var=LD_LIBRARY_PATH
1636 -  shlibpath_overrides_runpath=no
1637 -  hardcode_into_libs=yes
1638 -  ;;
1639 -
1640 -irix5* | irix6* | nonstopux*)
1641 -  case $host_os in
1642 -    nonstopux*) version_type=nonstopux ;;
1643 -    *)
1644 -       if test "$lt_cv_prog_gnu_ld" = yes; then
1645 -               version_type=linux
1646 -       else
1647 -               version_type=irix
1648 -       fi ;;
1649 -  esac
1650 -  need_lib_prefix=no
1651 -  need_version=no
1652 -  soname_spec='${libname}${release}${shared_ext}$major'
1653 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1654 -  case $host_os in
1655 -  irix5* | nonstopux*)
1656 -    libsuff= shlibsuff=
1657 -    ;;
1658 -  *)
1659 -    case $LD in # libtool.m4 will add one of these switches to LD
1660 -    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1661 -      libsuff= shlibsuff= libmagic=32-bit;;
1662 -    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1663 -      libsuff=32 shlibsuff=N32 libmagic=N32;;
1664 -    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1665 -      libsuff=64 shlibsuff=64 libmagic=64-bit;;
1666 -    *) libsuff= shlibsuff= libmagic=never-match;;
1667 -    esac
1668 -    ;;
1669 -  esac
1670 -  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1671 -  shlibpath_overrides_runpath=no
1672 -  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1673 -  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1674 -  hardcode_into_libs=yes
1675 -  ;;
1676 -
1677 -# No shared lib support for Linux oldld, aout, or coff.
1678 -linux*oldld* | linux*aout* | linux*coff*)
1679 -  dynamic_linker=no
1680 -  ;;
1681 -
1682 -# This must be Linux ELF.
1683 -linux* | k*bsd*-gnu)
1684 -  version_type=linux
1685 -  need_lib_prefix=no
1686 -  need_version=no
1687 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1688 -  soname_spec='${libname}${release}${shared_ext}$major'
1689 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1690 -  shlibpath_var=LD_LIBRARY_PATH
1691 -  shlibpath_overrides_runpath=no
1692 -  # This implies no fast_install, which is unacceptable.
1693 -  # Some rework will be needed to allow for fast_install
1694 -  # before this can be enabled.
1695 -  hardcode_into_libs=yes
1696 -  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1697 -  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1698 -
1699 -  # Append ld.so.conf contents to the search path
1700 -  if test -f /etc/ld.so.conf; then
1701 -    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[         ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1702 -    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
1703 -  fi
1704 -
1705 -  # We used to test for /lib/ld.so.1 and disable shared libraries on
1706 -  # powerpc, because MkLinux only supported shared libraries with the
1707 -  # GNU dynamic linker.  Since this was broken with cross compilers,
1708 -  # most powerpc-linux boxes support dynamic linking these days and
1709 -  # people can always --disable-shared, the test was removed, and we
1710 -  # assume the GNU/Linux dynamic linker is in use.
1711 -  dynamic_linker='GNU/Linux ld.so'
1712 -  ;;
1713 -
1714 -netbsd*)
1715 -  version_type=sunos
1716 -  need_lib_prefix=no
1717 -  need_version=no
1718 -  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1719 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1720 -    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1721 -    dynamic_linker='NetBSD (a.out) ld.so'
1722 -  else
1723 -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1724 -    soname_spec='${libname}${release}${shared_ext}$major'
1725 -    dynamic_linker='NetBSD ld.elf_so'
1726 -  fi
1727 -  shlibpath_var=LD_LIBRARY_PATH
1728 -  shlibpath_overrides_runpath=yes
1729 -  hardcode_into_libs=yes
1730 -  ;;
1731 -
1732 -newsos6)
1733 -  version_type=linux
1734 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1735 -  shlibpath_var=LD_LIBRARY_PATH
1736 -  shlibpath_overrides_runpath=yes
1737 -  ;;
1738 -
1739 -nto-qnx*)
1740 -  version_type=linux
1741 -  need_lib_prefix=no
1742 -  need_version=no
1743 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1744 -  soname_spec='${libname}${release}${shared_ext}$major'
1745 -  shlibpath_var=LD_LIBRARY_PATH
1746 -  shlibpath_overrides_runpath=yes
1747 -  ;;
1748 -
1749 -openbsd*)
1750 -  version_type=sunos
1751 -  sys_lib_dlsearch_path_spec="/usr/lib"
1752 -  need_lib_prefix=no
1753 -  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1754 -  case $host_os in
1755 -    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1756 -    *)                         need_version=no  ;;
1757 -  esac
1758 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1759 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1760 -  shlibpath_var=LD_LIBRARY_PATH
1761 -  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1762 -    case $host_os in
1763 -      openbsd2.[[89]] | openbsd2.[[89]].*)
1764 -       shlibpath_overrides_runpath=no
1765 -       ;;
1766 -      *)
1767 -       shlibpath_overrides_runpath=yes
1768 -       ;;
1769 -      esac
1770 -  else
1771 -    shlibpath_overrides_runpath=yes
1772 -  fi
1773 -  ;;
1774 -
1775 -os2*)
1776 -  libname_spec='$name'
1777 -  shrext_cmds=".dll"
1778 -  need_lib_prefix=no
1779 -  library_names_spec='$libname${shared_ext} $libname.a'
1780 -  dynamic_linker='OS/2 ld.exe'
1781 -  shlibpath_var=LIBPATH
1782 -  ;;
1783 -
1784 -osf3* | osf4* | osf5*)
1785 -  version_type=osf
1786 -  need_lib_prefix=no
1787 -  need_version=no
1788 -  soname_spec='${libname}${release}${shared_ext}$major'
1789 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1790 -  shlibpath_var=LD_LIBRARY_PATH
1791 -  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1792 -  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1793 -  ;;
1794 -
1795 -rdos*)
1796 -  dynamic_linker=no
1797 -  ;;
1798 -
1799 -solaris*)
1800 -  version_type=linux
1801 -  need_lib_prefix=no
1802 -  need_version=no
1803 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1804 -  soname_spec='${libname}${release}${shared_ext}$major'
1805 -  shlibpath_var=LD_LIBRARY_PATH
1806 -  shlibpath_overrides_runpath=yes
1807 -  hardcode_into_libs=yes
1808 -  # ldd complains unless libraries are executable
1809 -  postinstall_cmds='chmod +x $lib'
1810 -  ;;
1811 -
1812 -sunos4*)
1813 -  version_type=sunos
1814 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1815 -  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1816 -  shlibpath_var=LD_LIBRARY_PATH
1817 -  shlibpath_overrides_runpath=yes
1818 -  if test "$with_gnu_ld" = yes; then
1819 -    need_lib_prefix=no
1820 -  fi
1821 -  need_version=yes
1822 -  ;;
1823 -
1824 -sysv4 | sysv4.3*)
1825 -  version_type=linux
1826 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1827 -  soname_spec='${libname}${release}${shared_ext}$major'
1828 -  shlibpath_var=LD_LIBRARY_PATH
1829 -  case $host_vendor in
1830 -    sni)
1831 -      shlibpath_overrides_runpath=no
1832 -      need_lib_prefix=no
1833 -      export_dynamic_flag_spec='${wl}-Blargedynsym'
1834 -      runpath_var=LD_RUN_PATH
1835 -      ;;
1836 -    siemens)
1837 -      need_lib_prefix=no
1838 -      ;;
1839 -    motorola)
1840 -      need_lib_prefix=no
1841 -      need_version=no
1842 -      shlibpath_overrides_runpath=no
1843 -      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1844 -      ;;
1845 -  esac
1846 -  ;;
1847 -
1848 -sysv4*MP*)
1849 -  if test -d /usr/nec ;then
1850 -    version_type=linux
1851 -    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1852 -    soname_spec='$libname${shared_ext}.$major'
1853 -    shlibpath_var=LD_LIBRARY_PATH
1854 -  fi
1855 -  ;;
1856 -
1857 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1858 -  version_type=freebsd-elf
1859 -  need_lib_prefix=no
1860 -  need_version=no
1861 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1862 -  soname_spec='${libname}${release}${shared_ext}$major'
1863 -  shlibpath_var=LD_LIBRARY_PATH
1864 -  hardcode_into_libs=yes
1865 -  if test "$with_gnu_ld" = yes; then
1866 -    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1867 -    shlibpath_overrides_runpath=no
1868 -  else
1869 -    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1870 -    shlibpath_overrides_runpath=yes
1871 -    case $host_os in
1872 -      sco3.2v5*)
1873 -        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1874 -       ;;
1875 -    esac
1876 -  fi
1877 -  sys_lib_dlsearch_path_spec='/usr/lib'
1878 -  ;;
1879 -
1880 -uts4*)
1881 -  version_type=linux
1882 -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1883 -  soname_spec='${libname}${release}${shared_ext}$major'
1884 -  shlibpath_var=LD_LIBRARY_PATH
1885 -  ;;
1886 -
1887 -*)
1888 -  dynamic_linker=no
1889 -  ;;
1890 -esac
1891 -AC_MSG_RESULT([$dynamic_linker])
1892 -test "$dynamic_linker" = no && can_build_shared=no
1893 -
1894 -AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
1895 -[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
1896 -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1897 -AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
1898 -[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
1899 -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1900 -
1901 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1902 -if test "$GCC" = yes; then
1903 -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1904 -fi
1905 -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1906 -
1907 -
1908 -# _LT_AC_TAGCONFIG
1909 -# ----------------
1910 -AC_DEFUN([_LT_AC_TAGCONFIG],
1911 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
1912 -AC_ARG_WITH([tags],
1913 -    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1914 -        [include additional configurations @<:@automatic@:>@])],
1915 -    [tagnames="$withval"])
1916 -
1917 -if test -f "$ltmain" && test -n "$tagnames"; then
1918 -  if test ! -f "${ofile}"; then
1919 -    AC_MSG_WARN([output file `$ofile' does not exist])
1920 -  fi
1921 -
1922 -  if test -z "$LTCC"; then
1923 -    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1924 -    if test -z "$LTCC"; then
1925 -      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
1926 -    else
1927 -      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1928 -    fi
1929 -  fi
1930 -  if test -z "$LTCFLAGS"; then
1931 -    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1932 -  fi
1933 -
1934 -  # Extract list of available tagged configurations in $ofile.
1935 -  # Note that this assumes the entire list is on one line.
1936 -  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1937 -
1938 -  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1939 -  for tagname in $tagnames; do
1940 -    IFS="$lt_save_ifs"
1941 -    # Check whether tagname contains only valid characters
1942 -    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
1943 -    "") ;;
1944 -    *)  AC_MSG_ERROR([invalid tag name: $tagname])
1945 -       ;;
1946 -    esac
1947 -
1948 -    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1949 -    then
1950 -      AC_MSG_ERROR([tag name \"$tagname\" already exists])
1951 -    fi
1952 -
1953 -    # Update the list of available tags.
1954 -    if test -n "$tagname"; then
1955 -      echo appending configuration tag \"$tagname\" to $ofile
1956 -
1957 -      case $tagname in
1958 -      CXX)
1959 -       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1960 -           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1961 -           (test "X$CXX" != "Xg++"))) ; then
1962 -         AC_LIBTOOL_LANG_CXX_CONFIG
1963 -       else
1964 -         tagname=""
1965 -       fi
1966 -       ;;
1967 -
1968 -      F77)
1969 -       if test -n "$F77" && test "X$F77" != "Xno"; then
1970 -         AC_LIBTOOL_LANG_F77_CONFIG
1971 -       else
1972 -         tagname=""
1973 -       fi
1974 -       ;;
1975 -
1976 -      GCJ)
1977 -       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1978 -         AC_LIBTOOL_LANG_GCJ_CONFIG
1979 -       else
1980 -         tagname=""
1981 -       fi
1982 -       ;;
1983 -
1984 -      RC)
1985 -       AC_LIBTOOL_LANG_RC_CONFIG
1986 -       ;;
1987 -
1988 -      *)
1989 -       AC_MSG_ERROR([Unsupported tag name: $tagname])
1990 -       ;;
1991 -      esac
1992 -
1993 -      # Append the new tag name to the list of available tags.
1994 -      if test -n "$tagname" ; then
1995 -      available_tags="$available_tags $tagname"
1996 -    fi
1997 -    fi
1998 -  done
1999 -  IFS="$lt_save_ifs"
2000 -
2001 -  # Now substitute the updated list of available tags.
2002 -  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
2003 -    mv "${ofile}T" "$ofile"
2004 -    chmod +x "$ofile"
2005 -  else
2006 -    rm -f "${ofile}T"
2007 -    AC_MSG_ERROR([unable to update list of available tagged configurations.])
2008 -  fi
2009 -fi
2010 -])# _LT_AC_TAGCONFIG
2011 -
2012 -
2013 -# AC_LIBTOOL_DLOPEN
2014 -# -----------------
2015 -# enable checks for dlopen support
2016 -AC_DEFUN([AC_LIBTOOL_DLOPEN],
2017 - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
2018 -])# AC_LIBTOOL_DLOPEN
2019 -
2020 -
2021 -# AC_LIBTOOL_WIN32_DLL
2022 -# --------------------
2023 -# declare package support for building win32 DLLs
2024 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
2025 -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
2026 -])# AC_LIBTOOL_WIN32_DLL
2027 -
2028 -
2029 -# AC_ENABLE_SHARED([DEFAULT])
2030 -# ---------------------------
2031 -# implement the --enable-shared flag
2032 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
2033 -AC_DEFUN([AC_ENABLE_SHARED],
2034 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
2035 -AC_ARG_ENABLE([shared],
2036 -    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
2037 -       [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
2038 -    [p=${PACKAGE-default}
2039 -    case $enableval in
2040 -    yes) enable_shared=yes ;;
2041 -    no) enable_shared=no ;;
2042 -    *)
2043 -      enable_shared=no
2044 -      # Look at the argument we got.  We use all the common list separators.
2045 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2046 -      for pkg in $enableval; do
2047 -       IFS="$lt_save_ifs"
2048 -       if test "X$pkg" = "X$p"; then
2049 -         enable_shared=yes
2050 -       fi
2051 -      done
2052 -      IFS="$lt_save_ifs"
2053 -      ;;
2054 -    esac],
2055 -    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
2056 -])# AC_ENABLE_SHARED
2057 -
2058 -
2059 -# AC_DISABLE_SHARED
2060 -# -----------------
2061 -# set the default shared flag to --disable-shared
2062 -AC_DEFUN([AC_DISABLE_SHARED],
2063 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2064 -AC_ENABLE_SHARED(no)
2065 -])# AC_DISABLE_SHARED
2066 -
2067 -
2068 -# AC_ENABLE_STATIC([DEFAULT])
2069 -# ---------------------------
2070 -# implement the --enable-static flag
2071 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
2072 -AC_DEFUN([AC_ENABLE_STATIC],
2073 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
2074 -AC_ARG_ENABLE([static],
2075 -    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
2076 -       [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
2077 -    [p=${PACKAGE-default}
2078 -    case $enableval in
2079 -    yes) enable_static=yes ;;
2080 -    no) enable_static=no ;;
2081 -    *)
2082 -     enable_static=no
2083 -      # Look at the argument we got.  We use all the common list separators.
2084 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2085 -      for pkg in $enableval; do
2086 -       IFS="$lt_save_ifs"
2087 -       if test "X$pkg" = "X$p"; then
2088 -         enable_static=yes
2089 -       fi
2090 -      done
2091 -      IFS="$lt_save_ifs"
2092 -      ;;
2093 -    esac],
2094 -    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2095 -])# AC_ENABLE_STATIC
2096 -
2097 -
2098 -# AC_DISABLE_STATIC
2099 -# -----------------
2100 -# set the default static flag to --disable-static
2101 -AC_DEFUN([AC_DISABLE_STATIC],
2102 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2103 -AC_ENABLE_STATIC(no)
2104 -])# AC_DISABLE_STATIC
2105 -
2106 -
2107 -# AC_ENABLE_FAST_INSTALL([DEFAULT])
2108 -# ---------------------------------
2109 -# implement the --enable-fast-install flag
2110 -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
2111 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2112 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2113 -AC_ARG_ENABLE([fast-install],
2114 -    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2115 -    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2116 -    [p=${PACKAGE-default}
2117 -    case $enableval in
2118 -    yes) enable_fast_install=yes ;;
2119 -    no) enable_fast_install=no ;;
2120 -    *)
2121 -      enable_fast_install=no
2122 -      # Look at the argument we got.  We use all the common list separators.
2123 -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2124 -      for pkg in $enableval; do
2125 -       IFS="$lt_save_ifs"
2126 -       if test "X$pkg" = "X$p"; then
2127 -         enable_fast_install=yes
2128 -       fi
2129 -      done
2130 -      IFS="$lt_save_ifs"
2131 -      ;;
2132 -    esac],
2133 -    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2134 -])# AC_ENABLE_FAST_INSTALL
2135 -
2136 -
2137 -# AC_DISABLE_FAST_INSTALL
2138 -# -----------------------
2139 -# set the default to --disable-fast-install
2140 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2141 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2142 -AC_ENABLE_FAST_INSTALL(no)
2143 -])# AC_DISABLE_FAST_INSTALL
2144 -
2145 -
2146 -# AC_LIBTOOL_PICMODE([MODE])
2147 -# --------------------------
2148 -# implement the --with-pic flag
2149 -# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
2150 -AC_DEFUN([AC_LIBTOOL_PICMODE],
2151 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2152 -pic_mode=ifelse($#,1,$1,default)
2153 -])# AC_LIBTOOL_PICMODE
2154 -
2155 -
2156 -# AC_PROG_EGREP
2157 -# -------------
2158 -# This is predefined starting with Autoconf 2.54, so this conditional
2159 -# definition can be removed once we require Autoconf 2.54 or later.
2160 -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2161 -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2162 -   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2163 -    then ac_cv_prog_egrep='grep -E'
2164 -    else ac_cv_prog_egrep='egrep'
2165 -    fi])
2166 - EGREP=$ac_cv_prog_egrep
2167 - AC_SUBST([EGREP])
2168 -])])
2169 -
2170 -
2171 -# AC_PATH_TOOL_PREFIX
2172 -# -------------------
2173 -# find a file program which can recognize shared library
2174 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
2175 -[AC_REQUIRE([AC_PROG_EGREP])dnl
2176 -AC_MSG_CHECKING([for $1])
2177 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2178 -[case $MAGIC_CMD in
2179 -[[\\/*] |  ?:[\\/]*])
2180 -  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2181 -  ;;
2182 -*)
2183 -  lt_save_MAGIC_CMD="$MAGIC_CMD"
2184 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2185 -dnl $ac_dummy forces splitting on constant user-supplied paths.
2186 -dnl POSIX.2 word splitting is done only on the output of word expansions,
2187 -dnl not every word.  This closes a longstanding sh security hole.
2188 -  ac_dummy="ifelse([$2], , $PATH, [$2])"
2189 -  for ac_dir in $ac_dummy; do
2190 -    IFS="$lt_save_ifs"
2191 -    test -z "$ac_dir" && ac_dir=.
2192 -    if test -f $ac_dir/$1; then
2193 -      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2194 -      if test -n "$file_magic_test_file"; then
2195 -       case $deplibs_check_method in
2196 -       "file_magic "*)
2197 -         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2198 -         MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2199 -         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2200 -           $EGREP "$file_magic_regex" > /dev/null; then
2201 -           :
2202 -         else
2203 -           cat <<EOF 1>&2
2204 -
2205 -*** Warning: the command libtool uses to detect shared libraries,
2206 -*** $file_magic_cmd, produces output that libtool cannot recognize.
2207 -*** The result is that libtool may fail to recognize shared libraries
2208 -*** as such.  This will affect the creation of libtool libraries that
2209 -*** depend on shared libraries, but programs linked with such libtool
2210 -*** libraries will work regardless of this problem.  Nevertheless, you
2211 -*** may want to report the problem to your system manager and/or to
2212 -*** bug-libtool@gnu.org
2213 -
2214 -EOF
2215 -         fi ;;
2216 -       esac
2217 -      fi
2218 -      break
2219 -    fi
2220 -  done
2221 -  IFS="$lt_save_ifs"
2222 -  MAGIC_CMD="$lt_save_MAGIC_CMD"
2223 -  ;;
2224 -esac])
2225 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2226 -if test -n "$MAGIC_CMD"; then
2227 -  AC_MSG_RESULT($MAGIC_CMD)
2228 -else
2229 -  AC_MSG_RESULT(no)
2230 -fi
2231 -])# AC_PATH_TOOL_PREFIX
2232 -
2233 -
2234 -# AC_PATH_MAGIC
2235 -# -------------
2236 -# find a file program which can recognize a shared library
2237 -AC_DEFUN([AC_PATH_MAGIC],
2238 -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2239 -if test -z "$lt_cv_path_MAGIC_CMD"; then
2240 -  if test -n "$ac_tool_prefix"; then
2241 -    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2242 -  else
2243 -    MAGIC_CMD=:
2244 -  fi
2245 -fi
2246 -])# AC_PATH_MAGIC
2247 -
2248 -
2249 -# AC_PROG_LD
2250 -# ----------
2251 -# find the pathname to the GNU or non-GNU linker
2252 -AC_DEFUN([AC_PROG_LD],
2253 -[AC_ARG_WITH([gnu-ld],
2254 -    [AC_HELP_STRING([--with-gnu-ld],
2255 -       [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2256 -    [test "$withval" = no || with_gnu_ld=yes],
2257 -    [with_gnu_ld=no])
2258 -AC_REQUIRE([LT_AC_PROG_SED])dnl
2259 -AC_REQUIRE([AC_PROG_CC])dnl
2260 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
2261 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2262 -ac_prog=ld
2263 -if test "$GCC" = yes; then
2264 -  # Check if gcc -print-prog-name=ld gives a path.
2265 -  AC_MSG_CHECKING([for ld used by $CC])
2266 -  case $host in
2267 -  *-*-mingw*)
2268 -    # gcc leaves a trailing carriage return which upsets mingw
2269 -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2270 -  *)
2271 -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2272 -  esac
2273 -  case $ac_prog in
2274 -    # Accept absolute paths.
2275 -    [[\\/]]* | ?:[[\\/]]*)
2276 -      re_direlt='/[[^/]][[^/]]*/\.\./'
2277 -      # Canonicalize the pathname of ld
2278 -      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2279 -      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2280 -       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2281 -      done
2282 -      test -z "$LD" && LD="$ac_prog"
2283 -      ;;
2284 -  "")
2285 -    # If it fails, then pretend we aren't using GCC.
2286 -    ac_prog=ld
2287 -    ;;
2288 -  *)
2289 -    # If it is relative, then search for the first ld in PATH.
2290 -    with_gnu_ld=unknown
2291 -    ;;
2292 -  esac
2293 -elif test "$with_gnu_ld" = yes; then
2294 -  AC_MSG_CHECKING([for GNU ld])
2295 -else
2296 -  AC_MSG_CHECKING([for non-GNU ld])
2297 -fi
2298 -AC_CACHE_VAL(lt_cv_path_LD,
2299 -[if test -z "$LD"; then
2300 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2301 -  for ac_dir in $PATH; do
2302 -    IFS="$lt_save_ifs"
2303 -    test -z "$ac_dir" && ac_dir=.
2304 -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2305 -      lt_cv_path_LD="$ac_dir/$ac_prog"
2306 -      # Check to see if the program is GNU ld.  I'd rather use --version,
2307 -      # but apparently some variants of GNU ld only accept -v.
2308 -      # Break only if it was the GNU/non-GNU ld that we prefer.
2309 -      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2310 -      *GNU* | *'with BFD'*)
2311 -       test "$with_gnu_ld" != no && break
2312 -       ;;
2313 -      *)
2314 -       test "$with_gnu_ld" != yes && break
2315 -       ;;
2316 -      esac
2317 -    fi
2318 -  done
2319 -  IFS="$lt_save_ifs"
2320 -else
2321 -  lt_cv_path_LD="$LD" # Let the user override the test with a path.
2322 -fi])
2323 -LD="$lt_cv_path_LD"
2324 -if test -n "$LD"; then
2325 -  AC_MSG_RESULT($LD)
2326 -else
2327 -  AC_MSG_RESULT(no)
2328 -fi
2329 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2330 -AC_PROG_LD_GNU
2331 -])# AC_PROG_LD
2332 -
2333 -
2334 -# AC_PROG_LD_GNU
2335 -# --------------
2336 -AC_DEFUN([AC_PROG_LD_GNU],
2337 -[AC_REQUIRE([AC_PROG_EGREP])dnl
2338 -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2339 -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
2340 -case `$LD -v 2>&1 </dev/null` in
2341 -*GNU* | *'with BFD'*)
2342 -  lt_cv_prog_gnu_ld=yes
2343 -  ;;
2344 -*)
2345 -  lt_cv_prog_gnu_ld=no
2346 -  ;;
2347 -esac])
2348 -with_gnu_ld=$lt_cv_prog_gnu_ld
2349 -])# AC_PROG_LD_GNU
2350 -
2351 -
2352 -# AC_PROG_LD_RELOAD_FLAG
2353 -# ----------------------
2354 -# find reload flag for linker
2355 -#   -- PORTME Some linkers may need a different reload flag.
2356 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
2357 -[AC_CACHE_CHECK([for $LD option to reload object files],
2358 -  lt_cv_ld_reload_flag,
2359 -  [lt_cv_ld_reload_flag='-r'])
2360 -reload_flag=$lt_cv_ld_reload_flag
2361 -case $reload_flag in
2362 -"" | " "*) ;;
2363 -*) reload_flag=" $reload_flag" ;;
2364 -esac
2365 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
2366 -case $host_os in
2367 -  darwin*)
2368 -    if test "$GCC" = yes; then
2369 -      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
2370 -    else
2371 -      reload_cmds='$LD$reload_flag -o $output$reload_objs'
2372 -    fi
2373 -    ;;
2374 -esac
2375 -])# AC_PROG_LD_RELOAD_FLAG
2376 -
2377 -
2378 -# AC_DEPLIBS_CHECK_METHOD
2379 -# -----------------------
2380 -# how to check for library dependencies
2381 -#  -- PORTME fill in with the dynamic library characteristics
2382 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
2383 -[AC_CACHE_CHECK([how to recognize dependent libraries],
2384 -lt_cv_deplibs_check_method,
2385 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
2386 -lt_cv_file_magic_test_file=
2387 -lt_cv_deplibs_check_method='unknown'
2388 -# Need to set the preceding variable on all platforms that support
2389 -# interlibrary dependencies.
2390 -# 'none' -- dependencies not supported.
2391 -# `unknown' -- same as none, but documents that we really don't know.
2392 -# 'pass_all' -- all dependencies passed with no checks.
2393 -# 'test_compile' -- check by making test program.
2394 -# 'file_magic [[regex]]' -- check by looking for files in library path
2395 -# which responds to the $file_magic_cmd with a given extended regex.
2396 -# If you have `file' or equivalent on your system and you're not sure
2397 -# whether `pass_all' will *always* work, you probably want this one.
2398 -
2399 -case $host_os in
2400 -aix[[4-9]]*)
2401 -  lt_cv_deplibs_check_method=pass_all
2402 -  ;;
2403 -
2404 -beos*)
2405 -  lt_cv_deplibs_check_method=pass_all
2406 -  ;;
2407 -
2408 -bsdi[[45]]*)
2409 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
2410 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
2411 -  lt_cv_file_magic_test_file=/shlib/libc.so
2412 -  ;;
2413 -
2414 -cygwin*)
2415 -  # func_win32_libid is a shell function defined in ltmain.sh
2416 -  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2417 -  lt_cv_file_magic_cmd='func_win32_libid'
2418 -  ;;
2419 -
2420 -mingw* | pw32*)
2421 -  # Base MSYS/MinGW do not provide the 'file' command needed by
2422 -  # func_win32_libid shell function, so use a weaker test based on 'objdump',
2423 -  # unless we find 'file', for example because we are cross-compiling.
2424 -  if ( file / ) >/dev/null 2>&1; then
2425 -    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2426 -    lt_cv_file_magic_cmd='func_win32_libid'
2427 -  else
2428 -    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2429 -    lt_cv_file_magic_cmd='$OBJDUMP -f'
2430 -  fi
2431 -  ;;
2432 -
2433 -darwin* | rhapsody*)
2434 -  lt_cv_deplibs_check_method=pass_all
2435 -  ;;
2436 -
2437 -freebsd* | dragonfly*)
2438 -  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2439 -    case $host_cpu in
2440 -    i*86 )
2441 -      # Not sure whether the presence of OpenBSD here was a mistake.
2442 -      # Let's accept both of them until this is cleared up.
2443 -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
2444 -      lt_cv_file_magic_cmd=/usr/bin/file
2445 -      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2446 -      ;;
2447 -    esac
2448 -  else
2449 -    lt_cv_deplibs_check_method=pass_all
2450 -  fi
2451 -  ;;
2452 -
2453 -gnu*)
2454 -  lt_cv_deplibs_check_method=pass_all
2455 -  ;;
2456 -
2457 -hpux10.20* | hpux11*)
2458 -  lt_cv_file_magic_cmd=/usr/bin/file
2459 -  case $host_cpu in
2460 -  ia64*)
2461 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
2462 -    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2463 -    ;;
2464 -  hppa*64*)
2465 -    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
2466 -    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
2467 -    ;;
2468 -  *)
2469 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
2470 -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
2471 -    ;;
2472 -  esac
2473 -  ;;
2474 -
2475 -interix[[3-9]]*)
2476 -  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
2477 -  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
2478 -  ;;
2479 -
2480 -irix5* | irix6* | nonstopux*)
2481 -  case $LD in
2482 -  *-32|*"-32 ") libmagic=32-bit;;
2483 -  *-n32|*"-n32 ") libmagic=N32;;
2484 -  *-64|*"-64 ") libmagic=64-bit;;
2485 -  *) libmagic=never-match;;
2486 -  esac
2487 -  lt_cv_deplibs_check_method=pass_all
2488 -  ;;
2489 -
2490 -# This must be Linux ELF.
2491 -linux* | k*bsd*-gnu)
2492 -  lt_cv_deplibs_check_method=pass_all
2493 -  ;;
2494 -
2495 -netbsd*)
2496 -  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2497 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2498 -  else
2499 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
2500 -  fi
2501 -  ;;
2502 -
2503 -newos6*)
2504 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
2505 -  lt_cv_file_magic_cmd=/usr/bin/file
2506 -  lt_cv_file_magic_test_file=/usr/lib/libnls.so
2507 -  ;;
2508 -
2509 -nto-qnx*)
2510 -  lt_cv_deplibs_check_method=unknown
2511 -  ;;
2512 -
2513 -openbsd*)
2514 -  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2515 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
2516 -  else
2517 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2518 -  fi
2519 -  ;;
2520 -
2521 -osf3* | osf4* | osf5*)
2522 -  lt_cv_deplibs_check_method=pass_all
2523 -  ;;
2524 -
2525 -rdos*)
2526 -  lt_cv_deplibs_check_method=pass_all
2527 -  ;;
2528 -
2529 -solaris*)
2530 -  lt_cv_deplibs_check_method=pass_all
2531 -  ;;
2532 -
2533 -sysv4 | sysv4.3*)
2534 -  case $host_vendor in
2535 -  motorola)
2536 -    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]]'
2537 -    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2538 -    ;;
2539 -  ncr)
2540 -    lt_cv_deplibs_check_method=pass_all
2541 -    ;;
2542 -  sequent)
2543 -    lt_cv_file_magic_cmd='/bin/file'
2544 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
2545 -    ;;
2546 -  sni)
2547 -    lt_cv_file_magic_cmd='/bin/file'
2548 -    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
2549 -    lt_cv_file_magic_test_file=/lib/libc.so
2550 -    ;;
2551 -  siemens)
2552 -    lt_cv_deplibs_check_method=pass_all
2553 -    ;;
2554 -  pc)
2555 -    lt_cv_deplibs_check_method=pass_all
2556 -    ;;
2557 -  esac
2558 -  ;;
2559 -
2560 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2561 -  lt_cv_deplibs_check_method=pass_all
2562 -  ;;
2563 -esac
2564 -])
2565 -file_magic_cmd=$lt_cv_file_magic_cmd
2566 -deplibs_check_method=$lt_cv_deplibs_check_method
2567 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
2568 -])# AC_DEPLIBS_CHECK_METHOD
2569 -
2570 -
2571 -# AC_PROG_NM
2572 -# ----------
2573 -# find the pathname to a BSD-compatible name lister
2574 -AC_DEFUN([AC_PROG_NM],
2575 -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
2576 -[if test -n "$NM"; then
2577 -  # Let the user override the test.
2578 -  lt_cv_path_NM="$NM"
2579 -else
2580 -  lt_nm_to_check="${ac_tool_prefix}nm"
2581 -  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2582 -    lt_nm_to_check="$lt_nm_to_check nm"
2583 -  fi
2584 -  for lt_tmp_nm in $lt_nm_to_check; do
2585 -    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2586 -    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2587 -      IFS="$lt_save_ifs"
2588 -      test -z "$ac_dir" && ac_dir=.
2589 -      tmp_nm="$ac_dir/$lt_tmp_nm"
2590 -      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2591 -       # Check to see if the nm accepts a BSD-compat flag.
2592 -       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2593 -       #   nm: unknown option "B" ignored
2594 -       # Tru64's nm complains that /dev/null is an invalid object file
2595 -       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2596 -       */dev/null* | *'Invalid file or object type'*)
2597 -         lt_cv_path_NM="$tmp_nm -B"
2598 -         break
2599 -         ;;
2600 -       *)
2601 -         case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2602 -         */dev/null*)
2603 -           lt_cv_path_NM="$tmp_nm -p"
2604 -           break
2605 -           ;;
2606 -         *)
2607 -           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2608 -           continue # so that we can try to find one that supports BSD flags
2609 -           ;;
2610 -         esac
2611 -         ;;
2612 -       esac
2613 -      fi
2614 -    done
2615 -    IFS="$lt_save_ifs"
2616 -  done
2617 -  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2618 -fi])
2619 -NM="$lt_cv_path_NM"
2620 -])# AC_PROG_NM
2621 -
2622 -
2623 -# AC_CHECK_LIBM
2624 -# -------------
2625 -# check for math library
2626 -AC_DEFUN([AC_CHECK_LIBM],
2627 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2628 -LIBM=
2629 -case $host in
2630 -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
2631 -  # These system don't have libm, or don't need it
2632 -  ;;
2633 -*-ncr-sysv4.3*)
2634 -  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
2635 -  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2636 -  ;;
2637 -*)
2638 -  AC_CHECK_LIB(m, cos, LIBM="-lm")
2639 -  ;;
2640 -esac
2641 -])# AC_CHECK_LIBM
2642 -
2643 -
2644 -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
2645 -# -----------------------------------
2646 -# sets LIBLTDL to the link flags for the libltdl convenience library and
2647 -# LTDLINCL to the include flags for the libltdl header and adds
2648 -# --enable-ltdl-convenience to the configure arguments.  Note that
2649 -# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
2650 -# it is assumed to be `libltdl'.  LIBLTDL will be prefixed with
2651 -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
2652 -# (note the single quotes!).  If your package is not flat and you're not
2653 -# using automake, define top_builddir and top_srcdir appropriately in
2654 -# the Makefiles.
2655 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
2656 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2657 -  case $enable_ltdl_convenience in
2658 -  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
2659 -  "") enable_ltdl_convenience=yes
2660 -      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
2661 -  esac
2662 -  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
2663 -  LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2664 -  # For backwards non-gettext consistent compatibility...
2665 -  INCLTDL="$LTDLINCL"
2666 -])# AC_LIBLTDL_CONVENIENCE
2667 -
2668 -
2669 -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
2670 -# -----------------------------------
2671 -# sets LIBLTDL to the link flags for the libltdl installable library and
2672 -# LTDLINCL to the include flags for the libltdl header and adds
2673 -# --enable-ltdl-install to the configure arguments.  Note that
2674 -# AC_CONFIG_SUBDIRS is not called here.  If DIRECTORY is not provided,
2675 -# and an installed libltdl is not found, it is assumed to be `libltdl'.
2676 -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
2677 -# '${top_srcdir}/' (note the single quotes!).  If your package is not
2678 -# flat and you're not using automake, define top_builddir and top_srcdir
2679 -# appropriately in the Makefiles.
2680 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
2681 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
2682 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2683 -  AC_CHECK_LIB(ltdl, lt_dlinit,
2684 -  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
2685 -  [if test x"$enable_ltdl_install" = xno; then
2686 -     AC_MSG_WARN([libltdl not installed, but installation disabled])
2687 -   else
2688 -     enable_ltdl_install=yes
2689 -   fi
2690 -  ])
2691 -  if test x"$enable_ltdl_install" = x"yes"; then
2692 -    ac_configure_args="$ac_configure_args --enable-ltdl-install"
2693 -    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
2694 -    LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2695 -  else
2696 -    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
2697 -    LIBLTDL="-lltdl"
2698 -    LTDLINCL=
2699 -  fi
2700 -  # For backwards non-gettext consistent compatibility...
2701 -  INCLTDL="$LTDLINCL"
2702 -])# AC_LIBLTDL_INSTALLABLE
2703 -
2704 -
2705 -# AC_LIBTOOL_CXX
2706 -# --------------
2707 -# enable support for C++ libraries
2708 -AC_DEFUN([AC_LIBTOOL_CXX],
2709 -[AC_REQUIRE([_LT_AC_LANG_CXX])
2710 -])# AC_LIBTOOL_CXX
2711 -
2712 -
2713 -# _LT_AC_LANG_CXX
2714 -# ---------------
2715 -AC_DEFUN([_LT_AC_LANG_CXX],
2716 -[AC_REQUIRE([AC_PROG_CXX])
2717 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2718 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
2719 -])# _LT_AC_LANG_CXX
2720 -
2721 -# _LT_AC_PROG_CXXCPP
2722 -# ------------------
2723 -AC_DEFUN([_LT_AC_PROG_CXXCPP],
2724 -[
2725 -AC_REQUIRE([AC_PROG_CXX])
2726 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2727 -    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2728 -    (test "X$CXX" != "Xg++"))) ; then
2729 -  AC_PROG_CXXCPP
2730 -fi
2731 -])# _LT_AC_PROG_CXXCPP
2732 -
2733 -# AC_LIBTOOL_F77
2734 -# --------------
2735 -# enable support for Fortran 77 libraries
2736 -AC_DEFUN([AC_LIBTOOL_F77],
2737 -[AC_REQUIRE([_LT_AC_LANG_F77])
2738 -])# AC_LIBTOOL_F77
2739 -
2740 -
2741 -# _LT_AC_LANG_F77
2742 -# ---------------
2743 -AC_DEFUN([_LT_AC_LANG_F77],
2744 -[AC_REQUIRE([AC_PROG_F77])
2745 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
2746 -])# _LT_AC_LANG_F77
2747 -
2748 -
2749 -# AC_LIBTOOL_GCJ
2750 -# --------------
2751 -# enable support for GCJ libraries
2752 -AC_DEFUN([AC_LIBTOOL_GCJ],
2753 -[AC_REQUIRE([_LT_AC_LANG_GCJ])
2754 -])# AC_LIBTOOL_GCJ
2755 -
2756 -
2757 -# _LT_AC_LANG_GCJ
2758 -# ---------------
2759 -AC_DEFUN([_LT_AC_LANG_GCJ],
2760 -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
2761 -  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
2762 -    [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
2763 -      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
2764 -        [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
2765 -          [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
2766 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
2767 -])# _LT_AC_LANG_GCJ
2768 -
2769 -
2770 -# AC_LIBTOOL_RC
2771 -# -------------
2772 -# enable support for Windows resource files
2773 -AC_DEFUN([AC_LIBTOOL_RC],
2774 -[AC_REQUIRE([LT_AC_PROG_RC])
2775 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
2776 -])# AC_LIBTOOL_RC
2777 -
2778 -
2779 -# AC_LIBTOOL_LANG_C_CONFIG
2780 -# ------------------------
2781 -# Ensure that the configuration vars for the C compiler are
2782 -# suitably defined.  Those variables are subsequently used by
2783 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2784 -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
2785 -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
2786 -[lt_save_CC="$CC"
2787 -AC_LANG_PUSH(C)
2788 -
2789 -# Source file extension for C test sources.
2790 -ac_ext=c
2791 -
2792 -# Object file extension for compiled C test sources.
2793 -objext=o
2794 -_LT_AC_TAGVAR(objext, $1)=$objext
2795 -
2796 -# Code to be used in simple compile tests
2797 -lt_simple_compile_test_code="int some_variable = 0;"
2798 -
2799 -# Code to be used in simple link tests
2800 -lt_simple_link_test_code='int main(){return(0);}'
2801 -
2802 -_LT_AC_SYS_COMPILER
2803 -
2804 -# save warnings/boilerplate of simple test code
2805 -_LT_COMPILER_BOILERPLATE
2806 -_LT_LINKER_BOILERPLATE
2807 -
2808 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2809 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
2810 -AC_LIBTOOL_PROG_CC_C_O($1)
2811 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2812 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
2813 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2814 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2815 -AC_LIBTOOL_SYS_LIB_STRIP
2816 -AC_LIBTOOL_DLOPEN_SELF
2817 -
2818 -# Report which library types will actually be built
2819 -AC_MSG_CHECKING([if libtool supports shared libraries])
2820 -AC_MSG_RESULT([$can_build_shared])
2821 -
2822 -AC_MSG_CHECKING([whether to build shared libraries])
2823 -test "$can_build_shared" = "no" && enable_shared=no
2824 -
2825 -# On AIX, shared libraries and static libraries use the same namespace, and
2826 -# are all built from PIC.
2827 -case $host_os in
2828 -aix3*)
2829 -  test "$enable_shared" = yes && enable_static=no
2830 -  if test -n "$RANLIB"; then
2831 -    archive_cmds="$archive_cmds~\$RANLIB \$lib"
2832 -    postinstall_cmds='$RANLIB $lib'
2833 -  fi
2834 -  ;;
2835 -
2836 -aix[[4-9]]*)
2837 -  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2838 -    test "$enable_shared" = yes && enable_static=no
2839 -  fi
2840 -    ;;
2841 -esac
2842 -AC_MSG_RESULT([$enable_shared])
2843 -
2844 -AC_MSG_CHECKING([whether to build static libraries])
2845 -# Make sure either enable_shared or enable_static is yes.
2846 -test "$enable_shared" = yes || enable_static=yes
2847 -AC_MSG_RESULT([$enable_static])
2848 -
2849 -AC_LIBTOOL_CONFIG($1)
2850 -
2851 -AC_LANG_POP
2852 -CC="$lt_save_CC"
2853 -])# AC_LIBTOOL_LANG_C_CONFIG
2854 -
2855 -
2856 -# AC_LIBTOOL_LANG_CXX_CONFIG
2857 -# --------------------------
2858 -# Ensure that the configuration vars for the C compiler are
2859 -# suitably defined.  Those variables are subsequently used by
2860 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2861 -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
2862 -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
2863 -[AC_LANG_PUSH(C++)
2864 -AC_REQUIRE([AC_PROG_CXX])
2865 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2866 -
2867 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2868 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
2869 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
2870 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
2871 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
2872 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
2873 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
2874 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
2875 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2876 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2877 -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2878 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
2879 -_LT_AC_TAGVAR(module_cmds, $1)=
2880 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
2881 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
2882 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2883 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
2884 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2885 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
2886 -
2887 -# Dependencies to place before and after the object being linked:
2888 -_LT_AC_TAGVAR(predep_objects, $1)=
2889 -_LT_AC_TAGVAR(postdep_objects, $1)=
2890 -_LT_AC_TAGVAR(predeps, $1)=
2891 -_LT_AC_TAGVAR(postdeps, $1)=
2892 -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
2893 -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2894 -
2895 -# Source file extension for C++ test sources.
2896 -ac_ext=cpp
2897 -
2898 -# Object file extension for compiled C++ test sources.
2899 -objext=o
2900 -_LT_AC_TAGVAR(objext, $1)=$objext
2901 -
2902 -# Code to be used in simple compile tests
2903 -lt_simple_compile_test_code="int some_variable = 0;"
2904 -
2905 -# Code to be used in simple link tests
2906 -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
2907 -
2908 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
2909 -_LT_AC_SYS_COMPILER
2910 -
2911 -# save warnings/boilerplate of simple test code
2912 -_LT_COMPILER_BOILERPLATE
2913 -_LT_LINKER_BOILERPLATE
2914 -
2915 -# Allow CC to be a program name with arguments.
2916 -lt_save_CC=$CC
2917 -lt_save_LD=$LD
2918 -lt_save_GCC=$GCC
2919 -GCC=$GXX
2920 -lt_save_with_gnu_ld=$with_gnu_ld
2921 -lt_save_path_LD=$lt_cv_path_LD
2922 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
2923 -  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
2924 -else
2925 -  $as_unset lt_cv_prog_gnu_ld
2926 -fi
2927 -if test -n "${lt_cv_path_LDCXX+set}"; then
2928 -  lt_cv_path_LD=$lt_cv_path_LDCXX
2929 -else
2930 -  $as_unset lt_cv_path_LD
2931 -fi
2932 -test -z "${LDCXX+set}" || LD=$LDCXX
2933 -CC=${CXX-"c++"}
2934 -compiler=$CC
2935 -_LT_AC_TAGVAR(compiler, $1)=$CC
2936 -_LT_CC_BASENAME([$compiler])
2937 -
2938 -# We don't want -fno-exception wen compiling C++ code, so set the
2939 -# no_builtin_flag separately
2940 -if test "$GXX" = yes; then
2941 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
2942 -else
2943 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
2944 -fi
2945 -
2946 -if test "$GXX" = yes; then
2947 -  # Set up default GNU C++ configuration
2948 -
2949 -  AC_PROG_LD
2950 -
2951 -  # Check if GNU C++ uses GNU ld as the underlying linker, since the
2952 -  # archiving commands below assume that GNU ld is being used.
2953 -  if test "$with_gnu_ld" = yes; then
2954 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2955 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
2956 -
2957 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2958 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2959 -
2960 -    # If archive_cmds runs LD, not CC, wlarc should be empty
2961 -    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
2962 -    #     investigate it a little bit more. (MM)
2963 -    wlarc='${wl}'
2964 -
2965 -    # ancient GNU ld didn't support --whole-archive et. al.
2966 -    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
2967 -       grep 'no-whole-archive' > /dev/null; then
2968 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2969 -    else
2970 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2971 -    fi
2972 -  else
2973 -    with_gnu_ld=no
2974 -    wlarc=
2975 -
2976 -    # A generic and very simple default shared library creation
2977 -    # command for GNU C++ for the case where it uses the native
2978 -    # linker, instead of GNU ld.  If possible, this setting should
2979 -    # overridden to take advantage of the native linker features on
2980 -    # the platform it is being used on.
2981 -    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2982 -  fi
2983 -
2984 -  # Commands to make compiler produce verbose output that lists
2985 -  # what "hidden" libraries, object files and flags are used when
2986 -  # linking a shared library.
2987 -  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
2988 -
2989 -else
2990 -  GXX=no
2991 -  with_gnu_ld=no
2992 -  wlarc=
2993 -fi
2994 -
2995 -# PORTME: fill in a description of your system's C++ link characteristics
2996 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
2997 -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
2998 -case $host_os in
2999 -  aix3*)
3000 -    # FIXME: insert proper C++ library support
3001 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3002 -    ;;
3003 -  aix[[4-9]]*)
3004 -    if test "$host_cpu" = ia64; then
3005 -      # On IA64, the linker does run time linking by default, so we don't
3006 -      # have to do anything special.
3007 -      aix_use_runtimelinking=no
3008 -      exp_sym_flag='-Bexport'
3009 -      no_entry_flag=""
3010 -    else
3011 -      aix_use_runtimelinking=no
3012 -
3013 -      # Test if we are trying to use run time linking or normal
3014 -      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3015 -      # need to do runtime linking.
3016 -      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3017 -       for ld_flag in $LDFLAGS; do
3018 -         case $ld_flag in
3019 -         *-brtl*)
3020 -           aix_use_runtimelinking=yes
3021 -           break
3022 -           ;;
3023 -         esac
3024 -       done
3025 -       ;;
3026 -      esac
3027 -
3028 -      exp_sym_flag='-bexport'
3029 -      no_entry_flag='-bnoentry'
3030 -    fi
3031 -
3032 -    # When large executables or shared objects are built, AIX ld can
3033 -    # have problems creating the table of contents.  If linking a library
3034 -    # or program results in "error TOC overflow" add -mminimal-toc to
3035 -    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
3036 -    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3037 -
3038 -    _LT_AC_TAGVAR(archive_cmds, $1)=''
3039 -    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3040 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3041 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3042 -
3043 -    if test "$GXX" = yes; then
3044 -      case $host_os in aix4.[[012]]|aix4.[[012]].*)
3045 -      # We only want to do this on AIX 4.2 and lower, the check
3046 -      # below for broken collect2 doesn't work under 4.3+
3047 -       collect2name=`${CC} -print-prog-name=collect2`
3048 -       if test -f "$collect2name" && \
3049 -          strings "$collect2name" | grep resolve_lib_name >/dev/null
3050 -       then
3051 -         # We have reworked collect2
3052 -         :
3053 -       else
3054 -         # We have old collect2
3055 -         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3056 -         # It fails to find uninstalled libraries when the uninstalled
3057 -         # path is not listed in the libpath.  Setting hardcode_minus_L
3058 -         # to unsupported forces relinking
3059 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3060 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3061 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3062 -       fi
3063 -       ;;
3064 -      esac
3065 -      shared_flag='-shared'
3066 -      if test "$aix_use_runtimelinking" = yes; then
3067 -       shared_flag="$shared_flag "'${wl}-G'
3068 -      fi
3069 -    else
3070 -      # not using gcc
3071 -      if test "$host_cpu" = ia64; then
3072 -       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3073 -       # chokes on -Wl,-G. The following line is correct:
3074 -       shared_flag='-G'
3075 -      else
3076 -       if test "$aix_use_runtimelinking" = yes; then
3077 -         shared_flag='${wl}-G'
3078 -       else
3079 -         shared_flag='${wl}-bM:SRE'
3080 -       fi
3081 -      fi
3082 -    fi
3083 -
3084 -    # It seems that -bexpall does not export symbols beginning with
3085 -    # underscore (_), so it is better to generate a list of symbols to export.
3086 -    _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3087 -    if test "$aix_use_runtimelinking" = yes; then
3088 -      # Warning - without using the other runtime loading flags (-brtl),
3089 -      # -berok will link without error, but may produce a broken library.
3090 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3091 -      # Determine the default libpath from the value encoded in an empty executable.
3092 -      _LT_AC_SYS_LIBPATH_AIX
3093 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3094 -
3095 -      _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"
3096 -     else
3097 -      if test "$host_cpu" = ia64; then
3098 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3099 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3100 -       _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"
3101 -      else
3102 -       # Determine the default libpath from the value encoded in an empty executable.
3103 -       _LT_AC_SYS_LIBPATH_AIX
3104 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3105 -       # Warning - without using the other run time loading flags,
3106 -       # -berok will link without error, but may produce a broken library.
3107 -       _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3108 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3109 -       # Exported symbols can be pulled into shared objects from archives
3110 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3111 -       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3112 -       # This is similar to how AIX traditionally builds its shared libraries.
3113 -       _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'
3114 -      fi
3115 -    fi
3116 -    ;;
3117 -
3118 -  beos*)
3119 -    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3120 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3121 -      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
3122 -      # support --undefined.  This deserves some investigation.  FIXME
3123 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3124 -    else
3125 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3126 -    fi
3127 -    ;;
3128 -
3129 -  chorus*)
3130 -    case $cc_basename in
3131 -      *)
3132 -       # FIXME: insert proper C++ library support
3133 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3134 -       ;;
3135 -    esac
3136 -    ;;
3137 -
3138 -  cygwin* | mingw* | pw32*)
3139 -    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3140 -    # as there is no search path for DLLs.
3141 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3142 -    _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3143 -    _LT_AC_TAGVAR(always_export_symbols, $1)=no
3144 -    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3145 -
3146 -    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3147 -      _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'
3148 -      # If the export-symbols file already is a .def file (1st line
3149 -      # is EXPORTS), use it as is; otherwise, prepend...
3150 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3151 -       cp $export_symbols $output_objdir/$soname.def;
3152 -      else
3153 -       echo EXPORTS > $output_objdir/$soname.def;
3154 -       cat $export_symbols >> $output_objdir/$soname.def;
3155 -      fi~
3156 -      $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'
3157 -    else
3158 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3159 -    fi
3160 -  ;;
3161 -      darwin* | rhapsody*)
3162 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3163 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3164 -      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3165 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3166 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3167 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3168 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
3169 -      if test "$GXX" = yes ; then
3170 -      output_verbose_link_cmd='echo'
3171 -      _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
3172 -      _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3173 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
3174 -      _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
3175 -      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
3176 -        _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${_lt_dsymutil}"
3177 -        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
3178 -      fi
3179 -      else
3180 -      case $cc_basename in
3181 -        xlc*)
3182 -         output_verbose_link_cmd='echo'
3183 -          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
3184 -          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3185 -          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3186 -          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3187 -          _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}'
3188 -          ;;
3189 -       *)
3190 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3191 -          ;;
3192 -      esac
3193 -      fi
3194 -        ;;
3195 -
3196 -  dgux*)
3197 -    case $cc_basename in
3198 -      ec++*)
3199 -       # FIXME: insert proper C++ library support
3200 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3201 -       ;;
3202 -      ghcx*)
3203 -       # Green Hills C++ Compiler
3204 -       # FIXME: insert proper C++ library support
3205 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3206 -       ;;
3207 -      *)
3208 -       # FIXME: insert proper C++ library support
3209 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3210 -       ;;
3211 -    esac
3212 -    ;;
3213 -  freebsd[[12]]*)
3214 -    # C++ shared libraries reported to be fairly broken before switch to ELF
3215 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3216 -    ;;
3217 -  freebsd-elf*)
3218 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3219 -    ;;
3220 -  freebsd* | dragonfly*)
3221 -    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3222 -    # conventions
3223 -    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3224 -    ;;
3225 -  gnu*)
3226 -    ;;
3227 -  hpux9*)
3228 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3229 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3230 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3231 -    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3232 -    _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3233 -                               # but as the default
3234 -                               # location of the library.
3235 -
3236 -    case $cc_basename in
3237 -    CC*)
3238 -      # FIXME: insert proper C++ library support
3239 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3240 -      ;;
3241 -    aCC*)
3242 -      _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'
3243 -      # Commands to make compiler produce verbose output that lists
3244 -      # what "hidden" libraries, object files and flags are used when
3245 -      # linking a shared library.
3246 -      #
3247 -      # There doesn't appear to be a way to prevent this compiler from
3248 -      # explicitly linking system object files so we need to strip them
3249 -      # from the output so that they don't get included in the library
3250 -      # dependencies.
3251 -      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'
3252 -      ;;
3253 -    *)
3254 -      if test "$GXX" = yes; then
3255 -        _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
3256 -      else
3257 -        # FIXME: insert proper C++ library support
3258 -        _LT_AC_TAGVAR(ld_shlibs, $1)=no
3259 -      fi
3260 -      ;;
3261 -    esac
3262 -    ;;
3263 -  hpux10*|hpux11*)
3264 -    if test $with_gnu_ld = no; then
3265 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3266 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3267 -
3268 -      case $host_cpu in
3269 -      hppa*64*|ia64*) ;;
3270 -      *)
3271 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3272 -        ;;
3273 -      esac
3274 -    fi
3275 -    case $host_cpu in
3276 -    hppa*64*|ia64*)
3277 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3278 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3279 -      ;;
3280 -    *)
3281 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3282 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3283 -                                             # but as the default
3284 -                                             # location of the library.
3285 -      ;;
3286 -    esac
3287 -
3288 -    case $cc_basename in
3289 -      CC*)
3290 -       # FIXME: insert proper C++ library support
3291 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3292 -       ;;
3293 -      aCC*)
3294 -       case $host_cpu in
3295 -       hppa*64*)
3296 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3297 -         ;;
3298 -       ia64*)
3299 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3300 -         ;;
3301 -       *)
3302 -         _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'
3303 -         ;;
3304 -       esac
3305 -       # Commands to make compiler produce verbose output that lists
3306 -       # what "hidden" libraries, object files and flags are used when
3307 -       # linking a shared library.
3308 -       #
3309 -       # There doesn't appear to be a way to prevent this compiler from
3310 -       # explicitly linking system object files so we need to strip them
3311 -       # from the output so that they don't get included in the library
3312 -       # dependencies.
3313 -       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'
3314 -       ;;
3315 -      *)
3316 -       if test "$GXX" = yes; then
3317 -         if test $with_gnu_ld = no; then
3318 -           case $host_cpu in
3319 -           hppa*64*)
3320 -             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3321 -             ;;
3322 -           ia64*)
3323 -             _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'
3324 -             ;;
3325 -           *)
3326 -             _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'
3327 -             ;;
3328 -           esac
3329 -         fi
3330 -       else
3331 -         # FIXME: insert proper C++ library support
3332 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3333 -       fi
3334 -       ;;
3335 -    esac
3336 -    ;;
3337 -  interix[[3-9]]*)
3338 -    _LT_AC_TAGVAR(hardcode_direct, $1)=no
3339 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3340 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3341 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3342 -    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3343 -    # Instead, shared libraries are loaded at an image base (0x10000000 by
3344 -    # default) and relocated if they conflict, which is a slow very memory
3345 -    # consuming and fragmenting process.  To avoid this, we pick a random,
3346 -    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3347 -    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
3348 -    _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'
3349 -    _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'
3350 -    ;;
3351 -  irix5* | irix6*)
3352 -    case $cc_basename in
3353 -      CC*)
3354 -       # SGI C++
3355 -       _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'
3356 -
3357 -       # Archives containing C++ object files must be created using
3358 -       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
3359 -       # necessary to make sure instantiated templates are included
3360 -       # in the archive.
3361 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
3362 -       ;;
3363 -      *)
3364 -       if test "$GXX" = yes; then
3365 -         if test "$with_gnu_ld" = no; then
3366 -           _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'
3367 -         else
3368 -           _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'
3369 -         fi
3370 -       fi
3371 -       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3372 -       ;;
3373 -    esac
3374 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3375 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3376 -    ;;
3377 -  linux* | k*bsd*-gnu)
3378 -    case $cc_basename in
3379 -      KCC*)
3380 -       # Kuck and Associates, Inc. (KAI) C++ Compiler
3381 -
3382 -       # KCC will only create a shared library if the output file
3383 -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
3384 -       # to its proper name (with version) after linking.
3385 -       _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'
3386 -       _LT_AC_TAGVAR(archive_expsym_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 ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
3387 -       # Commands to make compiler produce verbose output that lists
3388 -       # what "hidden" libraries, object files and flags are used when
3389 -       # linking a shared library.
3390 -       #
3391 -       # There doesn't appear to be a way to prevent this compiler from
3392 -       # explicitly linking system object files so we need to strip them
3393 -       # from the output so that they don't get included in the library
3394 -       # dependencies.
3395 -       output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3396 -
3397 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
3398 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3399 -
3400 -       # Archives containing C++ object files must be created using
3401 -       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3402 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3403 -       ;;
3404 -      icpc*)
3405 -       # Intel C++
3406 -       with_gnu_ld=yes
3407 -       # version 8.0 and above of icpc choke on multiply defined symbols
3408 -       # if we add $predep_objects and $postdep_objects, however 7.1 and
3409 -       # earlier do not add the objects themselves.
3410 -       case `$CC -V 2>&1` in
3411 -       *"Version 7."*)
3412 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3413 -         _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'
3414 -         ;;
3415 -       *)  # Version 8.0 or newer
3416 -         tmp_idyn=
3417 -         case $host_cpu in
3418 -           ia64*) tmp_idyn=' -i_dynamic';;
3419 -         esac
3420 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3421 -         _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'
3422 -         ;;
3423 -       esac
3424 -       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3425 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3426 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3427 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3428 -       ;;
3429 -      pgCC* | pgcpp*)
3430 -        # Portland Group C++ compiler
3431 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3432 -       _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'
3433 -
3434 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3435 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3436 -       _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'
3437 -        ;;
3438 -      cxx*)
3439 -       # Compaq C++
3440 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3441 -       _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'
3442 -
3443 -       runpath_var=LD_RUN_PATH
3444 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3445 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3446 -
3447 -       # Commands to make compiler produce verbose output that lists
3448 -       # what "hidden" libraries, object files and flags are used when
3449 -       # linking a shared library.
3450 -       #
3451 -       # There doesn't appear to be a way to prevent this compiler from
3452 -       # explicitly linking system object files so we need to strip them
3453 -       # from the output so that they don't get included in the library
3454 -       # dependencies.
3455 -       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3456 -       ;;
3457 -      *)
3458 -       case `$CC -V 2>&1 | sed 5q` in
3459 -       *Sun\ C*)
3460 -         # Sun C++ 5.9
3461 -         _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3462 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3463 -         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
3464 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3465 -         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3466 -
3467 -         # Not sure whether something based on
3468 -         # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
3469 -         # would be better.
3470 -         output_verbose_link_cmd='echo'
3471 -
3472 -         # Archives containing C++ object files must be created using
3473 -         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
3474 -         # necessary to make sure instantiated templates are included
3475 -         # in the archive.
3476 -         _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3477 -         ;;
3478 -       esac
3479 -       ;;
3480 -    esac
3481 -    ;;
3482 -  lynxos*)
3483 -    # FIXME: insert proper C++ library support
3484 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3485 -    ;;
3486 -  m88k*)
3487 -    # FIXME: insert proper C++ library support
3488 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3489 -    ;;
3490 -  mvs*)
3491 -    case $cc_basename in
3492 -      cxx*)
3493 -       # FIXME: insert proper C++ library support
3494 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3495 -       ;;
3496 -      *)
3497 -       # FIXME: insert proper C++ library support
3498 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3499 -       ;;
3500 -    esac
3501 -    ;;
3502 -  netbsd*)
3503 -    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3504 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3505 -      wlarc=
3506 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3507 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3508 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3509 -    fi
3510 -    # Workaround some broken pre-1.5 toolchains
3511 -    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
3512 -    ;;
3513 -  openbsd2*)
3514 -    # C++ shared libraries are fairly broken
3515 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3516 -    ;;
3517 -  openbsd*)
3518 -    if test -f /usr/libexec/ld.so; then
3519 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3520 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3521 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3522 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3523 -      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3524 -       _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'
3525 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3526 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3527 -      fi
3528 -      output_verbose_link_cmd='echo'
3529 -    else
3530 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3531 -    fi
3532 -    ;;
3533 -  osf3*)
3534 -    case $cc_basename in
3535 -      KCC*)
3536 -       # Kuck and Associates, Inc. (KAI) C++ Compiler
3537 -
3538 -       # KCC will only create a shared library if the output file
3539 -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
3540 -       # to its proper name (with version) after linking.
3541 -       _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'
3542 -
3543 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3544 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3545 -
3546 -       # Archives containing C++ object files must be created using
3547 -       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3548 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3549 -
3550 -       ;;
3551 -      RCC*)
3552 -       # Rational C++ 2.4.1
3553 -       # FIXME: insert proper C++ library support
3554 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3555 -       ;;
3556 -      cxx*)
3557 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3558 -       _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'
3559 -
3560 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3561 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3562 -
3563 -       # Commands to make compiler produce verbose output that lists
3564 -       # what "hidden" libraries, object files and flags are used when
3565 -       # linking a shared library.
3566 -       #
3567 -       # There doesn't appear to be a way to prevent this compiler from
3568 -       # explicitly linking system object files so we need to strip them
3569 -       # from the output so that they don't get included in the library
3570 -       # dependencies.
3571 -       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3572 -       ;;
3573 -      *)
3574 -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3575 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3576 -         _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'
3577 -
3578 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3579 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3580 -
3581 -         # Commands to make compiler produce verbose output that lists
3582 -         # what "hidden" libraries, object files and flags are used when
3583 -         # linking a shared library.
3584 -         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3585 -
3586 -       else
3587 -         # FIXME: insert proper C++ library support
3588 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3589 -       fi
3590 -       ;;
3591 -    esac
3592 -    ;;
3593 -  osf4* | osf5*)
3594 -    case $cc_basename in
3595 -      KCC*)
3596 -       # Kuck and Associates, Inc. (KAI) C++ Compiler
3597 -
3598 -       # KCC will only create a shared library if the output file
3599 -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
3600 -       # to its proper name (with version) after linking.
3601 -       _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'
3602 -
3603 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3604 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3605 -
3606 -       # Archives containing C++ object files must be created using
3607 -       # the KAI C++ compiler.
3608 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
3609 -       ;;
3610 -      RCC*)
3611 -       # Rational C++ 2.4.1
3612 -       # FIXME: insert proper C++ library support
3613 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3614 -       ;;
3615 -      cxx*)
3616 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3617 -       _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'
3618 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
3619 -         echo "-hidden">> $lib.exp~
3620 -         $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~
3621 -         $rm $lib.exp'
3622 -
3623 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3624 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3625 -
3626 -       # Commands to make compiler produce verbose output that lists
3627 -       # what "hidden" libraries, object files and flags are used when
3628 -       # linking a shared library.
3629 -       #
3630 -       # There doesn't appear to be a way to prevent this compiler from
3631 -       # explicitly linking system object files so we need to strip them
3632 -       # from the output so that they don't get included in the library
3633 -       # dependencies.
3634 -       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3635 -       ;;
3636 -      *)
3637 -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3638 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3639 -        _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'
3640 -
3641 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3642 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3643 -
3644 -         # Commands to make compiler produce verbose output that lists
3645 -         # what "hidden" libraries, object files and flags are used when
3646 -         # linking a shared library.
3647 -         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3648 -
3649 -       else
3650 -         # FIXME: insert proper C++ library support
3651 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
3652 -       fi
3653 -       ;;
3654 -    esac
3655 -    ;;
3656 -  psos*)
3657 -    # FIXME: insert proper C++ library support
3658 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3659 -    ;;
3660 -  sunos4*)
3661 -    case $cc_basename in
3662 -      CC*)
3663 -       # Sun C++ 4.x
3664 -       # FIXME: insert proper C++ library support
3665 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3666 -       ;;
3667 -      lcc*)
3668 -       # Lucid
3669 -       # FIXME: insert proper C++ library support
3670 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3671 -       ;;
3672 -      *)
3673 -       # FIXME: insert proper C++ library support
3674 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3675 -       ;;
3676 -    esac
3677 -    ;;
3678 -  solaris*)
3679 -    case $cc_basename in
3680 -      CC*)
3681 -       # Sun C++ 4.2, 5.x and Centerline C++
3682 -        _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
3683 -       _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3684 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3685 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3686 -       $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'
3687 -
3688 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3689 -       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3690 -       case $host_os in
3691 -         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3692 -         *)
3693 -           # The compiler driver will combine and reorder linker options,
3694 -           # but understands `-z linker_flag'.
3695 -           # Supported since Solaris 2.6 (maybe 2.5.1?)
3696 -           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3697 -           ;;
3698 -       esac
3699 -       _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3700 -
3701 -       output_verbose_link_cmd='echo'
3702 -
3703 -       # Archives containing C++ object files must be created using
3704 -       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
3705 -       # necessary to make sure instantiated templates are included
3706 -       # in the archive.
3707 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3708 -       ;;
3709 -      gcx*)
3710 -       # Green Hills C++ Compiler
3711 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3712 -
3713 -       # The C++ compiler must be used to create the archive.
3714 -       _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
3715 -       ;;
3716 -      *)
3717 -       # GNU C++ compiler with Solaris linker
3718 -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3719 -         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
3720 -         if $CC --version | grep -v '^2\.7' > /dev/null; then
3721 -           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3722 -           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3723 -               $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3724 -
3725 -           # Commands to make compiler produce verbose output that lists
3726 -           # what "hidden" libraries, object files and flags are used when
3727 -           # linking a shared library.
3728 -           output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3729 -         else
3730 -           # g++ 2.7 appears to require `-G' NOT `-shared' on this
3731 -           # platform.
3732 -           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3733 -           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3734 -               $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3735 -
3736 -           # Commands to make compiler produce verbose output that lists
3737 -           # what "hidden" libraries, object files and flags are used when
3738 -           # linking a shared library.
3739 -           output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3740 -         fi
3741 -
3742 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3743 -         case $host_os in
3744 -         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3745 -         *)
3746 -           _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3747 -           ;;
3748 -         esac
3749 -       fi
3750 -       ;;
3751 -    esac
3752 -    ;;
3753 -  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3754 -    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3755 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3756 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3757 -    runpath_var='LD_RUN_PATH'
3758 -
3759 -    case $cc_basename in
3760 -      CC*)
3761 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3762 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3763 -       ;;
3764 -      *)
3765 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3766 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3767 -       ;;
3768 -    esac
3769 -    ;;
3770 -  sysv5* | sco3.2v5* | sco5v6*)
3771 -    # Note: We can NOT use -z defs as we might desire, because we do not
3772 -    # link with -lc, and that would cause any symbols used from libc to
3773 -    # always be unresolved, which means just about no library would
3774 -    # ever link correctly.  If we're not using GNU ld we use -z text
3775 -    # though, which does catch some bad symbols but isn't as heavy-handed
3776 -    # as -z defs.
3777 -    # For security reasons, it is highly recommended that you always
3778 -    # use absolute paths for naming shared libraries, and exclude the
3779 -    # DT_RUNPATH tag from executables and libraries.  But doing so
3780 -    # requires that you compile everything twice, which is a pain.
3781 -    # So that behaviour is only enabled if SCOABSPATH is set to a
3782 -    # non-empty value in the environment.  Most likely only useful for
3783 -    # creating official distributions of packages.
3784 -    # This is a hack until libtool officially supports absolute path
3785 -    # names for shared libraries.
3786 -    _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3787 -    _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3788 -    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3789 -    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3790 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3791 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3792 -    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3793 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3794 -    runpath_var='LD_RUN_PATH'
3795 -
3796 -    case $cc_basename in
3797 -      CC*)
3798 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3799 -       _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'
3800 -       ;;
3801 -      *)
3802 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3803 -       _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'
3804 -       ;;
3805 -    esac
3806 -    ;;
3807 -  tandem*)
3808 -    case $cc_basename in
3809 -      NCC*)
3810 -       # NonStop-UX NCC 3.20
3811 -       # FIXME: insert proper C++ library support
3812 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3813 -       ;;
3814 -      *)
3815 -       # FIXME: insert proper C++ library support
3816 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
3817 -       ;;
3818 -    esac
3819 -    ;;
3820 -  vxworks*)
3821 -    # FIXME: insert proper C++ library support
3822 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3823 -    ;;
3824 -  *)
3825 -    # FIXME: insert proper C++ library support
3826 -    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3827 -    ;;
3828 -esac
3829 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
3830 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
3831 -
3832 -_LT_AC_TAGVAR(GCC, $1)="$GXX"
3833 -_LT_AC_TAGVAR(LD, $1)="$LD"
3834 -
3835 -AC_LIBTOOL_POSTDEP_PREDEP($1)
3836 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
3837 -AC_LIBTOOL_PROG_CC_C_O($1)
3838 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3839 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
3840 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3841 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3842 -
3843 -AC_LIBTOOL_CONFIG($1)
3844 -
3845 -AC_LANG_POP
3846 -CC=$lt_save_CC
3847 -LDCXX=$LD
3848 -LD=$lt_save_LD
3849 -GCC=$lt_save_GCC
3850 -with_gnu_ldcxx=$with_gnu_ld
3851 -with_gnu_ld=$lt_save_with_gnu_ld
3852 -lt_cv_path_LDCXX=$lt_cv_path_LD
3853 -lt_cv_path_LD=$lt_save_path_LD
3854 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
3855 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
3856 -])# AC_LIBTOOL_LANG_CXX_CONFIG
3857 -
3858 -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
3859 -# ------------------------------------
3860 -# Figure out "hidden" library dependencies from verbose
3861 -# compiler output when linking a shared library.
3862 -# Parse the compiler output and extract the necessary
3863 -# objects, libraries and library flags.
3864 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
3865 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
3866 -dnl we can't use the lt_simple_compile_test_code here,
3867 -dnl because it contains code intended for an executable,
3868 -dnl not a library.  It's possible we should let each
3869 -dnl tag define a new lt_????_link_test_code variable,
3870 -dnl but it's only used here...
3871 -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
3872 -int a;
3873 -void foo (void) { a = 0; }
3874 -EOF
3875 -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
3876 -class Foo
3877 -{
3878 -public:
3879 -  Foo (void) { a = 0; }
3880 -private:
3881 -  int a;
3882 -};
3883 -EOF
3884 -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
3885 -      subroutine foo
3886 -      implicit none
3887 -      integer*4 a
3888 -      a=0
3889 -      return
3890 -      end
3891 -EOF
3892 -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
3893 -public class foo {
3894 -  private int a;
3895 -  public void bar (void) {
3896 -    a = 0;
3897 -  }
3898 -};
3899 -EOF
3900 -])
3901 -dnl Parse the compiler output and extract the necessary
3902 -dnl objects, libraries and library flags.
3903 -if AC_TRY_EVAL(ac_compile); then
3904 -  # Parse the compiler output and extract the necessary
3905 -  # objects, libraries and library flags.
3906 -
3907 -  # Sentinel used to keep track of whether or not we are before
3908 -  # the conftest object file.
3909 -  pre_test_object_deps_done=no
3910 -
3911 -  # The `*' in the case matches for architectures that use `case' in
3912 -  # $output_verbose_cmd can trigger glob expansion during the loop
3913 -  # eval without this substitution.
3914 -  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
3915 -
3916 -  for p in `eval $output_verbose_link_cmd`; do
3917 -    case $p in
3918 -
3919 -    -L* | -R* | -l*)
3920 -       # Some compilers place space between "-{L,R}" and the path.
3921 -       # Remove the space.
3922 -       if test $p = "-L" \
3923 -         || test $p = "-R"; then
3924 -        prev=$p
3925 -        continue
3926 -       else
3927 -        prev=
3928 -       fi
3929 -
3930 -       if test "$pre_test_object_deps_done" = no; then
3931 -        case $p in
3932 -        -L* | -R*)
3933 -          # Internal compiler library paths should come after those
3934 -          # provided the user.  The postdeps already come after the
3935 -          # user supplied libs so there is no need to process them.
3936 -          if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
3937 -            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
3938 -          else
3939 -            _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
3940 -          fi
3941 -          ;;
3942 -        # The "-l" case would never come before the object being
3943 -        # linked, so don't bother handling this case.
3944 -        esac
3945 -       else
3946 -        if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
3947 -          _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
3948 -        else
3949 -          _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
3950 -        fi
3951 -       fi
3952 -       ;;
3953 -
3954 -    *.$objext)
3955 -       # This assumes that the test object file only shows up
3956 -       # once in the compiler output.
3957 -       if test "$p" = "conftest.$objext"; then
3958 -        pre_test_object_deps_done=yes
3959 -        continue
3960 -       fi
3961 -
3962 -       if test "$pre_test_object_deps_done" = no; then
3963 -        if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
3964 -          _LT_AC_TAGVAR(predep_objects, $1)="$p"
3965 -        else
3966 -          _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
3967 -        fi
3968 -       else
3969 -        if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
3970 -          _LT_AC_TAGVAR(postdep_objects, $1)="$p"
3971 -        else
3972 -          _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
3973 -        fi
3974 -       fi
3975 -       ;;
3976 -
3977 -    *) ;; # Ignore the rest.
3978 -
3979 -    esac
3980 -  done
3981 -
3982 -  # Clean up.
3983 -  rm -f a.out a.exe
3984 -else
3985 -  echo "libtool.m4: error: problem compiling $1 test program"
3986 -fi
3987 -
3988 -$rm -f confest.$objext
3989 -
3990 -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
3991 -if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
3992 -  _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
3993 -fi
3994 -
3995 -# PORTME: override above test on systems where it is broken
3996 -ifelse([$1],[CXX],
3997 -[case $host_os in
3998 -interix[[3-9]]*)
3999 -  # Interix 3.5 installs completely hosed .la files for C++, so rather than
4000 -  # hack all around it, let's just trust "g++" to DTRT.
4001 -  _LT_AC_TAGVAR(predep_objects,$1)=
4002 -  _LT_AC_TAGVAR(postdep_objects,$1)=
4003 -  _LT_AC_TAGVAR(postdeps,$1)=
4004 -  ;;
4005 -
4006 -linux*)
4007 -  case `$CC -V 2>&1 | sed 5q` in
4008 -  *Sun\ C*)
4009 -    # Sun C++ 5.9
4010 -    #
4011 -    # The more standards-conforming stlport4 library is
4012 -    # incompatible with the Cstd library. Avoid specifying
4013 -    # it if it's in CXXFLAGS. Ignore libCrun as
4014 -    # -library=stlport4 depends on it.
4015 -    case " $CXX $CXXFLAGS " in
4016 -    *" -library=stlport4 "*)
4017 -      solaris_use_stlport4=yes
4018 -      ;;
4019 -    esac
4020 -    if test "$solaris_use_stlport4" != yes; then
4021 -      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4022 -    fi
4023 -    ;;
4024 -  esac
4025 -  ;;
4026 -
4027 -solaris*)
4028 -  case $cc_basename in
4029 -  CC*)
4030 -    # The more standards-conforming stlport4 library is
4031 -    # incompatible with the Cstd library. Avoid specifying
4032 -    # it if it's in CXXFLAGS. Ignore libCrun as
4033 -    # -library=stlport4 depends on it.
4034 -    case " $CXX $CXXFLAGS " in
4035 -    *" -library=stlport4 "*)
4036 -      solaris_use_stlport4=yes
4037 -      ;;
4038 -    esac
4039 -
4040 -    # Adding this requires a known-good setup of shared libraries for
4041 -    # Sun compiler versions before 5.6, else PIC objects from an old
4042 -    # archive will be linked into the output, leading to subtle bugs.
4043 -    if test "$solaris_use_stlport4" != yes; then
4044 -      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4045 -    fi
4046 -    ;;
4047 -  esac
4048 -  ;;
4049 -esac
4050 -])
4051 -case " $_LT_AC_TAGVAR(postdeps, $1) " in
4052 -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4053 -esac
4054 -])# AC_LIBTOOL_POSTDEP_PREDEP
4055 -
4056 -# AC_LIBTOOL_LANG_F77_CONFIG
4057 -# --------------------------
4058 -# Ensure that the configuration vars for the C compiler are
4059 -# suitably defined.  Those variables are subsequently used by
4060 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4061 -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
4062 -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
4063 -[AC_REQUIRE([AC_PROG_F77])
4064 -AC_LANG_PUSH(Fortran 77)
4065 -
4066 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4067 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4068 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
4069 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4070 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4071 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
4072 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4073 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4074 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4075 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4076 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4077 -_LT_AC_TAGVAR(module_cmds, $1)=
4078 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4079 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4080 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4081 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
4082 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4083 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4084 -
4085 -# Source file extension for f77 test sources.
4086 -ac_ext=f
4087 -
4088 -# Object file extension for compiled f77 test sources.
4089 -objext=o
4090 -_LT_AC_TAGVAR(objext, $1)=$objext
4091 -
4092 -# Code to be used in simple compile tests
4093 -lt_simple_compile_test_code="\
4094 -      subroutine t
4095 -      return
4096 -      end
4097 -"
4098 -
4099 -# Code to be used in simple link tests
4100 -lt_simple_link_test_code="\
4101 -      program t
4102 -      end
4103 -"
4104 -
4105 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4106 -_LT_AC_SYS_COMPILER
4107 -
4108 -# save warnings/boilerplate of simple test code
4109 -_LT_COMPILER_BOILERPLATE
4110 -_LT_LINKER_BOILERPLATE
4111 -
4112 -# Allow CC to be a program name with arguments.
4113 -lt_save_CC="$CC"
4114 -CC=${F77-"f77"}
4115 -compiler=$CC
4116 -_LT_AC_TAGVAR(compiler, $1)=$CC
4117 -_LT_CC_BASENAME([$compiler])
4118 -
4119 -AC_MSG_CHECKING([if libtool supports shared libraries])
4120 -AC_MSG_RESULT([$can_build_shared])
4121 -
4122 -AC_MSG_CHECKING([whether to build shared libraries])
4123 -test "$can_build_shared" = "no" && enable_shared=no
4124 -
4125 -# On AIX, shared libraries and static libraries use the same namespace, and
4126 -# are all built from PIC.
4127 -case $host_os in
4128 -aix3*)
4129 -  test "$enable_shared" = yes && enable_static=no
4130 -  if test -n "$RANLIB"; then
4131 -    archive_cmds="$archive_cmds~\$RANLIB \$lib"
4132 -    postinstall_cmds='$RANLIB $lib'
4133 -  fi
4134 -  ;;
4135 -aix[[4-9]]*)
4136 -  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4137 -    test "$enable_shared" = yes && enable_static=no
4138 -  fi
4139 -  ;;
4140 -esac
4141 -AC_MSG_RESULT([$enable_shared])
4142 -
4143 -AC_MSG_CHECKING([whether to build static libraries])
4144 -# Make sure either enable_shared or enable_static is yes.
4145 -test "$enable_shared" = yes || enable_static=yes
4146 -AC_MSG_RESULT([$enable_static])
4147 -
4148 -_LT_AC_TAGVAR(GCC, $1)="$G77"
4149 -_LT_AC_TAGVAR(LD, $1)="$LD"
4150 -
4151 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
4152 -AC_LIBTOOL_PROG_CC_C_O($1)
4153 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4154 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
4155 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4156 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4157 -
4158 -AC_LIBTOOL_CONFIG($1)
4159 -
4160 -AC_LANG_POP
4161 -CC="$lt_save_CC"
4162 -])# AC_LIBTOOL_LANG_F77_CONFIG
4163 -
4164 -
4165 -# AC_LIBTOOL_LANG_GCJ_CONFIG
4166 -# --------------------------
4167 -# Ensure that the configuration vars for the C compiler are
4168 -# suitably defined.  Those variables are subsequently used by
4169 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4170 -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
4171 -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
4172 -[AC_LANG_SAVE
4173 -
4174 -# Source file extension for Java test sources.
4175 -ac_ext=java
4176 -
4177 -# Object file extension for compiled Java test sources.
4178 -objext=o
4179 -_LT_AC_TAGVAR(objext, $1)=$objext
4180 -
4181 -# Code to be used in simple compile tests
4182 -lt_simple_compile_test_code="class foo {}"
4183 -
4184 -# Code to be used in simple link tests
4185 -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
4186 -
4187 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4188 -_LT_AC_SYS_COMPILER
4189 -
4190 -# save warnings/boilerplate of simple test code
4191 -_LT_COMPILER_BOILERPLATE
4192 -_LT_LINKER_BOILERPLATE
4193 -
4194 -# Allow CC to be a program name with arguments.
4195 -lt_save_CC="$CC"
4196 -CC=${GCJ-"gcj"}
4197 -compiler=$CC
4198 -_LT_AC_TAGVAR(compiler, $1)=$CC
4199 -_LT_CC_BASENAME([$compiler])
4200 -
4201 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
4202 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4203 -
4204 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4205 -
4206 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4207 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
4208 -AC_LIBTOOL_PROG_CC_C_O($1)
4209 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4210 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
4211 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4212 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4213 -
4214 -AC_LIBTOOL_CONFIG($1)
4215 -
4216 -AC_LANG_RESTORE
4217 -CC="$lt_save_CC"
4218 -])# AC_LIBTOOL_LANG_GCJ_CONFIG
4219 -
4220 -
4221 -# AC_LIBTOOL_LANG_RC_CONFIG
4222 -# -------------------------
4223 -# Ensure that the configuration vars for the Windows resource compiler are
4224 -# suitably defined.  Those variables are subsequently used by
4225 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4226 -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
4227 -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
4228 -[AC_LANG_SAVE
4229 -
4230 -# Source file extension for RC test sources.
4231 -ac_ext=rc
4232 -
4233 -# Object file extension for compiled RC test sources.
4234 -objext=o
4235 -_LT_AC_TAGVAR(objext, $1)=$objext
4236 -
4237 -# Code to be used in simple compile tests
4238 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
4239 -
4240 -# Code to be used in simple link tests
4241 -lt_simple_link_test_code="$lt_simple_compile_test_code"
4242 -
4243 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4244 -_LT_AC_SYS_COMPILER
4245 -
4246 -# save warnings/boilerplate of simple test code
4247 -_LT_COMPILER_BOILERPLATE
4248 -_LT_LINKER_BOILERPLATE
4249 -
4250 -# Allow CC to be a program name with arguments.
4251 -lt_save_CC="$CC"
4252 -CC=${RC-"windres"}
4253 -compiler=$CC
4254 -_LT_AC_TAGVAR(compiler, $1)=$CC
4255 -_LT_CC_BASENAME([$compiler])
4256 -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4257 -
4258 -AC_LIBTOOL_CONFIG($1)
4259 -
4260 -AC_LANG_RESTORE
4261 -CC="$lt_save_CC"
4262 -])# AC_LIBTOOL_LANG_RC_CONFIG
4263 -
4264 -
4265 -# AC_LIBTOOL_CONFIG([TAGNAME])
4266 -# ----------------------------
4267 -# If TAGNAME is not passed, then create an initial libtool script
4268 -# with a default configuration from the untagged config vars.  Otherwise
4269 -# add code to config.status for appending the configuration named by
4270 -# TAGNAME from the matching tagged config vars.
4271 -AC_DEFUN([AC_LIBTOOL_CONFIG],
4272 -[# The else clause should only fire when bootstrapping the
4273 -# libtool distribution, otherwise you forgot to ship ltmain.sh
4274 -# with your package, and you will get complaints that there are
4275 -# no rules to generate ltmain.sh.
4276 -if test -f "$ltmain"; then
4277 -  # See if we are running on zsh, and set the options which allow our commands through
4278 -  # without removal of \ escapes.
4279 -  if test -n "${ZSH_VERSION+set}" ; then
4280 -    setopt NO_GLOB_SUBST
4281 -  fi
4282 -  # Now quote all the things that may contain metacharacters while being
4283 -  # careful not to overquote the AC_SUBSTed values.  We take copies of the
4284 -  # variables and quote the copies for generation of the libtool script.
4285 -  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
4286 -    SED SHELL STRIP \
4287 -    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
4288 -    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
4289 -    deplibs_check_method reload_flag reload_cmds need_locks \
4290 -    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
4291 -    lt_cv_sys_global_symbol_to_c_name_address \
4292 -    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
4293 -    old_postinstall_cmds old_postuninstall_cmds \
4294 -    _LT_AC_TAGVAR(compiler, $1) \
4295 -    _LT_AC_TAGVAR(CC, $1) \
4296 -    _LT_AC_TAGVAR(LD, $1) \
4297 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
4298 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
4299 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
4300 -    _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
4301 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
4302 -    _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
4303 -    _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
4304 -    _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
4305 -    _LT_AC_TAGVAR(old_archive_cmds, $1) \
4306 -    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
4307 -    _LT_AC_TAGVAR(predep_objects, $1) \
4308 -    _LT_AC_TAGVAR(postdep_objects, $1) \
4309 -    _LT_AC_TAGVAR(predeps, $1) \
4310 -    _LT_AC_TAGVAR(postdeps, $1) \
4311 -    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
4312 -    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
4313 -    _LT_AC_TAGVAR(archive_cmds, $1) \
4314 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4315 -    _LT_AC_TAGVAR(postinstall_cmds, $1) \
4316 -    _LT_AC_TAGVAR(postuninstall_cmds, $1) \
4317 -    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
4318 -    _LT_AC_TAGVAR(allow_undefined_flag, $1) \
4319 -    _LT_AC_TAGVAR(no_undefined_flag, $1) \
4320 -    _LT_AC_TAGVAR(export_symbols_cmds, $1) \
4321 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
4322 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
4323 -    _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
4324 -    _LT_AC_TAGVAR(hardcode_automatic, $1) \
4325 -    _LT_AC_TAGVAR(module_cmds, $1) \
4326 -    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
4327 -    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
4328 -    _LT_AC_TAGVAR(fix_srcfile_path, $1) \
4329 -    _LT_AC_TAGVAR(exclude_expsyms, $1) \
4330 -    _LT_AC_TAGVAR(include_expsyms, $1); do
4331 -
4332 -    case $var in
4333 -    _LT_AC_TAGVAR(old_archive_cmds, $1) | \
4334 -    _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
4335 -    _LT_AC_TAGVAR(archive_cmds, $1) | \
4336 -    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
4337 -    _LT_AC_TAGVAR(module_cmds, $1) | \
4338 -    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
4339 -    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
4340 -    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
4341 -    extract_expsyms_cmds | reload_cmds | finish_cmds | \
4342 -    postinstall_cmds | postuninstall_cmds | \
4343 -    old_postinstall_cmds | old_postuninstall_cmds | \
4344 -    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
4345 -      # Double-quote double-evaled strings.
4346 -      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
4347 -      ;;
4348 -    *)
4349 -      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
4350 -      ;;
4351 -    esac
4352 -  done
4353 -
4354 -  case $lt_echo in
4355 -  *'\[$]0 --fallback-echo"')
4356 -    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
4357 -    ;;
4358 -  esac
4359 -
4360 -ifelse([$1], [],
4361 -  [cfgfile="${ofile}T"
4362 -  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
4363 -  $rm -f "$cfgfile"
4364 -  AC_MSG_NOTICE([creating $ofile])],
4365 -  [cfgfile="$ofile"])
4366 -
4367 -  cat <<__EOF__ >> "$cfgfile"
4368 -ifelse([$1], [],
4369 -[#! $SHELL
4370 -
4371 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
4372 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4373 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4374 -#
4375 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4376 -# Free Software Foundation, Inc.
4377 -#
4378 -# This file is part of GNU Libtool:
4379 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
4380 -#
4381 -# This program is free software; you can redistribute it and/or modify
4382 -# it under the terms of the GNU General Public License as published by
4383 -# the Free Software Foundation; either version 2 of the License, or
4384 -# (at your option) any later version.
4385 -#
4386 -# This program is distributed in the hope that it will be useful, but
4387 -# WITHOUT ANY WARRANTY; without even the implied warranty of
4388 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4389 -# General Public License for more details.
4390 -#
4391 -# You should have received a copy of the GNU General Public License
4392 -# along with this program; if not, write to the Free Software
4393 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
4394 -#
4395 -# As a special exception to the GNU General Public License, if you
4396 -# distribute this file as part of a program that contains a
4397 -# configuration script generated by Autoconf, you may include it under
4398 -# the same distribution terms that you use for the rest of that program.
4399 -
4400 -# A sed program that does not truncate output.
4401 -SED=$lt_SED
4402 -
4403 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
4404 -Xsed="$SED -e 1s/^X//"
4405 -
4406 -# The HP-UX ksh and POSIX shell print the target directory to stdout
4407 -# if CDPATH is set.
4408 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4409 -
4410 -# The names of the tagged configurations supported by this script.
4411 -available_tags=
4412 -
4413 -# ### BEGIN LIBTOOL CONFIG],
4414 -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
4415 -
4416 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4417 -
4418 -# Shell to use when invoking shell scripts.
4419 -SHELL=$lt_SHELL
4420 -
4421 -# Whether or not to build shared libraries.
4422 -build_libtool_libs=$enable_shared
4423 -
4424 -# Whether or not to build static libraries.
4425 -build_old_libs=$enable_static
4426 -
4427 -# Whether or not to add -lc for building shared libraries.
4428 -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
4429 -
4430 -# Whether or not to disallow shared libs when runtime libs are static
4431 -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
4432 -
4433 -# Whether or not to optimize for fast installation.
4434 -fast_install=$enable_fast_install
4435 -
4436 -# The host system.
4437 -host_alias=$host_alias
4438 -host=$host
4439 -host_os=$host_os
4440 -
4441 -# The build system.
4442 -build_alias=$build_alias
4443 -build=$build
4444 -build_os=$build_os
4445 -
4446 -# An echo program that does not interpret backslashes.
4447 -echo=$lt_echo
4448 -
4449 -# The archiver.
4450 -AR=$lt_AR
4451 -AR_FLAGS=$lt_AR_FLAGS
4452 -
4453 -# A C compiler.
4454 -LTCC=$lt_LTCC
4455 -
4456 -# LTCC compiler flags.
4457 -LTCFLAGS=$lt_LTCFLAGS
4458 -
4459 -# A language-specific compiler.
4460 -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
4461 -
4462 -# Is the compiler the GNU C compiler?
4463 -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
4464 -
4465 -# An ERE matcher.
4466 -EGREP=$lt_EGREP
4467 -
4468 -# The linker used to build libraries.
4469 -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
4470 -
4471 -# Whether we need hard or soft links.
4472 -LN_S=$lt_LN_S
4473 -
4474 -# A BSD-compatible nm program.
4475 -NM=$lt_NM
4476 -
4477 -# A symbol stripping program
4478 -STRIP=$lt_STRIP
4479 -
4480 -# Used to examine libraries when file_magic_cmd begins "file"
4481 -MAGIC_CMD=$MAGIC_CMD
4482 -
4483 -# Used on cygwin: DLL creation program.
4484 -DLLTOOL="$DLLTOOL"
4485 -
4486 -# Used on cygwin: object dumper.
4487 -OBJDUMP="$OBJDUMP"
4488 -
4489 -# Used on cygwin: assembler.
4490 -AS="$AS"
4491 -
4492 -# The name of the directory that contains temporary libtool files.
4493 -objdir=$objdir
4494 -
4495 -# How to create reloadable object files.
4496 -reload_flag=$lt_reload_flag
4497 -reload_cmds=$lt_reload_cmds
4498 -
4499 -# How to pass a linker flag through the compiler.
4500 -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4501 -
4502 -# Object file suffix (normally "o").
4503 -objext="$ac_objext"
4504 -
4505 -# Old archive suffix (normally "a").
4506 -libext="$libext"
4507 -
4508 -# Shared library suffix (normally ".so").
4509 -shrext_cmds='$shrext_cmds'
4510 -
4511 -# Executable file suffix (normally "").
4512 -exeext="$exeext"
4513 -
4514 -# Additional compiler flags for building library objects.
4515 -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4516 -pic_mode=$pic_mode
4517 -
4518 -# What is the maximum length of a command?
4519 -max_cmd_len=$lt_cv_sys_max_cmd_len
4520 -
4521 -# Does compiler simultaneously support -c and -o options?
4522 -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
4523 -
4524 -# Must we lock files when doing compilation?
4525 -need_locks=$lt_need_locks
4526 -
4527 -# Do we need the lib prefix for modules?
4528 -need_lib_prefix=$need_lib_prefix
4529 -
4530 -# Do we need a version for libraries?
4531 -need_version=$need_version
4532 -
4533 -# Whether dlopen is supported.
4534 -dlopen_support=$enable_dlopen
4535 -
4536 -# Whether dlopen of programs is supported.
4537 -dlopen_self=$enable_dlopen_self
4538 -
4539 -# Whether dlopen of statically linked programs is supported.
4540 -dlopen_self_static=$enable_dlopen_self_static
4541 -
4542 -# Compiler flag to prevent dynamic linking.
4543 -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
4544 -
4545 -# Compiler flag to turn off builtin functions.
4546 -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
4547 -
4548 -# Compiler flag to allow reflexive dlopens.
4549 -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
4550 -
4551 -# Compiler flag to generate shared objects directly from archives.
4552 -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
4553 -
4554 -# Compiler flag to generate thread-safe objects.
4555 -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
4556 -
4557 -# Library versioning type.
4558 -version_type=$version_type
4559 -
4560 -# Format of library name prefix.
4561 -libname_spec=$lt_libname_spec
4562 -
4563 -# List of archive names.  First name is the real one, the rest are links.
4564 -# The last name is the one that the linker finds with -lNAME.
4565 -library_names_spec=$lt_library_names_spec
4566 -
4567 -# The coded name of the library, if different from the real name.
4568 -soname_spec=$lt_soname_spec
4569 -
4570 -# Commands used to build and install an old-style archive.
4571 -RANLIB=$lt_RANLIB
4572 -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
4573 -old_postinstall_cmds=$lt_old_postinstall_cmds
4574 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
4575 -
4576 -# Create an old-style archive from a shared archive.
4577 -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
4578 -
4579 -# Create a temporary old-style archive to link instead of a shared archive.
4580 -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
4581 -
4582 -# Commands used to build and install a shared archive.
4583 -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
4584 -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
4585 -postinstall_cmds=$lt_postinstall_cmds
4586 -postuninstall_cmds=$lt_postuninstall_cmds
4587 -
4588 -# Commands used to build a loadable module (assumed same as above if empty)
4589 -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
4590 -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
4591 -
4592 -# Commands to strip libraries.
4593 -old_striplib=$lt_old_striplib
4594 -striplib=$lt_striplib
4595 -
4596 -# Dependencies to place before the objects being linked to create a
4597 -# shared library.
4598 -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
4599 -
4600 -# Dependencies to place after the objects being linked to create a
4601 -# shared library.
4602 -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
4603 -
4604 -# Dependencies to place before the objects being linked to create a
4605 -# shared library.
4606 -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
4607 -
4608 -# Dependencies to place after the objects being linked to create a
4609 -# shared library.
4610 -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4611 -
4612 -# The directories searched by this compiler when creating a shared
4613 -# library
4614 -compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
4615 -
4616 -# The library search path used internally by the compiler when linking
4617 -# a shared library.
4618 -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
4619 -
4620 -# Method to check whether dependent libraries are shared objects.
4621 -deplibs_check_method=$lt_deplibs_check_method
4622 -
4623 -# Command to use when deplibs_check_method == file_magic.
4624 -file_magic_cmd=$lt_file_magic_cmd
4625 -
4626 -# Flag that allows shared libraries with undefined symbols to be built.
4627 -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
4628 -
4629 -# Flag that forces no undefined symbols.
4630 -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
4631 -
4632 -# Commands used to finish a libtool library installation in a directory.
4633 -finish_cmds=$lt_finish_cmds
4634 -
4635 -# Same as above, but a single script fragment to be evaled but not shown.
4636 -finish_eval=$lt_finish_eval
4637 -
4638 -# Take the output of nm and produce a listing of raw symbols and C names.
4639 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
4640 -
4641 -# Transform the output of nm in a proper C declaration
4642 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
4643 -
4644 -# Transform the output of nm in a C name address pair
4645 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
4646 -
4647 -# This is the shared library runtime path variable.
4648 -runpath_var=$runpath_var
4649 -
4650 -# This is the shared library path variable.
4651 -shlibpath_var=$shlibpath_var
4652 -
4653 -# Is shlibpath searched before the hard-coded library search path?
4654 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
4655 -
4656 -# How to hardcode a shared library path into an executable.
4657 -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
4658 -
4659 -# Whether we should hardcode library paths into libraries.
4660 -hardcode_into_libs=$hardcode_into_libs
4661 -
4662 -# Flag to hardcode \$libdir into a binary during linking.
4663 -# This must work even if \$libdir does not exist.
4664 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
4665 -
4666 -# If ld is used when linking, flag to hardcode \$libdir into
4667 -# a binary during linking. This must work even if \$libdir does
4668 -# not exist.
4669 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
4670 -
4671 -# Whether we need a single -rpath flag with a separated argument.
4672 -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
4673 -
4674 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
4675 -# resulting binary.
4676 -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
4677 -
4678 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
4679 -# resulting binary.
4680 -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
4681 -
4682 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
4683 -# the resulting binary.
4684 -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
4685 -
4686 -# Set to yes if building a shared library automatically hardcodes DIR into the library
4687 -# and all subsequent libraries and executables linked against it.
4688 -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
4689 -
4690 -# Variables whose values should be saved in libtool wrapper scripts and
4691 -# restored at relink time.
4692 -variables_saved_for_relink="$variables_saved_for_relink"
4693 -
4694 -# Whether libtool must link a program against all its dependency libraries.
4695 -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
4696 -
4697 -# Compile-time system search path for libraries
4698 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
4699 -
4700 -# Run-time system search path for libraries
4701 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4702 -
4703 -# Fix the shell variable \$srcfile for the compiler.
4704 -fix_srcfile_path=$lt_fix_srcfile_path
4705 -
4706 -# Set to yes if exported symbols are required.
4707 -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
4708 -
4709 -# The commands to list exported symbols.
4710 -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
4711 -
4712 -# The commands to extract the exported symbol list from a shared archive.
4713 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
4714 -
4715 -# Symbols that should not be listed in the preloaded symbols.
4716 -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
4717 -
4718 -# Symbols that must always be exported.
4719 -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
4720 -
4721 -ifelse([$1],[],
4722 -[# ### END LIBTOOL CONFIG],
4723 -[# ### END LIBTOOL TAG CONFIG: $tagname])
4724 -
4725 -__EOF__
4726 -
4727 -ifelse([$1],[], [
4728 -  case $host_os in
4729 -  aix3*)
4730 -    cat <<\EOF >> "$cfgfile"
4731 -
4732 -# AIX sometimes has problems with the GCC collect2 program.  For some
4733 -# reason, if we set the COLLECT_NAMES environment variable, the problems
4734 -# vanish in a puff of smoke.
4735 -if test "X${COLLECT_NAMES+set}" != Xset; then
4736 -  COLLECT_NAMES=
4737 -  export COLLECT_NAMES
4738 -fi
4739 -EOF
4740 -    ;;
4741 -  esac
4742 -
4743 -  # We use sed instead of cat because bash on DJGPP gets confused if
4744 -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
4745 -  # text mode, it properly converts lines to CR/LF.  This bash problem
4746 -  # is reportedly fixed, but why not run on old versions too?
4747 -  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
4748 -
4749 -  mv -f "$cfgfile" "$ofile" || \
4750 -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
4751 -  chmod +x "$ofile"
4752 -])
4753 -else
4754 -  # If there is no Makefile yet, we rely on a make rule to execute
4755 -  # `config.status --recheck' to rerun these tests and create the
4756 -  # libtool script then.
4757 -  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
4758 -  if test -f "$ltmain_in"; then
4759 -    test -f Makefile && make "$ltmain"
4760 -  fi
4761 -fi
4762 -])# AC_LIBTOOL_CONFIG
4763 -
4764 -
4765 -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
4766 -# -------------------------------------------
4767 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
4768 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4769 -
4770 -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4771 -
4772 -if test "$GCC" = yes; then
4773 -  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4774 -
4775 -  AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
4776 -    lt_cv_prog_compiler_rtti_exceptions,
4777 -    [-fno-rtti -fno-exceptions], [],
4778 -    [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
4779 -fi
4780 -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
4781 -
4782 -
4783 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4784 -# ---------------------------------
4785 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
4786 -[AC_REQUIRE([AC_CANONICAL_HOST])
4787 -AC_REQUIRE([LT_AC_PROG_SED])
4788 -AC_REQUIRE([AC_PROG_NM])
4789 -AC_REQUIRE([AC_OBJEXT])
4790 -# Check for command to grab the raw symbol name followed by C symbol from nm.
4791 -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
4792 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
4793 -[
4794 -# These are sane defaults that work on at least a few old systems.
4795 -# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
4796 -
4797 -# Character class describing NM global symbol codes.
4798 -symcode='[[BCDEGRST]]'
4799 -
4800 -# Regexp to match symbols that can be accessed directly from C.
4801 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
4802 -
4803 -# Transform an extracted symbol line into a proper C declaration
4804 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
4805 -
4806 -# Transform an extracted symbol line into symbol name and symbol address
4807 -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'"
4808 -
4809 -# Define system-specific variables.
4810 -case $host_os in
4811 -aix*)
4812 -  symcode='[[BCDT]]'
4813 -  ;;
4814 -cygwin* | mingw* | pw32*)
4815 -  symcode='[[ABCDGISTW]]'
4816 -  ;;
4817 -hpux*) # Its linker distinguishes data from code symbols
4818 -  if test "$host_cpu" = ia64; then
4819 -    symcode='[[ABCDEGRST]]'
4820 -  fi
4821 -  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4822 -  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'"
4823 -  ;;
4824 -linux* | k*bsd*-gnu)
4825 -  if test "$host_cpu" = ia64; then
4826 -    symcode='[[ABCDGIRSTW]]'
4827 -    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4828 -    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'"
4829 -  fi
4830 -  ;;
4831 -irix* | nonstopux*)
4832 -  symcode='[[BCDEGRST]]'
4833 -  ;;
4834 -osf*)
4835 -  symcode='[[BCDEGQRST]]'
4836 -  ;;
4837 -solaris*)
4838 -  symcode='[[BDRT]]'
4839 -  ;;
4840 -sco3.2v5*)
4841 -  symcode='[[DT]]'
4842 -  ;;
4843 -sysv4.2uw2*)
4844 -  symcode='[[DT]]'
4845 -  ;;
4846 -sysv5* | sco5v6* | unixware* | OpenUNIX*)
4847 -  symcode='[[ABDT]]'
4848 -  ;;
4849 -sysv4)
4850 -  symcode='[[DFNSTU]]'
4851 -  ;;
4852 -esac
4853 -
4854 -# Handle CRLF in mingw tool chain
4855 -opt_cr=
4856 -case $build_os in
4857 -mingw*)
4858 -  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4859 -  ;;
4860 -esac
4861 -
4862 -# If we're using GNU nm, then use its standard symbol codes.
4863 -case `$NM -V 2>&1` in
4864 -*GNU* | *'with BFD'*)
4865 -  symcode='[[ABCDGIRSTW]]' ;;
4866 -esac
4867 -
4868 -# Try without a prefix undercore, then with it.
4869 -for ac_symprfx in "" "_"; do
4870 -
4871 -  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4872 -  symxfrm="\\1 $ac_symprfx\\2 \\2"
4873 -
4874 -  # Write the raw and C identifiers.
4875 -  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[     ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4876 -
4877 -  # Check to see that the pipe works correctly.
4878 -  pipe_works=no
4879 -
4880 -  rm -f conftest*
4881 -  cat > conftest.$ac_ext <<EOF
4882 -#ifdef __cplusplus
4883 -extern "C" {
4884 -#endif
4885 -char nm_test_var;
4886 -void nm_test_func(){}
4887 -#ifdef __cplusplus
4888 -}
4889 -#endif
4890 -int main(){nm_test_var='a';nm_test_func();return(0);}
4891 -EOF
4892 -
4893 -  if AC_TRY_EVAL(ac_compile); then
4894 -    # Now try to grab the symbols.
4895 -    nlist=conftest.nm
4896 -    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
4897 -      # Try sorting and uniquifying the output.
4898 -      if sort "$nlist" | uniq > "$nlist"T; then
4899 -       mv -f "$nlist"T "$nlist"
4900 -      else
4901 -       rm -f "$nlist"T
4902 -      fi
4903 -
4904 -      # Make sure that we snagged all the symbols we need.
4905 -      if grep ' nm_test_var$' "$nlist" >/dev/null; then
4906 -       if grep ' nm_test_func$' "$nlist" >/dev/null; then
4907 -         cat <<EOF > conftest.$ac_ext
4908 -#ifdef __cplusplus
4909 -extern "C" {
4910 -#endif
4911 -
4912 -EOF
4913 -         # Now generate the symbol file.
4914 -         eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
4915 -
4916 -         cat <<EOF >> conftest.$ac_ext
4917 -#if defined (__STDC__) && __STDC__
4918 -# define lt_ptr_t void *
4919 -#else
4920 -# define lt_ptr_t char *
4921 -# define const
4922 -#endif
4923 -
4924 -/* The mapping between symbol names and symbols. */
4925 -const struct {
4926 -  const char *name;
4927 -  lt_ptr_t address;
4928 -}
4929 -lt_preloaded_symbols[[]] =
4930 -{
4931 -EOF
4932 -         $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
4933 -         cat <<\EOF >> conftest.$ac_ext
4934 -  {0, (lt_ptr_t) 0}
4935 -};
4936 -
4937 -#ifdef __cplusplus
4938 -}
4939 -#endif
4940 -EOF
4941 -         # Now try linking the two files.
4942 -         mv conftest.$ac_objext conftstm.$ac_objext
4943 -         lt_save_LIBS="$LIBS"
4944 -         lt_save_CFLAGS="$CFLAGS"
4945 -         LIBS="conftstm.$ac_objext"
4946 -         CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4947 -         if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
4948 -           pipe_works=yes
4949 -         fi
4950 -         LIBS="$lt_save_LIBS"
4951 -         CFLAGS="$lt_save_CFLAGS"
4952 -       else
4953 -         echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4954 -       fi
4955 -      else
4956 -       echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4957 -      fi
4958 -    else
4959 -      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4960 -    fi
4961 -  else
4962 -    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4963 -    cat conftest.$ac_ext >&5
4964 -  fi
4965 -  rm -rf conftest* conftst*
4966 -
4967 -  # Do not use the global_symbol_pipe unless it works.
4968 -  if test "$pipe_works" = yes; then
4969 -    break
4970 -  else
4971 -    lt_cv_sys_global_symbol_pipe=
4972 -  fi
4973 -done
4974 -])
4975 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
4976 -  lt_cv_sys_global_symbol_to_cdecl=
4977 -fi
4978 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4979 -  AC_MSG_RESULT(failed)
4980 -else
4981 -  AC_MSG_RESULT(ok)
4982 -fi
4983 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4984 -
4985 -
4986 -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
4987 -# ---------------------------------------
4988 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
4989 -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
4990 -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4991 -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
4992 -
4993 -AC_MSG_CHECKING([for $compiler option to produce PIC])
4994 - ifelse([$1],[CXX],[
4995 -  # C++ specific cases for pic, static, wl, etc.
4996 -  if test "$GXX" = yes; then
4997 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4998 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4999 -
5000 -    case $host_os in
5001 -    aix*)
5002 -      # All AIX code is PIC.
5003 -      if test "$host_cpu" = ia64; then
5004 -       # AIX 5 now supports IA64 processor
5005 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5006 -      fi
5007 -      ;;
5008 -    amigaos*)
5009 -      # FIXME: we need at least 68020 code to build shared libraries, but
5010 -      # adding the `-m68020' flag to GCC prevents building anything better,
5011 -      # like `-m68040'.
5012 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5013 -      ;;
5014 -    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5015 -      # PIC is the default for these OSes.
5016 -      ;;
5017 -    mingw* | cygwin* | os2* | pw32*)
5018 -      # This hack is so that the source file can tell whether it is being
5019 -      # built for inclusion in a dll (and should export symbols for example).
5020 -      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5021 -      # (--disable-auto-import) libraries
5022 -      m4_if([$1], [GCJ], [],
5023 -       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5024 -      ;;
5025 -    darwin* | rhapsody*)
5026 -      # PIC is the default on this platform
5027 -      # Common symbols not allowed in MH_DYLIB files
5028 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5029 -      ;;
5030 -    *djgpp*)
5031 -      # DJGPP does not support shared libraries at all
5032 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5033 -      ;;
5034 -    interix[[3-9]]*)
5035 -      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5036 -      # Instead, we relocate shared libraries at runtime.
5037 -      ;;
5038 -    sysv4*MP*)
5039 -      if test -d /usr/nec; then
5040 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5041 -      fi
5042 -      ;;
5043 -    hpux*)
5044 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5045 -      # not for PA HP-UX.
5046 -      case $host_cpu in
5047 -      hppa*64*|ia64*)
5048 -       ;;
5049 -      *)
5050 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5051 -       ;;
5052 -      esac
5053 -      ;;
5054 -    *)
5055 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5056 -      ;;
5057 -    esac
5058 -  else
5059 -    case $host_os in
5060 -      aix[[4-9]]*)
5061 -       # All AIX code is PIC.
5062 -       if test "$host_cpu" = ia64; then
5063 -         # AIX 5 now supports IA64 processor
5064 -         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5065 -       else
5066 -         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5067 -       fi
5068 -       ;;
5069 -      chorus*)
5070 -       case $cc_basename in
5071 -       cxch68*)
5072 -         # Green Hills C++ Compiler
5073 -         # _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"
5074 -         ;;
5075 -       esac
5076 -       ;;
5077 -       darwin*)
5078 -         # PIC is the default on this platform
5079 -         # Common symbols not allowed in MH_DYLIB files
5080 -         case $cc_basename in
5081 -           xlc*)
5082 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5083 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5084 -           ;;
5085 -         esac
5086 -       ;;
5087 -      dgux*)
5088 -       case $cc_basename in
5089 -         ec++*)
5090 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5091 -           ;;
5092 -         ghcx*)
5093 -           # Green Hills C++ Compiler
5094 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5095 -           ;;
5096 -         *)
5097 -           ;;
5098 -       esac
5099 -       ;;
5100 -      freebsd* | dragonfly*)
5101 -       # FreeBSD uses GNU C++
5102 -       ;;
5103 -      hpux9* | hpux10* | hpux11*)
5104 -       case $cc_basename in
5105 -         CC*)
5106 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5107 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5108 -           if test "$host_cpu" != ia64; then
5109 -             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5110 -           fi
5111 -           ;;
5112 -         aCC*)
5113 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5114 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5115 -           case $host_cpu in
5116 -           hppa*64*|ia64*)
5117 -             # +Z the default
5118 -             ;;
5119 -           *)
5120 -             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5121 -             ;;
5122 -           esac
5123 -           ;;
5124 -         *)
5125 -           ;;
5126 -       esac
5127 -       ;;
5128 -      interix*)
5129 -       # This is c89, which is MS Visual C++ (no shared libs)
5130 -       # Anyone wants to do a port?
5131 -       ;;
5132 -      irix5* | irix6* | nonstopux*)
5133 -       case $cc_basename in
5134 -         CC*)
5135 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5136 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5137 -           # CC pic flag -KPIC is the default.
5138 -           ;;
5139 -         *)
5140 -           ;;
5141 -       esac
5142 -       ;;
5143 -      linux* | k*bsd*-gnu)
5144 -       case $cc_basename in
5145 -         KCC*)
5146 -           # KAI C++ Compiler
5147 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5148 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5149 -           ;;
5150 -         icpc* | ecpc*)
5151 -           # Intel C++
5152 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5153 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5154 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5155 -           ;;
5156 -         pgCC* | pgcpp*)
5157 -           # Portland Group C++ compiler.
5158 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5159 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5160 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5161 -           ;;
5162 -         cxx*)
5163 -           # Compaq C++
5164 -           # Make sure the PIC flag is empty.  It appears that all Alpha
5165 -           # Linux and Compaq Tru64 Unix objects are PIC.
5166 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5167 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5168 -           ;;
5169 -         *)
5170 -           case `$CC -V 2>&1 | sed 5q` in
5171 -           *Sun\ C*)
5172 -             # Sun C++ 5.9
5173 -             _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5174 -             _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5175 -             _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5176 -             ;;
5177 -           esac
5178 -           ;;
5179 -       esac
5180 -       ;;
5181 -      lynxos*)
5182 -       ;;
5183 -      m88k*)
5184 -       ;;
5185 -      mvs*)
5186 -       case $cc_basename in
5187 -         cxx*)
5188 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
5189 -           ;;
5190 -         *)
5191 -           ;;
5192 -       esac
5193 -       ;;
5194 -      netbsd*)
5195 -       ;;
5196 -      osf3* | osf4* | osf5*)
5197 -       case $cc_basename in
5198 -         KCC*)
5199 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5200 -           ;;
5201 -         RCC*)
5202 -           # Rational C++ 2.4.1
5203 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5204 -           ;;
5205 -         cxx*)
5206 -           # Digital/Compaq C++
5207 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5208 -           # Make sure the PIC flag is empty.  It appears that all Alpha
5209 -           # Linux and Compaq Tru64 Unix objects are PIC.
5210 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5211 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5212 -           ;;
5213 -         *)
5214 -           ;;
5215 -       esac
5216 -       ;;
5217 -      psos*)
5218 -       ;;
5219 -      solaris*)
5220 -       case $cc_basename in
5221 -         CC*)
5222 -           # Sun C++ 4.2, 5.x and Centerline C++
5223 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5224 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5225 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5226 -           ;;
5227 -         gcx*)
5228 -           # Green Hills C++ Compiler
5229 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5230 -           ;;
5231 -         *)
5232 -           ;;
5233 -       esac
5234 -       ;;
5235 -      sunos4*)
5236 -       case $cc_basename in
5237 -         CC*)
5238 -           # Sun C++ 4.x
5239 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5240 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5241 -           ;;
5242 -         lcc*)
5243 -           # Lucid
5244 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5245 -           ;;
5246 -         *)
5247 -           ;;
5248 -       esac
5249 -       ;;
5250 -      tandem*)
5251 -       case $cc_basename in
5252 -         NCC*)
5253 -           # NonStop-UX NCC 3.20
5254 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5255 -           ;;
5256 -         *)
5257 -           ;;
5258 -       esac
5259 -       ;;
5260 -      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5261 -       case $cc_basename in
5262 -         CC*)
5263 -           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5264 -           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5265 -           _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5266 -           ;;
5267 -       esac
5268 -       ;;
5269 -      vxworks*)
5270 -       ;;
5271 -      *)
5272 -       _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5273 -       ;;
5274 -    esac
5275 -  fi
5276 -],
5277 -[
5278 -  if test "$GCC" = yes; then
5279 -    _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5280 -    _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5281 -
5282 -    case $host_os in
5283 -      aix*)
5284 -      # All AIX code is PIC.
5285 -      if test "$host_cpu" = ia64; then
5286 -       # AIX 5 now supports IA64 processor
5287 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5288 -      fi
5289 -      ;;
5290 -
5291 -    amigaos*)
5292 -      # FIXME: we need at least 68020 code to build shared libraries, but
5293 -      # adding the `-m68020' flag to GCC prevents building anything better,
5294 -      # like `-m68040'.
5295 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5296 -      ;;
5297 -
5298 -    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5299 -      # PIC is the default for these OSes.
5300 -      ;;
5301 -
5302 -    mingw* | cygwin* | pw32* | os2*)
5303 -      # This hack is so that the source file can tell whether it is being
5304 -      # built for inclusion in a dll (and should export symbols for example).
5305 -      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5306 -      # (--disable-auto-import) libraries
5307 -      m4_if([$1], [GCJ], [],
5308 -       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5309 -      ;;
5310 -
5311 -    darwin* | rhapsody*)
5312 -      # PIC is the default on this platform
5313 -      # Common symbols not allowed in MH_DYLIB files
5314 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5315 -      ;;
5316 -
5317 -    interix[[3-9]]*)
5318 -      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5319 -      # Instead, we relocate shared libraries at runtime.
5320 -      ;;
5321 -
5322 -    msdosdjgpp*)
5323 -      # Just because we use GCC doesn't mean we suddenly get shared libraries
5324 -      # on systems that don't support them.
5325 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5326 -      enable_shared=no
5327 -      ;;
5328 -
5329 -    sysv4*MP*)
5330 -      if test -d /usr/nec; then
5331 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5332 -      fi
5333 -      ;;
5334 -
5335 -    hpux*)
5336 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5337 -      # not for PA HP-UX.
5338 -      case $host_cpu in
5339 -      hppa*64*|ia64*)
5340 -       # +Z the default
5341 -       ;;
5342 -      *)
5343 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5344 -       ;;
5345 -      esac
5346 -      ;;
5347 -
5348 -    *)
5349 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5350 -      ;;
5351 -    esac
5352 -  else
5353 -    # PORTME Check for flag to pass linker flags through the system compiler.
5354 -    case $host_os in
5355 -    aix*)
5356 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5357 -      if test "$host_cpu" = ia64; then
5358 -       # AIX 5 now supports IA64 processor
5359 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5360 -      else
5361 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5362 -      fi
5363 -      ;;
5364 -      darwin*)
5365 -        # PIC is the default on this platform
5366 -        # Common symbols not allowed in MH_DYLIB files
5367 -       case $cc_basename in
5368 -         xlc*)
5369 -         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5370 -         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5371 -         ;;
5372 -       esac
5373 -       ;;
5374 -
5375 -    mingw* | cygwin* | pw32* | os2*)
5376 -      # This hack is so that the source file can tell whether it is being
5377 -      # built for inclusion in a dll (and should export symbols for example).
5378 -      m4_if([$1], [GCJ], [],
5379 -       [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5380 -      ;;
5381 -
5382 -    hpux9* | hpux10* | hpux11*)
5383 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5384 -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5385 -      # not for PA HP-UX.
5386 -      case $host_cpu in
5387 -      hppa*64*|ia64*)
5388 -       # +Z the default
5389 -       ;;
5390 -      *)
5391 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5392 -       ;;
5393 -      esac
5394 -      # Is there a better lt_prog_compiler_static that works with the bundled CC?
5395 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5396 -      ;;
5397 -
5398 -    irix5* | irix6* | nonstopux*)
5399 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5400 -      # PIC (with -KPIC) is the default.
5401 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5402 -      ;;
5403 -
5404 -    newsos6)
5405 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5406 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5407 -      ;;
5408 -
5409 -    linux* | k*bsd*-gnu)
5410 -      case $cc_basename in
5411 -      icc* | ecc*)
5412 -       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5413 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5414 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5415 -        ;;
5416 -      pgcc* | pgf77* | pgf90* | pgf95*)
5417 -        # Portland Group compilers (*not* the Pentium gcc compiler,
5418 -       # which looks to be a dead project)
5419 -       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5420 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5421 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5422 -        ;;
5423 -      ccc*)
5424 -        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5425 -        # All Alpha code is PIC.
5426 -        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5427 -        ;;
5428 -      *)
5429 -        case `$CC -V 2>&1 | sed 5q` in
5430 -       *Sun\ C*)
5431 -         # Sun C 5.9
5432 -         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5433 -         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5434 -         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5435 -         ;;
5436 -       *Sun\ F*)
5437 -         # Sun Fortran 8.3 passes all unrecognized flags to the linker
5438 -         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5439 -         _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5440 -         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
5441 -         ;;
5442 -       esac
5443 -       ;;
5444 -      esac
5445 -      ;;
5446 -
5447 -    osf3* | osf4* | osf5*)
5448 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5449 -      # All OSF/1 code is PIC.
5450 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5451 -      ;;
5452 -
5453 -    rdos*)
5454 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5455 -      ;;
5456 -
5457 -    solaris*)
5458 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5459 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5460 -      case $cc_basename in
5461 -      f77* | f90* | f95*)
5462 -       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
5463 -      *)
5464 -       _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
5465 -      esac
5466 -      ;;
5467 -
5468 -    sunos4*)
5469 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5470 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5471 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5472 -      ;;
5473 -
5474 -    sysv4 | sysv4.2uw2* | sysv4.3*)
5475 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5476 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5477 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5478 -      ;;
5479 -
5480 -    sysv4*MP*)
5481 -      if test -d /usr/nec ;then
5482 -       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
5483 -       _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5484 -      fi
5485 -      ;;
5486 -
5487 -    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5488 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5489 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5490 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5491 -      ;;
5492 -
5493 -    unicos*)
5494 -      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5495 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5496 -      ;;
5497 -
5498 -    uts4*)
5499 -      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5500 -      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5501 -      ;;
5502 -
5503 -    *)
5504 -      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5505 -      ;;
5506 -    esac
5507 -  fi
5508 -])
5509 -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
5510 -
5511 -#
5512 -# Check to make sure the PIC flag actually works.
5513 -#
5514 -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5515 -  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5516 -    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
5517 -    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5518 -    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5519 -     "" | " "*) ;;
5520 -     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
5521 -     esac],
5522 -    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5523 -     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
5524 -fi
5525 -case $host_os in
5526 -  # For platforms which do not support PIC, -DPIC is meaningless:
5527 -  *djgpp*)
5528 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5529 -    ;;
5530 -  *)
5531 -    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5532 -    ;;
5533 -esac
5534 -
5535 -#
5536 -# Check to make sure the static flag actually works.
5537 -#
5538 -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5539 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5540 -  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
5541 -  $lt_tmp_static_flag,
5542 -  [],
5543 -  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5544 -])
5545 -
5546 -
5547 -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
5548 -# ------------------------------------
5549 -# See if the linker supports building shared libraries.
5550 -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
5551 -[AC_REQUIRE([LT_AC_PROG_SED])dnl
5552 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5553 -ifelse([$1],[CXX],[
5554 -  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5555 -  case $host_os in
5556 -  aix[[4-9]]*)
5557 -    # If we're using GNU nm, then we don't want the "-C" option.
5558 -    # -C means demangle to AIX nm, but means don't demangle with GNU nm
5559 -    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5560 -      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5561 -    else
5562 -      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5563 -    fi
5564 -    ;;
5565 -  pw32*)
5566 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5567 -  ;;
5568 -  cygwin* | mingw*)
5569 -    _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'
5570 -  ;;
5571 -  *)
5572 -    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5573 -  ;;
5574 -  esac
5575 -  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5576 -],[
5577 -  runpath_var=
5578 -  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
5579 -  _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5580 -  _LT_AC_TAGVAR(archive_cmds, $1)=
5581 -  _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5582 -  _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
5583 -  _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
5584 -  _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5585 -  _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5586 -  _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
5587 -  _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5588 -  _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5589 -  _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5590 -  _LT_AC_TAGVAR(hardcode_direct, $1)=no
5591 -  _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5592 -  _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5593 -  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5594 -  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
5595 -  _LT_AC_TAGVAR(module_cmds, $1)=
5596 -  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
5597 -  _LT_AC_TAGVAR(always_export_symbols, $1)=no
5598 -  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5599 -  # include_expsyms should be a list of space-separated symbols to be *always*
5600 -  # included in the symbol list
5601 -  _LT_AC_TAGVAR(include_expsyms, $1)=
5602 -  # exclude_expsyms can be an extended regexp of symbols to exclude
5603 -  # it will be wrapped by ` (' and `)$', so one must not match beginning or
5604 -  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5605 -  # as well as any symbol that contains `d'.
5606 -  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5607 -  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5608 -  # platforms (ab)use it in PIC code, but their linkers get confused if
5609 -  # the symbol is explicitly referenced.  Since portable code cannot
5610 -  # rely on this symbol name, it's probably fine to never include it in
5611 -  # preloaded symbol tables.
5612 -  # Exclude shared library initialization/finalization symbols.
5613 -dnl Note also adjust exclude_expsyms for C++ above.
5614 -  extract_expsyms_cmds=
5615 -  # Just being paranoid about ensuring that cc_basename is set.
5616 -  _LT_CC_BASENAME([$compiler])
5617 -  case $host_os in
5618 -  cygwin* | mingw* | pw32*)
5619 -    # FIXME: the MSVC++ port hasn't been tested in a loooong time
5620 -    # When not using gcc, we currently assume that we are using
5621 -    # Microsoft Visual C++.
5622 -    if test "$GCC" != yes; then
5623 -      with_gnu_ld=no
5624 -    fi
5625 -    ;;
5626 -  interix*)
5627 -    # we just hope/assume this is gcc and not c89 (= MSVC++)
5628 -    with_gnu_ld=yes
5629 -    ;;
5630 -  openbsd*)
5631 -    with_gnu_ld=no
5632 -    ;;
5633 -  esac
5634 -
5635 -  _LT_AC_TAGVAR(ld_shlibs, $1)=yes
5636 -  if test "$with_gnu_ld" = yes; then
5637 -    # If archive_cmds runs LD, not CC, wlarc should be empty
5638 -    wlarc='${wl}'
5639 -
5640 -    # Set some defaults for GNU ld with shared library support. These
5641 -    # are reset later if shared libraries are not supported. Putting them
5642 -    # here allows them to be overridden if necessary.
5643 -    runpath_var=LD_RUN_PATH
5644 -    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
5645 -    _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5646 -    # ancient GNU ld didn't support --whole-archive et. al.
5647 -    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
5648 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5649 -      else
5650 -       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5651 -    fi
5652 -    supports_anon_versioning=no
5653 -    case `$LD -v 2>/dev/null` in
5654 -      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5655 -      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5656 -      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5657 -      *\ 2.11.*) ;; # other 2.11 versions
5658 -      *) supports_anon_versioning=yes ;;
5659 -    esac
5660 -
5661 -    # See if GNU ld supports shared libraries.
5662 -    case $host_os in
5663 -    aix[[3-9]]*)
5664 -      # On AIX/PPC, the GNU linker is very broken
5665 -      if test "$host_cpu" != ia64; then
5666 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5667 -       cat <<EOF 1>&2
5668 -
5669 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
5670 -*** to be unable to reliably create shared libraries on AIX.
5671 -*** Therefore, libtool is disabling shared libraries support.  If you
5672 -*** really care for shared libraries, you may want to modify your PATH
5673 -*** so that a non-GNU linker is found, and then restart.
5674 -
5675 -EOF
5676 -      fi
5677 -      ;;
5678 -
5679 -    amigaos*)
5680 -      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5681 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5682 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5683 -
5684 -      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5685 -      # that the semantics of dynamic libraries on AmigaOS, at least up
5686 -      # to version 4, is to share data among multiple programs linked
5687 -      # with the same dynamic library.  Since this doesn't match the
5688 -      # behavior of shared libraries on other platforms, we can't use
5689 -      # them.
5690 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
5691 -      ;;
5692 -
5693 -    beos*)
5694 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5695 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5696 -       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5697 -       # support --undefined.  This deserves some investigation.  FIXME
5698 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5699 -      else
5700 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5701 -      fi
5702 -      ;;
5703 -
5704 -    cygwin* | mingw* | pw32*)
5705 -      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5706 -      # as there is no search path for DLLs.
5707 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5708 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5709 -      _LT_AC_TAGVAR(always_export_symbols, $1)=no
5710 -      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5711 -      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5712 -
5713 -      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5714 -        _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'
5715 -       # If the export-symbols file already is a .def file (1st line
5716 -       # is EXPORTS), use it as is; otherwise, prepend...
5717 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5718 -         cp $export_symbols $output_objdir/$soname.def;
5719 -       else
5720 -         echo EXPORTS > $output_objdir/$soname.def;
5721 -         cat $export_symbols >> $output_objdir/$soname.def;
5722 -       fi~
5723 -       $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5724 -      else
5725 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5726 -      fi
5727 -      ;;
5728 -
5729 -    interix[[3-9]]*)
5730 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
5731 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5732 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5733 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5734 -      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5735 -      # Instead, shared libraries are loaded at an image base (0x10000000 by
5736 -      # default) and relocated if they conflict, which is a slow very memory
5737 -      # consuming and fragmenting process.  To avoid this, we pick a random,
5738 -      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5739 -      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
5740 -      _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'
5741 -      _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'
5742 -      ;;
5743 -
5744 -    gnu* | linux* | k*bsd*-gnu)
5745 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5746 -       tmp_addflag=
5747 -       case $cc_basename,$host_cpu in
5748 -       pgcc*)                          # Portland Group C compiler
5749 -         _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'
5750 -         tmp_addflag=' $pic_flag'
5751 -         ;;
5752 -       pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
5753 -         _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'
5754 -         tmp_addflag=' $pic_flag -Mnomain' ;;
5755 -       ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
5756 -         tmp_addflag=' -i_dynamic' ;;
5757 -       efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
5758 -         tmp_addflag=' -i_dynamic -nofor_main' ;;
5759 -       ifc* | ifort*)                  # Intel Fortran compiler
5760 -         tmp_addflag=' -nofor_main' ;;
5761 -       esac
5762 -       case `$CC -V 2>&1 | sed 5q` in
5763 -       *Sun\ C*)                       # Sun C 5.9
5764 -         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5765 -         tmp_sharedflag='-G' ;;
5766 -       *Sun\ F*)                       # Sun Fortran 8.3
5767 -         tmp_sharedflag='-G' ;;
5768 -       *)
5769 -         tmp_sharedflag='-shared' ;;
5770 -       esac
5771 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5772 -
5773 -       if test $supports_anon_versioning = yes; then
5774 -         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5775 -  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5776 -  $echo "local: *; };" >> $output_objdir/$libname.ver~
5777 -         $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5778 -       fi
5779 -      else
5780 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5781 -      fi
5782 -      ;;
5783 -
5784 -    netbsd*)
5785 -      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5786 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5787 -       wlarc=
5788 -      else
5789 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5790 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5791 -      fi
5792 -      ;;
5793 -
5794 -    solaris*)
5795 -      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5796 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5797 -       cat <<EOF 1>&2
5798 -
5799 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
5800 -*** create shared libraries on Solaris systems.  Therefore, libtool
5801 -*** is disabling shared libraries support.  We urge you to upgrade GNU
5802 -*** binutils to release 2.9.1 or newer.  Another option is to modify
5803 -*** your PATH or compiler configuration so that the native linker is
5804 -*** used, and then restart.
5805 -
5806 -EOF
5807 -      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5808 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5809 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5810 -      else
5811 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5812 -      fi
5813 -      ;;
5814 -
5815 -    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5816 -      case `$LD -v 2>&1` in
5817 -        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5818 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5819 -       cat <<_LT_EOF 1>&2
5820 -
5821 -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5822 -*** reliably create shared libraries on SCO systems.  Therefore, libtool
5823 -*** is disabling shared libraries support.  We urge you to upgrade GNU
5824 -*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
5825 -*** your PATH or compiler configuration so that the native linker is
5826 -*** used, and then restart.
5827 -
5828 -_LT_EOF
5829 -       ;;
5830 -       *)
5831 -         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5832 -           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5833 -           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5834 -           _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'
5835 -         else
5836 -           _LT_AC_TAGVAR(ld_shlibs, $1)=no
5837 -         fi
5838 -       ;;
5839 -      esac
5840 -      ;;
5841 -
5842 -    sunos4*)
5843 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5844 -      wlarc=
5845 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5846 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5847 -      ;;
5848 -
5849 -    *)
5850 -      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5851 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5852 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5853 -      else
5854 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
5855 -      fi
5856 -      ;;
5857 -    esac
5858 -
5859 -    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
5860 -      runpath_var=
5861 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5862 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5863 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5864 -    fi
5865 -  else
5866 -    # PORTME fill in a description of your system's linker (not GNU ld)
5867 -    case $host_os in
5868 -    aix3*)
5869 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5870 -      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
5871 -      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5872 -      # Note: this linker hardcodes the directories in LIBPATH if there
5873 -      # are no directories specified by -L.
5874 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5875 -      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
5876 -       # Neither direct hardcoding nor static linking is supported with a
5877 -       # broken collect2.
5878 -       _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5879 -      fi
5880 -      ;;
5881 -
5882 -    aix[[4-9]]*)
5883 -      if test "$host_cpu" = ia64; then
5884 -       # On IA64, the linker does run time linking by default, so we don't
5885 -       # have to do anything special.
5886 -       aix_use_runtimelinking=no
5887 -       exp_sym_flag='-Bexport'
5888 -       no_entry_flag=""
5889 -      else
5890 -       # If we're using GNU nm, then we don't want the "-C" option.
5891 -       # -C means demangle to AIX nm, but means don't demangle with GNU nm
5892 -       if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5893 -         _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5894 -       else
5895 -         _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5896 -       fi
5897 -       aix_use_runtimelinking=no
5898 -
5899 -       # Test if we are trying to use run time linking or normal
5900 -       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5901 -       # need to do runtime linking.
5902 -       case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5903 -         for ld_flag in $LDFLAGS; do
5904 -         if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5905 -           aix_use_runtimelinking=yes
5906 -           break
5907 -         fi
5908 -         done
5909 -         ;;
5910 -       esac
5911 -
5912 -       exp_sym_flag='-bexport'
5913 -       no_entry_flag='-bnoentry'
5914 -      fi
5915 -
5916 -      # When large executables or shared objects are built, AIX ld can
5917 -      # have problems creating the table of contents.  If linking a library
5918 -      # or program results in "error TOC overflow" add -mminimal-toc to
5919 -      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
5920 -      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5921 -
5922 -      _LT_AC_TAGVAR(archive_cmds, $1)=''
5923 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5924 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5925 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5926 -
5927 -      if test "$GCC" = yes; then
5928 -       case $host_os in aix4.[[012]]|aix4.[[012]].*)
5929 -       # We only want to do this on AIX 4.2 and lower, the check
5930 -       # below for broken collect2 doesn't work under 4.3+
5931 -         collect2name=`${CC} -print-prog-name=collect2`
5932 -         if test -f "$collect2name" && \
5933 -          strings "$collect2name" | grep resolve_lib_name >/dev/null
5934 -         then
5935 -         # We have reworked collect2
5936 -         :
5937 -         else
5938 -         # We have old collect2
5939 -         _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5940 -         # It fails to find uninstalled libraries when the uninstalled
5941 -         # path is not listed in the libpath.  Setting hardcode_minus_L
5942 -         # to unsupported forces relinking
5943 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5944 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5945 -         _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5946 -         fi
5947 -         ;;
5948 -       esac
5949 -       shared_flag='-shared'
5950 -       if test "$aix_use_runtimelinking" = yes; then
5951 -         shared_flag="$shared_flag "'${wl}-G'
5952 -       fi
5953 -      else
5954 -       # not using gcc
5955 -       if test "$host_cpu" = ia64; then
5956 -       # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5957 -       # chokes on -Wl,-G. The following line is correct:
5958 -         shared_flag='-G'
5959 -       else
5960 -         if test "$aix_use_runtimelinking" = yes; then
5961 -           shared_flag='${wl}-G'
5962 -         else
5963 -           shared_flag='${wl}-bM:SRE'
5964 -         fi
5965 -       fi
5966 -      fi
5967 -
5968 -      # It seems that -bexpall does not export symbols beginning with
5969 -      # underscore (_), so it is better to generate a list of symbols to export.
5970 -      _LT_AC_TAGVAR(always_export_symbols, $1)=yes
5971 -      if test "$aix_use_runtimelinking" = yes; then
5972 -       # Warning - without using the other runtime loading flags (-brtl),
5973 -       # -berok will link without error, but may produce a broken library.
5974 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
5975 -       # Determine the default libpath from the value encoded in an empty executable.
5976 -       _LT_AC_SYS_LIBPATH_AIX
5977 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5978 -       _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"
5979 -       else
5980 -       if test "$host_cpu" = ia64; then
5981 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5982 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5983 -         _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"
5984 -       else
5985 -        # Determine the default libpath from the value encoded in an empty executable.
5986 -        _LT_AC_SYS_LIBPATH_AIX
5987 -        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5988 -         # Warning - without using the other run time loading flags,
5989 -         # -berok will link without error, but may produce a broken library.
5990 -         _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5991 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5992 -         # Exported symbols can be pulled into shared objects from archives
5993 -         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5994 -         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5995 -         # This is similar to how AIX traditionally builds its shared libraries.
5996 -         _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'
5997 -       fi
5998 -      fi
5999 -      ;;
6000 -
6001 -    amigaos*)
6002 -      _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6003 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6004 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6005 -      # see comment about different semantics on the GNU ld section
6006 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
6007 -      ;;
6008 -
6009 -    bsdi[[45]]*)
6010 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
6011 -      ;;
6012 -
6013 -    cygwin* | mingw* | pw32*)
6014 -      # When not using gcc, we currently assume that we are using
6015 -      # Microsoft Visual C++.
6016 -      # hardcode_libdir_flag_spec is actually meaningless, as there is
6017 -      # no search path for DLLs.
6018 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
6019 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6020 -      # Tell ltmain to make .lib files, not .a files.
6021 -      libext=lib
6022 -      # Tell ltmain to make .dll files, not .so files.
6023 -      shrext_cmds=".dll"
6024 -      # FIXME: Setting linknames here is a bad hack.
6025 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6026 -      # The linker will automatically build a .lib file if we build a DLL.
6027 -      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
6028 -      # FIXME: Should let the user specify the lib program.
6029 -      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
6030 -      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
6031 -      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6032 -      ;;
6033 -
6034 -    darwin* | rhapsody*)
6035 -      case $host_os in
6036 -        rhapsody* | darwin1.[[012]])
6037 -         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
6038 -         ;;
6039 -       *) # Darwin 1.3 on
6040 -         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6041 -           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6042 -         else
6043 -           case ${MACOSX_DEPLOYMENT_TARGET} in
6044 -             10.[[012]])
6045 -               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6046 -               ;;
6047 -             10.*)
6048 -               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
6049 -               ;;
6050 -           esac
6051 -         fi
6052 -         ;;
6053 -      esac
6054 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6055 -      _LT_AC_TAGVAR(hardcode_direct, $1)=no
6056 -      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6057 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6058 -      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
6059 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6060 -    if test "$GCC" = yes ; then
6061 -       output_verbose_link_cmd='echo'
6062 -        _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
6063 -        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
6064 -        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
6065 -        _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
6066 -    else
6067 -      case $cc_basename in
6068 -        xlc*)
6069 -         output_verbose_link_cmd='echo'
6070 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
6071 -         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6072 -          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6073 -         _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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6074 -          _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}'
6075 -          ;;
6076 -       *)
6077 -         _LT_AC_TAGVAR(ld_shlibs, $1)=no
6078 -          ;;
6079 -      esac
6080 -    fi
6081 -      ;;
6082 -
6083 -    dgux*)
6084 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6085 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6086 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6087 -      ;;
6088 -
6089 -    freebsd1*)
6090 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
6091 -      ;;
6092 -
6093 -    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6094 -    # support.  Future versions do this automatically, but an explicit c++rt0.o
6095 -    # does not break anything, and helps significantly (at the cost of a little
6096 -    # extra space).
6097 -    freebsd2.2*)
6098 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6099 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6100 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6101 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6102 -      ;;
6103 -
6104 -    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6105 -    freebsd2*)
6106 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6107 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6108 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6109 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6110 -      ;;
6111 -
6112 -    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6113 -    freebsd* | dragonfly*)
6114 -      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6115 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6116 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6117 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6118 -      ;;
6119 -
6120 -    hpux9*)
6121 -      if test "$GCC" = yes; then
6122 -       _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6123 -      else
6124 -       _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
6125 -      fi
6126 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6127 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6128 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6129 -
6130 -      # hardcode_minus_L: Not really in the search PATH,
6131 -      # but as the default location of the library.
6132 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6133 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6134 -      ;;
6135 -
6136 -    hpux10*)
6137 -      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6138 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6139 -      else
6140 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6141 -      fi
6142 -      if test "$with_gnu_ld" = no; then
6143 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6144 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6145 -
6146 -       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6147 -       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6148 -
6149 -       # hardcode_minus_L: Not really in the search PATH,
6150 -       # but as the default location of the library.
6151 -       _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6152 -      fi
6153 -      ;;
6154 -
6155 -    hpux11*)
6156 -      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6157 -       case $host_cpu in
6158 -       hppa*64*)
6159 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6160 -         ;;
6161 -       ia64*)
6162 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6163 -         ;;
6164 -       *)
6165 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6166 -         ;;
6167 -       esac
6168 -      else
6169 -       case $host_cpu in
6170 -       hppa*64*)
6171 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6172 -         ;;
6173 -       ia64*)
6174 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6175 -         ;;
6176 -       *)
6177 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6178 -         ;;
6179 -       esac
6180 -      fi
6181 -      if test "$with_gnu_ld" = no; then
6182 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6183 -       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6184 -
6185 -       case $host_cpu in
6186 -       hppa*64*|ia64*)
6187 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
6188 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no
6189 -         _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6190 -         ;;
6191 -       *)
6192 -         _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6193 -         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6194 -
6195 -         # hardcode_minus_L: Not really in the search PATH,
6196 -         # but as the default location of the library.
6197 -         _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6198 -         ;;
6199 -       esac
6200 -      fi
6201 -      ;;
6202 -
6203 -    irix5* | irix6* | nonstopux*)
6204 -      if test "$GCC" = yes; then
6205 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $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'
6206 -      else
6207 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6208 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6209 -      fi
6210 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6211 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6212 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6213 -      ;;
6214 -
6215 -    netbsd*)
6216 -      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6217 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
6218 -      else
6219 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
6220 -      fi
6221 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6222 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6223 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6224 -      ;;
6225 -
6226 -    newsos6)
6227 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6228 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6229 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6230 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6231 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6232 -      ;;
6233 -
6234 -    openbsd*)
6235 -      if test -f /usr/libexec/ld.so; then
6236 -       _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6237 -       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6238 -       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6239 -         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6240 -         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6241 -         _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6242 -         _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6243 -       else
6244 -         case $host_os in
6245 -          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6246 -            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6247 -            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6248 -            ;;
6249 -          *)
6250 -            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6251 -            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6252 -            ;;
6253 -         esac
6254 -        fi
6255 -      else
6256 -       _LT_AC_TAGVAR(ld_shlibs, $1)=no
6257 -      fi
6258 -      ;;
6259 -
6260 -    os2*)
6261 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6262 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6263 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6264 -      _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
6265 -      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6266 -      ;;
6267 -
6268 -    osf3*)
6269 -      if test "$GCC" = yes; then
6270 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6271 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
6272 -      else
6273 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6274 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6275 -      fi
6276 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6277 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6278 -      ;;
6279 -
6280 -    osf4* | osf5*)     # as osf3* with the addition of -msym flag
6281 -      if test "$GCC" = yes; then
6282 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6283 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
6284 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6285 -      else
6286 -       _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6287 -       _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'
6288 -       _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~
6289 -       $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'
6290 -
6291 -       # Both c and cxx compiler support -rpath directly
6292 -       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6293 -      fi
6294 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6295 -      ;;
6296 -
6297 -    solaris*)
6298 -      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6299 -      if test "$GCC" = yes; then
6300 -       wlarc='${wl}'
6301 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6302 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6303 -         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6304 -      else
6305 -       wlarc=''
6306 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6307 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6308 -       $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6309 -      fi
6310 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6311 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6312 -      case $host_os in
6313 -      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6314 -      *)
6315 -       # The compiler driver will combine and reorder linker options,
6316 -       # but understands `-z linker_flag'.  GCC discards it without `$wl',
6317 -       # but is careful enough not to reorder.
6318 -       # Supported since Solaris 2.6 (maybe 2.5.1?)
6319 -       if test "$GCC" = yes; then
6320 -         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
6321 -       else
6322 -         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
6323 -       fi
6324 -       ;;
6325 -      esac
6326 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6327 -      ;;
6328 -
6329 -    sunos4*)
6330 -      if test "x$host_vendor" = xsequent; then
6331 -       # Use $CC to link under sequent, because it throws in some extra .o
6332 -       # files that make .init and .fini sections work.
6333 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6334 -      else
6335 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6336 -      fi
6337 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6338 -      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6339 -      _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6340 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6341 -      ;;
6342 -
6343 -    sysv4)
6344 -      case $host_vendor in
6345 -       sni)
6346 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6347 -         _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
6348 -       ;;
6349 -       siemens)
6350 -         ## LD is ld it makes a PLAMLIB
6351 -         ## CC just makes a GrossModule.
6352 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6353 -         _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6354 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no
6355 -        ;;
6356 -       motorola)
6357 -         _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6358 -         _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
6359 -       ;;
6360 -      esac
6361 -      runpath_var='LD_RUN_PATH'
6362 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6363 -      ;;
6364 -
6365 -    sysv4.3*)
6366 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6367 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6368 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6369 -      ;;
6370 -
6371 -    sysv4*MP*)
6372 -      if test -d /usr/nec; then
6373 -       _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6374 -       _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6375 -       runpath_var=LD_RUN_PATH
6376 -       hardcode_runpath_var=yes
6377 -       _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6378 -      fi
6379 -      ;;
6380 -
6381 -    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6382 -      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6383 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6384 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6385 -      runpath_var='LD_RUN_PATH'
6386 -
6387 -      if test "$GCC" = yes; then
6388 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6389 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6390 -      else
6391 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6392 -       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6393 -      fi
6394 -      ;;
6395 -
6396 -    sysv5* | sco3.2v5* | sco5v6*)
6397 -      # Note: We can NOT use -z defs as we might desire, because we do not
6398 -      # link with -lc, and that would cause any symbols used from libc to
6399 -      # always be unresolved, which means just about no library would
6400 -      # ever link correctly.  If we're not using GNU ld we use -z text
6401 -      # though, which does catch some bad symbols but isn't as heavy-handed
6402 -      # as -z defs.
6403 -      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6404 -      _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6405 -      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6406 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6407 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6408 -      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6409 -      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6410 -      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6411 -      runpath_var='LD_RUN_PATH'
6412 -
6413 -      if test "$GCC" = yes; then
6414 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6415 -       _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'
6416 -      else
6417 -       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6418 -       _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'
6419 -      fi
6420 -      ;;
6421 -
6422 -    uts4*)
6423 -      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6424 -      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6425 -      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6426 -      ;;
6427 -
6428 -    *)
6429 -      _LT_AC_TAGVAR(ld_shlibs, $1)=no
6430 -      ;;
6431 -    esac
6432 -  fi
6433 -])
6434 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
6435 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6436 -
6437 -#
6438 -# Do we need to explicitly link libc?
6439 -#
6440 -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
6441 -x|xyes)
6442 -  # Assume -lc should be added
6443 -  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6444 -
6445 -  if test "$enable_shared" = yes && test "$GCC" = yes; then
6446 -    case $_LT_AC_TAGVAR(archive_cmds, $1) in
6447 -    *'~'*)
6448 -      # FIXME: we may have to deal with multi-command sequences.
6449 -      ;;
6450 -    '$CC '*)
6451 -      # Test whether the compiler implicitly links with -lc since on some
6452 -      # systems, -lgcc has to come before -lc. If gcc already passes -lc
6453 -      # to ld, don't add -lc before -lgcc.
6454 -      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6455 -      $rm conftest*
6456 -      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6457 -
6458 -      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6459 -        soname=conftest
6460 -        lib=conftest
6461 -        libobjs=conftest.$ac_objext
6462 -        deplibs=
6463 -        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6464 -       pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6465 -        compiler_flags=-v
6466 -        linker_flags=-v
6467 -        verstring=
6468 -        output_objdir=.
6469 -        libname=conftest
6470 -        lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
6471 -        _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6472 -        if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
6473 -        then
6474 -         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6475 -        else
6476 -         _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6477 -        fi
6478 -        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6479 -      else
6480 -        cat conftest.err 1>&5
6481 -      fi
6482 -      $rm conftest*
6483 -      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
6484 -      ;;
6485 -    esac
6486 -  fi
6487 -  ;;
6488 -esac
6489 -])# AC_LIBTOOL_PROG_LD_SHLIBS
6490 -
6491 -
6492 -# _LT_AC_FILE_LTDLL_C
6493 -# -------------------
6494 -# Be careful that the start marker always follows a newline.
6495 -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
6496 -# /* ltdll.c starts here */
6497 -# #define WIN32_LEAN_AND_MEAN
6498 -# #include <windows.h>
6499 -# #undef WIN32_LEAN_AND_MEAN
6500 -# #include <stdio.h>
6501 -#
6502 -# #ifndef __CYGWIN__
6503 -# #  ifdef __CYGWIN32__
6504 -# #    define __CYGWIN__ __CYGWIN32__
6505 -# #  endif
6506 -# #endif
6507 -#
6508 -# #ifdef __cplusplus
6509 -# extern "C" {
6510 -# #endif
6511 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
6512 -# #ifdef __cplusplus
6513 -# }
6514 -# #endif
6515 -#
6516 -# #ifdef __CYGWIN__
6517 -# #include <cygwin/cygwin_dll.h>
6518 -# DECLARE_CYGWIN_DLL( DllMain );
6519 -# #endif
6520 -# HINSTANCE __hDllInstance_base;
6521 -#
6522 -# BOOL APIENTRY
6523 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
6524 -# {
6525 -#   __hDllInstance_base = hInst;
6526 -#   return TRUE;
6527 -# }
6528 -# /* ltdll.c ends here */
6529 -])# _LT_AC_FILE_LTDLL_C
6530 -
6531 -
6532 -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
6533 -# ---------------------------------
6534 -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
6535 -
6536 -
6537 -# old names
6538 -AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
6539 -AC_DEFUN([AM_ENABLE_SHARED],  [AC_ENABLE_SHARED($@)])
6540 -AC_DEFUN([AM_ENABLE_STATIC],  [AC_ENABLE_STATIC($@)])
6541 -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
6542 -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
6543 -AC_DEFUN([AM_PROG_LD],        [AC_PROG_LD])
6544 -AC_DEFUN([AM_PROG_NM],        [AC_PROG_NM])
6545 -
6546 -# This is just to silence aclocal about the macro not being used
6547 -ifelse([AC_DISABLE_FAST_INSTALL])
6548 -
6549 -AC_DEFUN([LT_AC_PROG_GCJ],
6550 -[AC_CHECK_TOOL(GCJ, gcj, no)
6551 -  test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
6552 -  AC_SUBST(GCJFLAGS)
6553 -])
6554 -
6555 -AC_DEFUN([LT_AC_PROG_RC],
6556 -[AC_CHECK_TOOL(RC, windres, no)
6557 -])
6558 -
6559 -
6560 -# Cheap backport of AS_EXECUTABLE_P and required macros
6561 -# from Autoconf 2.59; we should not use $as_executable_p directly.
6562 -
6563 -# _AS_TEST_PREPARE
6564 -# ----------------
6565 -m4_ifndef([_AS_TEST_PREPARE],
6566 -[m4_defun([_AS_TEST_PREPARE],
6567 -[if test -x / >/dev/null 2>&1; then
6568 -  as_executable_p='test -x'
6569 -else
6570 -  as_executable_p='test -f'
6571 -fi
6572 -])])# _AS_TEST_PREPARE
6573 -
6574 -# AS_EXECUTABLE_P
6575 -# ---------------
6576 -# Check whether a file is executable.
6577 -m4_ifndef([AS_EXECUTABLE_P],
6578 -[m4_defun([AS_EXECUTABLE_P],
6579 -[AS_REQUIRE([_AS_TEST_PREPARE])dnl
6580 -$as_executable_p $1[]dnl
6581 -])])# AS_EXECUTABLE_P
6582 -
6583 -# NOTE: This macro has been submitted for inclusion into   #
6584 -#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
6585 -#  a released version of Autoconf we should remove this    #
6586 -#  macro and use it instead.                               #
6587 -# LT_AC_PROG_SED
6588 -# --------------
6589 -# Check for a fully-functional sed program, that truncates
6590 -# as few characters as possible.  Prefer GNU sed if found.
6591 -AC_DEFUN([LT_AC_PROG_SED],
6592 -[AC_MSG_CHECKING([for a sed that does not truncate output])
6593 -AC_CACHE_VAL(lt_cv_path_SED,
6594 -[# Loop through the user's path and test for sed and gsed.
6595 -# Then use that list of sed's as ones to test for truncation.
6596 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 -for as_dir in $PATH
6598 -do
6599 -  IFS=$as_save_IFS
6600 -  test -z "$as_dir" && as_dir=.
6601 -  for lt_ac_prog in sed gsed; do
6602 -    for ac_exec_ext in '' $ac_executable_extensions; do
6603 -      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
6604 -        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6605 -      fi
6606 -    done
6607 -  done
6608 -done
6609 -IFS=$as_save_IFS
6610 -lt_ac_max=0
6611 -lt_ac_count=0
6612 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6613 -# along with /bin/sed that truncates output.
6614 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6615 -  test ! -f $lt_ac_sed && continue
6616 -  cat /dev/null > conftest.in
6617 -  lt_ac_count=0
6618 -  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6619 -  # Check for GNU sed and select it if it is found.
6620 -  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6621 -    lt_cv_path_SED=$lt_ac_sed
6622 -    break
6623 -  fi
6624 -  while true; do
6625 -    cat conftest.in conftest.in >conftest.tmp
6626 -    mv conftest.tmp conftest.in
6627 -    cp conftest.in conftest.nl
6628 -    echo >>conftest.nl
6629 -    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6630 -    cmp -s conftest.out conftest.nl || break
6631 -    # 10000 chars as input seems more than enough
6632 -    test $lt_ac_count -gt 10 && break
6633 -    lt_ac_count=`expr $lt_ac_count + 1`
6634 -    if test $lt_ac_count -gt $lt_ac_max; then
6635 -      lt_ac_max=$lt_ac_count
6636 -      lt_cv_path_SED=$lt_ac_sed
6637 -    fi
6638 -  done
6639 -done
6640 -])
6641 -SED=$lt_cv_path_SED
6642 -AC_SUBST([SED])
6643 -AC_MSG_RESULT([$SED])
6644 -])
6645 -
6646  # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
6647  # 
6648  # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.